Email

The email attack surface: the transport and access protocols (SMTP, IMAP, POP3), the SPF, DKIM, and DMARC sender-authentication records that decide whether a spoof is delivered, and the webmail applications that expose a mailbox over HTTP.

1 phút đọccập nhật 7 thg 10, 2026florianamette1 người đóng góp
Hỏi trợ lý của bạn (MCP)Sửa trên GitHub

Email breaks into three attack surfaces that are reached very differently. The wire protocols (SMTP for transport, IMAP and POP3 for access) are attacked at the service: enumeration, relay, authentication, and server software flaws. Sender authentication (SPF, DKIM, DMARC) is attacked at DNS and at the receiver: weak or missing records let an attacker send mail that spoofs the domain and still passes. Webmail is attacked as a web application: the HTTP front end over the mailbox, where XSS, SSRF, and file-write bugs turn into mailbox takeover and code execution.

Triage#

bash
nmap -sV -p25,110,143,465,587,993,995 <target>     # which mail protocols are live
dig +short TXT <domain> | grep -i spf              # SPF present and how strict
dig +short TXT _dmarc.<domain>                     # DMARC policy: none / quarantine / reject
curl -skI https://<target>/ | grep -i -E 'roundcube|horde|zimbra'   # webmail fingerprint

A live SMTP/IMAP/POP3 service routes to Protocols; a permissive or absent SPF/DMARC record routes to Sender authentication; a webmail login page routes to Webmail.

Subtopics#

  • Protocols: SMTP, IMAP, and POP3, attacked at the service for enumeration, relay, authentication, and server exploitation.
  • Sender authentication: SPF, DKIM, and DMARC record gaps, and the spoofing that abuses them.
  • Webmail: Roundcube, Horde, and Zimbra, attacked as web applications in front of the mail store.

References#