COM Hijacking Enables Stealthy Windows Persistence and Credential Theft
Attack Tradecraft · 3 sources · Updated 3mo ago · First seen May 2, 2022

Windows attackers have used Component Object Model (COM) hijacking to gain persistence by altering Registry entries so legitimate applications load attacker-controlled code during normal execution. MITRE documents the technique as T1546.015, noting that adversaries can replace COM object references or abuse TypeLib keys to redirect execution to malicious DLLs, scripts, or even remotely hosted payloads via the script: moniker. The approach is designed to survive reboots while blending into routine system activity, especially when attackers choose COM objects that are invoked often enough to ensure execution but not so critical that failures immediately expose the compromise.
Public examples show both proof-of-concept and criminal use. A technical walkthrough demonstrated creating a user-level HKCU\Software\Classes\CLSID\{...}\InprocServer32 entry so a process such as Firefox would load a malicious DLL instead of falling back to system-wide COM registrations, illustrating how COM hijacking can provide persistence and defense evasion. In the wild, the W32.Silon banking trojan reportedly replaced a CLSID reference for Microsoft-signed msimtf.dll with a malicious msjet51.dll, causing Internet Explorer to load the payload, steal online banking credentials, hide artifacts, and exfiltrate captured data to command-and-control servers.


