Full SigmaHQ catalog

Author
frack113
Rule ID
96c982fe-3d08-4df4-bed2-eb14e02f21c8
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2022-03-17
MITRE ATT&CK
T1033

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        # 4194304 DONT_REQ_PREAUTH
        ScriptBlockText|contains|all:
            - 'Get-ADUser'
            - '-Filter'
            - 'useraccountcontrol'
            - '-band'
            - '4194304'
    condition: selection
falsepositives:
    - Legitimate PowerShell scripts