increase aircrack-ng wpa cracking speed

Namaste Hackers,



Today, In This Post i am going write about how we can boost aircrack-ng wpa cracking speed with the help of PMK.



What is PMK?

Ans. PMK stand for Pairwise Master Key. In Cracking if we have the correct password in our dictionary, aircrack-ng dictionery offline attack works every time correctly but their one more main problem is, Time taken in Cracking. So Basically Here To Save Our Time in cracking process we will use pre-calculated PMK.  To Crack any handshake encryption, cracking tools continuously generate PMK with every single password to find and match the real key of handshake encryption. hence, continuously calculating PMK with every single passpharse is very time consuming process during cracking. so, what we are doing? we will pre-calculate all PMK with the help of genpmk tools in a database then we will use airolib-ng to convert PMKs format In Aircrack-ng Supported Format after that we will excecute aircrack-ng to scan matching PMKs from database with Handshake file for finding real password. Thus, To speed up the cracking process first we need to create a pre-calculated database of PMK from wordlist as fast as possible.



To Create Pre-Calculated PMK Database. Here, we will use genpmk.

Open  a Terminal And Type:


:~# genpmk -f [path/to/wordlist] -d [PMK_DATABASE_NAME] -s [ESSID]

Here, -f argument is for passing dictionary file path, -d for new pmk database name and -s is for WPA ESSID

For Example Check Below Screen shot.


After Calculating And Saving All Passpharse PMK in a Database. Now, we need to convert PMK-Database format into aircrack-ng supported PMK-Database format and for this, here we will use airolib-ng tools.


Open Terminal And Type Below Commands.

:~# airolib-ng [new_database_name] --import cowpatty [PMK_Database_Path]

For Example, Check Below ScreenShot.


Now, Our Pre-Calculated PMKs Database is ready to use.

Open Terminal And Run Below Command To Run Aircrack-ng


:~# aircrack-ng -r [PMK_aircrack_database] -e [ESSID] Handshake/file.cap



Done!

As You Can See In Above Screenshot, Aircrack-ng instead of providing 1250 key per second, Actually Providing 78805.13 keys per second speed. pretty good speed.



Written By
                 SSB




Share this

Related Posts

Previous
Next Post »

2 comments

Write comments
11 August 2017 at 11:49 delete

changing essid will not work because as i already described above PMK-Database is only a collection of pre-calculated shared key (calculated from provided essid and provided passwords) and that's why every single essid need a separate PMK-Database.


:(

Reply
avatar