Full SigmaHQ catalog

Author
Nikita Nazarov, oscd.community
Rule ID
a5a30a6e-75ca-4233-8b8c-42e0f2037d3b
Collection
Core
Log source
windows / ps_script
Severity
high
Maturity
test
First published
2019-10-08
Updated
2022-11-29
MITRE ATT&CK
T1027, T1059.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_4104:
        ScriptBlockText|contains|all:
            - '&&'
            - 'rundll32'
            - 'shell32.dll'
            - 'shellexec_rundll'
        ScriptBlockText|contains:
            - 'value'
            - 'invoke'
            - 'comspec'
            - 'iex'
    condition: selection_4104
falsepositives:
    - Unknown