Threat Huntlowtest

Shell Context Menu Command Tampering

Detects changes to shell context menu commands. Use this rule to hunt for potential anomalies and suspicious shell commands.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Wed Mar 06868df2d1-0939-4562-83a7-27408c4a1adawindows
Hunting Hypothesis
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetObject|contains|all:
            - '\Software\Classes\'
            - '\shell\'
            - '\command\'
    condition: selection
False Positives

Likely from new software installation suggesting to add context menu items. Such as "PowerShell", "Everything", "Git", etc.

MITRE ATT&CK

Other

detection.threat-hunting
Rule Metadata
Rule ID
868df2d1-0939-4562-83a7-27408c4a1ada
Status
test
Level
low
Type
Threat Hunt
Created
Wed Mar 06
Path
rules-threat-hunting/windows/registry/registry_set/registry_set_shell_context_menu_tampering.yml
Raw Tags
attack.persistencedetection.threat-hunting
View on GitHub