By NHI Mgmt Group Editorial TeamPublished 2025-09-30Domain: Governance & RiskSource: DigiCert

TL;DR: STRIPTLS attacks exploit opportunistic SMTP encryption by forcing mail flow to fall back to cleartext when STARTTLS is missing, misconfigured, or not validated properly. DigiCert cites research showing 82% of 700,000 Alexa Top Million SMTP servers encrypt traffic, but only 35% of those configure authentication correctly. That gap keeps email privacy and credential protection fragile.


At a glance

What this is: This is an email security analysis showing how STARTTLS downgrade attacks exploit weak SMTP configuration to expose credentials and messages.

Why it matters: It matters because email transport controls, certificate validation, and identity protections still fail when organisations rely on opportunistic encryption instead of verified end-to-end trust.

By the numbers:

👉 Read DigiCert's analysis of STRIPTLS attacks and SMTP email security


Context

SMTP was designed for message delivery first, not for strong transport authentication. STARTTLS, DKIM, DMARC, and SPF retrofitted security into that model, but the result still depends on correct server configuration and certificate validation. When those checks are weak, an attacker can force the connection back into cleartext and read or alter mail.

For IAM and security teams, the lesson is broader than email. Any identity or transport control that assumes cooperative behaviour, rather than verified trust, can fail under downgrade or manipulation conditions. That is why email security, certificate governance, and identity assurance need to be treated as one control plane, not separate problems.


Key questions

Q: What breaks when SMTP relies on opportunistic encryption?

A: SMTP confidentiality breaks when the transport can be downgraded to cleartext or when certificate validation is weak. In that state, an attacker on the path can read or modify messages without breaking TLS itself. The control failure is not encryption strength but the willingness to continue when secure negotiation does not complete.

Q: Why do email credentials remain exposed even when STARTTLS is enabled?

A: STARTTLS only protects the session if the handshake completes and the server validates the peer correctly. If either side is misconfigured, the connection may still fall back to cleartext. That means credentials exchanged or recovered through the mail path can remain readable to an attacker. The remedy is verified encryption, not assumed encryption.

Q: How can security teams tell whether SMTP encryption is actually working?

A: Teams should test whether mail servers fail closed when TLS negotiation fails, confirm certificate validation across all relays, and inspect whether any path still permits plaintext delivery. The signal of control failure is not whether TLS exists, but whether the organisation can still send mail when secure negotiation is broken.

Q: Who is accountable when email is downgraded and messages are exposed?

A: Accountability sits with the organisation operating the mail path, because transport security depends on its configuration choices and validation practices. If third-party relays are involved, ownership must still be assigned across procurement, security, and messaging teams. Controls like S/MIME, certificate governance, and fail-closed policies need a named owner.


Technical breakdown

How STARTTLS opportunistic encryption fails

STARTTLS adds TLS to SMTP after a session begins, so encryption only happens if both servers support it and the handshake completes correctly. That makes it opportunistic rather than mandatory. If a mail path does not advertise STARTTLS, or if the protocol negotiation is broken, the message can continue in cleartext. The security model also depends on certificate validation, which many SMTP deployments do not enforce consistently. In practice, the protocol protects the channel only when every hop behaves correctly, which is a weak assumption in hostile networks.

Practical implication: treat STARTTLS as a transport control, not as proof of confidentiality.

Why downgrade attacks expose weak SMTP trust assumptions

A STRIPTLS attack works by interfering with the STARTTLS command during negotiation so the server believes encryption is unavailable or failed. The attacker does not need to break TLS itself. They only need to exploit the fact that many SMTP deployments will downgrade rather than fail closed. That behaviour turns a security feature into a fallback path. Once the connection is unencrypted, the attacker can observe content and, in some cases, modify messages in transit. The real problem is not encryption weakness but protocol design that tolerates insecure fallback.

Practical implication: require fail-closed behaviour whenever encryption negotiation cannot be completed.

Why S/MIME changes the security boundary

S/MIME encrypts the message itself before transmission, which means the content remains protected even if the transport layer is intercepted or downgraded. That shifts the security boundary from the SMTP session to the message payload. In identity terms, it is closer to end-to-end assurance because the recipient is the only party able to decrypt the content. Transport security still matters, but it no longer carries the entire confidentiality burden. For organisations handling sensitive mail, that distinction separates channel protection from content protection.

Practical implication: use message-level encryption where confidentiality must survive transport compromise.


Threat narrative

Attacker objective: The attacker wants to recover credentials or sensitive message content by forcing email traffic out of encrypted transport.

  1. Entry occurs when an attacker positions themselves on the SMTP path or influences negotiation so STARTTLS is not successfully established.
  2. Escalation happens when the mail server downgrades the connection to cleartext instead of failing the session, exposing credentials or message contents.
  3. Impact follows when the attacker reads or modifies email traffic, including login credentials and sensitive correspondence.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Opportunistic encryption is a trust assumption, not a control. STARTTLS only protects SMTP when both sides negotiate correctly and certificate validation works as intended. That means the security outcome depends on cooperative behaviour from every server in the path, which is exactly what attackers exploit in downgrade attacks. Practitioners should read this as a boundary problem, not a protocol problem.

