sequence by host.id with maxspan=5s
[network where host.os.type == "windows" and event.type == "start" and process.name : "explorer.exe" and
network.direction : ("incoming", "ingress") and network.transport == "tcp" and
source.port > 49151 and destination.port > 49151 and source.ip != "127.0.0.1" and source.ip != "::1"
] by process.entity_id
[process where host.os.type == "windows" and event.type == "start" and
process.parent.name : "explorer.exe"
] by process.parent.entity_id
Install detection rules in Elastic Security
Detect Incoming DCOM Lateral Movement with ShellBrowserWindow or ShellWindows in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).