Address Resolution Protocol (ARP)

Most local networks use the Address Resolution Protocol (ARP) to resolve IP addresses to Media Access Control (MAC) addresses. IP addresses are used for internet routing, but local network traffic needs MAC addresses.

ARP has no authentication. Any device on the network can answer a request, or send answers that nobody asked for. In an ARP spoofing attack, the attacker tells the other devices on the network that the router's IP address belongs to the attacker's MAC address. Those devices then send their internet traffic through the attacker's machine. This is a common way to set up a monster-in-the-middle attack on a shared network, such as café Wi-Fi. It is also one more reason to encrypt traffic with HTTPS, since the attacker still receives the traffic but cannot read or change it.

Further Reading

Learn it hands-on

Insufficient encryption can make you vulnerable to monster-in-the-middle attacks.