Difference between revisions of "Network Discovery Tools"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "==nmap== To list hosts belonging to a certain subnet by setting the “-sL” switch nmap -sL 192.168.9.0/24 For network discovery use the “-sn” switch nmap -sn 192.168...")
 
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
Detect hosts, not limited by the LAN subnet or  layer 2 networking.
 +
 
==nmap==
 
==nmap==
 
To list hosts belonging to a certain subnet by setting the “-sL” switch
 
To list hosts belonging to a certain subnet by setting the “-sL” switch
Line 24: Line 26:
 
   -----------------------------------------------------------------------------
 
   -----------------------------------------------------------------------------
 
   192.168.9.1    00:23:d0:1e:01:2f    234  15912  ASUSTek COMPUTER INC.
 
   192.168.9.1    00:23:d0:1e:01:2f    234  15912  ASUSTek COMPUTER INC.
 +
 +
 +
 +
[[Category:Computer_Technology]]
 +
[[Category:Networking]]
 +
[[Category:Software]]

Latest revision as of 20:22, 25 June 2021

Detect hosts, not limited by the LAN subnet or layer 2 networking.

nmap

To list hosts belonging to a certain subnet by setting the “-sL” switch

nmap -sL 192.168.9.0/24

For network discovery use the “-sn” switch

nmap -sn 192.168.9.0/24

ARP is a layer 2 protocol, it cannot discover systems through a router so when on the other side Nmap switches to ICMP requests which are layer 3; ARP within the local network, ICMP though the router.

netdiscover

Netdiscover is my preferred tool for local network discovery: it is pretty fast and offers the possibility to perform both active and passive ARP reconnaissance.

sudo apt-get install netdiscover
sudo netdiscover

sample output:

 Currently scanning: 172.23.153.0/16   |   Screen View: Unique Hosts                                                                                                                                                                         
                                                                                                                                                                                                                                             
 234 Captured ARP Req/Rep packets, from 1 hosts.   Total size: 15912                                                                                                                                                                         
 _____________________________________________________________________________
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      
 -----------------------------------------------------------------------------
 192.168.9.1     00:23:d0:1e:01:2f    234   15912  ASUSTek COMPUTER INC.