Best Tool To Scan For Mac Addresses On Subnet

  1. Best Tool To Scan For Mac Addresses On Subnet Calculator
  2. Best Tool To Scan For Mac Addresses On Subnets
  3. How To Scan For Mac Virus
  4. Best Tool To Scan For Mac Addresses On Subnet 10.0.0.0
  1. Determine IP Address From a MAC Address. Method 3 – Free Tools. Lastly, you can use a free program to get a IP address from a MAC address. Before you can use it, however, you need to scan all the IP addresses in your subnet in order for it to work. The program itself has a auto scan feature that takes in a IP range.
  2. Network Scanner is a portable Windows-based multi-threaded IP, port, NetBIOS and SNMP scanner from MiTec, which also provides network, forensic, database, and other misc tools and applications. You can enter a single IP range to scan, auto detect range, or select to scan via Network Neighborhood or Active Directory.
Active3 months ago

MyLanViewer Network/IP Scanner. MyLanViewer Network/IP Scanner is a powerful Netbios and LAN/Network IP address scanner for Windows, whois and traceroute tool, remote shutdown and Wake On LAN (WOL) manager, wireless network scanner and monitor. This application will help you find all IP addresses, MAC addresses and shared folders of computers on your wired or wireless (Wi-Fi) network.

I am trying to find the live hosts on my network using nmap. I am scanning the network in Ubuntu using the command sudo nmap -sP 192.168.2.1/24. However, I am unable to find the live hosts. I just get the network address of my own PC as live. When I see the DHCP client list through my browser (my router can be accessed via browser using my network IP), I get around 10 live hosts on the network. Can anyone tell me the reason why this could be happening and how do I find the live hosts on my network?

TheRookierLearnerTheRookierLearner
1,9574 gold badges18 silver badges26 bronze badges

8 Answers

This is the simplest way of performing host discovery with nmap.

Why does it not work all the time ?

When this command runs nmap tries to ping the given IP address range to check if the hosts are alive. If ping fails it tries to send syn packets to port 80 (SYN scan). This is not hundred percent reliable because modern host based firewalls block ping and port 80. Windows firewall blocks ping by default. The hosts you have on the network are blocking ping and the port 80 is not accepting connections. Hence nmap assumes that the host is not up.

So is there a workaround to this problem?

Best Tool To Scan For Mac Addresses On Subnet

Yes. One of the options that you have is using the -P0 flag which skips the host discovery process and tries to perform a port scan on all the IP addresses (In this case even vacant IP addresses will be scanned). Obviously this will take a large amount of time to complete the scan even if you are in a small (20-50 hosts) network. but it will give you the results.

The better option would be to specify custom ports for scanning. Nmap allows you to probe specific ports with SYN/UDP packets. It is generally recommended to probe commonly used ports e.g. TCP-22 (ssh) or TCP-3389 (windows remote desktop) or UDP-161 (SNMP).

N.B. even after specifying custom ports for scanning you may not get an active host. A lot depends on how the host is configured and which services it is using. So you just have keep probing with different combinations.Remember, do not performs scans on a network without proper authorization.

update: When scanning a network you can never be sure that a particular command will give you all the desired results. The approach should be to start with basic ping sweep and if it doesn't work try guessing the applications that may be running on the hosts and probe the corresponding ports. The idea of using Wireshark is also interesting. You may want to try sending ACK packets.

update two: The flags -sP and -P0 are now known as -sn and -Pn respectively. However the older flags are still found to be working in the newer versions.

Ohnana
4,6952 gold badges20 silver badges39 bronze badges
ShurmajeeShurmajee
5,8214 gold badges21 silver badges56 bronze badges

The easiest way to check this is to verify the ARP-tables after doing the ping sweep using nmap:

This lists all hosts which responded to an ARP query, even the ones which filter ICMP.

Teun Vink

Best Tool To Scan For Mac Addresses On Subnet Calculator

Teun Vink
5,8842 gold badges23 silver badges30 bronze badges

You might want to check out Wireshark. It logs all of the traffic on the local network. It will tell you which nodes are broadcasting. You can also see what is being transmitted. It's available in the Ubuntu Software Center.

Additionally here's a link about installing Wireshark on Ubuntu via command line.

In regard to the traffic that shows in your DHCP routing tables remember that a lot of Virtual Machines will show up as separate machines in the list. Anything that's connected to your network usually within the default 24 hour lease time (for most WiFi Routers) will still show in the list. You might want to check for the duration of the leases in the router. It might tell you if someone's on your network overnight. On some devices that have dual NICs or a NIC and a Wireless Card they'll show up twice if both interfaces are enabled.

Other things that a lot of people forget about being on the network:

  • Managed Switches
  • Some printers
  • Server remote management cards
  • Cell Phones
  • Tivo and other DVRs
  • Apple TVs
  • Some Televisions
  • DVD players
  • Network A/V Receivers
  • Playstations, XBox, Etc.
  • Portable Gaming devices
  • Ipads and other tablets
  • Ipods and music players
  • PDAs
  • IP Phones like Magic Jack Plus

About 6 years ago at the office I was working in our little 3mb connection was down to 128k because of all of the excess traffic. The owners wanted to know if it was possible to see what was going on. The old part time IT guy shrugged his shoulders because not all of the traffic was going through their Windows 2000 server. He checked the routing tables and traffic logs in the server and saw nothing. They weren't using a router strangely enough, so anything on the network could get an address from the modem. The routing tables he looked at in the server were only for static mappings that existed a couple of years prior. I noticed they weren't on the same subnet. Then I showed them DHCP wasn't on in the server.

I found all of the traffic coming in after hours on an overnight sweep with Wireshark. One of my coworkers was unknowingly hosting a Japanese sex site on his machine. The attackers had rooted his machine after he installed a backdoor which came along with a cracked version of a high-end video editing software. We also found out they were running Tor, demonoid, and bitTorrent on various machines in different departments at different times. Wireshark found everything. Next day internet was up to full speed... we also installed a router.

If you're not up for Wireshark you might also want to try tcpdump.

AbsoluteƵERØAbsoluteƵERØ

This bash script will output the IP addresses of all the live hosts on a network.

Ricky WilsonRicky Wilson

Sometimes arp -a -n wont fetch the ip address.Performing nmap -sP 192.168.1.1/24 will retrieve live hosts and after that if you try arp again, it will show the live hosts. Thats how it worked for me in linux mint. But you can rely on nmap anyday.

PraveenMaxPraveenMax

Once you have administrator privileges (i.e., root), you can use netdiscover(8) with -r flag to specify different class and mask. It uses network class C /24 by default.

For example:

$ sudo netdiscover -r 172.16.17.0/24

The output will be something like:

slayerslayer

If you also need host fingerprinting and don't mind using a free but closed source tool then fing is another option:

Compared to nmap 192.168.1.1/24 -n -sP it is significantly faster and will also try to detect device manufacturers from the MAC addresses.

Best Tool To Scan For Mac Addresses On Subnets

Disclaimer: I have no affiliation with the tool or the company making it, and I have no clue what other things (evil or not) the tool might be doing under the hood. I've used their mobile apps for finding IP's on my LAN and found it useful.

ccpizzaccpizza

Example for finding host on a network:

etherape (GUI) show graphs of network activity.

Some other tools where mentioned above here too.

How To Scan For Mac Virus

rocketrocket

Best Tool To Scan For Mac Addresses On Subnet 10.0.0.0

Not the answer you're looking for? Browse other questions tagged nmaphost-discovery or ask your own question.