Skip to main content
security

ARP Poisoning

ARP poisoning (ARP spoofing) sends forged ARP replies on a local network to associate the attacker's MAC address with another host's IP. This redirects traffic intended for the victim (usually the gateway) through the attacker, enabling man-in-the-middle attacks. Defense: Dynamic ARP Inspection (DAI) on managed switches.

Definition

ARP poisoning exploits the stateless, unauthenticated nature of ARP. Any host can send gratuitous ARP replies claiming 'IP 192.168.1.1 is at MAC AA:BB:CC:DD:EE:FF' without being asked. Other hosts update their ARP cache with this false mapping. By claiming to be the default gateway, the attacker receives all traffic from victim machines, inspects or modifies it, and forwards it to the real gateway (transparently). Combined with SSL-stripping (downgrading HTTPS to HTTP), ARP poisoning enables full credential capture on local networks. Defenses: Dynamic ARP Inspection (DAI) on managed switches validates ARP packets against the DHCP snooping binding table. Static ARP entries on critical hosts (arp -s gateway_ip gateway_mac). 802.1X port authentication prevents unauthorized hosts from joining the network at all.

Examples

  • arpspoof -i eth0 -t victim_ip gateway_ip (redirects victim's traffic)
  • arp -s 192.168.1.1 AA:BB:CC:DD:EE:FF (static ARP entry – immune to spoofing)
  • ip arp inspection vlan 10 (Cisco DAI – validates ARP on managed switches)

Related Protocols

Related Terms