Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› COM Server Hijacking
Threats, Abuse & Incident Response

COM Server Hijacking

← Back to Glossary
By NHI Mgmt Group Updated November 9, 2026 Domain: Threats, Abuse & Incident Response

COM Server Hijacking is a Windows abuse technique where an attacker redirects Component Object Model activation to a malicious server. It works by changing registration data, file paths, or class lookups so an application loads attacker-controlled code instead of the intended COM object.

What COM Server Hijacking Is

COM Server Hijacking is a Windows persistence and execution-abuse technique that changes how Component Object Model activation resolves a class, so an application launches attacker-controlled code instead of the intended COM server. The abuse usually targets registration data, file paths, or lookup behavior, which makes the technique attractive because it blends into normal Windows component wiring.

For defenders, the important point is that the hijack does not need to replace the application itself. It only needs to influence the component lookup path, which can let malicious code run when a legitimate program or system feature activates the object.

Because this is a Windows-specific abuse pattern, it is best understood as a way to redirect trusted execution flow rather than as a standalone malware family. The security problem is the abuse of trust in registration and activation metadata.

How COM Activation Gets Redirected

COM relies on registration and class lookup to connect callers with the right object implementation. When an attacker can alter that mapping, the system may load a different binary or script handler than the one the application expected. That can happen through registry changes, file replacement, path manipulation, or other hijackable lookup points.

This makes the technique closely related to broader event-triggered execution and persistence tradecraft. NHIMG’s T1546 Event Triggered Execution Defensive Guide covers COM hijacking alongside other activation-based persistence methods, while the Persistence Techniques Guide places it in the wider family of Windows persistence mechanisms.

The practical challenge is that the redirect often looks like normal registration or configuration state until a process activates the object. That means the malicious change may sit dormant until a user session, service, or host component triggers it.

Why It Is Dangerous in Windows Environments

COM Server Hijacking is dangerous because it converts a trusted software dependency into an execution path for hostile code. Once the attacker controls activation, they can piggyback on a legitimate process, inherit its trust context, and potentially reach a wider set of resources than a direct executable launch would allow.

The technique is also attractive for stealth. Activation-based execution can blend with routine application behavior, which makes it harder to distinguish from legitimate component loading unless defenders are watching the relevant registry, file system, and process-creation activity.

For detection and hunting, defenders should treat unusual COM registration changes, unexpected binary paths, and activation from atypical locations as high-signal indicators. Correlating those changes with process lineage and recent administrative activity is often the fastest way to separate legitimate software updates from abuse.

Exposure, Detection, and Remediation

Exposure depends on whether the relevant COM registration surfaces are writable by an attacker, whether the host is monitored for registry and file changes, and whether the application’s activation path can be influenced by user-writable locations. The strongest defensive posture is to know which COM entries matter, where they live, and which processes are allowed to modify them.

When hijacking is suspected, defenders should review the affected registration entries, verify the referenced binaries, and compare them with known-good paths and hashes. Because the technique can be used for persistence, post-remediation review should also check for related autostart mechanisms and any secondary payloads that may have been launched during activation.

Windows telemetry that records registry edits, image loads, and suspicious child processes is especially useful for this technique. Pairing that telemetry with a hardened change-management process makes it easier to tell a legitimate component update from tampering.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1546 — Event Triggered ExecutionCOM hijacking is a documented sub-technique under event-triggered execution.
T1112 — Modify RegistryCOM hijacking commonly relies on registry modification to redirect class lookup and activation.
Recommendation — Map COM activation abuse to T1546 and hunt for suspicious registration drift and unusual execution triggers. Alert on and investigate registry edits that redirect COM class registration or server paths.
NIST SP 800-53 Rev 5CM-5 — Access Restrictions for ChangeCOM hijacking depends on unauthorized or weakly controlled changes to activation and registration data.
Recommendation — Restrict who can modify COM registration and component paths, and review those changes as privileged configuration updates.
CIS Controls v8CIS-4 — Secure Configuration of Enterprise Assets and SoftwareThe technique exploits insecure Windows component configuration and path resolution.
Recommendation — Harden COM-related configuration and continuously validate registry and file-path integrity on endpoints.
NIST CSF 2.0DE.CM-02 — Detect Unauthorized Software, Connections, and DevicesCOM hijacking is detectable through changes in software loading and suspicious component activation.
Recommendation — Monitor for unexpected component loads and configuration drift that indicate COM activation abuse.

Practitioner Guidance

What to watch for: COM hijacking is easiest to miss when teams look only for overt malware files and ignore registration drift. The most useful operational question is whether a COM class now resolves differently than it did before, especially on endpoints where the application behavior has not otherwise changed.

Practitioner takeaway: Treat COM activation paths as part of your execution-control surface, not just configuration data. If you can see who changed the lookup target, you can usually explain, and contain, the abuse much faster.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org