Full SigmaHQ catalog

Author
oscd.community, @redcanary, Zach Stanford @svch0st
Rule ID
42821614-9264-4761-acfc-5772c3286f76
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2020-10-10
Updated
2022-12-02
MITRE ATT&CK
T1553.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:
    selection1:
        ScriptBlockText|contains|all:
            - 'Move-Item'
            - 'Cert:\LocalMachine\Root'
    selection2:
        ScriptBlockText|contains|all:
            - 'Import-Certificate'
            - 'Cert:\LocalMachine\Root'
    condition: 1 of selection*
falsepositives:
    - Help Desk or IT may need to manually add a corporate Root CA on occasion. Need to test if GPO push doesn't trigger FP