Watch for unusual COM object instantiation, Office processes spawning child processes, and network connections from Word, Excel, or PowerPoint to unknown hosts. Registry changes to COM compatibility keys are also a strong signal that someone is trying to alter or preserve object-loading behaviour.
How to recognise Office as an execution vector
Office becomes an execution vector when a document, macro, add-in, or embedded component is being used to launch code or trigger a secondary process chain. The practical clue is not just that Office is open, but that it is behaving like an execution host, especially when normal document activity turns into process creation, object loading, or outbound network activity.
Execution often shows up as a sequence: a user opens a file, Office instantiates a component, and then a child process or script engine appears. That pattern matters because it distinguishes routine editing from code execution through trusted Office behavior, which is why investigators pay close attention to process trees and object activation paths.
In many cases, the most useful signal is context. A one-off Office process is ordinary, but repeated launches tied to the same document, unusual parent-child relationships, or Office reaching out to unfamiliar infrastructure can indicate that Office is being used to start or stage something else. The issue is not the application name alone, but the execution role it has been made to play.
Which behaviours are most suspicious in practice?
Three behaviours usually deserve the fastest triage. First, unusual COM object instantiation, especially when the object type does not match the expected document workflow. Second, Office spawning child processes such as script hosts, command shells, or other unexpected binaries. Third, network connections from Word, Excel, or PowerPoint to unknown or low-reputation hosts, particularly when they occur shortly after document open.
Registry activity can be just as important as process activity. Changes to COM compatibility keys, startup-related settings, or other object-loading preferences may indicate an attempt to preserve or redirect how Office resolves components. When that happens, the execution path may be persistent, not one-time, so the registry change is often part of the mechanism rather than a side effect.
These signals are strongest when they appear together. A benign macro may create noise, but a document that alters object-loading behaviour and then drives Office into external communication or child-process creation is much more consistent with execution abuse than with normal productivity use.
Why these indicators matter to defenders
Office is attractive to attackers because it sits close to users, trusted workflows, and common file formats. That makes it a useful place to hide the handoff from document interaction into code execution. For defenders, the key question is whether Office is merely rendering content or is being used to bridge into a broader execution chain.
That is why process telemetry, script-block visibility, registry monitoring, and network inspection all matter together. MITRE ATT&CK Enterprise Matrix is a useful reference for mapping these behaviours to adversary tradecraft such as execution, persistence, and defense evasion. When Office is the launch point, the surrounding chain often tells you more than the initial file type does.
OWASP API Security Top 10 is not the primary lens here, but its emphasis on unexpected access paths is a useful reminder that trust boundaries matter wherever one component can invoke another. In Office cases, the same principle applies to child processes, COM activation, and outbound connections.
Risk and Threat Considerations
Office-as-execution-vector activity is risky because it can convert a familiar productivity workflow into a launchpad for code execution, persistence, or later-stage payload delivery. The same trust users place in documents and add-ins can be abused to make malicious activity look routine until the execution chain is already underway.
Failure mechanism: An attacker abuses Office object activation, macros, add-ins, or compatibility settings to spawn code, alter loading behaviour, or reach external infrastructure while staying inside a trusted application path.
Impact: This can lead to payload execution, credential exposure, persistence, or further compromise, especially when the activity is allowed to blend into normal user-driven Office traffic.
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 CIS Controls v8 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1204 — User Execution | Office execution vectors often begin with user-opened documents triggering code. |
| T1559 — Inter-Process Communication | COM object instantiation and Office process chaining reflect IPC-style execution paths. | |
| T1055 — Process Injection | Office used as a launch host can precede or support code-in-process execution techniques. | |
| Recommendation — Map Office-launched activity to T1204 and hunt for document-open to child-process chains. Correlate COM activation with downstream process creation and unusual object-loading behaviour. Investigate Office-originated children for in-memory execution and post-launch abuse. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Detecting Office-as-execution-vector activity depends on process, registry, and network telemetry. |
| Recommendation — Centralise endpoint telemetry so Office process creation, COM changes, and outbound hosts are searchable. | ||
Practitioner Guidance
What to prioritise: Triage the process tree first, then correlate it with the document open event and any recent registry modifications. If Office is spawning a child process or making unexpected network connections, treat that as higher priority than a generic alert on the file itself.
What to verify: Confirm whether the COM object or child process is expected for that document type and business workflow. Also verify whether the registry change is a known enterprise setting or a new persistence mechanism tied to the same host and user.
Common mistake: Do not dismiss Office execution as benign just because the parent process is a familiar application. The question is whether Office is acting as the container for secondary execution, not whether it is installed normally.
Practitioner takeaway: The most reliable judgment is to look for a chain, not a single indicator, because Office becomes dangerous when document interaction turns into process creation, object loading, and external contact in the same timeline.
Related resources from NHI Mgmt Group
- Why do secrets stay dangerous even when they are no longer actively used?
- What are the signs that remote execution activity is being used maliciously?
- What are the signs that an Office document is abusing online video content for malicious execution?
- What are the signs that a Microsoft Office exploit chain is being used to deliver a stealer payload?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on October 10, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org