-
-
Save wflk/207c5d3e8c1bc1cadf782927caf7d0e7 to your computer and use it in GitHub Desktop.
AppLocker hardening
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| accesschk -w -s -q -u Users "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u Everyone "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u "Authenticated Users" "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u Interactive "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u "This Organization" "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u "Authentication authority asserted identity" "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u "Mandatory Label\Medium Mandatory Level" "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u %username% "C:\Program Files" >> programfiles.txt | |
| accesschk -w -s -q -u Users "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u Everyone "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u "Authenticated Users" "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u Interactive "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u "This Organization" "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u "Authentication authority asserted identity" "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u "Mandatory Label\Medium Mandatory Level" "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u %username% "C:\Program Files (x86)" >> programfilesx86.txt | |
| accesschk -w -s -q -u Users "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u Everyone "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u "Authenticated Users" "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u Interactive "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u "This Organization" "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u "Authentication authority asserted identity" "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u "Mandatory Label\Medium Mandatory Level" "C:\Windows" >> windows.txt | |
| accesschk -w -s -q -u %username% "C:\Windows" >> windows.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment