Detectionlowexperimental

PowerShell AppLocker Policy Discovery Via Get-AppLockerPolicy

Detects AppLocker policy enumeration attempts via PowerShell using the Get-AppLockerPolicy cmdlet and an policy scope of either Effective, LDAP, or Local.

Open in Detection LabConvert ruleBuild Package
Tom3306Created 2026-08-19f14b1e99-5e53-4598-98dc-6f20ad7b35e0windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - Image|endswith:
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cmdlet:
        CommandLine|contains: 'Get-AppLockerPolicy'
    selection_flag:
        CommandLine|contains|windash:
            - ' -Effective'
            - ' -Ldap '
            - ' -Local'
    condition: all of selection_*
False Positives

PowerShell-based AppLocker auditing and policy troubleshooting by administrators.

Rule Metadata
Rule ID
f14b1e99-5e53-4598-98dc-6f20ad7b35e0
Status
experimental
Level
low
Type
Detection
Created
2026-08-19
Author
Path
rules/windows/process_creation/proc_creation_win_powershell_applocker_policy_discovery_via_get_applockerpolicy.yml
Raw Tags
attack.discoveryattack.t1518.001
View on GitHub