POP3 Enumeration
POP3 enumeration extracts server version, supported capabilities, authentication mechanisms, and NTLM metadata. Port 110 is plaintext POP3 unless upgraded with STLS. Port 995 uses implicit TLS. Always compare both ports — authentication mechanisms and CAPA output sometimes differ between them, and 110 without STLS exposes credentials in transit. With valid credentials, mailbox metadata and message content become accessible.
Service Discovery
110/tcp open pop3 Dovecot pop3d 995/tcp open ssl/pop3 Dovecot pop3d
Capability and NTLM Enumeration
| pop3-capabilities: | CAPA | SASL PLAIN LOGIN | STLS | UIDL | TOP | pop3-ntlm-info: | Target_Name: COMPANY | NetBIOS_Domain_Name: COMPANY | DNS_Domain_Name: company.local | DNS_Computer_Name: mail01.company.local |_ Product_Version: 10.0.17763
NTLM info reveals domain name, hostname, and Windows version without credentials — immediately useful for AD targeting and password spraying scope. SASL PLAIN and LOGIN on port 110 without STLS means credentials are sent in plaintext. STLS in the CAPA output means TLS upgrade is available but not enforced.
Banner Grab and CAPA — Port 110
+OK Dovecot ready. +OK CAPA SASL PLAIN LOGIN STLS UIDL TOP RESP-CODES .
TLS Certificate — Port 995
Pull the certificate from port 995 and check SANs for internal hostnames:
subject=CN=mail.company.com DNS:mail.company.com, DNS:pop3.company.com, DNS:autodiscover.company.com
+OK Dovecot ready. +OK CAPA SASL PLAIN LOGIN NTLM UIDL TOP .
Mailbox Enumeration with Valid Credentials
Once credentials are available from brute force or other sources, connect and pull mailbox metadata before reading any messages:
+OK Dovecot ready. +OK +OK 14 messages (42560 octets) +OK 14 messages (42560 octets) 1 3200 2 1800 3 8960 ...
STAT returns the message count and total mailbox size. LIST gives per-message sizes — larger messages often contain attachments. Use UIDL for stable message IDs that persist across sessions.
Read Message Headers Without Full Download
TOP retrieves the headers plus a specified number of body lines. Use this to triage content before pulling full messages:
+OK From: IT Support <[email protected]> To: [email protected] Subject: Your temporary password is ready Date: Mon, 28 Mar 2026 09:00:00 +0000 .
Headers alone often reveal password reset emails, MFA codes, VPN links, and internal system references. Pull full message bodies only when headers indicate high-value content:
Important
DELE marks messages for deletion. Never use it during enumeration. If accidentally used, RSET clears all deletions before QUIT is sent.
Move to weak authentication testing to assess TLS enforcement, and to credential attacks when you need to gain access without existing credentials.
References
-
nmap — pop3-capabilities NSEnmap.org/nsedoc/scripts/pop3-capabilities.html (opens in new tab)
CAPA and SASL mechanism enumeration
-
nmap — pop3-ntlm-info NSEnmap.org/nsedoc/scripts/pop3-ntlm-info.html (opens in new tab)
NTLM metadata extraction from Exchange POP3
Was this helpful?
Your feedback helps improve this page.