STARTTLS stripping: why an optional upgrade is not enough

STARTTLS stripping: why an optional upgrade is not enough A sequence diagram generated by Archify. EHLO EHLO 250 SIZE, STARTTLS… 250 SIZE… STARTTLS deleted The offer travels in the clear, so itcan be edited MAIL, RCPT, DATA No TLS offered? Send anyway: that iswhat opportunistic means the message, read on the way 250 OK: nobody noticed EHLO The sender already knows this domainrequires TLS 250 SIZE… STARTTLS deleted QUIT Policy says TLS: keep the message,retry, and report it (TLS-RPT) Opportunistic STARTTLS With MTA-STS or DANE Sending server · mail.example.com · Sequence participant Sending server mail.example.com Someone on the path · ISP, firewall, attacker · Sequence participant Someone on the path ISP, firewall, attacker Receiving server · mx.example.org · Sequence participant Receiving server mx.example.org Legend The message, in the clear Replies Tampered with on the way SMTP commands