Server Message Block

Windows supports file-and printer-sharing traffic using the SMB protocol directly hosted on TCP. In earlier OSs, SMB traffic required the NetBIOS over TCP (NBT) protocol to work on TCP/IP transport. Directly hosted SMB traffic uses port 445 (TCP and UDP) instead of NetBIOS.

References

Ports

Initially, it was designed to run on top of NetBIOS over TCP/IP (NBT) using,

Tools

nmap

nmap 10.129.14.128 -sV -sC -p139,445

OS Discovery

nmap --script smb-os-discovery.nse -p445 10.10.10.40

Example

image-1-27.webp

Exploits

Exploit Version
Rapid7 2.2.0 - 2.2.8