Full SigmaHQ catalog

Author
Jonathan Cheong, oscd.community
Rule ID
0c718a5e-4284-4fb9-b4d9-b9a50b3a1974
Collection
Core
Log source
windows / security
Severity
high
Maturity
test
First published
2020-10-15
Updated
2022-11-29
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
    service: security
    definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
    selection:
        EventID: 4697
        ServiceFileName|contains|all:
            - 'cmd'
            - 'powershell'
    selection2:
        ServiceFileName|contains:
            - '${input}'
            - 'noexit'
    selection3:
        ServiceFileName|contains:
            - ' /c '
            - ' /r '
    condition: all of selection*
falsepositives:
    - Unknown