0xma Cyber Security Articles




August 3, 2021

Nmap SMB OS Discovery

In this tutorial, we will see how to perform a nmap scan that will determine the OS of the target.

The nmap command--script smb-os-discovery runs the "smb-os-discovery" script against the target. We can see that nmap has detected that the target is running Windows 7 Service Pack 1.

Nmap scan to detect OS version.

This shows all the available scripts that is related to the SMB protocol.

Available nmap SMB scripts.

You can follow me on Twitter mujtabareads.