Detection rules › Sigma
Impacket DCOMexec process abuse via MMC
Detects scenarios where an attacker execute the Impacket DCOMexec tool in order to abuse DCOM services.
Known false positives
- applications using DCOM components remotely
- rare administrator modifications of DCOM settings
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: Impacket DCOMexec process abuse via MMC
description: Detects scenarios where an attacker execute the Impacket DCOMexec tool in order to abuse DCOM services.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0008-Lateral%20Movement/T1021.003-Distributed%20Component%20Object%20Model%20(DCOM)
- https://enigma0x3.net/2017/01/23/lateral-movement-via-dcom-round-2/
- https://enigma0x3.net/2017/01/05/lateral-movement-using-the-mmc20-application-com-object/
- https://github.com/SecureAuthCorp/impacket/blob/master/examples/dcomexec.py
- https://www.ired.team/offensive-security/lateral-movement/t1175-distributed-component-object-model
- https://www.synacktiv.com/publications/traces-of-windows-remote-command-execution.html
tags:
- attack.lateral_movement
- attack.t1021.003
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection_basic:
EventID: 4688
Version: 2 # parent process name is available starting Windows 10 / Server 2016 and higher
ParentProcessName|endswith: '\svchost.exe'
NewProcessName|endswith: '\mmc.exe'
selection_sysmon:
EventID: 1
ParentImage|endswith: '\svchost.exe'
Image|endswith: '\mmc.exe'
condition: selection_basic or selection_sysmon
falsepositives:
- applications using DCOM components remotely
- rare administrator modifications of DCOM settings
level: high
Stages and Predicates
Stage 0: condition
selection_basic or selection_sysmonStage 1: selection_basic
selection_basic:
EventID: 4688
Version: 2
ParentProcessName|endswith: '\svchost.exe'
NewProcessName|endswith: '\mmc.exe'
Stage 2: selection_sysmon
selection_sysmon:
EventID: 1
ParentImage|endswith: '\svchost.exe'
Image|endswith: '\mmc.exe'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
Image | ends_with |
| field:"Image" kind:ends_with value:"\mmc.exe" |
NewProcessName | ends_with |
| field:"Image" kind:ends_with value:"\mmc.exe" |
ParentImage | ends_with |
| field:"ParentImage" kind:ends_with value:"\svchost.exe" |
ParentProcessName | ends_with |
| field:"parent_process_name" kind:ends_with value:"\svchost.exe" |
Version | eq |
| field:"Version" kind:eq value:"2" |