Today I am releasing a PowerShell script that easily displays whether DLLs and EXEs are compiled with ASLR (Address Space Layout Randomization), DEP (Data Execution Prevention), and SafeSEH (Structured Exception Handling). It is located at the github repo here: https://github.com/NetSPI/PEchecker. Without going into much detail, ASLR, DEP, and SafeSEH are considered best practices for all developers to implement as they help protect against users exploiting insecure code.
more here..........https://www.netspi.com/blog/entryid/232/verifying-aslr-dep-and-safeseh-with-powershell
more here..........https://www.netspi.com/blog/entryid/232/verifying-aslr-dep-and-safeseh-with-powershell