From 6b96b99dc1f8b23cc72cbd68ab409c6d407a796b Mon Sep 17 00:00:00 2001 From: Samirbous <64742097+Samirbous@users.noreply.github.com> Date: Tue, 8 Dec 2020 16:30:10 +0100 Subject: [PATCH] [New Rule] Execution from TSClient Mountpoint (#524) * [New Rule] Execution from TSClient Mountpoint * Delete profiles_settings.xml * Delete modules.xml * Delete vcs.xml * Delete windows.iml * Delete workspace.xml * eql syntax * Update rules/windows/lateral_movement_execution_from_tsclient_mup.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * Update rules/windows/lateral_movement_execution_from_tsclient_mup.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * Update rules/windows/lateral_movement_execution_from_tsclient_mup.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * Update rules/windows/lateral_movement_execution_from_tsclient_mup.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * ecs_version * Update rules/windows/lateral_movement_execution_from_tsclient_mup.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * linted * deleted ecs_version Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> --- ..._movement_execution_from_tsclient_mup.toml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 rules/windows/lateral_movement_execution_from_tsclient_mup.toml diff --git a/rules/windows/lateral_movement_execution_from_tsclient_mup.toml b/rules/windows/lateral_movement_execution_from_tsclient_mup.toml new file mode 100644 index 000000000..e3f9268cd --- /dev/null +++ b/rules/windows/lateral_movement_execution_from_tsclient_mup.toml @@ -0,0 +1,41 @@ +[metadata] +creation_date = "2020/11/11" +maturity = "production" +updated_date = "2020/11/11" + +[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.*", "winlogbeat-*"] +language = "eql" +license = "Elastic License" +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" +severity = "high" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Lateral Movement"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started") 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.tactic] +id = "TA0008" +name = "Lateral Movement" +reference = "https://attack.mitre.org/tactics/TA0008/" +