
35
Network Security Protocols
2.2.5 Enhanced Diffie-Hellman Key Exchange
The man-in-the-middle attack loophole in DH protocol stems from the fact that Alice
has to inform Bob of S
x
over an unsecure medium and Bob has to inform Alice of S
y
over an unsecure medium. Additionally, since g and n are also transmitted over the
unsecure medium, it is trivial for Eve to generate a fake S
x
and a S
y
.
To protect DH against man-in-the middle attacks, we exploit the Public Key
Infrastructure (PKI) described in Section 2.2.3. The PKI relies on a single trusted
party—the certificate authority—which signs the public key of a user with its own
private key to create ...