A security analyst is investigating a breach where an adversary captured encrypted TLS traffic traversing an enterprise network. Months later, the adversary obtained the web server's private key and successfully decrypted all historical session data. Which of the following cryptographic mechanisms should be implemented to ensure that a future compromise of the server's private key does not expose previously recorded encrypted session communications?
- Perfect forward secrecy utilizing ephemeral key exchange mechanismsAnswer
- BStatic RSA asymmetric key transport for encrypting session symmetric keys
- CHMAC-SHA256 message authentication codes appended to each network packet
- DGenerating a Certificate Signing Request with a 4096-bit RSA public key length
Answer
Perfect forward secrecy utilizing ephemeral key exchange mechanisms
Perfect forward secrecy (PFS) ensures that compromise of a long-term private key does not compromise past session keys. By generating disposable ephemeral key pairs for each session (such as with ECDHE), past session keys cannot be computed retroactively even if an attacker acquires the server's long-term private key.
Step-by-Step Solution
Key Concept
Perfect Forward Secrecy and Ephemeral Key Exchange