Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

COM Activation

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

COM activation is the process of creating and initialising a COM object so it can service requests. In Windows, activation can occur in-process or in a separate server process, and that distinction matters because out-of-process activation can move execution into a different security context.

What COM Activation Means in Windows

COM activation is the moment an object is created and initialised so it can accept incoming method calls. The important security nuance is that activation can happen inside the caller's process or in a separate server process, and that choice affects which Windows security context actually runs the code.

That makes activation more than object construction. It is the handoff point where class registration, launch permissions, and runtime hosting decisions determine whether the object is instantiated locally, brokered, or isolated behind a process boundary.

Why In-Process and Out-of-Process Activation Matter

In-process activation keeps the object inside the caller's address space, which is fast but means the object shares the host process's memory, fault domain, and trust boundary. Out-of-process activation places the object in another process, often through a COM server, which adds isolation and can reduce the blast radius if the component fails or is abused.

That distinction is security-relevant because Windows may use different tokens, permissions, and session boundaries depending on how the COM server is launched. In practice, the same logical component can run with different effective privilege depending on whether the activation path stays local or crosses into a separate server context.

Security Consequences of Activation Context

COM activation can influence which account owns the runtime instance, what resources the object can reach, and how much trust the caller implicitly inherits. If activation is misconfigured, a lower-trust caller may be able to start a higher-privilege server, or a privileged host may load an untrusted in-process component into its own memory space.

That is why COM activation sits at the intersection of access control, privilege boundaries, and component trust. The activation path is often the real control plane for whether the object is merely available or also safely confined.

Operational Uses and Common Failure Modes

Administrators and developers use activation settings to decide where a component runs, which identity launches it, and whether callers can talk to it across process boundaries. The term is also central when troubleshooting failures such as launch permission denials, registration problems, surrogate hosting issues, or unexpected elevation.

Misunderstandings usually come from treating COM activation as a purely technical startup step. In Windows, the activation model can materially change the security context, so the same component can be safe in one deployment pattern and risky in another.

Risk and Threat Considerations

COM activation becomes risky when an attacker can influence which component is launched, how it is hosted, or which security context it inherits. The main exposure is privilege abuse through a trusted activation path, especially when a high-value process loads or brokers a component that was not expected to run at that trust level.

Failure mechanism: Weak launch permissions, insecure registration, or unsafe in-process loading can let an attacker turn activation into code execution, privilege escalation, or a boundary bypass between caller and server process.

Impact: Compromise can expose sensitive data, tamper with trusted applications, or extend access into a more privileged context than the original caller should ever have reached.

Standards & Framework Alignment

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

NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeCOM activation can change the effective execution context, so least privilege constrains what the activated component can do.
IA-5 — Authenticator ManagementActivation paths may rely on credentials or tokens to launch or impersonate a security context.
CM-6 — Configuration SettingsCOM activation behavior is driven by configuration and registration, which must be controlled and reviewed.
Recommendation — Apply AC-6 to limit the rights granted to activated COM servers and callers. Manage credentials used by COM servers so activation cannot depend on stale or overbroad secrets. Standardise and review COM registration and launch settings to prevent unsafe activation behavior.
CIS Controls v8CIS-5 — Account ManagementActivation context depends on which account launches or hosts the COM server.
Recommendation — Restrict and review accounts that can launch or host COM services.

Practitioner Guidance

Why practitioners should care: Treat COM activation as a security boundary decision, not just an object lifecycle event. Review which components are allowed to activate, where they run, and whether the chosen hosting model matches the trust level of the caller and the data they handle.

What to watch for: Unexpected out-of-process launches, unusual server identities, and components that are available to broad callers but execute with privileged access are the signals most worth investigating. Those are often the places where the activation model and the intended trust boundary have drifted apart.

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 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org