VeriKQL by Kaushik Saha

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 sourceIn Microsoft Sentinel
WinEventLog:SysmonEventCode=3, 22
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (3, 22)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (3, 22)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (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 sourceIn Microsoft Sentinel
auditd:SYSCALLsocket/connect calls showing SSH processes forwarding arbitrary portsNot mapped to Sentinel yet.
linux:syslogsshd sessions with unusual port forwarding parametersNot mapped to Sentinel yet.
linux:osquerysocat, ssh, or nc processes opening unexpected portsNot 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 sourceIn Microsoft Sentinel
macos:unifiedlogprocess execution of ssh with -L/-R forwarding flagsNot mapped to Sentinel yet.
macos:unifiedlogencrypted outbound traffic carrying unexpected application dataNot 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 sourceIn Microsoft Sentinel
esxi:vpxdESXi processes relaying traffic via SSH or unexpected portsNot mapped to Sentinel yet.
esxcli:networklistening sockets bound with non-standard encapsulated protocolsNot mapped to Sentinel yet.

Content Hub rules tagged with it (18)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

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.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

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.