Sigma rule: RDP over Reverse SSH Tunnel WFP

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a3850eb013c6, updated 2022-09-02T00:00:00.000Z.

Rule

Title
RDP over Reverse SSH Tunnel WFP
Status
test
Level
high
Author
Samir Bousseaden
Date
2019-02-16
Modified
2022-09-02
File
rules/windows/builtin/security/win_security_rdp_reverse_tunnel.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects svchost hosting RDP termsvcs communicating with the loopback address

Log source

product
windows
service
security

Detection

selection:
    EventID: 5156
sourceRDP:
    SourcePort: 3389
    DestAddress:
        - '127.*'
        - '::1'
destinationRDP:
    DestPort: 3389
    SourceAddress:
        - '127.*'
        - '::1'
filter_app_container:
    FilterOrigin: 'AppContainer Loopback'
filter_thor:  # checking BlueKeep vulnerability
    Application|endswith:
        - '\thor.exe'
        - '\thor64.exe'
condition: selection and ( sourceRDP or destinationRDP ) and not 1 of filter*

False positives (as the rule lists them)

  • Programs that connect locally to the RDP port

Tags

  • attack.command-and-control
  • attack.lateral-movement
  • attack.t1090.001
  • attack.t1090.002
  • attack.t1021.001
  • car.2013-07-002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_rdp_reverse_tunnel.yml

Sources and licences

  • SigmaHQ

    "RDP over Reverse SSH Tunnel WFP" by Samir Bousseaden (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_rdp_reverse_tunnel.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: RDP over Reverse SSH Tunnel WFP",
entity page, dataset version ref-a3850eb013c6, updated 2022-09-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5bed80b6-b3e8-428e-a3ae-d3c757589e41 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5bed80b6-b3e8-428e-a3ae-d3c757589e41, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.