Enumerate and audit AppLocker policies on Windows systems to identify allowed and blocked executables for specific users. Demonstrates how attackers can review AppLocker rule collections and system security status to assess privilege escalation or bypass opportunities. Highlights the risk of misconfigured AppLocker rules that may allow unauthorized code execution.
Command Reference:
Target: Local Windows machine with AppLocker enabled
Get-AppLockerPolicy -Local | Test-AppLockerPolicy -path C:\Windows\System32\cmd.exe -User Everyone
Get-MpComputerStatus
Get-AppLockerPolicy -Effective | select -ExpandProperty RuleCollections