Suspicious Shell Open Command Registry Modification

Detects modifications to shell open registry keys that point to suspicious locations typically used by malware for persistence. Generally, modifications to the *\shell\open\command registry key can indicate an attempt to change the default action for opening files, and various UAC bypass or persistence techniques involve modifying these keys to execute malicious scripts or binaries.

Sigma rule (View on GitHub)

 1title: Suspicious Shell Open Command Registry Modification
 2id: 9e8894c0-0ae0-11ef-9d85-1f2942bec57c
 3status: experimental
 4description: |
 5    Detects modifications to shell open registry keys that point to suspicious locations typically used by malware for persistence.
 6    Generally, modifications to the `*\shell\open\command` registry key can indicate an attempt to change the default action for opening files,
 7    and various UAC bypass or persistence techniques involve modifying these keys to execute malicious scripts or binaries.    
 8references:
 9    - https://www.trendmicro.com/en_us/research/25/f/water-curse.html
10author: Swachchhanda Shrawan Poudel (Nextron Systems)
11date: 2026-01-24
12tags:
13    - attack.privilege-escalation
14    - attack.persistence
15    - attack.t1548.002
16    - attack.t1546.001
17logsource:
18    category: registry_set
19    product: windows
20detection:
21    selection:
22        TargetObject|contains: '\shell\open\command\'
23        Details|contains:
24            - '\$Recycle.Bin\'
25            - '\AppData\Local\Temp\'
26            - '\Contacts\'
27            - '\Music\'
28            - '\PerfLogs\'
29            - '\Photos\'
30            - '\Pictures\'
31            - '\Users\Public\'
32            - '\Videos\'
33            - '\Windows\Temp\'
34            - '%AppData%'
35            - '%LocalAppData%'
36            - '%Temp%'
37            - '%tmp%'
38    condition: selection
39falsepositives:
40    - Legitimate software installations or updates that modify the shell open command registry keys to these locations.
41level: medium

References

Related rules

to-top