Detection rules › Sigma
Removal of Potential COM Hijacking Registry Keys
Detects any deletion of entries in ".*\shell\open\command" registry keys. These registry keys might have been used for COM hijacking activities by a threat actor or an attacker and the deletion could indicate steps to remove its tracks.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1112 Modify Registry |
| Defense Evasion | T1112 Modify Registry |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 14 | RegistryEvent (Key and Value Rename) |
Stages and Predicates
Stage 1: selection
TargetObject|endswith: '\shell\open\command'
Stage 2: not 1 of filter_main_*
or:
Image|endswith: 'C:\Windows\explorer.exe'
Image: 'C:\Windows\SysWOW64\msiexec.exe'
Image: 'C:\Windows\System32\OpenWith.exe'
Image: 'C:\Windows\System32\msiexec.exe'
Image: 'C:\Windows\system32\svchost.exe'
Image|startswith: 'C:\Program Files (x86)\'
Image|startswith: 'C:\Program Files\'
Stage 3: not 1 of filter_optional_*
or:
Image: ['C:\Program Files (x86)\Avira\Antivirus\', 'C:\Program Files\Avira\Antivirus\']
or:
TargetObject|endswith: '\AntiVir.Keyfile\shell\open\command'
TargetObject|endswith: '\CLSID\{305CA226-D286-468e-B848-2B2E8E697B74}\Shell\Open\Command'
Image|endswith: 'C:\eclipse\eclipse.exe'
TargetObject|contains: '_Classes\eclipse+'
Image|endswith: '\AppData\Local\Temp\Wireshark_uninstaller.exe'
TargetObject|contains: '\wireshark-capture-file\'
Image|endswith: '\Dropbox.exe'
TargetObject|contains: '\Dropbox.'
Image|endswith: '\Everything.exe'
TargetObject|contains: '\Everything.'
Image|endswith: '\Spotify.exe'
TargetObject|endswith: '\Spotify\shell\open\command'
Image|endswith: '\installer.exe'
Image|startswith: 'C:\Program Files (x86)\Java\'
TargetObject|contains: '\Classes\WOW6432Node\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8F}'
Image|endswith: '\reg.exe'
TargetObject|endswith: '\Discord\shell\open\command'
Image|contains: 'AppData\Local\Temp'
Image|contains: '\setup.exe'
Image|contains: '\TeamViewer'
Image|contains: '\Temp'
Image|contains: '\Temp\is-'
Image|contains: '\target.tmp'
Image|contains: peazip
TargetObject|contains: '\PeaZip.'
Image|endswith: '\ninite.exe'
Image|contains: '\Microsoft\EdgeUpdate\Install'
Image|startswith: 'C:\Windows\Installer\MSI'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | ends_with |
|
Image | eq |
|
Image | match |
|
Image | starts_with |
|
TargetObject | ends_with |
|
TargetObject | match |
|