Book Image

Practical Network Scanning

By : Ajay Singh Chauhan
Book Image

Practical Network Scanning

By: Ajay Singh Chauhan

Overview of this book

Network scanning is the process of assessing a network to identify an active host network; same methods can be used by an attacker or network administrator for security assessment. This procedure plays a vital role in risk assessment programs or while preparing a security plan for your organization. Practical Network Scanning starts with the concept of network scanning and how organizations can benefit from it. Then, going forward, we delve into the different scanning steps, such as service detection, firewall detection, TCP/IP port detection, and OS detection. We also implement these concepts using a few of the most prominent tools on the market, such as Nessus and Nmap. In the concluding chapters, we prepare a complete vulnerability assessment plan for your organization. By the end of this book, you will have hands-on experience in performing network scanning using different tools and in choosing the best tools for your system.
Table of Contents (19 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

OS detection technique with Nmap


Before we talk about remote operating system detection, let's discuss what Nmap is and what it can do. I will also walk you through different flags and nobs that can be used with the Nmap tool in general.

Nmap tool

Network Mapper (Nmap) is a freely available open source tool for systems and network administrators, allowing them to perform tasks such as collecting enterprise network inventory, managing service upgrade schedules, basic security audits, and monitoring hosts or service up-time. Nmap is officially available for major computer operating system platforms such as Linux, Windows and macOS X.

Nmap binaries can be downloaded from https://nmap.org/download.html. After successful installation, you can check the version simply by passing the nmap -V command: 

  • Windows: Output on Windows shows that the program currently installed is Nmap version 7.60:
  • Linux: Output on Linux shows that the program currently installed here is Nmap version 6.40:

Nmap can be run using...