Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Kali Linux: Wireless Penetration Testing Beginner's Guide, Second Edition
  • Toc
  • feedback
Kali Linux: Wireless Penetration Testing Beginner's Guide, Second Edition

Kali Linux: Wireless Penetration Testing Beginner's Guide, Second Edition

By : Cameron Buchanan, Vivek Ramachandran
4.5 (44)
close
Kali Linux: Wireless Penetration Testing Beginner's Guide, Second Edition

Kali Linux: Wireless Penetration Testing Beginner's Guide, Second Edition

4.5 (44)
By: Cameron Buchanan, Vivek Ramachandran

Overview of this book

If you are a security professional, pentester, or anyone interested in getting to grips with wireless penetration testing, this is the book for you. Some familiarity with Kali Linux and wireless concepts is beneficial.
Table of Contents (13 chapters)
close
12
Index

Time for action – man-in-the-middle attack


Follow these instructions to get started:

  1. To create the man-in-the-middle 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 mon0
    

    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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete