25, 465, 587 - SMTP
Banner Grabbing
Telnet
telnet 10.0.0.3 25Netcat
nc -n 10.0.0.3 25Openssl (SMTPS)
openssl s_client -starttls smtp -crlf -connect 10.0.0.3:587Enumeration
smtp-commands NSE Script
nmap -p 25,465,587 --script smtp-commands 10.0.0.3smtp-enum-users NSE Script
NTLM Information Disclosure
On Windows, with NTLM authentication enabled, sending a SMTP 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.
Manually
smtp-ntlm-info NSE Script
Commands
Note: Sessions must start with HELO and end with QUIT.
Configuration files
Other
The following Python script opens a TCP socket, connects to the SMTP server, and issues a VRFY command for a given username:
Last updated
Was this helpful?