DET0524 / GUIDANCE
Traffic Signaling (Port-knock / magic-packet → firewall or service activation) – T1205
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. 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. 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. 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.
- Category
- Detection & response
- Version / scope
- ATT&CK Enterprise 20.1; object 1.0
- Affected / relevant technologies
- Enterprise systems
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Assess applicability to the documented environment and obtain authorization before any testing. This publisher reference is not a tested configuration or execution guide.
Potential impact
The publisher describes a mitigation or detection scope; applicability does not establish local protection or an incident.
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: ATT&CK Enterprise 20.1. Source checked: 2026-11-18.
Source object: x-mitre-detection-strategy--1e601759-c5d1-45cc-97a1-972967426794. Object created: 2025-10-21T15:10:28.402Z. Object modified: 2026-05-12T16:34:50.671Z.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- Analytic 1448: 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.
- Analytic 1449: 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.
- Analytic 1450: 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.
- Analytic 1451: 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.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- See publisher mitigation relationships where available; local control effectiveness requires independent assessment.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Publisher analytics
Source excerpts and listed log sources describe the publisher's analytic references; they are not independently validated detection rules or evidence of operational coverage.
- AN1448 — Analytic 1448
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.
Publisher platforms: Windows.
Publisher log sources: WinEventLog:Sysmon / EventCode=1; WinEventLog:Sysmon / EventCode=3, 22; WinEventLog:Microsoft-Windows-Windows Firewall With Advanced Security/Firewall / EventCode=2004, 2005, 2006; WinEventLog:PowerShell / EventCode=4103, 4104, 4105, 4106.
- AN1449 — Analytic 1449
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.
Publisher platforms: Linux.
Publisher log sources: auditd:SYSCALL / execve: Commands altering firewall or enabling listeners (iptables, nft, ufw, firewall-cmd, systemctl start *ssh*/*telnet*, ip route add, tcpdump, tshark); auditd:SYSCALL / socket/bind: Process binds to a new local port shortly after knock; NSM:Flow / Knock pattern: multiple REJ/S0 to distinct closed ports then successful connection to service_port; NSM:Flow / Packets with unusual flags or payloads outside established flows (e.g., WoL magic FF×6 + 16×MAC).
- AN1450 — Analytic 1450
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.
Publisher platforms: macOS.
Publisher log sources: macos:unifiedlog / exec: Execution of /sbin/pfctl, /usr/libexec/ApplicationFirewall/socketfilterfw, ifconfig, tcpdump, npcap/libpcap consumers; macos:unifiedlog / Firewall rule enable/disable or listen socket changes; NSM:Flow / Closed-port hits followed by success from same src_ip.
- AN1451 — Analytic 1451
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.
Publisher platforms: Network Devices.
Publisher log sources: networkdevice:syslog / Config/ACL/line vty changes, service enable (telnet/ssh/http(s)), module reloads; NSM:Flow / Port-knock pattern from one src to device unicast,broadcast,network addresses on same port within TimeWindowKnock.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher-defined relationships
These directed relationships come from the pinned publisher data. They describe framework context, not guaranteed prevention, detection coverage or equivalence between entities.
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://attack.mitre.org/detectionstrategies/DET0524 — Publisher link; not separately HTTP-checked
- enterprise — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
