T1175 Sumo Logic CSE · Sumo

Detect Component Object Model and Distributed COM in Sumo Logic CSE

Adversaries may abuse the Windows Component Object Model (COM) and Distributed Component Object Model (DCOM) for local code execution or to move laterally across a network. This deprecated technique encompasses both local COM abuse (now T1559.001) and DCOM-based lateral movement (now T1021.003). COM is a native Windows API component enabling interaction between software objects through well-defined interfaces; DCOM extends this functionality over a network via RPC. Adversaries exploit COM interfaces to invoke arbitrary code execution through C++, Java, VBScript, and PowerShell. For DCOM lateral movement, privileged users can remotely activate objects such as MMC20.Application (CLSID: 49B2791A-B1AE-4C90-9B8E-E860BA07F889), ShellWindows (CLSID: 9BA05972-F6A8-11CF-A442-00A0C90A8F39), and ShellBrowserWindow (CLSID: C08AFD90-F2A1-11D1-8455-00A0C91F3880) to execute commands on remote hosts. Microsoft Office application objects (Excel.Application, Outlook.Application) exposed via DCOM also permit remote code execution and macro invocation. COM surrogate processes (dllhost.exe /Processid:{CLSID}) serve as the activation vehicle for out-of-process COM servers, making dllhost.exe spawning unexpected child processes a high-fidelity indicator. DCOM lateral movement communicates over TCP 135 (RPC Endpoint Mapper) before negotiating an ephemeral high port, distinguishing it from WMI or SMB-based lateral movement.

MITRE ATT&CK

Tactic
Lateral Movement Execution
Canonical reference
https://attack.mitre.org/techniques/T1175/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*windows* OR _sourceCategory=*sysmon* OR _sourceCategory=*endpoint*
| where EventID = "1" OR EventCode = "1"
| parse field=ParentImage "*\\*" as ParentPath, ParentProcess nodrop
| parse field=Image "*\\*" as ChildPath, ChildProcess nodrop
| where ChildProcess in ("cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe")
| where (
    (toLowerCase(ParentProcess) = "dllhost.exe" and (ParentCommandLine contains "/Processid:" or ParentCommandLine contains "/processid:"))
    or toLowerCase(ParentProcess) = "mmc.exe"
    or toLowerCase(ParentProcess) in ("excel.exe", "outlook.exe", "winword.exe", "powerpnt.exe", "onenote.exe")
  )
| eval COMVector = if(toLowerCase(ParentProcess) = "dllhost.exe", "COM_Surrogate_Activation",
    if(toLowerCase(ParentProcess) = "mmc.exe", "MMC20_Application_DCOM",
      if(toLowerCase(ParentProcess) in ("excel.exe", "outlook.exe", "winword.exe", "powerpnt.exe", "onenote.exe"), "Office_Application_DCOM",
        "Unknown_COM")))
| eval DCOMIndicator = if(ParentCommandLine matches "(?i)(/Processid:|-Embedding)", "true", "false")
| fields _messageTime, Computer, User, Image, CommandLine, ParentImage, ParentCommandLine, COMVector, DCOMIndicator
| sort by _messageTime desc
high severity high confidence

Sumo Logic query detecting COM/DCOM abuse (T1175) by identifying shell interpreter processes (cmd.exe, powershell.exe, etc.) spawned by COM surrogate dllhost.exe with CLSID parameters, MMC20.Application, or Office application DCOM interfaces. Enriches events with COMVector classification and DCOM indicator flag.

Data Sources

Sumo Logic Installed Collector (Windows)Sysmon via Sumo Logic Windows Event SourceSumo Logic Cloud SIEM Enterprise (CSE)

Required Tables

Windows Event Log (Sysmon EventID 1)

False Positives & Tuning

  • Legitimate COM-based administrative automation using dllhost.exe surrogate processes for out-of-process COM server activation during standard software installations or updates
  • Microsoft Management Console (mmc.exe) extensions or snap-ins that programmatically launch PowerShell or cmd.exe for configuration operations as part of authorized IT administration
  • Business process automation solutions that use Office DCOM interfaces (e.g., document generation pipelines, data extraction workflows) and legitimately spawn child processes during operation
Download portable Sigma rule (.yml)

Other platforms for T1175


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1MMC20.Application DCOM Local Shell Execution

    Expected signal: Sysmon Event ID 1: mmc.exe created (parent: powershell.exe), then cmd.exe spawned with ParentImage=mmc.exe, CommandLine='/c whoami > %TEMP%\dcom-mmc20-test.txt'. Sysmon Event ID 11: file created at %TEMP%\dcom-mmc20-test.txt. DeviceProcessEvents shows InitiatingProcessFileName='mmc.exe' spawning FileName='cmd.exe'. DCOM-Server/Operational may log the COM activation.

  2. Test 2ShellWindows COM Object Shell Execution via Shell.Application

    Expected signal: Sysmon Event ID 1: cmd.exe spawned with ParentImage=explorer.exe or dllhost.exe depending on Windows version and COM activation path. File created at %TEMP%\shellapp-test.txt. PowerShell ScriptBlock Log Event ID 4104 captures 'New-Object -ComObject Shell.Application' and 'ShellExecute' calls. DeviceProcessEvents records the cmd.exe creation with its initiating process context.

  3. Test 3DCOM Remote Execution via MMC20.Application (Lab Environment — Requires Admin on Target)

    Expected signal: SOURCE: Sysmon Event ID 3 — TCP connection to 192.168.1.100:135, then ephemeral port connection. Security Event ID 4648 if alternate credentials used. TARGET: Security Event ID 4624 Type 3 (network logon) from source IP. Sysmon Event ID 1: dllhost.exe /Processid:{49B2791A-B1AE-4C90-9B8E-E860BA07F889} created, then cmd.exe spawned with ParentImage=dllhost.exe. File created at C:\Windows\Temp\dcom-remote-test.txt.

  4. Test 4COM Object Scheduled Task Creation via Schedule.Service

    Expected signal: Sysmon Event ID 12/13 (Registry): Task Scheduler registry key creation under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\. Security Event ID 4698 (Scheduled task created) in Windows Security log. PowerShell ScriptBlock Log Event ID 4104 showing New-Object -ComObject Schedule.Service invocation. DeviceProcessEvents shows only powershell.exe (no schtasks.exe child process — the entire task creation happens via COM API).

Unlock Pro Content

Get the full detection package for T1175 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections