Full SigmaHQ catalog

Author
Jonathan Cheong, oscd.community
Rule ID
779c8c12-0eb1-11eb-adc1-0242ac120002
Collection
Core
Log source
windows / ps_script
Severity
high
Maturity
test
First published
2020-10-15
Updated
2024-04-05
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|re: 'cmd.{0,5}(?:/c|/r).+powershell.+(?:\$?\{?input\}?|noexit).+"'
    condition: selection_4104
falsepositives:
    - Unknown