Hi, today we are going to learn about "NMAP"
Nmap (Network Mapper) is a security scanner originally written by Gordon Lyon used to discover Host and services on a computer network, thus creating a “map” of the network. To accomplish its goal, Nmap sends specially crafted packets to the target host and then analyzes the responses. The software provides features for probing computer networks such as host discovery, service and operating system detection, and other in-depth system information. These features are extensible by scripts that provide more advanced service detection, vulnerability detection, and other information. Nmap is also capable of adapting to network conditions including latency and network congestion during a scan.
In this tutorial, we are going to explore how to use Nmap to scan a network. To start off, here’s a brief overview of what Nmap is mainly used for. Among other things, Nmap will scan our target network and:
Display a list of connected clients
List open ports and available services
Gather information about client systems
Now let’s get started with stripping the network
Below you will find several different uses and scan parameters of Nmap. First, make sure you are connected to the network that you want to scan. Having done that, you may now proceed with the different scans.
1. Simple Scan
This method is used to scan the entire network and list all of the connected clients.
-
Open a terminal
-
Type “nmap -sS [IP]/24”
2. Client Scan
This method is used to scan a specific client.
-
Open a terminal
-
Type "nmap -sS [IP]"
Replace [IP] with the ip address of the client Example: “nmap -sS 192.168.0.5”
3. OS Scan
This method is used to list a client’s operating system information in the scan results.
-
Open a terminal
- Type “nmap -sS [IP] -O”
4. System Scan
This method is used to list information associated with a client’s system.
-
Open a terminal
- Type “nmap -sS [IP] -A”
5. Service Scan
This method is used to display a list detailed information about services running on a client’s system.
-
Open a terminal
- Type “nmap -sS [IP] -sV”
6. Port Scan
This method is used to check the status of a specific port
-
Open a terminal
- Type “nmap -sS [IP] -p [port]”
7. Port Range Scan
This method is used to check the status of a specific port range.
-
Open a terminal
-
Type “nmap -sS [IP] -p [port range]
Replace [IP] with the ip address of the client Replace [port range] with the port range you want to check Example: “nmap -sS 192.168.0.5 -p 22-80”
As an example, you could scan the entire network for detailed information about clients, systems, services, and ports by using the following command:
“nmap -sS [IP]/24 -O -A -sV”
Join us on Telegram: https://t.me/hax4all
if you have comments and problems to fix let us hear and fix together!