Sub-technique of T1021 Remote Services.View on attack.mitre.org
Adversaries may use Valid Accounts to interact with remote machines by taking advantage of Distributed Component Object Model (DCOM). The adversary may then perform actions as the logged-on user.
The Windows Component Object Model (COM) is a component of the native Windows application programming interface (API) that enables interaction between software objects, or executable code that implements one or more interfaces. Through COM, a client object can call methods of server objects, which are typically Dynamic Link Libraries (DLL) or executables (EXE). Distributed COM (DCOM) is transparent middleware that extends the functionality of COM beyond a local computer using remote procedure call (RPC) technology.
Permissions to interact with local and remote server COM objects are specified by access control lists (ACL) in the Registry. By default, only Administrators may remotely activate and launch COM objects through DCOM.
Through DCOM, adversaries operating in the context of an appropriately privileged user can remotely obtain arbitrary and even direct shellcode execution through Office applications as well as other Windows objects that contain insecure methods. DCOM can also execute macros in existing documents and may also invoke Dynamic Data Exchange (DDE) execution directly through a COM created instance of a Microsoft Office application, bypassing the need for a malicious document. DCOM can be used as a method of remotely interacting with Windows Management Instrumentation.
Rules on DetectionCode tagged with T1021.003.
| Rule | Level | Log source |
|---|---|---|
| Potential DCOM InternetExplorer.Application DLL Hijack | critical | windows / file_event |
| Potential DCOM InternetExplorer.Application DLL Hijack - Image Load | critical | windows / image_load |
| BaaUpdate.exe Suspicious DLL Load | high | windows / image_load |
| DCOM InternetExplorer.Application Iertutil DLL Hijack - Security | high | windows / NULL |
| HackTool - Potential Impacket Lateral Movement Activity | high | windows / process_creation |
| MMC Spawning Windows Shell | high | windows / process_creation |
| MMC20 Lateral Movement | high | windows / process_creation |
| Potential Excel.EXE DCOM Lateral Movement Via ActivateMicrosoftApp | high | windows / process_creation |
| Remote DCOM/WMI Lateral Movement | high | rpc_firewall / application |
| Suspicious BitLocker Access Agent Update Utility Execution | high | windows / process_creation |
| Suspicious Speech Runtime Binary Child Process | high | windows / process_creation |
| Suspicious Non PowerShell WSMAN COM Provider | medium | windows / NULL |
| Suspicious WSMAN Provider Image Loads | medium | windows / image_load |
| Rule | Type | Risk | Data source |
|---|---|---|---|
| Impacket Lateral Movement Commandline Parameters | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Impacket Lateral Movement smbexec CommandLine Parameters | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Impacket Lateral Movement WMIExec Commandline Parameters | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Mmc LOLBAS Execution Process Spawn | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Possible Lateral Movement PowerShell Spawn | Anomaly | NULL | Sysmon EventID 1, CrowdStrike ProcessRollup2 |
| Remote Process Instantiation via DCOM and PowerShell | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Remote Process Instantiation via DCOM and PowerShell Script Block | TTP | NULL | Powershell Script Block Logging 4104 |
| Windows Excel ActiveMicrosoftApp Child Process | Anomaly | NULL | Sysmon EventID 1 |
| Windows Excel Spawning Microsoft Project Application | Anomaly | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Windows SpeechRuntime COM Hijacking DLL Load | TTP | NULL | Sysmon EventID 7 |
| Windows SpeechRuntime Suspicious Child Process | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
None recorded.
None recorded.
| Used by | Procedure example |
|---|---|
| MalwareCobalt Strike | Cobalt Strike can deliver Beacon payloads for lateral movement by leveraging remote COM execution. |
| ToolEmpire | Empire can utilize |
| ToolSILENTTRINITY | SILENTTRINITY can use `System` namespace methods to execute lateral movement using DCOM. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.