Detect remote DCOM/WMI RPC connections via RPC Firewall Event ID 3
Alerts on RPC Firewall RPC events indicating remote DCOM/WMI interface activity that can support lateral movement.
FreeUnreviewedSigmahighv1
detect-remote-dcom-wmi-rpc-connections-via-rpc-firewall-event-id-3-68050b10
title: Detect remote DCOM/WMI RPC connections via RPC Firewall Event ID 3
id: 3336bfe0-7bfc-44d4-85c5-83177a932394
status: test
description: This rule flags RPC Firewall events (EventLog=RPCFW, EventID=3) involving specific interface UUIDs associated with remote DCOM and WMI operations. Attackers can use these remote RPC pathways to move laterally between Windows hosts while leveraging legitimate inter-process communication. It relies on RPC Firewall telemetry that records blocked/allowed RPC activity and the targeted interface UUIDs to identify relevant remote calls.
references:
- https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-srvs/accf23b0-0f57-441c-9185-43041f1b0ee9
- https://github.com/zeronetworks/rpcfirewall
- https://zeronetworks.com/blog/stopping-lateral-movement-via-the-rpc-firewall/
- https://github.com/SigmaHQ/sigma/blob/master/rules/application/rpc_firewall/rpc_firewall_remote_dcom_or_wmi.yml
author: Sagie Dulce, Dekel Paz, Huntrule Team
date: 2022-01-01
tags:
- attack.lateral-movement
- attack.execution
- attack.t1021.003
- attack.t1047
logsource:
product: rpc_firewall
category: application
definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:367abb81-9844-35f1-ad32-98f038001003'
detection:
selection:
EventLog: RPCFW
EventID: 3
InterfaceUuid:
- 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57
- 99fcfec4-5260-101b-bbcb-00aa0021347a
- 000001a0-0000-0000-c000-000000000046
- 00000131-0000-0000-c000-000000000046
- 00000143-0000-0000-c000-000000000046
- 00000000-0000-0000-c000-000000000046
condition: selection
falsepositives:
- Some administrative tasks on remote host
level: high
license: DRL-1.1
related:
- id: 68050b10-e477-4377-a99b-3721b422d6ef
type: derived
What it detects
This rule flags RPC Firewall events (EventLog=RPCFW, EventID=3) involving specific interface UUIDs associated with remote DCOM and WMI operations. Attackers can use these remote RPC pathways to move laterally between Windows hosts while leveraging legitimate inter-process communication. It relies on RPC Firewall telemetry that records blocked/allowed RPC activity and the targeted interface UUIDs to identify relevant remote calls.
Known false positives
- Some administrative tasks on remote host
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.