So if you are still following, then just follow these simple steps-
Firstly, create a wireless network to crack. Don't use this method on others. It is illegal. Then proceed with the steps below.
1. Find out the name of your wireless adapter.
Alright, now, your computer has many network adapters, so to scan one, you need to know its name. So there are basically the following things that you need to know-
- lo - loopback. Not important currently.
- eth - ethernet
- wlan - This is what we want. Note the suffix associated.
Now, to see all the adapters, type ifconfig on a terminal. See the result. Note down the wlan(0/1/2) adapter.
2. Enable Monitor mode
Now, we use a tool called airmon-ng to create a virtual interface called mon. Just type
airmon-ng start wlan0Your monitoring interface will be created - mon0 in case of Kali 1.x, wlan0mon in all other cases.
3. Start capturing packets
Now, we'll use airodump-ng to capture the packets in the air. This tool gathers data from the wireless packets in the air. You'll see the name of the wifi you want to hack. For kali 2.0 or rolling, replace mon0 with wlan0mon
airodump-ng mon0
4. Store the captured packets in a file
This can be achieved by giving some more parameters with the airodump command. For Kali 2.0 or rolling, replace mon0 with wlan0mon.
airodump-ng mon0 --write name_of_file
Now the captured packets will be stored in name_of_file.cap
You will have to wait till you have enough data (10000 minimum)
PS: Don't wait too long for this step though. Just understand how the procedure works (including the next sections), and once you are convinced you know what you are doing, proceed to the next tutorial where we use ARP replay to speed up the rate at which we gets packets. Using ARP request replay, we can get 10k packets in a few minutes.
5. Crack the wifi
If all goes well ,then you'll be sitting in front of your pc, grinning, finally you've got 10000 packets (don't stop the packet capture yet). Now, you can use aircrack-ng to crack the password. (in a new terminal)aircrack-ng name_of_file-01.capThe program will ask which wifi to crack, if there are multiple available. Choose the wifi. It'll do its job. If the password is weak enough, then you'll get it in front of you. If not, the program will tell you to get more packets. The program will retry again when there are 15000 packets, and so on.
You'll get the key, probably in this format-
xx:xx:xx:xx:xx
Remove the colons
xxxxxxxxxx is the password of the wireless network
Issues?
Try this-ifconfig wlan0 up
ifconfig wlan0 down
airmon-ng check kill
rfkill unblock allOr this- (from Sebastian's comment below)
With the new version, the monitor is wlan0mon, and the monitor isn't working.
A solution is the commands:
A solution is the commands:
ifconfig wlan0mon down
iwconfig wlan0mon mode monitor
ifconfig wlan0mon up
Source: http://stackoverflow.com/questions/32025472/airodump-ng-wlan0mon-doesnt-work
Disconnected from internet (wifi)?
Again, replace mon0 with wlan0mon for Kali 2.0 or rolling.
airmon-ng stop mon0This is usually sufficient. If wlan0 is not up (check ifconfig or iwconfig), then do this (if you don't know what to do, then do this anyway)-
ifconfig wlan0 upIf wifi still doesn't start, try this too
service network-manager restart
"Alright, this post is written assuming you have Kali Linux up and running on your computer. If this is the case, then you are going to kiss some ass". Kiss some ass? Really?
ReplyDeleteThanks for the heads up Marshall. Mistake found and corrected.
Deletei need help buying an external wireless card for vm. i have a mac and its on yosemite 10.10. i cant find any that will work with my operating system do you have any suggestions on what external card to get.
Deletejust dual boot faster, better stronger!!!
Deletebe warnend if you use a virtual machine you have a fail safe if you mess up.
if you dual boot and you mess up, you can destroy your computer.
But don't be afraid, this olmost never happens if you don't start to type random shit
in the terminal.
nice thankx for sharing :)
DeleteHow do you create a wireless network to crack?
DeleteWhen I execute that command: airmon-ng check kill my internet crashes and I have to reboot the system. How to fix that problem?
Deletei couldn't find any wlan when i write ifconfig in terminal
ReplyDeleteI had the same problem when I did ifconfig. I know I disconnected from my home wifi so I can test it's security. I have SSID broadcasting turned off, but I figured that wouldn't matter since it is looking for any wireless signal. Maybe I am wrong. Am I missing something or is my SSID the issue?
DeleteAre you on virtual machine? Are you using external wireless adapter or laptop's internal wireless adapter? There can be many reasons why wlan doesn't show up.
DeleteI am both using Kali on virtualbox and i'm on my laptop using it's wireless adapter. So, if that is the issue, maybe I should partition my hard drive and install Kali on the partition? Or would that be unnecessary?
DeleteThis worked for me:
Deletehttps://www.youtube.com/watch?v=tkDaK8589KY
I had the same problem, I have a virtual machine using vmware, where I'm using my laptops internal network adapter and no wlan0 og wlan1 showed up in ifconfig and nothing showed up when I did airmon-ng. But following this video fixed it immediately for me.... good luck
Don't listen to those above, i spent hours finding a solution online.
DeleteBut it's so simple!
REINSTALL KALI v2.0 , they fixed this bug.
The perfect solution is you should boot kali-linux by a live-bootable-USB.
DeleteHow long should it take to get 10000 data, i've waited for an hour an only got 100, is that ok?
ReplyDeleteyup
DeleteI've never faced this problem in Kali. In BT5 I faced this issue. 'rfkill unblock all' solved the problem. Also, does airmodump-ng mon0 also give the message : Operation not possible due to RF-kill??
ReplyDeleteHow do I see how many data packets have been captured?i mean whta on the screen tells you that?
ReplyDeletewhenever i try to use aireplay-ng, with the options, always fail saying that mon0 is in channel -1 and the target is in other channel. How can i fixed this? i looked a lot for a real answer but nobody know what is this.
ReplyDeleteShashwat, thanks for these tutorials and for replying in depth like this.
DeleteThis is easily the best tutorial I sight I have seen for this.
Glad you found it useful.
DeleteNo question, Just wanted to thank you :) you rock!
ReplyDeleteI got to step 3 and this happened...
ReplyDeleteroot@kali:~# airodump-ng mon0
Interface mon0:
ioctl(SIOCGIFINDEX) failed: No such device
Also, when I type ifconfig there is no wlan showing up.
Are you using a virtual machine. They do not support internal card, so you'll have to you Kali from live USB or buy external wireless card.
DeleteHey man do you use VM ware or Virtual box ?
DeleteVirtual machines will NEVER use your INTERN wireless card.
If you want to use Kali in a VM, you gonna need a wired connection or a wireless usb adapter or so. ( pretty cheap these days, 15 USD and you're good to go)
But i recommend to dual boot windows with kali.
JUST MAKE SURE YOU HAVE KALI 2.0
There are know "Bugs" with the wireless cards but kali 2.0 has fixed the most of them.
sow go ahead and buy yourself an external wireless card or just dual boot!
peace
As in case when no data is recieving from the network, and a message comes "aircrack is quitting because no data is recieving from the network" what should i do ??
ReplyDeleteprobably not in monitor mode.
Deletethanks for these!
ReplyDeletethis is going to be my weekend project.
Good luck and have a great weekend, complete with all sorts of wireless networks.
Deleteey
DeletePlease BrO give me ur phone no.
ReplyDeleteSorry can't do that.
DeleteEnjoying the tutorials, having a problem though, whenever I try to crack my wifi with the packets captured file, it asks me to specify dictionary with -w. Tried searching but couldn't find an answer.
ReplyDeletethe command I used was
aircrack-ng packets-01.cap
selected the ESSID I wanted
the error it gave me was
"please specify a dictionary (option -w)
u should have a dictionary file to crack the wifi. after having the wordlist u can use the command :
Deleteaircrack-ng name_of_file-01.cap -w name_of_wordlist.txt
My network is WEP, I configured it myself, shows up as WEP on wifite as well. But both times I try to crack it with Aircrack and Wifite it asks for a dictionary.
ReplyDeleteI had Kali Linux but the file was became too big so I had to delete it :(. Now I wanna downlaod it again but it doesn't work. Does anybody know how to download Kali Linux on USB and does that damage my computer? Plz add me on Skype: Coen.Couwenberg
ReplyDeleteThx
It's safe but it gives you full power sow YOU can cause damage ^^
DeleteYou are in luck there's been a release of kali v2.0 big update.
Just download the iso, use poweriso (google it) to make a bootable usb.
Follow this link to dualboot kali-windows
http://radixcode.com/how-to-dual-boot-kali-linux-and-windows-8-1-pro-2015/
ReplyDeleteHello, I have large amount of csv file, which is generated by Airodump-ng. And now I have to filter lots of things like, Channels, Privacy, Signals, MAC Addresses etc... How would i do that? Actually I have used this online service which will provide me to filter all the things.
I have also shared my sample file of csv, Please have a look, and let me know if you know any other sources for filtration process. Sample:- http://bit.ly/1Nbfgm6
You can use wireshark for filtering, but it will need some knowledge of how to use filters in wireshark. You can look it up on the internet, I'm sure you'll find plenty of tutorials about wireshark.
Deleteroot@kali:~# airmon-ng start wlan0
ReplyDeleteFound 2 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!
-e
PID Name
2026 dhclient
2655 NetworkManager
Interface Chipset Driver
root@kali:~# airodump-ng mon0
nl80211 not found.
Interface mon0:
ioctl(SIOCGIFINDEX) failed: No such device
root@kali:~#
I'm running this on a Dual processor... Why is it giving me an error?
First of all make sure you have the latest version of kali installed! (v2.0!!!!!)
DeleteThis would probably fix your wireless driver.
Use this command:
airmon-ng check wlan0
Next kill all the services, for your example:
kill 2026
kill 2655
CHECK AGAIN sometimes killing one restarts the other one.
Then go a head and use these commands("#"not a comand, details to help you):
airmon-ng start wlan0
# airMON-ng see this to ass mon of Monitor mode.
airodump-ng wlan0
# if i activate mon-mode it will show up as wlan0mon, go and check with the command "Ïfconfig"
now you should be set to follow the rest.
just make sure you use the correct interface :)
estou com um erro na linha 3 (airodump-ng mon0)
ReplyDeleteerro:nl80211 not found.
interface mon0:
ioctl (siocgifindex) failed: no such device
(desculpe pelos erro de dramatica GOOGLE TRADUTOR)
your wireless card is not supported....refer here http://www.aircrack-ng.org/doku.php?id=compatible_cards and http://madwifi-project.org/wiki/Compatibility for wireless compatibility issues, if card is not compat get yourself an external wireless interface device check here http://www.aircrack-ng.org/doku.php?id=compatibility_drivers&DokuWiki=a8cbe99a5cf637319f17b8149a5418ab#which_is_the_best_card_to_buy good luck! Expect Us
DeleteJust Reinstall KALI VERSION 2.0
DeleteEVERONE WITH WIRELESS PROBLEMS REINSTALL WITH V2.0
https://www.kali.org/downloads/
Hi , I am using kali linux 2.0 and I am running it from my hard drive yet I am having the same issue as well. I tried the solutions given at the other comments yet none worked , so I am still seeing No Such Device.
DeleteI will be glad if someone gives me a solution.
Regards
Sir, Whenever i use to want to capture the network traffic by using airodump-ng mon0 , it is not at all capturing any data instead i have some access points surrounded! i research on it alot but didnt get yet a final answer! please give your valuable Reply ASAP! i am waiting
ReplyDeleteMake sure you got the right interface.
DeleteIn my case it ain't mon0, it changes to wlan0mon.
Do me a favor and follow these commands, i hope it helps (# not a command but details to help you!):
Ifconfig
#if your wlan0 isn't there reinstall kali with vs 2.0
airmon-ng start wlan0
ifconfig
#search for the monitor mode interface, can be wlan0mon or mon0 or mon1 ......
airmon-ng check wlan0
# use command kill to end all services for example kill 2425
airodump-ng mon0
#change the mon0 with your interface
follow the rest of the tutorial above.
Sir, Whenever i use to want to capture the network traffic by using airodump-ng mon0 , it is not at all capturing any data instead i have some access points surrounded! i research on it alot but didnt get yet a final answer! please give your valuable Reply ASAP! i am waiting
ReplyDeleteI have Kali on my cell phone will it alow me to do this?
ReplyDeletedepends on the power of the phone and the password.
DeleteWEP , probably, wpa or wpa-2 probably not unless
you got a high end smarthphone (galaxy, oneplus, ...)
Hi, first of all, thanks you for your extraordinary work on this website. All is clear and nice.
ReplyDeleteI jsut have one question about hacking WEP wifi : i tried on my own wifi, got arround 70.000 data, but i'm still not able to crack it : it tells me to try with more and more data each time.
Is that normal ?
(btw sorry if my english is bad, it's not my native language)
WEP is very weak this should work, try a little longer, but aircrack-ng is one of the best ways to hack wep. Don't give up!
Deletehow much time it will take to complete data(10000)
ReplyDeleteIt depend, could be 20min or 48 hours, or less, or more.
Deletegive me mac latest version download link plz admin
ReplyDeleteA quick tip here... To instantly kill all processes that may cause issues. Type
ReplyDeleteAirmon-ng check kill
Then to be sure the processes are no longer there just type
DeleteAirmon-ng check
It will help u while cracking so u don't get errors.
With more than 10000 ivs the capture was decrypted by aircrack but it shows me the with 26 hex digits
ReplyDeletewhat should i do to find the ascii key to tape in password field
Just remove the colons and that's it. The password field takes the hex password itself.
Deletei have recently installed kali linux light 2.0. it installed successfully. but when i open the terminal and type airmon-ng it gives a message "Please install lsusb from your distro's package manager." i searched a lot but i cant get rid of this uncommon error. i need your help.
ReplyDeleteThis means all dependencies for airmon-ng aren't installed in Kali 2.0 light version. You need to install Isusb using apt-get, aptitude, or by compiling the source (or some other way). I suggest you do a install the complete version of Kali instead, that would be simpler, since this is not the last missing dependency issue you'll encounter.
DeleteWEP? really? Next going to talk about how to hack dialup?
ReplyDeletesir i have dell wireless 1705 802.11 b/g/n adapter but this are not make a monitor mode so please give me soluation as you contact me:- kkyshimlatechguy@gmail.com
ReplyDeleteneed help in gaining access/passwords to facebook, gmail, instagram, bbm, yahoomail, snapchat, twitter, hotmail, badoo, zoosk, various blogs, icloud, apple accounts etc. Password retrieval, breaching of bank accounts: (for local and international banks, block transfers, make transfers), clear debts, pay for bills at give a way rates, breach of web host servers, firewall breaches, application cracks, change of school grades, professional hacking into institutional servers, clearing of criminal records, mobile airtime recharge, keylogging, smartphone,tablet portable device hacks, pc hacks on any OS and ip tracking and genral tracking operations. contact EthicalWorldGroup via Matrixhackka007@gmail.com +1773 417-9906
ReplyDelete*Service available 24Hrs
*Easy Reliable and Efficient
*Charges Apply
Hey been trying this method, but im running Kali of one of my hard drives and using a wired connection so wlan0 doesnt show, is there a way to do this with a wired connection?
ReplyDeleteairodump-ng eth0
Deleteioctl(SIOCSIWMODE) failed: Operation not supported
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start eth0 <#>'
Sysfs injection support was not found either.
This is the error i get
I am using linux in android by using software Debian.
ReplyDeletePlease tell me how to use airmon-ng command in this matter by using my cell phone's internal wifi adapter.
Please help me.
i have a problem with my wireless, why no one wifi detected on my kali linux?
ReplyDeleteplease help me!!!
i have a problem with my wireless, why no one wifi detected on my kali linux?
ReplyDeleteplease help me!!!
i have a problem with my wireless, why no one wifi detected on my kali linux?
ReplyDeleteplease help me!!!
Hey man Just going to say great tutorial
ReplyDeleteI faced a problem when I came to capturing the packets step it was because of currently using Kali-Linux 2.0 basically the error I had gotten when I typed
airodump-ng mon0
was that of device being busy , so I searched around Google and found a fix it was:
ifconfig mon0 down
iwconfig mon0 mode moniter
ifconfig mon0 up
and then placing the final code:
airodump-ng mon0
this seemed to work for me just wanted to get it out there for any of the 2.0 users
hi
ReplyDeletewhen i try to using aircrack-ng it's gev me
choosing first network as target
openig (name of netowrk).cap
get now data packeg form target network
With the new version, the monitor is wlan0mon, and the monitor isn't working.
ReplyDeleteA solution is the commands:
ifconfig wlan0mon down
iwconfig wlan0mon mode monitor
ifconfig wlan0mon up
Source: http://stackoverflow.com/questions/32025472/airodump-ng-wlan0mon-doesnt-work
thx this fixed the monitoring issue for me.
Deletewhen i open aircrack and i type the name_of_file-01.cap it says 'Please specify a dictionary (option -w)' what should i do then
ReplyDeletei have 13244 packets and every thing works fine until i get to that stage we i type 'aircrack-ng name_of_file-01.cap'
and that line appear
The wireless network you are trying to hack is WPA secured. This tutorial is valid for WEP.
Deletei tried
ReplyDelete~$ airmon-ng start wlan1
the output:
bash: airmon-ng: command not found
i am using kali rolling
any help here?
I unfortunately didn't run the write command until a few hours after I started capturing packets, I lost all that time didn't I?
ReplyDeleteHi, i had some problems with the handshake, i figured it out tho, so as you guys probably know your network card sends package using 802.11g or 802.11n, if your card sends packages with 802.11g like mine, it wont get any handshakes with other devices that uses 802.11n, so if you want to get a handshake, you must either use a 802.11n card OR get something that has a 802.11 g or LOWER to connect to that network, so yh lol :D
ReplyDeleteI have a question. I'm trying to understand how exactly the airmon-ng and aircrack-ng tools work. I understand that it is illegal to crack a wifi password that is not your own using aircrack-ng. My question is this: when I run airmon-ng I am gathering (to my understanding) not only my own packets but packets from other nearby networks. Is the mere collection of these packets illegal or are there any legal implications in this? Additionally, are network administrators or security suites able to detect the use of airmon-ng nearby?
ReplyDeleteThanks!
airmon-ng start wlan0
ReplyDeleteGives me message to type airmon-ng check kill
I followed this tutorial to the letter but i still cant get it to work. I have three problems (i think)
ReplyDelete1. I created a wireless network with wep encryption but airdump is reading it as a wpa/wpa2 network
2. No packets are being collected
3. No connected clients are showing up on any of the networks around me
Yes it is in monitor mode, i have checked and double checked. Was wondering if someone could help me out. Thanks
i have iPhone 5S and i would like to download linux in my phone. i am aware this is possible in android but i cant find anything on ios. any help will be appreciated. also is it possible to dual boot android on ios(or atleast as an application-and if so can i then use that android to boot linux?)
ReplyDeletecan any one teach me the kali linux
ReplyDeletehey after the 3rd step it is taking so much time in collecting packet it is showing 50000and also it is now increasing ! is it okay or any error
ReplyDeleteThanks Man .. i have completed this test successfully
ReplyDeleteI will study one training each day ^_^
Hey bhai,
ReplyDeleteIm having a problem with my network adapter..i got the TL-WN725N.. and i cant install the driver even though i have it..any help?
"aircrack-ng _____.cap" cmd shows :
ReplyDeleteKEY FOUND! [ 50:40:30:20:10 ]
what is this?
"50:40:30:20:10" is not my password..
Password should be 5040302010.
Deletethanxx.. for your quick reply :)
Deleteit's worked..... :)
Hi, when I airodump on a bssid, I don't get any data to retrieve. It remains @ 0. Don't no what the prob is....
ReplyDeleteDoes the same bssid get data when you run airodump without specifying bssid?
DeleteNotin at all... No data... Very fustrating....
DeleteTry doing ARP request replay attack. Should speed up the inflow of data.
Deletehttp://www.kalitutorials.net/2014/03/speeding-up-wep-hacking.html
Hey actually one of my neighbor is continuously using my WiFi without my permission. I want to taught him a lesson. Can you suggest any way I have its mac Address Is there any sort of back attack possible
ReplyDeleteThis is a simple thing you can do - www.kalitutorials.net/2016/12/bettercap-mitm-for-sniffing-traffic-and.html
Deletethanks it is really handy but have some way for fb that would be alot better
DeleteI currently have nothing straight-forward which works for FB, but if I do have something concrete, I'll certainly write about it on the blog, and probably mention it here on the comment thread as well.
Deleteif your wifi just gone and couln't turn it on then type this command
ReplyDeleteservice network-manager restart
so when I originally installed kali Linux in virtual box, when I typed ifconfig it showed up with wlan0 in the list. so I was able to go through the whole tutorial with no problems except I was never able to get the password.. now when I type ifconfig wlan0 is missing, I uninstalled a reinstalled in vm virtual box but still nothing. I don't think its because my laptop isn't compatible because it used to be there. I don't understand. I really want to learn but cant ever figure this out.
ReplyDeleteaircrack-ng name_of_file-01.cap
ReplyDeleteafter this i select a wifi name but after it gives an error
"please specify a directory (option -w).
for using this my laptop should be connected to internet through lan or usb??
ReplyDeletework on connected with through wifi only..
ReplyDeleteFirst i am connected with my own wifi thats nice i quess. Also i have Kali installed on my pc not on a vm. On your first screenshot you have (monitor mode enabled mon0). I have no idea why i dont have that on my screen. With the next command i enter airodump-ng mon0. Then i get this output: Interface mon0: ioctl(SIOCGIFINDEX) failed: no such device. Has someone a idea how i can fix this? Ps: Maybe its interesting to know that i also tryed the easier version with wifite. This dosent work to.no wireless interfaces were found. you need to plug in a wifi device or install drivers.
ReplyDeleteif u r on updated kali linux... use Wlan0mon instead of mon0
DeleteI already tryed it. I get the same Error as bevor
DeleteWhen I type in the command 'airodump-ng wlan0mon' I am able to see all of the networks but I am not able to see the the packets nor am I able to type another line of code. By the way I am using Kali Linux 32bit on a live CD/USB version 2016.2.
ReplyDeletei try to open my first save but it says that there are not packets but I do not know where to look for how many packets I have. Help
ReplyDeletefafa
ReplyDeletei have a doubt.is it possible to find the password of my router in which i have connected the wifi?
ReplyDeletewith kali linux
DeleteI have a problem. First of all I'm using kali Linux 2.0 on virtual box and the second I don't have a wireless card but I downloaded compat wirless 2010-09-01-p so I when I use a iwconfig I can see that there is a wireless card named wlan0.
ReplyDeletenow the problem > I got my wireless card into monitor mode but after I use airodump-ng wlan0mon I don't get anything except a terminal showing only bssid and other stuff but no clients can you plz give me a solution I desperately need a answer ........
Hello!
ReplyDeleteCan i make it via external wifi router with dd-wrt ? or i need just wireless adapter in my PC?
sir plz help me when I capture the packets it starts and never ends and as well as it do not gets any of the data but the number of beacons increases and increases and yaaa sir I am trying it on my mobile wifi hotspot!!
ReplyDeleteIndex number of target network ? 6
ReplyDeleteOpening shit-01.cap
Please specify a dictionary (option -w).
Quitting aircrack-ng...
I am getting this on giving index no.
please help!!
+1
Deleteaircrack-ng -b (bssid) -w /usr/share/wordlists/rockyou.txt (directory of the cap file)
DeleteI followed every step, but I'm stuck at point 5. When I type in monitor-data.cap and select the number of the WIFI, i get the error "Please specify a dictionary (option -w). I know what this means, but I thought the whole point was, that you don't need to do a dictionary attack, no?
ReplyDeleteplease I wat to know how reaver and hydra etc work on kali..tnks
ReplyDeleteI guess u forgot the AP injection (aireplay-ng) for handshake or the aircrack command will not work (error).... Just a tip...
ReplyDeletewhen i run airodump-ng wlan0mon the terminal is not showing any wifi networks to attack
ReplyDeleteThey lead these tests principally to check if the equipment and programming programs are sufficiently viable to keep any unapproved passage. learn more
ReplyDeleteĐặt vé tại phòng vé Aivivu, tham khảo
ReplyDeleteve may bay di my gia re
vé máy bay về việt nam từ mỹ
cách đặt vé máy bay từ nhật về việt nam
vé máy bay từ đức về việt nam giá rẻ
đăng ký bay từ canada về Việt Nam
gia ve may bay tu han quoc ve viet nam
khách sạn cách ly ở sài gòn
vé máy bay chuyên gia nước ngoài