CS FundamentalsModerateGATE CS · security placement
Alice and Bob run plain Diffie–Hellman with no authentication of the exchanged values. Mallory sits on the path and can modify messages. What can she achieve?
- A. Nothing useful, because the shared key itself is never sent over the wire
- B. Only block or delay the exchange, since she cannot compute g^ab herself
- C. Share one key with Alice and another with Bob, and relay traffic she can read
- D. Recover Alice's secret exponent from g^a quickly, then derive the session key
Correct answer: C. Share one key with Alice and another with Bob, and relay traffic she can read
Mallory replaces g^a and g^b with her own g^m, so she shares g^am with Alice and g^bm with Bob and relays everything. Discrete log stays hard; the weakness is the missing authentication, which TLS fixes by signing the DH share.
More Computer Networks questions
- Host H is set as 10.1.5.20 with mask 255.255.0.0, but the network is really split into /24 subnets joined by router R. H pings 10.1.200.7…
- Which SNMP message does an agent send without first being polled, and to which UDP port does it normally go?
- Frames take 1 ms to transmit and the one-way propagation delay is 10 ms (ACKs negligible, no errors). For Go-Back-N to reach at least 60%…
- A source must be allowed bursts of 2 s at its peak rate of 25 Mbps, and a token bucket refilling at 5 Mbps polices it. What is the…
- A 1 Gbps half-duplex CSMA/CD network uses a 512-byte minimum frame and signals travel at 2 × 10⁸ m/s. Considering propagation only, what…
- A recursive resolver has an empty cache apart from the root hints. A client asks for the A record of www.a.com, which is a CNAME for…