Subscribe to the Non-Human & AI Identity Journal
Home FAQ Threats, Abuse & Incident Response Why do man-in-the-middle attacks still succeed when HTTPS…
Threats, Abuse & Incident Response

Why do man-in-the-middle attacks still succeed when HTTPS is enabled?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated June 1, 2026 Domain: Threats, Abuse & Incident Response

HTTPS only protects the channel when the client trusts the correct endpoint and the certificate chain is valid. MITM attacks still succeed when attackers exploit downgrade paths, spoofed domains, compromised endpoints, or weak validation. The control lesson is that encryption is necessary, but trust verification and endpoint integrity determine whether the session is actually safe.

Why This Matters for Security Teams

HTTPS solves only part of the problem. It can encrypt traffic end to end and still fail to stop a man-in-the-middle attack if the attacker can get the client to trust the wrong endpoint, exploit a downgrade, or land on a compromised device. That is why certificate validation, DNS integrity, endpoint hardening, and user workflow design all matter. NHI Management Group’s 52 NHI Breaches Analysis shows how identity weaknesses often outlast the initial incident, which is a reminder that transport encryption does not repair weak trust decisions.

For defenders, the practical risk is that HTTPS can create false confidence. A session may look secure while the browser, API client, or workload is already convinced to speak to a malicious peer. That is especially dangerous in environments with service-to-service calls, unmanaged endpoints, or users trained to click through warnings. Guidance from CISA cyber threat advisories repeatedly emphasises layered validation because encryption alone does not prevent credential theft or session abuse. In practice, many security teams encounter MITM only after certificate trust has already been bypassed or endpoint compromise has already occurred.

How It Works in Practice

A successful MITM usually depends on breaking the trust chain, not the cipher. Attackers may install a rogue root certificate, spoof a domain through phishing or typosquatting, intercept traffic on a hostile network, or compromise the endpoint so the client itself accepts hostile instructions. If TLS validation is weak, a client may ignore hostname mismatches, accept invalid chains, or silently follow downgrade paths. That is why MITRE ATLAS adversarial AI threat matrix is relevant even outside pure AI environments: adversaries exploit control-plane assumptions, not just payload content.

Operationally, the most effective defences combine several checks:

  • Validate the certificate chain, hostname, and expiry on every connection.
  • Block TLS downgrade attempts and disable obsolete protocols and ciphers.
  • Use DNS protections and certificate transparency monitoring to spot spoofing.
  • Harden endpoints so local malware cannot rewrite trust stores or proxy settings.
  • For service traffic, use mTLS, workload identity, and short-lived secrets rather than static shared credentials.

This is where the NHI angle matters. Static secrets and permissive trust decisions make interception more valuable because the attacker can reuse credentials after the network session ends. The risk pattern described in the Ultimate Guide to NHIs — Why NHI Security Matters Now is that identity compromise often persists long after the first detection window. A related lens appears in Ultimate Guide to NHIs — Key Challenges and Risks, where weak rotation and poor visibility make secrets easier to harvest and replay. These controls tend to break down in legacy environments that terminate TLS at multiple proxies because trust is split across too many intermediaries.

Common Variations and Edge Cases

Tighter certificate and endpoint controls often increase operational overhead, requiring organisations to balance stronger assurance against deployment friction. That tradeoff becomes most visible in enterprise proxy stacks, mobile devices, and third-party integrations where trust stores are inconsistent and certificate pinning can cause outages.

There is also no universal standard for how far client-side pinning should go. Best practice is evolving, because pinning can reduce MITM risk but also make rotation and incident response harder if a key is replaced unexpectedly. In high-assurance internal systems, mutual TLS with workload identity is usually more durable than manual exceptions, but public consumer apps often rely more on browser PKI and revocation mechanisms. The real failure mode appears when teams treat HTTPS as a complete trust model rather than a transport layer control.

For agentic or automated workloads, the problem is sharper because autonomous systems may chain requests, reuse tokens, or follow malicious redirects faster than a human could notice. Current guidance suggests pairing transport security with intent-based authorisation, just-in-time secrets, and strict workload identity so the system can verify what is being requested and by whom. MITM succeeds most often when endpoint integrity is weak, certificate checks are bypassed, or long-lived credentials remain valid after interception.

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-03MITM risk rises when NHI secrets are long-lived and reusable.
NIST CSF 2.0PR.DS-2Protects data in transit through validated encryption and trust checks.
NIST Zero Trust (SP 800-207)SC-23Zero trust requires continuous verification, not blind channel trust.

Authenticate every session dynamically and never assume network location is safe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 1, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org