T1572 Protocol Tunneling
Command and Controlon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0538 Detection Strategy for Protocol Tunneling accross OS platforms.
AN1483 Windows
Processes such as plink.exe, ssh.exe, or netsh.exe establishing outbound network connections where traffic patterns show encapsulated protocols (e.g., RDP over SSH). Defender observations include anomalous process-to-network relationships, large asymmetric data flows, and port usage mismatches.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN1484 Linux
sshd, socat, or custom binaries initiating port forwarding or encapsulating traffic (e.g., RDP, SMB) through SSH or HTTP. Defender sees abnormal connect/bind syscalls, encrypted traffic on ports typically used for non-encrypted services, and outlier traffic volume patterns.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLsocket/connect calls showing SSH processes forwarding arbitrary ports | Not mapped to Sentinel yet. |
linux:syslogsshd sessions with unusual port forwarding parameters | Not mapped to Sentinel yet. |
linux:osquerysocat, ssh, or nc processes opening unexpected ports | Not mapped to Sentinel yet. |
AN1485 macOS
launchd or user-invoked processes (ssh, socat) encapsulating traffic via SSH tunnels, VPN-style tooling, or DNS-over-HTTPS clients. Defender sees outbound TLS traffic with embedded DNS or RDP payloads.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess execution of ssh with -L/-R forwarding flags | Not mapped to Sentinel yet. |
macos:unifiedlogencrypted outbound traffic carrying unexpected application data | Not mapped to Sentinel yet. |
AN1486 ESXi
VMware daemons or user processes encapsulating traffic (e.g., guest VMs tunneling via hostd). Defender sees network services inside ESXi creating flows inconsistent with management plane traffic, such as SSH forwarding or DNS-over-HTTPS from management interfaces.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vpxdESXi processes relaying traffic via SSH or unexpected ports | Not mapped to Sentinel yet. |
esxcli:networklistening sockets bound with non-standard encapsulated protocols | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (18)
- Abnormal Port to Protocol
- CYFIRMA - High severity TOR Node Network Indicators - Block Recommended Rule
- CYFIRMA - High severity TOR Node Network Indicators - Monitor Recommended Rule
- CYFIRMA - Medium severity TOR Node Network Indicators - Block Recommended Rule
- CYFIRMA - Medium severity TOR Node Network Indicators - Monitor Recommended Rule
- Pathlock TDnR - SAP Router Log Events
- Potential Remote Desktop Tunneling
- Tailscale Premium: DERP relay traffic surge
- Tailscale Premium: Subnet router throughput anomaly
- Ubiquiti - Connection to known malicious IP or C2
- Ubiquiti - connection to non-corporate DNS server
- Ubiquiti - Large ICMP to external server
- Ubiquiti - Unusual DNS connection
- Tailscale Premium: Devices with persistent DERP relay usage
- Ubiquiti - DNS requests timed out
- Ubiquiti - Top blocked internal services
- Ubiquiti - Top blocked sources
- Ubiquiti - Top firewall rules
How the Content Hub rules for T1572 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
24 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Silence.EDA Detection
- Communication To LocaltoNet Tunneling Service Initiated
- Communication To LocaltoNet Tunneling Service Initiated - Linux
- Communication To Ngrok Tunneling Service - Linux
- Communication To Ngrok Tunneling Service Initiated
- PUA - 3Proxy Execution
- PUA - Ngrok Execution
- Potential RDP Tunneling Via Plink
- Potential RDP Tunneling Via SSH
- Process Initiated Network Connection To Ngrok Domain
- RDP Over Reverse SSH Tunnel
- RDP to HTTP or HTTPS Target Ports
- Suspicious Plink Port Forwarding
- Cloudflared Tunnel Connections Cleanup
- Cloudflared Tunnel Execution
- Cloudflared Tunnels Related DNS Requests
- DNS Query To Devtunnels Domain
- Network Connection Initiated To BTunnels Domains
- Network Connection Initiated To Cloudflared Tunnels Domains
- Network Connection Initiated To DevTunnels Domain
- Network Connection Initiated To Visual Studio Code Tunnels Domain
- Port Forwarding Activity Via SSH.EXE
- Potentially Suspicious Usage Of Qemu
- Tunneling Tool Execution
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.