diff --git a/rules/windows/lateral_movement_rdp_tunnel_plink.toml b/rules/windows/lateral_movement_rdp_tunnel_plink.toml new file mode 100644 index 000000000..30c9b4135 --- /dev/null +++ b/rules/windows/lateral_movement_rdp_tunnel_plink.toml @@ -0,0 +1,44 @@ +[metadata] +creation_date = "2020/10/14" +ecs_version = ["1.6.0"] +maturity = "production" +updated_date = "2020/10/14" + +[rule] +author = ["Elastic"] +description = """ +Identifies potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This could be indicative of adversary lateral +movement to interactively access restricted networks. +""" +from = "now-9m" +index = ["logs-endpoint.events.*", "winlogbeat-*"] +language = "eql" +license = "Elastic License" +name = "Potential Remote Desktop Tunneling Detected" +references = ["https://blog.netspi.com/how-to-access-rdp-over-a-reverse-ssh-tunnel/"] +risk_score = 73 +rule_id = "76fd43b7-3480-4dd9-8ad7-8bd36bfad92f" +severity = "high" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Lateral Movement"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started", "info") and +/* RDP port and usual SSH tunneling related switches in commandline */ +wildcard(process.args, "*:3389") and wildcard(process.args,"-L", "-P", "-R", "-pw", "-ssh") +''' + + +[[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/" +