{"id":"8a3038e8-9c9d-46f8-b184-66234a160f6f","title":"Potential Remote Desktop Tunneling","description":"Detects potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This can be used by attackers to enable routing of network packets that would otherwise not reach their intended destination.","author":"Tim Rauch, Elastic (idea)","status":"test","level":"medium","date":"2022-09-27","modified":"","tags":["attack.lateral-movement","attack.t1021"],"technique_ids":["T1021"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://www.elastic.co/guide/en/security/current/potential-remote-desktop-tunneling-detected.html"],"source_path":"rules/windows/process_creation/proc_creation_win_susp_remote_desktop_tunneling.yml","source_sha256":"6678da3459cfe3c2b533182639abf43df4ee33d1f3d4c23a01e61362c0378460","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_susp_remote_desktop_tunneling.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Remote Desktop Tunneling\nid: 8a3038e8-9c9d-46f8-b184-66234a160f6f\nstatus: test\ndescription: Detects potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This can be used by attackers to enable routing of network packets that would otherwise not reach their intended destination.\nreferences:\n    - https://www.elastic.co/guide/en/security/current/potential-remote-desktop-tunneling-detected.html\nauthor: Tim Rauch, Elastic (idea)\ndate: 2022-09-27\ntags:\n    - attack.lateral-movement\n    - attack.t1021\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        CommandLine|contains: ':3389' # RDP port and usual SSH tunneling related switches in command line\n    selection_opt:\n        CommandLine|contains:\n            - ' -L '\n            - ' -P '\n            - ' -R '\n            - ' -pw '\n            - ' -ssh '\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021","id":"T1021","name":"Remote Services","page":"techniques/enterprise/T1021/"}],"data_path":"data/detection-rules/8a3038e8-9c9d-46f8-b184-66234a160f6f.json","kind":"sigma"}
