T1205 Traffic Signaling
Command and ControlPersistenceStealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0524 Traffic Signaling (Port-knock / magic-packet → firewall or service activation) – T1205
AN1448 Windows
A remote host sends a short sequence of failed connection attempts (RST/ICMP unreachable) to a set of closed ports. Within a brief window the endpoint (a) adds/enables a firewall rule or (b) a sniffer-backed process begins listening or opens a new socket, after which a successful connection occurs. Also detects Wake-on-LAN magic packets seen on local segment.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:Microsoft-Windows-Windows Firewall With Advanced Security/FirewallEventCode=2004, 2005, 2006 |
|
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106 |
|
AN1449 Linux
Closed-port knock sequence from a remote IP followed by on-host firewall change (iptables/nftables) or daemon starts listening (socket open) and a successful TCP/UDP connect. Optional detection of libpcap/raw-socket sniffers spawning to watch for secret values.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve: Commands altering firewall or enabling listeners (iptables, nft, ufw, firewall-cmd, systemctl start *ssh*/*telnet*, ip route add, tcpdump, tshark) | Not mapped to Sentinel yet. |
auditd:SYSCALLsocket/bind: Process binds to a new local port shortly after knock | Not mapped to Sentinel yet. |
NSM:FlowKnock pattern: multiple REJ/S0 to distinct closed ports then successful connection to service_port | Not mapped to Sentinel yet. |
NSM:FlowPackets with unusual flags or payloads outside established flows (e.g., WoL magic FF×6 + 16×MAC) | Not mapped to Sentinel yet. |
AN1450 macOS
Remote knock sequence followed by PF/socketfilterfw rule update or a background process listening on a new port; then a successful TCP session. Also flags WoL magic packets on local segment.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogexec: Execution of /sbin/pfctl, /usr/libexec/ApplicationFirewall/socketfilterfw, ifconfig, tcpdump, npcap/libpcap consumers | Not mapped to Sentinel yet. |
macos:unifiedlogFirewall rule enable/disable or listen socket changes | Not mapped to Sentinel yet. |
NSM:FlowClosed-port hits followed by success from same src_ip | Not mapped to Sentinel yet. |
AN1451 Network Devices
Crafted ‘synful knock’ patterns toward routers/switches (same src hits interface/broadcast/network address on same port in short order) followed by ACL/telnet/SSH enablement or module change. Detect device image/ACL updates then a new mgmt session.
| MITRE log source | In Microsoft Sentinel |
|---|---|
networkdevice:syslogConfig/ACL/line vty changes, service enable (telnet/ssh/http(s)), module reloads | Not mapped to Sentinel yet. |
NSM:FlowPort-knock pattern from one src to device unicast,broadcast,network addresses on same port within TimeWindowKnock | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
Sub-techniques
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.