MITRE ATT&CKsub-technique
T1021.003 Distributed Component Object Model
- Domain
- enterprise
- Tactics
- Lateral Movement
- Platforms
- Windows
- Version
- 1.3
- Created
- 2020-02-11
Description
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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1021 Remote Services technique
Tactic · MITRE ATT&CK (1)
- TA0008 Lateral Movement tactic
Referenced by MITRE ATT&CK · mitigates (4)
Referenced by MITRE ATT&CK · uses (3)
Referenced by Compliance · mitigates (25)
- CIS-12.2 Establish and Maintain a Secure Network Architecture CIS Safeguard v8.1
- CIS-16.8 Separate Production and Non-Production Systems CIS Safeguard v8.1
- CIS-4.4 Implement and Manage a Firewall on Servers CIS Safeguard v8.1
- CIS-4.5 Implement and Manage a Firewall on End-User Devices CIS Safeguard v8.1
- CIS-4.6 Securely Manage Enterprise Assets and Software CIS Safeguard v8.1
- CIS-4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software CIS Safeguard v8.1
- NIST-AC-17 Remote Access NIST 800-53 control
- NIST-AC-2 Account Management NIST 800-53 control
- NIST-AC-3 Access Enforcement NIST 800-53 control
- NIST-AC-4 Information Flow Enforcement NIST 800-53 control
- NIST-AC-5 Separation of Duties NIST 800-53 control
- NIST-AC-6 Least Privilege NIST 800-53 control
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-5 Access Restrictions for Change NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
- NIST-CM-8 System Component Inventory NIST 800-53 control
- NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
- NIST-RA-5 Vulnerability Monitoring and Scanning NIST 800-53 control
- NIST-SC-18 Mobile Code NIST 800-53 control
- NIST-SC-3 Security Function Isolation NIST 800-53 control
- NIST-SC-46 Cross Domain Policy Enforcement NIST 800-53 control
- NIST-SC-7 Boundary Protection NIST 800-53 control
- NIST-SI-3 Malicious Code Protection NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
References
- https://www.fireeye.com/blog/threat-research/2019/06/hunting-com-objects.html Fireeye Hunting COM June 2019
- https://msdn.microsoft.com/library/windows/desktop/ms680573.aspx Microsoft COM
- https://docs.microsoft.com/en-us/windows/desktop/com/dcom-security-enhancements-in-windows-xp-service-pack-2-and-windows-server-2003-service-pack-1 Microsoft COM ACL
- https://msdn.microsoft.com/en-us/library/windows/desktop/ms687317(v=vs.85).aspx Microsoft Process Wide Com Keys
- https://msdn.microsoft.com/en-us/library/aa394582.aspx MSDN WMI
- https://enigma0x3.net/2017/01/23/lateral-movement-via-dcom-round-2/ Enigma DCOM Lateral Movement Jan 2017
- https://enigma0x3.net/2017/01/05/lateral-movement-using-the-mmc20-application-com-object/ Enigma MMC20 COM Jan 2017
- https://enigma0x3.net/2017/11/16/lateral-movement-using-outlooks-createobject-method-and-dotnettojscript/ Enigma Outlook DCOM Lateral Movement Nov 2017
- https://enigma0x3.net/2017/09/11/lateral-movement-using-excel-application-and-dcom/ Enigma Excel DCOM Sept 2017
- https://www.cybereason.com/blog/leveraging-excel-dde-for-lateral-movement-via-dcom Cyberreason DCOM DDE Lateral Movement Nov 2017