Script imap-ntlm-info

Script types: portrule
Categories: default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/imap-ntlm-info.nse

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.

smtp.domain

See the documentation for the smtp library.

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.

tls.servername

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: somedomain.com
|   DNS_Computer_Name: imap-test2.somedomain.com
|   DNS_Tree_Name: somedomain.com
|_  Product_Version: 6.1.7601

Requires


Author:

  • Justin Cacak

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