Full SigmaHQ catalog

Author
Timur Zinniatullin, oscd.community
Rule ID
970007b7-ce32-49d0-a4a4-fbef016950bd
Collection
Core
Log source
windows / process_creation
Severity
medium
Maturity
test
First published
2019-10-21
Updated
2026-10-19
MITRE ATT&CK
T1012, T1007

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_flag:
        CommandLine|contains: ' query '
    selection_key:
        CommandLine|contains:
            - 'currentVersion\windows'
            - 'winlogon\'
            - 'currentVersion\shellServiceObjectDelayLoad'
            - 'currentVersion\run' # Also covers the strings "RunOnce", "RunOnceEx" and "runServicesOnce"
            - 'currentVersion\policies\explorer\run'
            - 'currentcontrolset\services'
    filter_optional_yammer:
        ParentImage|endswith: '\Yammer.exe'
        CommandLine: 'C:\Windows\system32\reg.exe QUERY HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v Yammer'
    condition: all of selection_* and not 1 of filter_optional_*
falsepositives:
    - Discord