Book Image

Kali Linux Wireless Penetration Testing Beginner???s Guide - Third Edition

By : Cameron Buchanan, Daniel W. Dieterle, Vivek Ramachandran
Book Image

Kali Linux Wireless Penetration Testing Beginner???s Guide - Third Edition

By: Cameron Buchanan, Daniel W. Dieterle, Vivek Ramachandran

Overview of this book

As wireless networks become ubiquitous in our lives, wireless penetration testing has become a key skill in the repertoire of the professional penetration tester. This has been highlighted again recently with the discovery of the KRACK attack which enables attackers to potentially break into Wi-Fi networks encrypted with WPA2. The Kali Linux security distribution comes with a myriad of tools used for networking attacks and detecting security loopholes. Kali Linux Wireless Penetration Testing Beginner's Guide, Third Edition has been updated to Kali Linux 2017.3 with the latest methodologies, including full coverage of the KRACK attack and how to defend against it. The book presents wireless pentesting from the ground up, introducing all elements of penetration testing with each new technology. You'll learn various wireless testing methodologies by example, from the basics of wireless routing and encryption through to detailed coverage of hacking methods and attacks such as the Hirte and Caffe Latte.
Table of Contents (21 chapters)
Kali Linux Wireless Penetration Testing Beginner's Guide Third Edition
Credits
Disclaimer
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Time for action – setting up the AP with FreeRADIUS-WPE


Follow these instructions to get started:

  1. Connect one of the LAN ports of the access point to the Ethernet port on your machine running Kali. In our case, the interface is eth0. Bring up the interface and get an IP address by running DHCP, as shown in the following screenshot:

  2. Log in to the access point and set the security mode to WPA/WPA2-Enterprise, set Version to WPA2, Encryption to AES. Then, under the EAP (802.1x) section, enter the Radius Server IP address as your Kali build's IP address. The Radius Password will be test, as shown in the following screenshot:

  3. Let's now open a new terminal and go to the directory /etc/freeradius-wpe/3.0. This is where all the FreeRADIUS-WPE configuration files are.

  4. Let's open /mods-available/eap. You will find that the default_eap_type command is set to md5.

  5. Let's change this to peap:

  6. Let's open clients.conf. This is where we define the allowed list of clients that can connect to our RADIUS server....