Full SigmaHQ catalog

Author
frack113
Rule ID
d4488827-73af-4f8d-9244-7b7662ef046e
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2022-01-23
Updated
2025-07-18
MITRE ATT&CK
T1071.001

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_webrequest:
        ScriptBlockText|contains:
            - 'Invoke-WebRequest'
            - 'Invoke-RestMethod'
            - ' irm ' # Space before and after to avoid false positives with 'irm' as a variable
            - 'iwr '
    selection_useragent:
        ScriptBlockText|contains: '-UserAgent '
    condition: all of selection_*
falsepositives:
    - Unknown