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
Hands-On Penetration Testing with Kali NetHunter

You're reading from   Hands-On Penetration Testing with Kali NetHunter Spy on and protect vulnerable ecosystems using the power of Kali Linux for pentesting on the go

Arrow left icon
Product type Paperback
Published in Feb 2019
Publisher
ISBN-13 9781788995177
Length 302 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Sean-Philip Oriyano Sean-Philip Oriyano
Author Profile Icon Sean-Philip Oriyano
Sean-Philip Oriyano
Glen D. Singh Glen D. Singh
Author Profile Icon Glen D. Singh
Glen D. Singh
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Exploring Kali NetHunter FREE CHAPTER
2. Introduction to Kali NetHunter 3. Understanding the Phases of the Pentesting Process 4. Section 2: Common Pentesting Tasks and Tools
5. Intelligence-Gathering Tools 6. Scanning and Enumeration Tools 7. Penetrating the Target 8. Clearing Tracks and Removing Evidence from a Target 9. Section 3: Advanced Pentesting Tasks and Tools
10. Packet Sniffing and Traffic Analysis 11. Targeting Wireless Devices and Networks 12. Avoiding Detection 13. Hardening Techniques and Countermeasures 14. Building a Lab 15. Selecting a Kali Device and Hardware 16. Other Books You May Enjoy

MAC spoofing

As we have learned, spoofing is simply tricking the target into believing traffic or a request is originating from another device or a trusted source. Both IP and MAC addresses can be spoofed quite easily since the TCP/IP protocol suite was not designed for modern-day security threats.

To prevent MAC address spoofing within a network, network security professionals can implement Dynamic ARP Inspection (DAI) on Cisco IOS Switches.

To generate and assign a random MAC address to an interface, we must do the following:

  1. Logically turn down the interface using the ifconfig wlan0 down command:

  1. Verify the current and permanent MAC addresses on the specified interface using the macchanger –-show wlan0 command:

  1. Use the macchanger --random wlan0 command to generate and assign the MAC to our wlan0 interface:

  1. Re-enable the interface using the ifconfig...
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 $19.99/month. Cancel anytime