Full SigmaHQ catalog

Author
frack113
Rule ID
b8af5f36-1361-4ebe-9e76-e36128d947bf
Collection
Threat hunting
Log source
windows / ps_script
Severity
low
Maturity
test
First published
2022-01-15
Updated
2022-03-17
MITRE ATT&CK
T1070.004

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:
            - 'Remove-Item -Path '
            - 'del -Path '
            - 'erase -Path '
            - 'rd -Path '
            - 'ri -Path '
            - 'rm -Path '
            - 'rmdir -Path '
    condition: selection
falsepositives:
    - Legitimate PowerShell scripts