Terrapin attack
The Terrapin attack is a cryptographic attack on the commonly used SSH protocol that is used for secure command-and-control throughout the Internet.[src] The Terrapin attack can reduce the security of SSH by using a downgrade attack via man-in-the-middle interception.[src] The attack works by prefix truncation; the injection and deletion of messages during feature negotiation, manipulating sequence numbers in a way that causes other messages to be ignored without an error being detected by either client or server.[src] According to the attack's discoverers, the majority of SSH implementations were vulnerable at the time of the discovery of the attack (2023).[src] As of January 3, 2024, an estimated 11 million publicly accessible SSH servers are still vulnerable.[src] However, the risk is mitigated by the requirement to intercept a genuine SSH session, and that the attack can only delete messages at the start of a negotiation, fortuitously resulting mostly in failed connections.[src] Additionally the attack requires the use of either ChaCha20-Poly1305 or a CBC cipher in combination with Encrypt-then-MAC modes of encryption.[src] The SSH developers have stated that the major impact of the attack is the capability to degrade the keystroke timing obfuscation features of SSH.…[src]
The Terrapin attack is a cryptographic attack on the commonly used SSH protocol that is used for secure command-and-control throughout the Internet.[src] The Terrapin attack can reduce the security of SSH by using a downgrade attack via man-in-the-middle interception.[src] The attack works by prefix truncation; the injection and deletion of messages during feature negotiation, manipulating sequence numbers in a way that causes other messages to be ignored without an error being detected by either client or server.[src] According to the attack's discoverers, the majority of SSH implementations were vulnerable at the time of the discovery of the attack (2023).[src] As of January 3, 2024, an estimated 11 million publicly accessible SSH servers are still vulnerable.[src] However, the risk is mitigated by the requirement to intercept a genuine SSH session, and that the attack can only delete messages at the start of a negotiation, fortuitously resulting mostly in failed connections.[src] Additionally the attack requires the use of either ChaCha20-Poly1305 or a CBC cipher in combination with Encrypt-then-MAC modes of encryption.[src] The SSH developers have stated that the major impact of the attack is the capability to degrade the keystroke timing obfuscation features of SSH.[src] The designers of SSH have implemented a fix for the Terrapin attack, but the fix is only fully effective when both client and server implementations have been upgraded to support it.[src] The researchers who discovered the attack have also created a vulnerability scanner to determine whether an SSH server or client is vulnerable.[src] The attack has been given the CVE ID CVE-2023-48795.[src] In addition to the main attack, two other vulnerabilities were found in AsyncSSH, and assigned the CVE IDs CVE-2023-46445 and CVE-2023-46446.[src]
20 sentences · 20 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Terrapin attack." encyclopegia.org, 2026, https://encyclopegia.org/wiki/terrapin-attack. Accessed 29 November 2026.
Chicago
"Terrapin attack." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/terrapin-attack.
APA
encyclopegia.org. (2026). Terrapin attack. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/terrapin-attack
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON