BOOK THIS SPACE FOR AD
ARTICLE ADNetwork security is a crucial aspect of maintaining the integrity and safety of any IT infrastructure. One of the most versatile tools for network scanning and security auditing is Nmap (Network Mapper). In this guide, we’ll explore the basics of Nmap, its key features, and how you can use it to enhance your network security.
Nmap is an open-source network scanning tool that is used to discover hosts and services on a computer network by sending packets and analyzing the responses. It is widely used by network administrators for network inventory, managing service upgrade schedules, and monitoring host or service uptime.
Before diving into its usage, you need to install Nmap. Here’s how you can do it on various operating systems:
*On Windows:
Download the installer from the official Nmap website.Run the installer and follow the on-screen instructions.
*On macOS:
brew install nmap
*On Linux:
For Debian-based systems:
sudo apt-get install nmap
For Red Hat-based systems:
sudo yum install nmap
1.Scanning a Single Host:
nmap <IP address>
2.Scanning a Range of IP Addresses:
nmap <IP range>
Example:nmap 192.168.1.1-254
3.Scanning a Subnet:
nmap <IP address>/<CIDR notation>
Example:nmap 192.168.1.0/24
4.Scanning Multiple Hosts:
nmap <IP address1> <IP address2> <IP address3>
5.Scanning a Specific Port:
nmap -p <port> <IP address>
Example:nmap -p 80 192.168.1.1
6.Scanning Multiple Ports:
nmap -p <port1,port2,port3> <IP address>
Example:nmap -p 22,80,443 192.168.1.1
1.Service Version Detection:
nmap -sV <IP address>
This option attempts to determine the version of the services running on open ports
2.Operating System Detection:
nmap -O <IP address>
This command tries to determine the operating system of the target host.
3.Aggressive Scan:
nmap -A <IP address>
This combines OS detection, version detection, script scanning, and traceroute.
4.Scan with Default Scripts:
nmap -sC <IP address>
This option runs a set of default scripts against the target.
5.Save Scan Results to a File:
nmap -oN <output file> <IP address>
Example:nmap -oN scan_results.txt 192.168.1.1
#CyberSecurity
#NetworkSecurity
#Nmap
#EthicalHacking
#PenTesting
#InfoSec
#TechTips
#SecurityTools
#ITSecurity
#TechGuide
#CyberAware
#NetworkScanning
#SecurityAudit
#TechTutorial
#HackingTools