Skip to content
IMAP
Service

IMAP

Email access protocol syncing messages with server.

:143 :993 4 guides 3 phases
1 min read Created: Dec 28, 2025 Updated: Jul 13, 2026

IMAP (Internet Message Access Protocol) manages email on a mail server, running on TCP port 143 (plaintext) and TCP port 993 (IMAPS with TLS). Nmap identifies them as imap and imaps. Common IMAP servers include Dovecot, Courier, Cyrus, and Microsoft Exchange.

IMAP on port 143 transmits credentials in cleartext unless STARTTLS is enforced. Successful authentication grants full access to a user's mailbox, including all folders. Emails frequently contain credentials, internal documents, VPN configs, password reset links, and other sensitive data that advances an engagement.

Banner grab to identify the server and version. Test with known or guessed credentials, then enumerate folders and download messages. Nmap's imap-capabilities and imap-ntlm-info scripts reveal supported features and, on Exchange, domain and server names.

Enumeration

Enumerate IMAP capabilities, auth methods, and NTLM info

1

Vulnerability Discovery

Guides for testing weak IMAP auth and cleartext credential risks

1

Exploitation

Brute force IMAP logins and harvest mailbox data after access

2