01Topology
One flat LAN, four hosts.
One flat LAN, four hosts. The gateway and the victim talk directly — a conversation the attacker was never part of.
One flat LAN segment, four hosts. The attack box forges its way into the middle of a conversation between two hosts that were never talking to it in the first place — the real gateway at 192.168.0.1 and a Windows victim at 192.168.0.32. A Metasploitable 2 host provides a cleartext FTP/HTTP target for the credential capture.
Evidence — hostsKali 192.168.0.85 attacker — sniffer, scanner, poisoner
Router 192.168.0.1 real gateway, spoofed to the victim
Windows laptop 192.168.0.32 victim — ARP cache poisoned to route via Kali
Metasploitable2 192.168.0.95 cleartext FTP/HTTP target
02Poison
The core lie, sent on repeat.
Kali forges is-at replies to each side, so both cache the attacker's MAC for the other's IP.
The poisoner resolves both targets' real MACs first and aborts cleanly if either can't be reached at Layer 2, then continuously sends forged is-at replies — telling the victim the gateway is at the attacker's MAC, and the gateway the victim is at the attacker's MAC. Repeating every two seconds overwrites the real mapping faster than the genuine owners re-announce themselves, so the lie wins.
Evidence — victim's arp -a, while under attackInterface: 192.168.0.32
Internet Address Physical Address Type
192.168.0.1 00-0c-29-4f-1a-7e dynamic (attacker's MAC, not the router's)
03Intercept
On the path, and staying quiet.
Traffic now routes victim → Kali → gateway, forwarded to stay live and sniffed on the way through.
With net.ipv4.ip_forward=1 set on the attack box, the victim's connection keeps working exactly as before — it just passes through an extra, uninvited hop first. 750 packets of the victim's live traffic — TLS sessions to external hosts it had no reason to route through the attack box — were captured and written to disk purely as a side effect of the poisoning, and the ARP tables were cleanly restored on exit.
Evidence — poisoner output[*] Interface eth0 | my MAC 00:0c:29:4f:1a:7e
[+] Victim 192.168.0.32 is-at 0c:8b:fd:2c:05:9a
[+] Gateway 192.168.0.1 is-at c0:a3:6e:7b:31:e0
[*] Poisoning. Ctrl-C to stop and restore.
[*] Sniffing traffic to/from 192.168.0.32 ...
^C
[*] Restoring ARP tables...
[*] Done.
[+] Wrote 750 packets to arper.pcap
04Troubleshoot
The one that got me.
On Wi-Fi the poison never lands: the AP drops Layer 2 frames between clients before they reach the victim.
Against a laptop on a consumer Wi-Fi network, the poison never landed — confirmed by checking the victim's own ARP table directly rather than assuming a code or routing bug. The forged replies were leaving the attacker's NIC correctly (verified with tcpdump), but the router's AP/client isolation was dropping Layer 2 traffic between wireless clients before it ever reached the target. No amount of Scapy code fixes a router blocking the frames outright; switching to a network without client isolation resolved it immediately.
Evidence — what carried throughPoison confirmed leaving the NIC (tcpdump), but the
victim's ARP table never changed. AP/client isolation
was dropping L2 frames between wireless clients. Check
Layer 2 reachability before blaming the tool.