← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows COM Hijacking Persistence Dataset

This hunt uses a simulated endpoint dataset (windows_com_hijack_2022-08-12T100000.json) capturing T1546.015: Component Object Model Hijacking, where an attacker overwrites a COM object's registered InprocServer32/LocalServer32 path in the registry so that a commonly-invoked Windows component (e.g., Explorer's shell extension handler) loads an attacker-controlled DLL instead of the legitimate one.

Step 1: Hypothesis Formation

Hypothesis: A registry value under HKCU\Software\Classes\CLSID\{...}\InprocServer32 (or the HKLM equivalent) is modified to point to a DLL in a non-standard, user-writable location, and that CLSID corresponds to a component routinely loaded by explorer.exe or another high-frequency process - providing durable, low-visibility persistence that re-triggers on every relevant COM instantiation. Indicators:

Null Hypothesis: A legitimate third-party shell-extension installer (e.g., an archiving tool, cloud-storage client) is registering its own COM handler as part of normal installation. Invalidate by checking Add/Remove Programs and the digital signature of the referenced DLL.

Rationale: COM hijacking persists across reboots without a scheduled task, service, or Run key - making it invisible to the persistence locations most defenders check first; this hunt validates CLSID-registry-write monitoring as a detection layer for a technique specifically chosen for its low forensic footprint.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm a DLL was dropped and registered against the CLSID for the Shell Icon Overlay handler, then silently reloaded by explorer.exe at the next user logon.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-08-12 10:00:03WKS-LEGAL-008Sysmon 11 - File Create%APPDATA%\Microsoft\Windows\shellcache.dll writtenStaging IOC: dropped in a plausible-looking but non-standard AppData path just before the registry change.
2022-08-12 10:00:08WKS-LEGAL-008Sysmon 13 - Registry SetHKCU\Software\Classes\CLSID\{087C8C6E-A6B6-4172-A66A-11774022B575}\InprocServer32\(Default) = %APPDATA%\Microsoft\Windows\shellcache.dllHijack IOC: this CLSID corresponds to a built-in Shell Icon Overlay identifier handler, normally pointed at a signed System32 DLL - now redirected to the dropped file.
2022-08-12 10:00:09WKS-LEGAL-008(signature check)shellcache.dll is unsigned, 44KB, compiled minutes priorConfirms this is attacker tooling, not a legitimate shell extension.
2022-08-12 17:45:12WKS-LEGAL-008Sysmon 7 - Image Loadexplorer.exe loads shellcache.dll at user logon, no user interaction requiredPersistence-Trigger IOC: this demonstrates the hijack re-activates automatically on every Explorer session, with no Run key, service, or scheduled task involved.
2022-08-12 17:45:15WKS-LEGAL-008Networkexplorer.exe (via injected code) beacons to 45.63.88.201:8443Confirms the hijacked DLL executes C2 beacon logic under cover of the trusted explorer.exe process.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - an attacker hijacked a Shell Icon Overlay COM handler to achieve reboot-persistent, Explorer-triggered C2 beaconing without using any Run key, service, or scheduled task!