Full SigmaHQ catalog

Author
frack113
Rule ID
162e69a7-7981-4344-84a9-0f1c9a217a52
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2022-03-17
MITRE ATT&CK
T1083

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:
            - foreach
            - Get-ChildItem
            - '-Path '
            - '-ErrorAction '
            - SilentlyContinue
            - 'Out-File '
            - '-append'
    condition: selection
falsepositives:
    - Legitimate PowerShell scripts