Port knocking
In computer networking, port knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports.
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In computer networking, port knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports. Once a correct sequence of connection attempts is received, the firewall rules are dynamically modified to allow the host which sent the connection attempts to connect over specific port(s). A variant called single packet authorization (SPA) exists, where only a single "knock" is needed, consisting of an encrypted packet.
The primary purpose of port knocking is to prevent an attacker from scanning a system for potentially exploitable services by doing a port scan, because unless the attacker sends the correct knock sequence, the protected ports will appear closed. List of resources about PK and SPA (papers, implementations, presentations...)
PortKnocking - A system for stealthy authentication across closed ports. (archived) Linux Journal: Port Knocking (2003) A Critique of Port Knocking (2004) fwknop: An implementation that combines port knocking and passive OS fingerprinting WebKnock: An online Port Knocking and Single Packet Authorization (SPA) client based on fwknop webknocking: Using webpages instead of ports.
Port knocking to hide a backdoor Port knocking to hide communication channel for malware, example from the wild Techniques for Lightweight Concealment and Authentication in IP Networks (2002)
Text derived from https://en.wikipedia.org/w/index.php?oldid=1378135518 under CC BY-SA 4.0; modifications have been made.