ARP Protocol Fundamentals and Security Weaknesses
You'll learn how ARP translates IP addresses to physical MAC addresses and why its lack of authentication makes networks vulnerable to attack.
What Is ARP?
Address Resolution Protocol (ARP) is the networking "phonebook" that maps logical IP addresses (like 192.168.1.10) to physical MAC addresses (like 00:1A:2B:3C:4D:5E). When your computer wants to send data to another device on the local network, it knows the destination IP address, but needs the MAC address to actually deliver the Ethernet frame.
Analogy: Imagine you know someone's apartment number (IP address) but need to know their mailbox label (MAC address) to deliver mail. You shout in the hallway "Who lives in apartment 10?" and wait for a response. That's essentially ARP.
How ARP Works
- Device A broadcasts: "Who has IP 192.168.1.50? Tell 192.168.1.10"
- Device B (192.168.1.50) responds: "That's me, my MAC is AA:BB:CC:DD:EE:FF"
- Device A caches this mapping in its ARP table for future use
The Security Problem
ARP has no authentication mechanism. Any device can claim to own any IP address, and other devices will believe it. This creates an attack vector called ARP spoofing or ARP poisoning.
An attacker can broadcast fake ARP responses claiming to be the router, causing victim traffic to flow through the attacker's machine instead—enabling eavesdropping or man-in-the-middle attacks. Since you've learned packet capture techniques with Wireshark, you could observe these spoofed ARP frames in captured traffic.
Key Takeaway: ARP translates IP addresses to MAC addresses through unauthenticated broadcasts, making it trivially easy for attackers to redirect network traffic by sending fake ARP responses.