Safeguard
Application Security•

Detecting and Mitigating COM Abuse for Execution (T1559.001)

Windows COM lets software call other software, and attackers use it for local code execution. What MITRE documents, the detection signals, and the settings that restrict it.

Safeguard Security Team
2 min read

COM is the Windows plumbing that lets one piece of software call methods on another. That convenience is why attackers like it. Component Object Model (T1559.001) is an Execution technique for Windows and a subtechnique of Inter-Process Communication.

How attackers use it

MITRE describes COM as an IPC component of the native Windows API that lets a client object call methods on server objects, which are typically DLLs or EXEs. Remote COM execution runs through Remote Services such as Distributed COM.

Various COM interfaces can be abused to invoke arbitrary execution through languages such as C, C++, Java and Visual Basic. Specific COM objects can also perform actions beyond code execution, such as creating a scheduled task, fileless download and execution, and other behaviors tied to privilege escalation and persistence.

How to detect it

MITRE's analytic correlates process creation, module loads and registry queries to flag Office applications spawning scripting engines, enumeration of COM interfaces through registry queries, and processes loading atypical DLLs through COM activation.

The data you need is process creation with parent details, module load events and registry query events. Sysmon provides all three on Windows, as event IDs 1, 7 and 13 for process creation, image load and registry value sets.

How to reduce the risk

MITRE lists two mitigations.

  1. Privileged account management. Modify registry settings, directly or with Dcomcnfg.exe, under the AppID keys for process-wide COM application security, and under the Ole key for system-wide security defaults.
  2. Application isolation and sandboxing. Make sure all COM alerts and Protected View are enabled.

Why defenders care

COM is not a flaw. It is the way a large share of Windows software works, which is why you cannot simply switch it off. The practical stance is to narrow it. Keep the security settings tight, keep Protected View and COM alerts on so documents from outside cannot call objects freely, and watch the processes that use COM to start other programs. The same Office-to-interpreter process pattern that flags DDE abuse flags COM abuse too, so one good rule covers both.

Quick check

Which tool does MITRE name for adjusting COM security settings?

Dcomcnfg.exe, or direct registry edits under the AppID and Ole keys.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.