70 lines
2.0 KiB
TOML
70 lines
2.0 KiB
TOML
[metadata]
|
|
creation_date = "2020/11/11"
|
|
integration = ["endpoint", "windows"]
|
|
maturity = "production"
|
|
updated_date = "2024/05/21"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies execution from the Remote Desktop Protocol (RDP) shared mountpoint tsclient on the target host. This may
|
|
indicate a lateral movement attempt.
|
|
"""
|
|
from = "now-9m"
|
|
index = [
|
|
"logs-endpoint.events.process-*",
|
|
"winlogbeat-*",
|
|
"logs-windows.*",
|
|
"endgame-*",
|
|
"logs-system.security*",
|
|
]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Execution via TSClient Mountpoint"
|
|
references = ["https://posts.specterops.io/revisiting-remote-desktop-lateral-movement-8fb905cb46c3"]
|
|
risk_score = 73
|
|
rule_id = "4fe9d835-40e1-452d-8230-17c147cafad8"
|
|
setup = """## Setup
|
|
|
|
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2,
|
|
events will not define `event.ingested` and default fallback for EQL rules was not added until version 8.2.
|
|
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
|
|
`event.ingested` to @timestamp.
|
|
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
|
|
"""
|
|
severity = "high"
|
|
tags = [
|
|
"Domain: Endpoint",
|
|
"OS: Windows",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Lateral Movement",
|
|
"Data Source: Elastic Endgame",
|
|
"Data Source: Elastic Defend",
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
process where host.os.type == "windows" and event.type == "start" and process.executable : "\\Device\\Mup\\tsclient\\*.exe"
|
|
'''
|
|
|
|
|
|
[[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.001"
|
|
name = "Remote Desktop Protocol"
|
|
reference = "https://attack.mitre.org/techniques/T1021/001/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0008"
|
|
name = "Lateral Movement"
|
|
reference = "https://attack.mitre.org/tactics/TA0008/"
|
|
|