Coder Social home page Coder Social logo

techvoltage / pechecker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netspi/pesecurity

0.0 1.0 0.0 238 KB

Powershell script to check if an image (EXE/DLL) has been compiled with ASLR, DEP, and SafeSEH.

Home Page: https://www.netspi.com/blog/entryid/232/verifying-aslr-dep-and-safeseh-with-powershell

pechecker's Introduction

PEchecker

Powershell script to check if an image (EXE/DLL) has been compiled with ASLR, DEP, and SafeSEH.

Check a single file

C:\PS> ./Check-PESecurity.ps1 -file C:\Windows\System32\kernel32.dll
Check a directory for DLLs & EXEs

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\
Check a directory for DLLs & EXEs recrusively

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive
Check for only DLLs & EXEs that are not compiled with ASLR

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive -OnlyNoASLR
Check for only DLLs & EXEs that are not compiled with DEP

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive -OnlyNoDEP
Check for only DLLs & EXEs that are not compiled with SafeSEH

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive -OnlyNoSafeSEH
Show results with full path names

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive -FullPath
Export results as a CSV

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive | Export-CSV file.csv
Show results in a table

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive | Format-Table
Show results in a table and sort by a column

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive | Format-Table | sort ASLR
Show results in a list

C:\PS> ./Check-PESecurity.ps1 -directory C:\Windows\System32\ -recursive | Format-List

Links

pechecker's People

Contributors

egru avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.