{"id":"5bed80b6-b3e8-428e-a3ae-d3c757589e41","title":"RDP over Reverse SSH Tunnel WFP","description":"Detects svchost hosting RDP termsvcs communicating with the loopback address","author":"Samir Bousseaden","status":"test","level":"high","date":"2019-02-16","modified":"2022-09-02","tags":["attack.command-and-control","attack.lateral-movement","attack.t1090.001","attack.t1090.002","attack.t1021.001","car.2013-07-002"],"technique_ids":["T1021.001","T1090.001","T1090.002"],"logsource":{"product":"windows","service":"security"},"falsepositives":["Programs that connect locally to the RDP port"],"references":["https://twitter.com/SBousseaden/status/1096148422984384514","https://github.com/sbousseaden/EVTX-ATTACK-SAMPLES/blob/44fbe85f72ee91582876b49678f9a26292a155fb/Command%20and%20Control/DE_RDP_Tunnel_5156.evtx"],"source_path":"rules/windows/builtin/security/win_security_rdp_reverse_tunnel.yml","source_sha256":"7b01c815569a784103ee36e81762bccb6f16c58199e8e9054739d40aad38d90a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/security/win_security_rdp_reverse_tunnel.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: RDP over Reverse SSH Tunnel WFP\nid: 5bed80b6-b3e8-428e-a3ae-d3c757589e41\nstatus: test\ndescription: Detects svchost hosting RDP termsvcs communicating with the loopback address\nreferences:\n    - https://twitter.com/SBousseaden/status/1096148422984384514\n    - https://github.com/sbousseaden/EVTX-ATTACK-SAMPLES/blob/44fbe85f72ee91582876b49678f9a26292a155fb/Command%20and%20Control/DE_RDP_Tunnel_5156.evtx\nauthor: Samir Bousseaden\ndate: 2019-02-16\nmodified: 2022-09-02\ntags:\n    - attack.command-and-control\n    - attack.lateral-movement\n    - attack.t1090.001\n    - attack.t1090.002\n    - attack.t1021.001\n    - car.2013-07-002\nlogsource:\n    product: windows\n    service: security\ndetection:\n    selection:\n        EventID: 5156\n    sourceRDP:\n        SourcePort: 3389\n        DestAddress:\n            - '127.*'\n            - '::1'\n    destinationRDP:\n        DestPort: 3389\n        SourceAddress:\n            - '127.*'\n            - '::1'\n    filter_app_container:\n        FilterOrigin: 'AppContainer Loopback'\n    filter_thor:  # checking BlueKeep vulnerability\n        Application|endswith:\n            - '\\thor.exe'\n            - '\\thor64.exe'\n    condition: selection and ( sourceRDP or destinationRDP ) and not 1 of filter*\nfalsepositives:\n    - Programs that connect locally to the RDP port\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.001","id":"T1021.001","name":"Remote Desktop Protocol","page":"techniques/enterprise/T1021.001/"},{"key":"enterprise/T1090.001","id":"T1090.001","name":"Internal Proxy","page":"techniques/enterprise/T1090.001/"},{"key":"enterprise/T1090.002","id":"T1090.002","name":"External Proxy","page":"techniques/enterprise/T1090.002/"}],"data_path":"data/detection-rules/5bed80b6-b3e8-428e-a3ae-d3c757589e41.json","kind":"sigma"}
