Execution via TSClient Mountpoint

Identifies execution from the Remote Desktop Protocol (RDP) shared mountpoint tsclient on the target host. This may indicate a lateral movement attempt.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/11/11"
 3integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
 4maturity = "production"
 5updated_date = "2024/10/10"
 6min_stack_version = "8.13.0"
 7min_stack_comments = "Breaking change at 8.13.0 for SentinelOne Integration."
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies execution from the Remote Desktop Protocol (RDP) shared mountpoint tsclient on the target host. This may
13indicate a lateral movement attempt.
14"""
15from = "now-9m"
16index = [
17    "logs-endpoint.events.process-*",
18    "winlogbeat-*",
19    "logs-windows.forwarded*",
20    "logs-windows.sysmon_operational-*",
21    "endgame-*",
22    "logs-system.security*",
23    "logs-m365_defender.event-*",
24    "logs-sentinel_one_cloud_funnel.*",
25]
26language = "eql"
27license = "Elastic License v2"
28name = "Execution via TSClient Mountpoint"
29references = [
30    "https://posts.specterops.io/revisiting-remote-desktop-lateral-movement-8fb905cb46c3",
31    "https://www.elastic.co/security-labs/hunting-for-lateral-movement-using-event-query-language",
32]
33risk_score = 73
34rule_id = "4fe9d835-40e1-452d-8230-17c147cafad8"
35severity = "high"
36tags = [
37    "Domain: Endpoint",
38    "OS: Windows",
39    "Use Case: Threat Detection",
40    "Tactic: Lateral Movement",
41    "Data Source: Elastic Endgame",
42    "Data Source: Elastic Defend",
43    "Data Source: System",
44    "Data Source: Microsoft Defender for Endpoint",
45    "Data Source: Sysmon",
46    "Data Source: SentinelOne",
47]
48timestamp_override = "event.ingested"
49type = "eql"
50
51query = '''
52process where host.os.type == "windows" and event.type == "start" and process.executable : "\\Device\\Mup\\tsclient\\*.exe"
53'''
54
55
56[[rule.threat]]
57framework = "MITRE ATT&CK"
58[[rule.threat.technique]]
59id = "T1021"
60name = "Remote Services"
61reference = "https://attack.mitre.org/techniques/T1021/"
62[[rule.threat.technique.subtechnique]]
63id = "T1021.001"
64name = "Remote Desktop Protocol"
65reference = "https://attack.mitre.org/techniques/T1021/001/"
66
67
68
69[rule.threat.tactic]
70id = "TA0008"
71name = "Lateral Movement"
72reference = "https://attack.mitre.org/tactics/TA0008/"

References

Related rules

to-top