Credential exposure in email transport is still an identity failure. When attackers steal login details from downgraded mail sessions, the issue is not only message confidentiality. They gain access to the broader identity surface attached to those credentials, including webmail, directory services, and downstream accounts. The practical conclusion is that email transport security and account security cannot be governed separately.

Certificate validation is the governance control that changes the outcome. The article's key weakness is not that SMTP lacks encryption options, but that many deployments do not verify them reliably. This leaves the organisation dependent on implicit trust in the network path. In modern identity programmes, that is a brittle assumption because the channel itself becomes part of the attack surface.

S/MIME is the right pattern when transport cannot be trusted end to end. Message-level encryption moves confidentiality out of the SMTP session and into the content itself, which is the only durable answer when opportunistic transport can be manipulated. That does not remove the need for SMTP hardening, but it does reduce the consequences of a downgrade event.

From our research:

  • 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, compared to nearly 1 in 4 for securing human identities, according to The State of Non-Human Identity Security.
  • 45% of organisations cite lack of credential rotation as the top cause of NHI-related attacks, followed by 37% citing inadequate monitoring and logging and 37% citing over-privileged accounts.
  • That confidence gap is why mail transport and secret governance should be treated as one identity programme, not as separate technical teams.

What this signals

SMTP downgrade attacks show how quickly transport trust can fail when verification is optional. The broader programme lesson is that identity assurance must tolerate hostile intermediaries, not assume cooperative ones. For teams governing machine identities and email infrastructure, the practical boundary is the same: if trust is not independently verified, it is not durable. See The 52 NHI breaches Report for the wider pattern of credential exposure and abuse.

With 85% of organisations lacking full visibility into third-party vendors connected via OAuth apps, according to The State of Non-Human Identity Security, the real governance challenge is still incomplete trust mapping. Email security and NHI security fail in similar ways when organisations cannot see which entities are allowed to speak on their behalf.

Channel security does not equal identity security. Organisations that rely on encryption without strict certificate and credential governance are leaving a gap that attackers can exploit through downgrade, impersonation, or relay abuse. That is why Top 10 NHI Issues remains relevant even for legacy mail environments.


For practitioners

  • Enforce fail-closed SMTP negotiation Configure mail paths so STARTTLS failure blocks delivery rather than silently downgrading to cleartext. Review relays, gateways, and edge mail services for any fallback behaviour that still permits unencrypted transfer.
  • Verify certificate validation on every SMTP hop Check that servers validate certificates consistently, not just that TLS is advertised. Focus on outbound relays, partner mail exchange, and any appliance that may accept invalid or mismatched certificates.
  • Separate transport security from content protection Use message-level encryption for sensitive communication so confidentiality survives if the transport path is intercepted or downgraded. Treat S/MIME as a control for content assurance, not a replacement for SMTP hardening.
  • Audit fallback paths in legacy mail infrastructure Map where old SMTP servers, relay chains, or third-party services still permit opportunistic encryption. Remove or isolate systems that cannot support verified encryption and authentication.

Key takeaways

  • STRIPTLS attacks succeed because SMTP often tolerates insecure fallback, not because TLS itself is weak.
  • The reported 82% encryption rate still leaves major risk when only 35% of those servers authenticate correctly.
  • Fail-closed negotiation, certificate validation, and message-level encryption are the controls that reduce exposure.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03Downgrade resilience depends on secure credential and certificate handling.
NIST CSF 2.0PR.DS-2Protect data in transit with authenticated encryption and validated channels.
NIST Zero Trust (SP 800-207)PR.AC-4Authenticated access and trusted paths are weakened by downgradeable transport.

Verify transport and credential controls so SMTP cannot silently fall back to insecure delivery.


Key terms

  • STARTTLS: STARTTLS is a protocol extension that upgrades an existing SMTP session into an encrypted TLS connection. Its security depends on successful negotiation and correct certificate validation, so it protects mail only when the deployment refuses insecure fallback and verifies the peer properly.
  • Opportunistic Encryption: Opportunistic encryption is a model that encrypts traffic only when both endpoints support it and negotiation succeeds. It is weaker than mandatory encryption because the connection can continue without protection when conditions are not met, which creates a clear downgrade path for attackers.
  • S/MIME: S/MIME is a message-level encryption and signing standard for email. It protects the content itself before transmission, so confidentiality survives even if the transport channel is intercepted, downgraded, or relayed through untrusted infrastructure.
  • Certificate Validation: Certificate validation is the process of checking that a peer’s certificate is trusted, current, and matches the intended identity. In email security, weak validation leaves encrypted transport vulnerable to impersonation, downgrade, and silent failure of the trust relationship.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.

This post draws on content published by DigiCert: STRIPTLS Attacks and Email Security. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2025-09-30.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org