Security Engineering

An attacker recorded a year of TLS traffic and has now stolen the web server's private key. Which key-exchange design would have kept the recorded sessions unreadable?

Show the answer

Correct answerB. Ephemeral Diffie-Hellman key exchange for each session

AWhy not this: Static RSA transport encrypts session keys under the long-term key, so a stolen key decrypts every recording regardless of size.

BWhy this is right: Per-session ephemeral keys are discarded, so the long-term key cannot recover past session keys.

CWhy not this: Mutual authentication proves identity on both sides but does not make session keys independent of the long-term key.

DWhy not this: AEAD protects confidentiality and integrity of the data but does not change how the session key is established.

Ephemeral Diffie-Hellman (forward secrecy) derives a fresh session key that is never protected by the server's long-term key, so stealing that key later reveals nothing about past sessions. A larger static RSA key still lets the stolen key decrypt recorded session keys.