Skip to main content
Mallory
← Back to News
persistence-methodcredential-stealer-activitydefense-evasion-methodcommand-and-control-method

COM Hijacking Enables Stealthy Windows Persistence and Credential Theft

Attack Tradecraft · 3 sources · Updated 3mo ago · First seen May 2, 2022

COM Hijacking Enables Stealthy Windows Persistence and Credential Theft

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.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Nov 2, 2009 – May 2, 2022
  1. May 2, 20225y ago

    Technical walkthrough demonstrates Firefox COM DLL hijack PoC

    A cocomelonc tutorial demonstrated COM hijacking by creating an HKCU\Software\Classes\CLSID\...\InprocServer32 override for a CLSID queried by firefox.exe and pointing it to a custom DLL named evil.dll. The walkthrough reported that after restarting Firefox and waiting several minutes, the malicious DLL loaded, displayed a message box, and Firefox crashed once during testing.

    Malware development: persistence - part 3. COM DLL hijack. Simple C++ example. - cocomelonc
  2. Nov 2, 200917y ago

    W32.Silon banking trojan documented using COM hijack persistence

    A Contagio analysis described W32.Silon as a banking trojan that persisted by replacing the CLSID reference for Microsoft-signed msimtf.dll with a malicious DLL, msjet51.dll, causing the payload to load into Internet Explorer. The report also detailed credential theft, registry-stored configuration, process injection, and exfiltration behavior.

    contagio: New banking trojan W32.Silon -msjet51.dll
  3. Date unknown

    MITRE ATT&CK published COM Hijacking as T1546.015

    MITRE ATT&CK documented Component Object Model Hijacking as sub-technique T1546.015, describing registry-based hijacking of COM references for persistence and execution. The entry also noted a TypeLib variation that can use the "script:" moniker to fetch and run remote scripts.

    Event Triggered Execution: Component Object Model Hijacking, Sub-technique T1546.015 - Enterprise | MITRE ATT&CK®
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

2 linked
WindowsInternet Explorer

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.