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

Chapter 4. Scanning and Enumeration Tools

In this chapter, we will be discussing an overview and the techniques of scanning. If we recall from Chapter 2, Understanding the Phases of Pentesting Process, scanning is the second phase of hacking. What is scanning? It enables a penetration tester to identify devices that are online/live within a network, and identify open and closed services ports, service versions, and vulnerabilities; these are just a few of its benefits. Nmap and hping3 are a couple of well-known scanning tools.

Furthermore, penetration testers usually need to extract information to quickly identify the attack points on a target system. Information can be network shares, routing tables from devices, users and groups, and DNS records. This way of extracting information is known as enumeration. A couple of powerful and simple-to-use tools for enumeration are nbtstat, nbtscan, enum4linux, and nslookup.

In this chapter, we will explore the following topics:

  • Determining whether a...