Full SigmaHQ catalog

Author
frack113
Rule ID
9e07f6e7-83aa-45c6-998e-0af26efd0a85
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2021-08-19
Updated
2022-12-25
MITRE ATT&CK
T1546.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_ioc:
        - ScriptBlockText|contains|all:
              - 'New-CimInstance '
              - '-Namespace root/subscription '
              - '-ClassName __EventFilter '
              - '-Property ' # is a variable name
        - ScriptBlockText|contains|all:
              - 'New-CimInstance '
              - '-Namespace root/subscription '
              - '-ClassName CommandLineEventConsumer '
              - '-Property ' # is a variable name
    condition: selection_ioc
falsepositives:
    - Unknown