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 a rogue access point


Follow these instructions to get started:

  1. Let's first bring up our rogue access point using airbase-ng and give it the ESSID Rogue:

  2. We now want to create a bridge between the Ethernet interface, which is part of the authorized network, and our rogue access point interface. To do this, we will first install bridge-utils files, create a bridge interface, and name it Wifi-Bridge:

    apt-get install bridge-utils
    brctl addbr Wifi-Bridge
    

    The following screenshot shows the required commands in action:

  3. We will then add both the Ethernet and the at0 virtual interface created by airbase-ng to this bridge:

    brctl addif Wifi-Bridge eth0
    brctl addif Wifi-Bridge at0
    

    The screenshot of the command is as follows:

  4. We will then bring up this interfaces to enable the bridge with the following commands:

    ifconfig eth0 0.0.0.0 up
    ifconfig at0 0.0.0.0 up
    

    The screenshot of the command is as follows:

  5. We will then enable IP forwarding in the kernel to ensure that packets are...