Windows Plink Remote Port Forwarding via -R Command Line

Alerts on Windows process command lines using Plink " -R " remote port forwarding to a local port.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-01-19
Updated
2026-07-30

ATT&CK techniques

Lateral Movement → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Collection

  11. Exfiltration

  12. Impact

What it detects

This rule flags Windows process executions whose command line includes the port-forwarding pattern " -R " in Plink used as an SSH/Telnet/Rlogin client. Attackers commonly leverage port forwarding to bypass network restrictions and reach internal services through an existing connection. The detection relies on process creation telemetry and command-line content to identify the forwarded-port syntax.

Related detections9 linkedT1572 — drag to rearrange
Obfuscated RDP Tunneling Configuration Enabled for Port Forwarding (via process_creation)
Malicious RDP Tunneling (via rdp)
Possible Ngrok RDP Tunnel Exposure via TCP 3389
Port Forwarding via SSH.EXE on Windows
Windows svchost.exe RDP (3389) Connections to HTTP/HTTPS Ports 80 or 443
Windows svchost RDP via Reverse SSH Loopback Tunnel to 127.0.0.0/8:3389
Suspicious VS Code Tunnel Establishment for Covert Access (via process_creation)
Suspicious SCATTERED SPIDER Chisel Tunnel to Cloudflare Quick Tunnel (via process_creation)
Suspicious Enabling of Remote Desktop via fDenyTSConnections Registry by DeadLock Ransomware
Windows Plink Remote Port Forwarding via -R Command Line
Pivot detection · T1572 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.