Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
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

Product type Book
Published in Feb 2019
Publisher
ISBN-13 9781788995177
Pages 302 pages
Edition 1st Edition
Languages
Authors (2):
Glen D. Singh Glen D. Singh
Profile icon Glen D. Singh
Sean-Philip Oriyano Sean-Philip Oriyano
Profile icon Sean-Philip Oriyano
View More author details
Toc

Table of Contents (19) Chapters close

Title Page
Copyright and Credits
About Packt
Contributors
Preface
1. Introduction to Kali NetHunter 2. Understanding the Phases of the Pentesting Process 3. Intelligence-Gathering Tools 4. Scanning and Enumeration Tools 5. Penetrating the Target 6. Clearing Tracks and Removing Evidence from a Target 7. Packet Sniffing and Traffic Analysis 8. Targeting Wireless Devices and Networks 9. Avoiding Detection 10. Hardening Techniques and Countermeasures 11. Building a Lab 12. Selecting a Kali Device and Hardware 1. Other Books You May Enjoy Index

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.

Note

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 wlan0 up command:

Note

Additionally, you can use the macchanger –-help command to view all the options available.

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