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", "system", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
4maturity = "production"
5updated_date = "2024/10/31"
6min_stack_version = "8.14.0"
7min_stack_comments = "Breaking change at 8.14.0 for the Windows 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 "logs-crowdstrike.fdr*",
26]
27language = "eql"
28license = "Elastic License v2"
29name = "Execution via TSClient Mountpoint"
30references = [
31 "https://posts.specterops.io/revisiting-remote-desktop-lateral-movement-8fb905cb46c3",
32 "https://www.elastic.co/security-labs/hunting-for-lateral-movement-using-event-query-language",
33]
34risk_score = 73
35rule_id = "4fe9d835-40e1-452d-8230-17c147cafad8"
36severity = "high"
37tags = [
38 "Domain: Endpoint",
39 "OS: Windows",
40 "Use Case: Threat Detection",
41 "Tactic: Lateral Movement",
42 "Data Source: Elastic Endgame",
43 "Data Source: Elastic Defend",
44 "Data Source: System",
45 "Data Source: Microsoft Defender for Endpoint",
46 "Data Source: Sysmon",
47 "Data Source: SentinelOne",
48 "Data Source: Crowdstrike",
49]
50timestamp_override = "event.ingested"
51type = "eql"
52
53query = '''
54process where host.os.type == "windows" and event.type == "start" and process.executable : "\\Device\\Mup\\tsclient\\*.exe"
55'''
56
57
58[[rule.threat]]
59framework = "MITRE ATT&CK"
60[[rule.threat.technique]]
61id = "T1021"
62name = "Remote Services"
63reference = "https://attack.mitre.org/techniques/T1021/"
64[[rule.threat.technique.subtechnique]]
65id = "T1021.001"
66name = "Remote Desktop Protocol"
67reference = "https://attack.mitre.org/techniques/T1021/001/"
68
69
70
71[rule.threat.tactic]
72id = "TA0008"
73name = "Lateral Movement"
74reference = "https://attack.mitre.org/tactics/TA0008/"
References
Related rules
- Microsoft Exchange Server UM Spawning Suspicious Processes
- Remote File Copy to a Hidden Share
- Unusual Child Process of dns.exe
- New ActiveSyncAllowedDeviceID Added via PowerShell
- Suspicious Execution from INET Cache