Bitzu

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.

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-9/configuration_guide/sec/b_179_sec_9300_cg/configuring_dynamic_arp_inspection.html

Practice questions

Single choice

What does the ARP protocol resolve?

  1. An IPv4 address to a MAC address
  2. A hostname to an IP address
  3. A MAC address to a VLAN ID
  4. 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.

Select all that apply

Which defences help against ARP poisoning?

  1. Dynamic ARP Inspection on the switch
  2. Static ARP entries for critical hosts such as the gateway
  3. DHCP snooping, whose bindings DAI can use
  4. Putting every host NIC in promiscuous mode
  5. 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

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module