Home page logo
/
Zenmap screenshot
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
Example Nmap output

File smb-protocols

Script types: hostrule
Categories: safe, discovery
Download: https://svn.nmap.org/nmap/scripts/smb-protocols.nse

User Summary

Attempts to list the supported protocols and dialects of a SMB server.

The script attempts to initiate a connection using the dialects:

  • NT LM 0.12 (SMBv1)
  • 2.02 (SMBv2)
  • 2.10 (SMBv2)
  • 3.00 (SMBv3)
  • 3.02 (SMBv3)
  • 3.11 (SMBv3)

Additionally if SMBv1 is found enabled, it will mark it as insecure. This script is the successor to the (removed) smbv2-enabled script.

Script Arguments

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

  • nmap -p445 --script smb-protocols <target>
  • nmap -p139 --script smb-protocols <target>
    

Script Output

| smb-protocols:
|   dialects:
|     NT LM 0.12 (SMBv1) [dangerous, but default]
|     2.02
|     2.10
|     3.00
|     3.02
|_    3.11

Requires


Author:

  • Paulino Calderon

License: Same as Nmap--See https://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]