312-50 ยท Sniffing
How ARP poisoning works
How ARP works, poisoning for man-in-the-middle, tools such as Ettercap and Bettercap, dynamic ARP inspection and static entries.
Key points
- ARP maps an IPv4 address to a MAC address on the local segment, and hosts accept unsolicited replies.
- An attacker sends forged replies so a victim maps the gateway IP to the attacker's MAC, creating a man-in-the-middle.
- Tools such as Ettercap and Bettercap automate this; Dynamic ARP Inspection and static entries defend against it.
Practice questions
What does the ARP protocol resolve?
- An IPv4 address to a MAC address
- A hostname to an IP address
- A MAC address to a VLAN ID
- A port number to a service name
Show answer
Answer: A. An IPv4 address to a MAC address
ARP finds the link-layer address for a known IPv4 address on the same segment. Name-to-IP is DNS.
Which defences help against ARP poisoning?
- Dynamic ARP Inspection on the switch
- Static ARP entries for critical hosts such as the gateway
- DHCP snooping, whose bindings DAI can use
- Putting every host NIC in promiscuous mode
- Raising the MTU on access ports
Show answer
Answer: A. Dynamic ARP Inspection on the switch, B. Static ARP entries for critical hosts such as the gateway, C. DHCP snooping, whose bindings DAI can use
DAI drops ARP packets that disagree with trusted bindings, static entries cannot be overwritten, and snooping supplies the bindings. Promiscuous mode and MTU have no effect on ARP trust.
True or false: ARP replies are authenticated, so poisoning requires breaking cryptographic keys.
Show answer
Answer: False
False. ARP has no authentication; hosts commonly accept unsolicited (gratuitous) replies, which is why poisoning is so easy on an unprotected LAN.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
