{"id":13704922,"url":"https://github.com/NetSPI/PESecurity","last_synced_at":"2025-05-05T12:32:44.420Z","repository":{"id":47796126,"uuid":"20697603","full_name":"NetSPI/PESecurity","owner":"NetSPI","description":"PowerShell module to check if a Windows binary (EXE/DLL) has been compiled with ASLR, DEP, SafeSEH, StrongNaming, and Authenticode.","archived":false,"fork":false,"pushed_at":"2024-07-31T09:53:02.000Z","size":105,"stargazers_count":637,"open_issues_count":7,"forks_count":149,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-04-12T21:35:47.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.netspi.com/verifying-aslr-dep-and-safeseh-with-powershell/","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetSPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-06-10T18:55:05.000Z","updated_at":"2025-04-08T20:06:39.000Z","dependencies_parsed_at":"2024-11-11T01:21:08.048Z","dependency_job_id":"6b560b09-81ff-4b2e-821c-44904098ddb6","html_url":"https://github.com/NetSPI/PESecurity","commit_stats":{"total_commits":50,"total_committers":7,"mean_commits":7.142857142857143,"dds":0.5,"last_synced_commit":"ec2d7a482e1e08600ed8ac5cddc855f75dc717a6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2FPESecurity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2FPESecurity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2FPESecurity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2FPESecurity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetSPI","download_url":"https://codeload.github.com/NetSPI/PESecurity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252497696,"owners_count":21757664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:26.225Z","updated_at":"2025-05-05T12:32:44.181Z","avatar_url":"https://github.com/NetSPI.png","language":"PowerShell","funding_links":[],"categories":["🛡️ Security","Security"],"sub_categories":[],"readme":"PESecurity\n=========\n\nPowerShell script to check if a Windows binary (EXE/DLL) has been compiled with ASLR, DEP, SafeSEH, StrongNaming, Authenticode, Control Flow Guard, and HighEntropyVA.\n\n```\nImport the module\n\nImport-Module .\\Get-PESecurity.psm1\n```\n\n```\nCheck a single file\n\nC:\\PS\u003e Get-PESecurity -file C:\\Windows\\System32\\kernel32.dll\n```\n```\nCheck a directory for DLLs \u0026 EXEs\n\nC:\\PS\u003e Get-PESecurity -directory C:\\Windows\\System32\\\n```\n```\nCheck a directory for DLLs \u0026 EXEs recrusively\n\nC:\\PS\u003e Get-PESecurity -directory C:\\Windows\\System32\\ -recursive\n```\n```\nExport results as a CSV\n\nC:\\PS\u003e  Get-PESecurity -directory C:\\Windows\\System32\\ -recursive | Export-CSV file.csv\n```\n```\nShow results in a table\n\nC:\\PS\u003e Get-PESecurity -directory C:\\Windows\\System32\\ -recursive | Format-Table\n```\n```\nShow results in a table and sort by a column\n\nC:\\PS\u003e Get-PESecurity -directory C:\\Windows\\System32\\ -recursive | Format-Table | sort ASLR\n```\nLinks\n\n* http://msdn.microsoft.com/en-us/library/windows/desktop/ms680336(v=vs.85).aspx\n* http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx\n* http://msdn.microsoft.com/en-us/library/windows/desktop/ms680328(v=vs.85).aspx\n* http://msdn.microsoft.com/en-us/library/9a89h429.aspx\n* https://github.com/mattifestation/PowerSploit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetSPI%2FPESecurity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNetSPI%2FPESecurity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetSPI%2FPESecurity/lists"}