Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BackTrack 5 Wireless Penetration Testing Beginner's Guide

You're reading from  BackTrack 5 Wireless Penetration Testing Beginner's Guide

Product type Book
Published in Sep 2011
Publisher Packt
ISBN-13 9781849515580
Pages 220 pages
Edition 1st Edition
Languages
Author (1):
Vivek Ramachandran Vivek Ramachandran
Profile icon Vivek Ramachandran

Table of Contents (18) Chapters

BackTrack 5 Wireless Penetration Testing
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Wireless Lab Setup 2. WLAN and Its Inherent Insecurities 3. Bypassing WLAN Authentication 4. WLAN Encryption Flaws 5. Attacks on the WLANInfrastructure 6. Attacking the Client 7. Advanced WLAN Attacks 8. Attacking WPA-Enterprise and RADIUS 9. WLAN Penetration Testing Methodology Conclusion and Road Ahead Pop Quiz Answers Index

Time for action – speeding up the cracking process


  1. We can pre-calculate the PMK for a given SSID and wordlist using the genpmk tool with the command genpmk –f /pentest/passwords/wordlists/darkc0de.lst –d PMK-Wireless-Lab –s "Wireless Lab" as shown in the following screenshot. This creates the file PMK-Wireless-Lab that contains the pre-generated PMK:

  2. We now create a WPA-PSK network with the passphrase sky sign (present in the dictionary we used) and capture a WPA-handshake for that network. We now use Cowpatty to crack the WPA passphrase as shown in the following screenshot:

  3. It takes approximately 7.18 seconds for Cowpatty to crack the key, using the pre-calculated PMKs as shown in the screenshot:

  4. We now use aircrack-ng with the same dictionary file and the cracking process takes over 22 minutes. This shows how much we are gaining because of the pre-calculation:

  5. In order to use these PMKs with aircrack-ng, we need to use a tool called airolib-ng. We will give it the options airolib-ng PMK-Aircrack...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}