Learn to Hack WIFI password with Ubuntu (WPA/WPA2)

You may also like...

  • http://www.blogger.com/profile/00527553881509979555 Silvester Norman

    Great Post !
    I know that you can crack WiFi of a network using Ubuntu in only two steps there are many methods but no one provides results in such limited steps.

    Thanks
    Silvester Norman

    Change Mac Address

  • http://www.blogger.com/profile/09676239948262363478 Raj Amal

    Thank you for your comment. Stay tuned for more updates

  • http://www.blogger.com/profile/15180257661826233455 Jay Phoenix

    Thank you. This is a very easy tutorial to pick up on because you’ve erased a lot of the guess work others keep adding for no reason.

  • http://www.blogger.com/profile/09676239948262363478 Raj Amal

    Thanks for your comment. Visit again for more updates

  • Anonymous

    Please be more specific in installing it . And what’s a terminal?

  • http://www.blogger.com/profile/09676239948262363478 Raj Amal

    Terminal is the command line interface of ubuntu. It is similar to command prompt in windows. In ubuntu open terminal by pressing key combinations Ctrl+Alt+T.

  • Anonymous

    my result is
    [-] Failed to initialize interface ‘mon0′
    [-] Failed to recover WPA key

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Problem with your wifi adapter.

    • Anonymous

      Run terminal as super user with the command: sudo -s
      Then type in your password. Retry original command and it should work.

  • Anonymous

    Hi,

    I have installed it, and left it running for 12 hours and it only reached 4%………am i doing it wrong or missing something why it taking so long. What do I type in ubuntu terminal please

  • http://www.blogger.com/profile/09676239948262363478 Raj Amal

    Maybe some problem with your router

  • Anonymous

    Hi, thank you for reply my wireless card is Intel Centrino Advanced – N6230

    Do you know if this is compatible with aircrack software?

    The wifi is working on my laptop for internet using unbuntu but it say my wireless card is ‘unknown’ when i set up monitor

    thank you

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Yes, your Intel Centrino Advanced – N6230 card is compatible with aircrack-ng

  • Anonymous

    Error : pcap library not found!

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Open terminal and type

      sudo apt-get install libpcap*-dev

  • Anonymous

    placed the tar xvfz reaver-1.4.tar.gz in which folder??

    • Anonymous

      tar xvfz reaver-1.4.tar.gz
      tar (child): reaver-1.4.tar.gz: Cannot open: No such file or directory
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now

  • http://www.blogger.com/profile/09676239948262363478 Raj Amal

    The file you downloaded may be corrupted, redownload and report here.

    • Anonymous

      still same

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      gunzip reaver-1.4.tar.gz
      tar xf reaver-1.4.tar

      Try these commands..

  • Anonymous

    GUYS anyone please help.im stuck at step 2(i did everything right on step1 i believe).
    when typing Airmon-ng start wlan0…it replies (run as root).
    WHAT NEXT?PLEASE HELP ASAP

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Run as sudo airmon-ng start wlan0

  • Anonymous

    guys i need help..the result is

    WARNING: Failed to associate with B1:B2:DC:64:B6:B8 (ESSID: aero)

  • Anonymous

    cant get aircrack please help

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Install aircrack-ng by typing sudo apt-get install aircrack-ng

  • Anonymous

    then : sudo apt-get install libsqlite3-dev
    i can do dis step..it says broken packages

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Try this
      sudo apt-get install -f

  • Anonymous

    i am getting
    ” ‘user_name’ is not in the sudoers file. This incident will be reported.”
    this kind of error.

  • http://www.blogger.com/profile/10004255450394052000 Mustafa Al Lawati

    Hello for All
    I have one small question
    how log it take to get the password (how many houers)

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      Depending on your wifi adapter it will take time. It took me around 7 hours to get the password.

  • http://www.blogger.com/profile/10004255450394052000 Mustafa Al Lawati

    I have Realtek RTL8187 (ALFA) so how lonk it will take

    Also if I want hack (wpa) (TKIP/PSK) how long it will take ?

  • http://www.blogger.com/profile/03870259671113415028 Adnan Butt

    I complted all stpes and waited 5-6 hours it does not work after these statements
    [+]waiting for beacon from xx:xx:xx:xx:xx:xx
    [+] Associated with xx:xx:xx:xx:xx:xx (ESSID: Name)

    • http://www.blogger.com/profile/09676239948262363478 Raj Amal

      How is the signal Strength, May be the signal is too weak

  • Jim

    Hi Raj,

    And thank you so much for this rich tutorial.

    I have an error message after step 1 (install reaver) 5)
    When i type ./configure, at the end i can see :

    “error: pcap library not found!”

    What should i do ?
    Thank you very much,
    Jim

    • Jim

      Sorry, i solved my problem, it was a problem during libcap installation.
      Thank you

      • http://www.learn2crack.com/ Raj Amal

        Thanks for your comment

        • t

          Hi Raj,

          And thank you so much for this rich tutorial.

          I have an error message after step 1 (install reaver) 5)
          When i type ./configure, at the end i can see :

          “error: pcap library not found!”

          What should i do ?
          Thank you very much,

          • http://www.learn2crack.com/ Raj Amal

            Open terminal and type

            sudo apt-get install libpcap*-dev

            This will solve your problem

  • Adi

    Signal strength is excellent, suggest me where i am wrong ?

    • http://www.learn2crack.com/ Raj Amal

      Post your output here which is shown in the terminal.

      • Adi

        I completed all steps and waited 5-6 hours it does not work after these statements
        [+]waiting for beacon from xx:xx:xx:xx:xx:xx
        [+] Associated with xx:xx:xx:xx:xx:xx (ESSID: Name)

        Stuck after this.

  • Ali

    can i do this in windows?

    • Ali

      can i do this in win7 using vimax?

      • http://www.learn2crack.com/ Raj Amal

        What is vimax ?

  • Akshay

    When I try installing aircrack-ng, this is what happens:

    sudo apt-get install aircrack-ng
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package aircrack-ng is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    iw
    E: Package ‘aircrack-ng’ has no installation candidate

    • Varun Raj

      just install aircrack-ng and reaver from software center

    • Julian

      i downloaded it of the internet

  • Varun Raj

    Hi Raj Amal, thanks for this graet tutorial
    I completed all steps and now it is showing
    [+]waiting for beacon from xx:xx:xx:xx:xx:xx
    [+] Associated with xx:xx:xx:xx:xx:xx (ESSID: Name)
    how much time will it take?
    Varun Raj

    • varun raj

      Raj, nothing happened even after 18 hours….it is still showing
      [+]waiting for beacon from xx:xx:xx:xx:xx:xx
      [+] Associated with xx:xx:xx:xx:xx:xx (ESSID: Name)
      what should i do?
      varun raj

      • http://www.learn2crack.com/ Raj Amal

        Try this command reaver -i mon0 -b [bssid] -L -d 0

  • Al3vin

    i see “(not associated )” in BSSID section while i list all wifi around me. ?? help

    • Al3vin

      sorry i got the BSSID in upper sections. and i copied and typed as “reaver -i mon0 -b 74:EA:3A:B2:F4:6A” ..and it starts waiting for Beacon from …. . After a while i only see WARNING: Failed to associate with ….. (mac) ( ESSID: wifiname )
      Can you help me please .. i am always stuck in here. How to check the vulnerability in wifi’s. …. I tried “walsh -i mon0″ but walsh is not command shows up.

      • Srini Vasan

        It may be due to either weak wireless card or the router is too far away.

        • Al3vin

          oh Maybe. And then how can i run walsh -i mon0 command ?????

          • Srini Vasan

            Try using it terminal

          • Al3vin

            Where would you expect me to try? I already tried it in terminal but it says walsh command not found error.

          • soozoe

            sudo walsh -i mon0

          • Sergio Cruz

            hahaha

          • Anonymous

            it’s “wash”, not “walsh” ;-)

          • Al3vin

            Oh Thanks. this post should had corrected its content. :P :D

        • Al3vin

          How can i know that the wifi signal is good to trigger the commands ? Can you please tell about what is “Beacon” while running airodump

  • Al3vin

    Any folder and then i will be extracted there and so do “cd reaver-1.4/src” as mentioned above.

    • Lakshya

      It is getting the same error

  • Akua Nauta

    after 690 seconds nothing happends any idea?

    • Srini Vasan

      Problem with your wireless card

  • Akua Nauta

    nothing happends after 690 seconds any help??

  • Pingback: Ubuntu 12.04 Aircrack-ng not working | Ubuntu InfoUbuntu Info

  • Pingback: Ubuntu 12.04 Aircrack-ng not working « James n Sheri.com

  • chad

    hi Raj- when i try to to install aircrack-ng, i get this msg”Package aircrack-ng is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    iw”
    please assist

    • Srini Vasan

      Hi chad It has been removed from ubuntu repositories as message says. you can install it by doing following procedure

      1) sudo apt-get install build-essential

      2) sudo apt-get install libssl-dev

      3) wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz

      4) tar -zxvf aircrack-ng-1.1.tar.gz

      5) cd aircrack-ng-1.1

      5) In the aircrack-ng-1.1 directory there is a file called common.mak, use your favorite editor to open the file and scroll down till you see the following line:

      CFLAGS ?= -g -W -Wall -Werror -O3

      Delete the -Werror variable, so that the line now looks like the following. Save and exit.

      CFLAGS ?= -g -W -Wall -O3

      6) Run make and sudo make install in terminal to get aircrack-ng up and running.”

      for build-essential go to update manager > settings > ubuntu softwares and see if top main is checked.

  • brandon

    Can you use this on windows??

    • Srini Vasan

      yes, using virtual box

  • anu17.yadav

    in last time it takes a lot of time
    but thanks

    • Srini Vasan

      thanks for your comment anu17.yadav

  • Srini Vasan

    It depends on your router (may take at least 5-6 hours)

  • André

    Hi Raj. I’m using Reaver on Kali Linux and it keeps triying the pin 12345670 over and over. Any sugestion? Thanks in advance.

    • http://128.199.224.11/ Raj Amal

      Stop reaver and retry it. It will resume from the pin. I had the same problem too. It solved my problem.

  • shreeram

    hey i am not able to install … it says package not founf when i type ./configure … can anyone help me ? does this software really work ?

    • shreeram

      its says pcap library not found

      • Srini Vasan

        did you finished the spet 4 correctly.

        4) Enter the folder by typing : cd reaver-1.4/src

  • donghoon

    i downloaded the reaver and its on my desktop. but when i type tar xvfz reaver-1.4.tar.gz on terminal, it saids there are no such directories……. what should i do???

    • Srini Vasan

      Download it and place it in a specific folder then move to that directory and type ls to make sure the file is present and then type the command tar xvfz reaver-1.4.tar.gz

      • Anonymous

        what does “move to that directory” mean? i have the same problem

        • http://128.199.224.11/ Raj Amal

          cd [Downloaded Directory]

    • Ragu Veer

      place reaver in root folder

  • Mahmoud

    what is the password ??!!!

    • http://128.199.224.11/ Raj Amal

      Your root password

  • Arth Patel

    i have problem like that……………please help

    • http://128.199.224.11/ Raj Amal

      Just use sudo apt-get install aircrack-ng

  • Otmane

    Thank you for this simple well explained tuto, have been on many tutos but this is the best… please see attached picture and tell me if i am on the right path.

    thank you

    • Otmane

      its been like 13 hours and only 3.67% completed is that normal?

      • http://128.199.224.11/ Raj Amal

        Its because of your wifi adapter.

        • Otmane

          but at the end it will get it right? :)

  • Kunal

    showing error in mon0.. what to do?

  • Mohammed

    help plz
    i did all ur steps here but when i write airmon-ng i got nothing why ???

    • http://128.199.224.11/ Raj Amal

      Try running live Ubuntu instead of VirtualBox

  • Apple

    Hello, why it write Interface mon0:
    ioctl(SI0CGIFINDEX) failed: No such device

    • pratik

      did u got the ans

    • Mohamad Ashi

      I’m having the same problem, did anyone find a solution for this????

  • bhaaradwaaj ramakrishnan

    hi i have installed and configured everything but in airodump it shows only one network BSSID while i have bunch of other networks around..? any reasons?

    • Bob Freeber

      Disconnect your wireless card from the router in which it is connected.

  • othmane

    for me it does not work it said “enable”

    • http://128.199.224.11/ Raj Amal

      What enable ?

  • Balram Singh

    downloaded it. extracted it but when put this commond – tar xvfz reaver-1.4.tar.gz – it says balram@balram-Satellite-C640:~$ sudo -s
    [sudo] password for balram:
    root@balram-Satellite-C640:~# tar xvfz reaver-1.4.tar.gz
    tar (child): reaver-1.4.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    root@balram-Satellite-C640:~#

    • Ragu Veer

      place the reaver in root folder

      • cassie

        how???

      • nando

        doesn’t work for me!!!

        • bil(patto hex)

          place in home folder
          reaver-1.4.tar.gz file

      • bil(patto hex)

        no place in home folder

    • bil(patto hex)

      place the reaver1.4.tar.gz file in the home folder then again do te command
      tar xvfz reaver-1.4.tar.gz

  • X3nFactor

    Why not just do “sudo apt-get install reaver”?

  • jesper

    root problem?

    • http://128.199.224.11/ Raj Amal

      What root problem ?

  • smart

    Hey hi,

    I have the pin and password of my AP,I cracked it using Reaver but the password seems to be changed now. how can I know the new password without trying the entire process or is there a way to try a pin manually using reaver?

  • emp

    Here’s my problem, keeps on switching mon0 to diff. channels for some reason, any help ?

  • Fraser

    Hey I’m getting this when I put in the ” reaver -i mon0 -b 00:11:22:33:44:55″ command

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

    [-] Failed to initialize interface ‘wlan0′
    [-] Failed to recover WPA key

    any help will be much appreciated, Thanks

    • Tom

      I had to make it root run “sudo -s” before running “reaver -i mon0 -b 00:11:22:33:44:55″

  • aryoatha

    does it have like to be long? beacuse i’ve waited it for like 20 minutes and it still waiting for beacon. Help please!

  • syed

    Pls tel me how to hack wifi with samsung mobile

    • http://128.199.224.11/ Raj Amal

      Use backtrack on android

  • Bilal Idrees Mirxa

    Can anyone help? plz?

    • http://128.199.224.11/ Raj Amal

      May be the wifi router is not supported

      • Андрей Хома

        what does it mean?

  • ZigZag

    Hi to everybody! :)
    Can somebody tell is this normal or I did something wrong? please help :)
    repeatedly says: WPS transaction failed (code: 0×02), re-trying last pin

    TNX

    • http://128.199.224.11/ Raj Amal

      Retry it

      • jack

        HI

        please how i can strat the attack should i wait everything to finish

  • sanjay

    is this adapter will work
    atheros ar5007 802.11 b/g

    • http://128.199.224.11/ Raj Amal

      It will work

  • anonymous

    how do i do that?

  • kkid170

    where do i download reaver from

  • ganesh

    hi iam ganesh
    i tried to install reaver as u given above commands.
    but while at make install command i got an error like

    rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
    if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
    if [ ! -e /usr/local/etc/reaver/reaver.db ]; then cp reaver.db /usr/local/etc/reaver/reaver.db && chmod -R a+rw /usr/local/etc/reaver; fi
    if [ -e wash ]; then cp wash /usr/local/bin/wash; fi
    if [ -e reaver ]; then cp reaver /usr/local/bin/reaver; fi

    what i have to type here please send me soon

  • Ananya

    error pcap library not found

  • caleb

    after getting the pin and etc what i have to do with that to connect with the wifi

    • http://www.learn2crack.com/ Raj Amal

      Enter the pin in the password box and connect to the Wifi

  • Lela

    How long it takes to finish beacon counting?

    • Srini Vasan

      it depends on the router you use

  • Sandeep

    i got error when typing airodump-ng mon0
    root@sandeep-Inspiron-N5050:~/reaver-1.4/src# airodump-ng mon0
    Interface mon0:
    ioctl(SIOCGIFINDEX) failed: No such device
    root@sandeep-Inspiron-N5050:~/reaver-1.4/src#

  • ilikethis

    after u type airodump-ng mon0 it will show u a list of password but it wont let u type why?wont it let u type anything do u have 2 wait or what?

  • NiCoLaS

    thanks man :) it’s really work…..but i get confused what does WPS PIN mean?????
    and is there any way to hack router password using ubuntu……..

    • Srini Vasan

      WPS, or Wi-Fi Protected Setup, is a feature built into many modems and routers, including those manufactured by Belkin. It is designed to simplify the process of connecting to a wireless network from a computer or other device, providing a user-friendly front-end to encryption technologies such as WEP, or Wired Equivalent Privacy, and WPA, or Wi-Fi Protected Access, which prevent unauthorized devices from using a wireless network.

  • NiCoLaS

    keep it in home folder…..

  • NiCoLaS

    it took me 6 hrs to hack 13 digit long password…

  • eddie

    hi, please what is wrong with my output?

  • Jan

    when I typed the

    reaver -i mon0 -b (00:11:28:32:49:55)with the vicitm’s bssid I got a spam of warnings
    [!] WARNING: Failed to associate with XX:XX:XX:XX:XX:XX (ESSID: (null))

    I have no Idea what is going on…any help appriciated.

  • Josh

    aircrack is not available in repos. how can I get it?

  • NiCoLaS

    this is working for only one wifi network but not for all……why this….I have successfully hacked my neighbour wifi….but… now I moved to new place and it’s not working………just say “Waiting” …and I waited for a long time…bt nothing happens……..help…..plz

  • bil(patto hex)

    in home folder.

  • bil(patto hex)

    this error i am getting please help

    root@patto-Lenovo-G580:~# cd reaver-1.4/src
    root@patto-Lenovo-G580:~/reaver-1.4/src# ./configure
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for pcap_open_live in -lpcap… no
    error: pcap library not found!
    root@patto-Lenovo-G580:~/reaver-1.4/src# make install
    ]make: *** No rule to make target `install’. Stop.
    root@patto-Lenovo-G580:~/reaver-1.4/src# make install
    make: *** No rule to make target `install’. Stop.
    root@patto-Lenovo-G580:~/reaver-1.4/src# make
    make: *** No targets specified and no makefile found. Stop.
    root@patto-Lenovo-G580:~/reaver-1.4/src# reaver
    reaver: command not found
    root@patto-Lenovo-G580:~/reaver-1.4/src#

  • DotMan

    If you’re still trying this, all you have to do is type
    “apt-get install reaver”
    in terminal
    (Without the quotes)
    and then go on to step 2 (Where it says (Hacking WPA/WPA2 Wireless))

  • Shihaam Abdul Rahman

    where do i have to keep the reaver-1.4.tar.gz file

  • Deepak

    [+] Waiting for beacon from 30:85:A9:36:9A:80

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: (null))

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: (null))

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    [!] WARNING: Failed to associate with 30:85:A9:36:9A:80 (ESSID: ABHISHEK)

    • rajit

      m also having the same problem is there any solution for it

  • Nandagiri Akhilesh

    when i type wlan0 its not showing any network or wifi and my ubuntu 14.04 not showing wifi in its top signal any answer

  • Nicko Glass

    i get all the way to the point where you highlight the bssid you want to use. the video does not tell you to use ctrl c to freeze the airodump and provide you with a command line to type the next command. so i press ctrl c (should i do this part some other way???) the command line reads exactly as it does in the video. i type in reaver -i mon0 -b thebssid hit enter and it tells me reaver command not found. ive searched the web. PLEASE HELP!!! ANYONE :(

  • Андрей Хома

    i cannot conect to my bssid