Skip to main content
archive Search
Submit Donate Log in

Press Enter to search · Advanced search

Computer Science > Cryptography and Security

arXiv:2609.07709v1 (cs)
[Submitted on 7 Sep 2026 (this version), latest version 16 Sep 2026 (v2)]

Title:Crossing the Streams: SSH Plaintext Recovery via a Common Compression Context in Multiplexed Channels

Authors:Fabian Bäumer, Marcus Brinkmann
View a PDF of the paper titled Crossing the Streams: SSH Plaintext Recovery via a Common Compression Context in Multiplexed Channels, by Fabian B\"aumer and 1 other authors
View PDF HTML (experimental)
Abstract:SSH is the standard protocol for secure remote administration of servers. At the transport layer, SSH uses the Binary Packet Protocol (BPP) for encrypted and authenticated communication. Above this, the SSH Connection Protocol multiplexes one or more logical channels over a single connection, supporting interactive shells, port forwarding, and related functionality.
We show that SSH channel multiplexing creates a previously unrecognized compression side channel: all channels on a connection share the same compression context. When compression is enabled, an attacker can inject partially chosen plaintext into a channel and observe the length of the resulting ciphertext on the network. This enables an adaptive chosen-plaintext attack that recovers secrets from one channel by interacting with another. While related attacks such as CRIME and BREACH have been studied extensively for HTTP over TLS, this is, to our knowledge, the first compression side-channel attack on SSH and the first SSH analysis to consider a combined passive eavesdropper and web attacker threat model.
We further demonstrate the attack in three different application scenarios and evaluate its effectiveness under varying levels of protocol noise. We find that, in the lowest-noise scenario, an 8-character secret over a 26-letter alphabet can be recovered using at most 276 guesses. Finally, we analyze the SSH ecosystem for compression support and other implementation characteristics that influence the practical efficacy of the attack.
Comments: 15 pages, 5 figures, accepted at ACM CCS 2026
Subjects: Cryptography and Security (cs.CR)
Cite as: arXiv:2609.07709 [cs.CR]
  (or arXiv:2609.07709v1 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2609.07709
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1145/3830454.3846537
DOI(s) linking to related resources

Submission history

From: Fabian Bäumer [view email]
[v1] Mon, 7 Sep 2026 16:19:50 UTC (735 KB)
[v2] Wed, 16 Sep 2026 14:33:53 UTC (735 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Crossing the Streams: SSH Plaintext Recovery via a Common Compression Context in Multiplexed Channels, by Fabian B\"aumer and 1 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Additional Features

  • Audio Summary

Current browse context:

cs.CR
< prev   |   next >
new | recent | 2026-09
Change to browse by:
cs

References & Citations

  • SciX
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation (opens in new tab) Simons Foundation International (opens in new tab) Schmidt Sciences (opens in new tab)