Post-quantum cryptography is breaking government censors xetera.dev · 10 points ...

@best

Post-quantum cryptography is breaking government censors xetera.dev · 10 points · 0 comments · HN thread

TL;DR A developer in Turkey found that the post-quantum key exchange X25519MLKEM768 makes TLS ClientHello messages exceed the MTU, so they get split across TCP segments. Superonline's DPI middlebox mishandles the split and fails open, letting some blocked connections (Discord, Roblox, Wattpad) through at roughly a 5% rate. The article details the parser bugs and how the author reverse-engineered them.

  • Post-quantum ML-KEM key shares make the TLS ClientHello more than 3x larger, pushing it past the ~1500-byte MTU so it is split across TCP segments.
  • Superonline's DPI reassembly is poorly handled: it fails open on split ClientHellos and can re-synchronize incorrectly after a split inside an extension length field.
  • Splitting at specific offsets (+2, +3 bytes) lets blocked SNI traffic through; extensions like SNI, supported_groups, GREASE and ECH are parsed differently and behave differently under splits.
  • The author estimates the success rate at about 5.24% based on the position of key_share in Chromium/BoringSSL's shuffled extension order, which matches observed behavior.
  • Vodafone in Turkey does not show the same bug but has its own gaps, such as ignoring QUIC and letting small TCP segments through.
  • The author suspects the censor collects usage statistics (ALPN, ECH, PQC adoption) rather than only doing fingerprinting, though this is unconfirmed.

Discussion The comment thread is empty: the story has 10 points and no comments yet, so there is no community discussion to summarize.

#postQuantum #tls #censorship #deepPacketInspection #networking