Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks systems for MITRE ATT&CK T1205.001 port knocking, a technique hiding persistence or command and control ports behind knock sequences.
Use this skill ↓55% 77%+23 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Sub-technique of: T1205
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.
Platforms: Linux, macOS, Windows, Network Devices
Identify Attack Surface: Determine if the target environment is susceptible to Port Knocking by examining the target platforms (Linux, macOS, Windows).
Assess Existing Defenses: Review whether mitigations for T1205.001 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.