Last active
April 16, 2025 05:41
-
-
Save api0cradle/95cd51fa1aa735d9331186f934df4df9 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 -u Users "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Everyone "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Authenticated Users" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Interactive "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "This Organization" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Authentication authority asserted identity" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Mandatory Label\Medium Mandatory Level" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u %username% "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Users "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u Everyone "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u "Authenticated Users" "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u Interactive "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u "This Organization" "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u "Authentication authority asserted identity" "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u "Mandatory Label\Medium Mandatory Level" "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u %username% "C:\Program Files (x86)" >> programfilesx86.txt | |
accesschk -w -s -u Users "C:\Windows" >> windows.txt | |
accesschk -w -s -u Everyone "C:\Windows" >> windows.txt | |
accesschk -w -s -u "Authenticated Users" "C:\Windows" >> windows.txt | |
accesschk -w -s -u Interactive "C:\Windows" >> windows.txt | |
accesschk -w -s -u "This Organization" "C:\Windows" >> windows.txt | |
accesschk -w -s -u "Authentication authority asserted identity" "C:\Windows" >> windows.txt | |
accesschk -w -s -u "Mandatory Label\Medium Mandatory Level" "C:\Windows" >> windows.txt | |
accesschk -w -s -u %username% "C:\Windows" >> windows.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment