man-in-the-middle attack

An attack where someone secretly sits between two parties, relaying and possibly altering their traffic while each thinks it talks to the other.

A successful attacker can read and alter everything the two parties exchange, including passwords and payments.

In more detail

Server authentication is the defence: TLS certificates and SSH host keys let the client detect an impostor. Accepting an unverified key or ignoring a certificate warning disables that protection.

Examples

Unauthenticated Diffie-Hellman trusts whoever answers
On-path attacks use techniques such as ARP spoofing on a local network, rogue wireless access points or DNS poisoning.

Related terms

Taught in

References