Search icon CANCEL
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 Wireless Penetration Testing Beginner???s Guide

You're reading from   Kali Linux Wireless Penetration Testing Beginner???s Guide Master wireless testing techniques to survey and attack wireless networks with Kali Linux, including the KRACK attack

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher
ISBN-13 9781788831925
Length 210 pages
Edition 3rd Edition
Arrow right icon
Authors (3):
Arrow left icon
Vivek Ramachandran Vivek Ramachandran
Author Profile Icon Vivek Ramachandran
Vivek Ramachandran
Cameron Buchanan Cameron Buchanan
Author Profile Icon Cameron Buchanan
Cameron Buchanan
Daniel W. Dieterle Daniel W. Dieterle
Author Profile Icon Daniel W. Dieterle
Daniel W. Dieterle
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Wireless Lab Setup FREE CHAPTER 2. WLAN and Its Inherent Insecurities 3. Bypassing WLAN Authentication 4. WLAN Encryption Flaws 5. Attacks on the WLAN Infrastructure 6. Attacking the Client 7. Advanced WLAN Attacks 8. KRACK Attacks 9. Attacking WPA-Enterprise and RADIUS 10. WLAN Penetration Testing Methodology 11. WPS and Probes A. Pop Quiz Answers Index

Time for action – Man-in-the-Middle attack


Follow these instructions to get started:

  1. To create the MITM attack setup, we will first create a soft access point called mitm on the hacker laptop using airbase-ng. We run the following command:

    airbase-ng --essid mitm -c 11 wlan0mon
    

    The output of the command is as follows:

  2. It is important to note that airbase-ng, when run, creates an interface at0 (a tap interface). Think of this as the wired-side interface of our software-based access point mitm:

  3. Let's now create a bridge on the hacker's laptop, consisting of the wired (eth0) and wireless interface (at0). The succession of commands used for this is as follows:

    • brctl addbr mitm-bridge

    • brctl addif mitm-bridge eth0

    • brctl addif mitm-bridge at0

    • ifconfig eth0 0.0.0.0 up

    • ifconfig at0 0.0.0.0 up

  4. We can assign an IP address to this bridge and check the connectivity with the gateway. Please note that we can do this using DHCP as well. We can assign an IP address to the bridge interface with the following...

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 €18.99/month. Cancel anytime