cbf0798646
* Replace source.address to source.ip for compatibility * Change query * Missing and condition
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[metadata]
|
|
creation_date = "2020/11/06"
|
|
maturity = "production"
|
|
updated_date = "2022/01/13"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies use of Distributed Component Object Model (DCOM) to run commands from a remote host, which are launched via
|
|
the ShellBrowserWindow or ShellWindows Application COM Object. This behavior may indicate an attacker abusing a DCOM
|
|
application to stealthily move laterally.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Incoming DCOM Lateral Movement with ShellBrowserWindow or ShellWindows"
|
|
references = ["https://enigma0x3.net/2017/01/23/lateral-movement-via-dcom-round-2/"]
|
|
risk_score = 47
|
|
rule_id = "8f919d4b-a5af-47ca-a594-6be59cd924a4"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Lateral Movement"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
sequence by host.id with maxspan=5s
|
|
[network where 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 event.type in ("start", "process_started") and
|
|
process.parent.name : "explorer.exe"
|
|
] by process.parent.entity_id
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1021"
|
|
name = "Remote Services"
|
|
reference = "https://attack.mitre.org/techniques/T1021/"
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1021.003"
|
|
name = "Distributed Component Object Model"
|
|
reference = "https://attack.mitre.org/techniques/T1021/003/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0008"
|
|
name = "Lateral Movement"
|
|
reference = "https://attack.mitre.org/tactics/TA0008/"
|
|
|