EXPLORE
← Back to Explore
sigmahighHunting

Remote DCOM/WMI Lateral Movement

Detects remote RPC calls that performs remote DCOM operations. These could be abused for lateral movement via DCOM or WMI.

MITRE ATT&CK

lateral-movementexecution

Detection Query

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

Author

Sagie Dulce, Dekel Paz

Created

2022-01-01

Data Sources

rpc_firewallapplication

Platforms

rpc_firewall

Tags

attack.lateral-movementattack.executionattack.t1021.003attack.t1047
Raw Content
title: Remote DCOM/WMI Lateral Movement
id: 68050b10-e477-4377-a99b-3721b422d6ef
status: test
description: Detects remote RPC calls that performs remote DCOM operations. These could be abused for lateral movement via DCOM or WMI.
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/
author: Sagie Dulce, Dekel Paz
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