/Post Quantum
05 · Failure Modes

What breaks when a primitive fails

Select a primitive family to see what an attacker can do if it breaks, what stays unaffected, and which change mitigates it.

Scenario 01 · Elliptic-Curve & Finite-Field Diffie-Hellman Breaks

Recorded sessions are decrypted offline

An attacker with saved packet captures (.pcap) recovers the ephemeral private key from the recorded handshake, derives the session key, and decrypts the archived payload offline.

Step 1

Traffic capture

During a classical X25519 TLS 1.3 or SSH handshake, ephemeral public keys g^a and g^b cross the wire in plaintext before encrypting the session with AES-256.

Step 2

Key recovery

The adversary computes the private scalar a from the archived plaintext g^a, reconstructs the shared secret g^(ab), and derives the exact AES-256 session key offline.

Step 3

Exposed data

Decrypting old SSH and HTTPS sessions exposes every unrotated credential sent inside them: production DB passwords, .env files, API keys, and customer PII.

Mitigation: hybrid key exchange

TLS 1.3 derives the session key from HKDF(SharedSecret_X25519 || SharedSecret_MLKEM768). Even if X25519 is completely broken later, the attacker cannot recover the ML-KEM-768 secret from the recorded ciphertext.

Action

Enable X25519MLKEM768 on all ingress/origin TLS and mlkem768x25519-sha256 on OpenSSH, then rotate any long-lived secrets that previously traversed classical channels.