Book Image

KALI LINUX NETWORK SCANNING COOKBOOK

Book Image

KALI LINUX NETWORK SCANNING COOKBOOK

Overview of this book

Table of Contents (16 chapters)
Kali Linux Network Scanning Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Disclaimer
Preface
Index

Chapter 2. Discovery Scanning

Discovery scanning is the process of identifying live hosts on a network. In the context of penetration testing, this is usually performed to identify potential targets for attack. The objective here is not to exhaust resources in gathering information about targets, but instead, to merely find out where the targets are logically located. The final product of our discovery should be a list of IP addresses that we can then use for further analysis. In this chapter, we will discuss how to discover hosts on a network by using protocols operating at layer 2, layer 3, and layer 4 of the OSI model. This chapter will include each of the following recipes:

  • Using Scapy to perform layer 2 discovery

  • Using ARPing to perform layer 2 discovery

  • Using Nmap to perform layer 2 discovery

  • Using NetDiscover to perform layer 2 discovery

  • Using Metasploit to perform layer 2 discovery

  • Using ICMP ping to perform layer 3 discovery

  • Using Scapy to perform layer 3 discovery

  • Using Nmap to perform...