Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: process_creation
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_*
falsepositives:
- PowerShell-based AppLocker auditing and policy troubleshooting by administrators.