A security engineer is designing a secure communication protocol between distributed edge gateways and a cloud broker. The design mandates that if an attacker compromises the private key of a gateway in the future, the attacker must not be able to decrypt past session traffic that was previously captured and stored. Which of the following cryptographic mechanisms should the engineer enforce to satisfy this specific requirement?
- Ephemeral Diffie-Hellman key exchange to establish Perfect Forward SecrecyAnswer
- BRSA key encapsulation for symmetric session key distribution
- CDigital signatures using ECDSA coupled with SHA-256 hashing
- DImplementation of inline network intrusion prevention system filtering rules
Answer
Ephemeral Diffie-Hellman key exchange to establish Perfect Forward Secrecy
Ephemeral Diffie-Hellman (such as DHE or ECDHE) creates unique, temporary key pairs for every communication session. Because these ephemeral keys are discarded after the session terminates and are never saved to disk or transmitted directly, a future compromise of the server or gateway's long-term private key cannot be used to recalculate or decrypt historical session keys. This property is known as Perfect Forward Secrecy.
Step-by-Step Solution
Key Concept
Perfect Forward Secrecy (PFS) via Ephemeral Key Exchange