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

Enumerating DNS


With DNS being a core service on just about any network you will encounter, it makes sense that it would be on your list of potential targets. DNS is a valuable source of information to the pentester because of the information that can be discovered there. Remember, DNS is responsible for resolving hostnames to IP addresses, and vice versa, in what are termed Forward and Reverse Lookups, respectively. The service plays an important part in many of the networks as it eases administration as well as makes it  remember a host by name instead of an IP. The service is also integral to the proper operation of directory services, such as Microsoft's Active Directory product and others. The information regarding hosts and services contained within DNS makes it an attractive target for a pentester. Fortunately, NetHunter provides a handful of tools to work with the service.

Let's look at a very effective and simple tool, DNSenum, to get the process going. DNSenum was created to gather...