Full SigmaHQ catalog

Author
frack113
Rule ID
a9723fcc-881c-424c-8709-fd61442ab3c3
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2021-07-30
Updated
2022-12-25
MITRE ATT&CK
T1119

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_action:
        ScriptBlockText|contains:
            - 'Get-Service '
            - 'Get-ChildItem '
            - 'Get-Process '
    selection_redirect:
        ScriptBlockText|contains: '> $env:TEMP\'
    condition: all of selection*
falsepositives:
    - Unknown