Horje
Host Discovery in Nmap Network Scanning

Nmap becomes the primary tool for scanning the network, while other scanner tools still compete with Nmap. Many hosts in the organization are filtered by the firewall which is not detectable in the network.  But this can be possible using host discovery using Nmap. Host discovery in Nmap is the process of gathering information about the host in the respective network. Host discovery is also known as ping scan. Nmap uses options like ping or built-in script to look after ports, services, and running servers on respective IPs using TCP and UDP. This may lead to further enumeration.

The function of Host discovery in Nmap:

  • List Scan: A list scan generally lists the possible host without sending any packets to the targeted host.

nmap -sL www.horje.com

List Scanning

 

  • Ping Sweep: Ping sweep discovers on the basis the host is powered on.

nmap -sP www.horje.com

Ping Sweep scanning

 

  • Disable ARP Ping: Nmap mostly uses ARP ping to discover the other host in the network. To disable ARP Ping, use option –disable-arp-ping.

nmap -sn www.horje.com –disable-arp-ping 

Disabling ARP Ping

 

  • TCP SYN Ping: Nmap checks whether a host is online.

nmap -PS www.horje.com 

TCP SYN Ping

 

  • TCP ACK Ping: Nmap checks whether the host is responding.

nmap -sA www.horje.com

TCP SYN Ping

 

  • ICMP Echo Ping: Nmap sends ICMP packets to the available host.

nmap -PE www.horje.com

ICMP Echo Ping

 

  • UDP Ping: Nmap sends the UDP packets to the targeted port.

nmap  -sU www.horje.com

UDP Ping

 

  • IP Protocol Ping: Nmap tries to send different packets using different protocols.

nmap -v -PO www.horje.com

IP Protocol Ping

 

  • ARP Ping: ARP ping scan is used to discover the host devices in the same network. sometimes it will not visible due to firewall filtering.

nmap -PR www.horje.com

ARP Ping

 

  • Traceroute: Traceroute helps to discover the following hops or pathways to the targeted host.

nmap -sn –traceroute www.horje.com

Traceroute

 




Reffered: https://www.geeksforgeeks.org


Linux Unix

Related
How to Use wpscan tool in Kali Linux How to Use wpscan tool in Kali Linux
Create Custom Wordlists Using Crunch in Kali Linux Create Custom Wordlists Using Crunch in Kali Linux
Shell Scripting to check System Performance Shell Scripting to check System Performance
Shell Scripting - Shopt Command Shell Scripting - Shopt Command
How to Use wpscan in Kali Linux? How to Use wpscan in Kali Linux?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
11