Book Image

Hands-On Penetration Testing with Kali NetHunter

By : Glen D. Singh, Sean-Philip Oriyano
Book Image

Hands-On Penetration Testing with Kali NetHunter

By: Glen D. Singh, Sean-Philip Oriyano

Overview of this book

Kali NetHunter is a version of the popular and powerful Kali Linux pentesting platform, designed to be installed on mobile devices. Hands-On Penetration Testing with Kali NetHunter will teach you the components of NetHunter and how to install the software. You’ll also learn about the different tools included and how to optimize and use a package, obtain desired results, perform tests, and make your environment more secure. Starting with an introduction to Kali NetHunter, you will delve into different phases of the pentesting process. This book will show you how to build your penetration testing environment and set up your lab. You will gain insight into gathering intellectual data, exploiting vulnerable areas, and gaining control over target systems. As you progress through the book, you will explore the NetHunter tools available for exploiting wired and wireless devices. You will work through new ways to deploy existing tools designed to reduce the chances of detection. In the concluding chapters, you will discover tips and best practices for integrating security hardening into your Android ecosystem. By the end of this book, you will have learned to successfully use a mobile penetration testing device based on Kali NetHunter and Android to accomplish the same tasks you would traditionally, but in a smaller and more mobile form factor.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Types of packet-sniffing techniques


Packet sniffing is usually done using the following techniques:

  • Active sniffing
  • Passive sniffing

Active sniffing

Active sniffing involves some sort of action done by a penetration tester, such as redirecting user traffic to another gateway for the purpose of monitoring and capturing the packets on the network. A penetration tester may perform an ARP cache-poisoning attack on a victim’s machine by modifying the IP-MAC entries in the ARP table.

Flooding bogus MAC addressing into a switch will cause a CAM Table overflow, causing the switch to flood all incoming traffic out of all other ports.

Also, installing a Rogue DHCP Sever on the network provides clients with a nonlegitimate default gateway and DNS Server. The victim's traffic will be redirected to potentially malicious websites, and their traffic may be intercepted.

The penetration tester will need to execute a precursor attack to cause a redirection of the victim’s traffic. The following diagram presents...