Detection rules › Sigma
Impacket DCOMexec privilege abuse via MMC
Detects scenarios where an attacker execute the Impacket DCOMexec tool in order to abuse DCOM services.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement | T1021.003 Remote Services: Distributed Component Object Model |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Security-Auditing | Event ID 4674 | An operation was attempted on a privileged object. |
Rule body yaml
title: Impacket DCOMexec privilege 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
service: security
detection:
selection:
EventID: 4674
ProcessName|endswith: '\mmc.exe'
ObjectName|startswith:
- '\BaseNamedObjects\HWNDInterface:'
- '\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters'
condition: selection
falsepositives:
- applications using DCOM components remotely
- rare administrator modifications of DCOM settings
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 4674
ProcessName|endswith: '\mmc.exe'
ObjectName|startswith:
- '\BaseNamedObjects\HWNDInterface:'
- '\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
ObjectName | starts_with |
|
ProcessName | ends_with |
|