MITRE ATT&CKsub-technique

T1205.001 Port Knocking

Published 2020-07-01 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Stealth, Persistence, Command And Control
Platforms
Linux, macOS, Network Devices, Windows
Version
2.0
Created
2020-07-01

Description

Adversaries may use port knocking to hide open ports used for persistence or command and control. To enable a port, an adversary sends a series of attempted connections to a predefined sequence of closed ports. After the sequence is completed, opening a port is often accomplished by the host based firewall, but could also be implemented by custom software. This technique has been observed both for the dynamic opening of a listening port as well as the initiating of a connection to a listening server on a different system. The observation of the signal packets to trigger the communication can be conducted through different methods. One means, originally implemented by Cd00r , is to use the libpcap libraries to sniff for the packets in question. Another method leverages raw sockets, which enables the malware to use ports that are already open for use by other programs.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1205 Traffic Signaling technique

Tactic · MITRE ATT&CK (3)

Referenced by MITRE ATT&CK · mitigates (1)

  • M1037 Filter Network Traffic mitigation

Referenced by MITRE ATT&CK · uses (6)

  • S1219 REPTILE software (malware)
  • G1048 UNC3886 group
  • S1204 cd00r software (malware)
  • S1060 Mafalda software (malware)
  • S1059 metaMain software (malware)
  • G0056 PROMETHIUM group

Referenced by Compliance · mitigates (11)

  • CIS-13.4 Perform Traffic Filtering Between Network Segments CIS Safeguard v8.1
  • CIS-4.4 Implement and Manage a Firewall on Servers CIS Safeguard v8.1
  • CIS-4.5 Implement and Manage a Firewall on End-User Devices CIS Safeguard v8.1
  • NIST-AC-3 Access Enforcement NIST 800-53 control
  • NIST-AC-4 Information Flow Enforcement NIST 800-53 control
  • NIST-CA-7 Continuous Monitoring NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-CM-7 Least Functionality NIST 800-53 control
  • NIST-SC-7 Boundary Protection NIST 800-53 control
  • NIST-SI-15 Information Output Filtering NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control

References