Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kali Linux Intrusion and Exploitation Cookbook

You're reading from   Kali Linux Intrusion and Exploitation Cookbook Powerful recipes to detect vulnerabilities and perform security assessments

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher
ISBN-13 9781783982165
Length 512 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Dhruv Shah Dhruv Shah
Author Profile Icon Dhruv Shah
Dhruv Shah
Ishan Girdhar Ishan Girdhar
Author Profile Icon Ishan Girdhar
Ishan Girdhar
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. Getting Started - Setting Up an Environment FREE CHAPTER 2. Network Information Gathering 3. Network Vulnerability Assessment 4. Network Exploitation 5. Web Application Information Gathering 6. Web Application Vulnerability Assessment 7. Web Application Exploitation 8. System and Password Exploitation 9. Privilege Escalation and Exploitation 10. Wireless Exploitation Pen Testing 101 Basics

Cracking WPA/WPA2 encryption


In this recipe, we are to see how attackers break WPA2 encryption. WPA Wi-Fi protected access is the successor to WEP encryption after it was realized that WEP encryption failed. In WPA2-PSK we force the victim into multiple authentication handshakes with the wireless router and capture all the traffic as the handshakes contain the pre-shared key. Once we gain a substantial amount of handshakes, we try dictionary-based password guessing against the captured packets to see if we can successfully guess the password. In this recipe, we are going to see how WPA/WPA2 can be cracked.

Getting ready

For this we are going to rely exclusively on the aircrack-ng suite; since it is pre-built in Kali we don't need to configure much. One other thing we require is a wireless router with WPA/WPA2 encryption. Let us begin.

How to do it...

  1. First we will switch our wireless device to monitor mode using the following command:
      airmon-ng start wlan0
  1. We can list all available wireless...
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 $19.99/month. Cancel anytime
Banner background image