How to tell what OS is on a machine or what a machine is from its IP
You scan your network but now what? You don’t know what the devices are on the network and you just have some IP Addresses now. You need to figure out what they are. Your monitoring system or scanner can tell you what it is or might be. It can tell you what it thinks it is but if it doesn’t here is what you can do, make sure you are a domain admin when you run these commands when doing these commands for windows.
systeminfo /s IP ADDRESS
Another windows tool
WMIC /NODE:hostname OS
This will tell you what it is, what os etc.
Then if you have a Linux system
nmap -O -v IP ADDRESS
Then you can do several other things.
- Go to the device IP address with a browser, if it is a printer or firewall it will bring up a login screen, remember to try and use HTTPS:// if HTTP:// doesn’t work.
- SSH into the box
- Telnet into the box, that is old school but it can be helpful on old printers
- Drastic Measures – go to the port on the switch if you have a smart switch, or go to where the machine is plugged into a smart switch and then look at its mac address, manufacturers keep separate macs and you might be able to tell what manufacturer it is based on its mac prefix. This might not tell you the OS but it can reveal what it is.
- Try and RDP into it or remote control it with a remote control app
If you are on a completely windows network, you can also use Ping -a IP Address. Once you have the machine name you can look it up in Active Directory and it should tell you what it is in there.
Use these techniques to figure out what machines are using the IP addresses on the network.
Single Point of Contact was founded in 1999 and is a Managed Security Service Provider in the San Francisco Bay Area. We tailor our IT security services to take into consideration the every day challenges businesses face. Cybersecurity issues often stem from within an organization, so we take proactive measures to ensure everyone from top to bottom understands the ramifications of a cyberattack. Don’t hesitate to contact us to see how we can help better protect your company.