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 – evil twin with MAC spoofing


Follow these instructions to get started:

  1. Use airodump-ng to locate the access point's BSSID and ESSID, which we would like to emulate in the evil twin:

  2. Using this information, we create a new access point with the following airbase-ng command: airbase-ng –essid <your chosen ssid> -c <channel> <interface>. Minor errors may occur with newer releases:

  3. This new access point also shows up in the airodump-ng screen. It is important to note that you will need to run airodump-ng in a new window with the following command:

    airodump-ng -c <channel> wlan0mon
    

    Let's see this new access point:

  4. What we will do now is spoof the ESSID and MAC address of the access point using the following command:

    airbase-ng –a <router mac> --essid "Wireless Lab" –c 11 wlan0mon
    
  5. Now if we look at through airodump-ng, it is almost impossible to differentiate between both visually:

  6. Even airodump-ng is unable to discern that there are actually two different...