Misc. Techniques

netdiscover

Host Discovery

Netdiscover is a network address discovery tool, primarily designed for detecting devices on wireless networks without a DHCP server. It also functions on hub or switched networks. The tool works by sending ARP requests to resolve MAC addresses to IP addresses and vice versa, and then listens for the ARP replies to identify active hosts.

INSTALLATION

# install dos2unix (mac)
$ ./update-oui-database.sh (optional, to update the MAC addresses list)
# install automake (mac)
$ ./autogen.sh
$ ./configure
$ make
# make install

USAGE
sudo netdiscover -r 192.168.1.0/24

This command performs a network scan on the subnet 192.168.1.0/24 to discover active hosts (devices) by sending ARP requests. It shows a list of IP addresses, MAC addresses, and corresponding vendors for the discovered devices.

Last updated