Script smb2-capabilities

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

Script Summary

Attempts to list the supported capabilities in a SMBv2 server for each enabled dialect.

The script sends a SMB2_COM_NEGOTIATE command and parses the response using the SMB dialects:

  • 2.0.2
  • 2.1
  • 3.0
  • 3.0.2
  • 3.1.1

References:

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 -p 445 --script smb2-capabilities <target>
  • nmap -p 139 --script smb2-capabilities <target>
    

Script Output

| smb2-capabilities:
|   2.0.2:
|     Distributed File System
|   2.1:
|     Distributed File System
|     Leasing
|     Multi-credit operations

Requires


Author:

  • Paulino Calderon

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