Nmap
port scanner · network scanner · Zenmap · Nmap Scripting Engine · NSE
The benchmark open-source network scanner: it discovers the machines on a network and lists their open ports and the services answering on them, version included.
In practice
On an authorised scope, Nmap produces an audit’s starting map: live hosts, probable operating systems, exposed services and versions; its NSE scripts also check for known weak configurations. Attackers start with the same functions, and bots sweep the internet non-stop: a service exposed by mistake is found within hours. Scanning your own addresses regularly, then comparing what is exposed with what should be, remains one of the cheapest security habits there is.
Fictional case: a monthly scan of an SME’s public addresses reveals a remote-desktop access left open after a maintenance job. Closed the same day, it will not be the entry point of the ransomware that, three weeks earlier, had walked through an identical door at a competitor’s.