Full SigmaHQ catalog

Author
Ali Alwashali
Rule ID
602f5669-6927-4688-84db-0d4b7afb2150
Collection
Core
Log source
windows / ps_script
Severity
high
Maturity
test
First published
2022-08-21
MITRE ATT&CK
T1070.003

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:
        ScriptBlockText|contains|all:
            - Remove-Module
            - psreadline
    condition: selection
falsepositives:
    - Legitimate script that disables the command history