Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Kali Linux Wireless Pentesting

You're reading from  Mastering Kali Linux Wireless Pentesting

Product type Book
Published in Feb 2016
Publisher
ISBN-13 9781785285561
Pages 310 pages
Edition 1st Edition
Languages
Authors (2):
Brian Sak Brian Sak
Profile icon Brian Sak
Jilumudi Raghu Ram Jilumudi Raghu Ram
Profile icon Jilumudi Raghu Ram
View More author details

Table of Contents (16) Chapters

Mastering Kali Linux Wireless Pentesting
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Wireless Penetration Testing Fundamentals 2. Wireless Network Scanning 3. Exploiting Wireless Devices 4. Wireless Cracking 5. Man-in-the-Middle Attacks 6. Man-in-the-Middle Attacks Using Evil Twin Access Points 7. Advanced Wireless Sniffing 8. Denial of Service Attacks 9. Wireless Pentesting from Non-Traditional Platforms Index

Configuring Ettercap for DNS spoofing


To use Ettercap in order to carry out DNS spoofing, we need to give Ettercap some additional privileges. Follow these steps:

  1. Use a text editor and edit the /etc/ettercap/etter.conf file.

    #nano /etc/ettercap/etter.conf
    
  2. Change the gid and uid that Ettercap uses to 0. This will allow the process to run as root and manipulating interface or operating settings to accomplish our goals will not be an issue.

  3. Edit the configuration for dns_spoof plugin for Ettercap. Again, use a text editor and edit the file at /etc/ettercap/etter.dns.

  4. In the redirection section of the file titled microsoft sucks ;), you will be adding in the domain names you would like to redirect to your local server. In this example, we will be adding the gateway.local DNS name. You can also add other hostnames, domain names, or wildcard domain names such as the given *.microsoft.com example. When the user attempts to access anything at the domain name microsoft.com, they will be redirected to...

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 $15.99/month. Cancel anytime}