Script imap-ntlm-info

Script types: portrule
Categories: default, discovery, safe

Script Summary

This script enumerates information from remote IMAP services with NTLM authentication enabled.

Sending an IMAP NTLM authentication request with null credentials will cause the remote service to respond with a NTLMSSP message disclosing information to include NetBIOS, DNS, and OS build version.

Script Arguments

mssql.domain, mssql.instance-all, mssql.instance-name, mssql.instance-port, mssql.password, mssql.protocol, mssql.scanned-ports-only, mssql.timeout, mssql.username

See the documentation for the mssql library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.


See the documentation for the smtp library.

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.


See the documentation for the tls library.

Example Usage

nmap -p 143,993 --script imap-ntlm-info <target>

Script Output

143/tcp   open     imap
| imap-ntlm-info:
|   Target_Name: ACTIVEIMAP
|   NetBIOS_Domain_Name: ACTIVEIMAP
|   NetBIOS_Computer_Name: IMAP-TEST2
|   DNS_Domain_Name:
|   DNS_Computer_Name:
|   DNS_Tree_Name:
|_  Product_Version: 6.1.7601



  • Justin Cacak

License: Same as Nmap--See