Encrypted Client Hello (ECH) Defense Strategies - How Cisco Secure Firewall Tackles ECH
Language: English | 日本語
Introduction - The Security Visibility Crisis
Imagine staring at a radar screen that appears to be working perfectly—displaying normal patterns, showing no threats, giving you a false sense of security. But unknown to you, sophisticated aircraft are penetrating your airspace completely undetected. The radar is still on, the screen is still glowing, but you are completely blind to the real danger approaching. That's the reality facing network security professionals today as encryption technologies evolve faster than ever. Your firewalls are still running, your security stack is still active, but you're quietly losing critical visibility without even realising it - while threats move freely through your network.
The following figures are estimates reported in the original December 2025 article. They use different source populations and have not been remeasured for this update:
- over 90% of internet traffic is encrypted with nearly half now using QUIC and bypassing traditional TCP inspection
- HTTP/3 adoption is accelerating, running exclusively over QUIC's encrypted UDP transport
- Encrypted DNS over HTTP/2, HTTP/3 and QUIC allows clients to bypass corporate DNS controls entirely
- 59% of browsers support Encrypted Client Hello (ECH), hiding destination information and eliminating the last piece of cleartext visibility in TLS/QUIC handshake
- 57% of browsers already use Post-Quantum Cryptography, future-proofing against quantum computer attacks
The convergence of these technologies - QUIC, HTTP/3, Encrypted Client Hello and Post-Quantum Cryptography -creates a cryptographic protocol stack that significantly decreases the capabilities of the existing security approach strongly based on network protection capabilities.
Without visibility, there is no security. And the new encryption stack is making us blind while our instruments tell us everything is fine.
Your security appliances remain operational, your policies stay in place, but the visibility that powers your security decisions is evaporating.
Among these challenges, Encrypted Client Hello represents perhaps the most significant threat to network visibility in the modern security landscape. Let's dive deep into what ECH is, why it matters, and how organisations can prepare.
Why SNI Matters So Much
Before understanding ECH, let us recap what is at stake. The TLS protocol begins with a handshake message called the Client Hello, which historically has been transmitted in cleartext. This exposes metadata—including the Server Name Indication (SNI) - that on-path middle-boxes can observe and use for various purposes, including policy decisions for security or compliance reasons. The plaintext SNI leaks the target domain of a given connection allowing firewalls to perform their security functions despite the rest of the transmitted data remaining encrypted. The SNI extension appears immediately after the TCP three-way handshake during TLS negotiation, transmitted in cleartext and easily observable by any on-path device.
The SNI itself is unreliable by design since it can be easily spoofed or omitted all together, which is why network security devices don't simply trust it. Instead, they use it as initial intelligence and then validate the information through additional checks (such as comparing it against the server certificate with Server Identity Probe). This verification process is what makes SNI valuable for security: not as an absolute source of truth, but as a starting point for deeper inspection and validation.
Today's network security infrastructure relies heavily on the SNI extension, which drives most of what we've historically called "next generation" firewall security decisions:
- URL Category and Reputation filtering – blocking malicious or inappropriate sites
- Application identification – understanding what applications are allowed through the firewall
- Security Intelligence URL – blocking known malicious domains learned by Talos
- TLS Server Identity Probe – preventing SNI spoofing and improving decryption accuracy
- Selective TLS/QUIC decryption – deciding which connections need deep inspection
- Advanced inspection capabilities – IPS, malware protection, threat intelligence
Without SNI visibility, the critical security functions listed above become severely impaired or completely ineffective. As a result, the security devices remain operational, but an increasing portion of traffic is not subjected to deep inspection since it hides its real destination. Without proper understanding and preparation a network administrator might not even be aware of this fact, missing symptoms of security policy violations or a compromise.
The Impact of Encrypted Client Hello (ECH)
Encrypted Client Hello is the final piece of the puzzle designed to close what privacy advocates consider the "SNI security gap." ECH encrypts the Server Name Indication and other sensitive handshake parameters. By concealing this metadata, ECH helps protect user privacy, prevents targeted blocking of specific websites, and enhances overall internet security. While ECH was designed for legitimate privacy enhancement, it creates significant challenges to an organisation’s current security strategies based on network devices filtering traffic. ECH makes it impossible for network-based security appliances to see which specific website a user is accessing, creating a one to many relationship, where tens of thousands of web applications hide behind a single Content Delivery Network provider SNI.
When dealing with traffic protected with ECH the firewalls lose their ability to:
- Identify the real destination of communications
- Validate SNI claims against server certificates
- Make informed decisions about which traffic requires inspection
- Apply security policies based on destination context
- Perform selective TLS and QUIC decryption for deep inspection
The examples below illustrate ECH-capable browsers and CDN infrastructure. Support depends on client versions and service configuration. The original article discussed draft 25; ECH has since been standardized in RFC 9849.
Cloudflare is the ECH-capable CDN used in examples in this article. The original December 2025 article reported ECH support for 4.2% of the top 10K websites[1], 9.2% of the top 1M websites[2], and 59% of browsers[3]. These are the original reported figures and population labels. The referenced datasets differ, so validate their populations and dates before comparing or reusing the figures. Check current provider documentation for service-plan availability and controls.
When Privacy Becomes Weaponized: Real-World ECH Exploitation
The visibility gap created by ECH presents an ideal opportunity for malicious actors to evade organizational security controls. As with other protocols in the past, every opportunity for stealthy communication is quickly adopted by threat actors seeking to bypass defences. Leveraging these techniques allows attackers to achieve their objectives with less effort and a smaller chance of detection.
A real-world malware threat was detected in early 2024 by researchers at NTT Security Holdings during their analysis of targeted attacks against Japanese organizations[4]. They identified sophisticated malware leveraging ECH for command-and-control (C2) communications.
"We identified a noteworthy piece of malware [...] distinguishing itself by leveraging Encrypted Client Hello (ECH) for its C&C communications [...] significantly harder to detect and block using conventional security products."
— Yuta Sawabe & Rintaro Koike, NTT Security Holdings
ECHidna leverages ECH to hide its network activity from traditional security infrastructure. The C2 traffic appears as legitimate connections to CDN infrastructure, while the real malicious host remains hidden behind the ECH facade. The use of Encrypted Client Hello bypasses security controls that could normally detect and block malware activity: domain blocklisting, URL filtering, or identifying suspicious traffic to selectively decrypt.
This is just a single real-world example, but history shows that stealthy techniques get adopted very quickly by the threat actor community. We can soon expect:
- New malware families incorporating ECH for C2 communication
- Ransomware groups using ECH to hide data exfiltration
- APT campaigns leveraging ECH for long-term persistence
- Commodity malware adopting ECH as a standard evasion technique
The ECHidna discovery demonstrates that ECH threats are not theoretical - they are already here. Organisations that haven't begun addressing ECH visibility gap might be already experiencing undetected malicious traffic.
How Encrypted Client Hello Works Step-by-Step
To truly understand the threat ECH poses and how to defend against it, we need to understand the mechanics of how it actually works. The process is surprisingly elegant, which is precisely what makes it so dangerous.
Before diving into the technical flow, it's worth understanding just how accessible ECH has become. Setting up an ECH-enabled service is as simple as setting up a web server on the Internet and signing up for a free plan at a CDN provider that enables ECH by default - sometimes without the ability to disable it on free tier plans. This means thousands of websites can now hide behind CDN ECH infrastructure without any additional cost or technical expertise. The barrier to entry is effectively zero, which explains why ECH adoption is accelerating so rapidly.
The diagram below illustrates the end-to-end Encrypted Client Hello flow between a client using a supported web browser and the "pig-in-the-middle.pl" test web server hosted behind one of the CDNs, providing ECH infrastructure out-of-the-box in their free plan.
-
DNS configuration publication - when a web server is fronted by and its domain delegated to an ECH-capable CDN, they automatically publish a set of DNS records resolving to CDN's infrastructure.
-
HTTPS record provides ECH configuration - in addition to the regular A and AAAA records, the CDN publishes an HTTPS record containing ECH configuration including:
- the public name of the ECH client-facing servers (e.g. cdn-ech.example.com)
- a public key for Hybrid Public Key Encryption (HPKE)
This ECH configuration tells clients how to reach the server through the ECH front-end without exposing to a middlebox security devices where they're actually going.
-
Client retrieves ECH configuration - when a user wants to visit pig-in-the-middle.pl, their browser:
• sends an encrypted DNS query (using DNS over HTTPS or DNS over HTTP/3) to a public resolver
• receives both the IP addresses and the ECH configuration
• now possesses the public key needed to encrypt the real destination
If your corporate security controls can't see or block this encrypted DNS query, you've already lost the first line of defense. The client now has everything it needs to establish a stealth connection.
Advanced threat actors may bypass DNS monitoring entirely by obtaining ECH configuration through alternative channels - by hardcoding it in the malware binary or retrieving it from seemingly benign public services (blog posts, YouTube descriptions, GitHub repositories etc...). This means that while DNS control is essential and effective against standard browser traffic and less sophisticated threats, it cannot be your only line of defense against determined adversaries.
- Client connects to CDN with dual Client Hello structure - with ECH configuration obtained in the previous step the client browser is now ready to connect to the CDN’s client facing server. This is where ECH gets particularly clever. The client creates two separate Client Hello messages:
- The inner Client Hello (Encrypted) – this contains the real connection information that a security device would want to inspect including the real SNI: pig-in-the-middle.pl. This inner message is encrypted with the public key obtained from DNS, creating what's called an HPKE (Hybrid Public Key Encryption) protected payload.
- The outer Client Hello (Visible) - This is what network observers including firewalls actually see and may use for security policy evaluation. The client connects to an ECH endpoint at the CDN provider exposing only generic TLS parameters and not revealing the real destination. Technically, this payload has the SNI of the public name of the ECH client facing server (cdn-ech.example.com), that could be hosting anything from thousands of different websites. This Outer Client Hello carries the encrypted Inner Client Hello as a TLS extension, opaque to any middle-box device.
- Edge server decrypts Inner Client Hello extension - When this TLS Client Hello reaches the CDN’s edge (the Client Facing server):
- the server decrypts the Inner Client Hello using its private key (corresponding to the public key distributed via DNS) and learns the real destination: pig-in-the-middle.pl
- The server forwards the decrypted Inner Client Hello to the backend server
In the split-mode topology illustrated here, the client-facing server decrypts the Inner Client Hello and relays the connection to the backend server. The backend server terminates TLS with the client; the client-facing server remains in the forwarding path without decrypting the application traffic.
- Finalising the TLS handshake - The backend server completes the TLS handshake using the clear-text Inner Client Hello with the real SNI (pig-in-the-middle.pl).
- Secure and stealthy connection established - the client browser connects securely and stealthily to the target server without revealing its real destination to anyone in the Internet, including your security infrastructure.
Encrypted Client Hello Detection Challenge
A key ECH detection challenge is that the extension alone does not reliably distinguish genuine ECH from GREASE cover traffic. This anti-discrimination design limits selective blocking based solely on ECH use. Under RFC 9849 Section 6.2.1, a client without an ECH configuration for the server SHOULD send a GREASE ECH extension in its first Client Hello. This is a conditional recommendation, not a universal requirement for every browser connection. A client may therefore send a dummy extension even when:
- the target server does not support ECH
- the TLS connection is not really using ECH
- the client has no ECH configuration for the target server
Blocking every connection carrying an ECH extension can disrupt HTTPS traffic using GREASE even when genuine ECH is not negotiated. The extension's presence alone is therefore not a reliable basis for blocking only genuine ECH connections.
Below are two TLS Client Hello packets captured in Wireshark. One contains a genuine ECH extension with encrypted destination information. The other contains a dummy "GREASE" ECH extension that's just a placeholder. Both look identical to a firewall and there is no practical way to distinguish one for another. The structure of the fake extension faithfully reproduces the ECH payload with a dummy Cipher Suite, Config ID, and randomised pseudo-encrypted payload.
In theory you could search all DNS HTTPS records on the Internet and check if any of those entries has the ECH configuration matching this specific connection. Due to scale and dynamic nature of the DNS data such an approach is extremely hard to implement in real-time.
The protocol specification ensures the response from the server maintains uncertainty about whether Encrypted Client Hello negotiation succeeded. Below are two Server Hello responses to the Client Hello packets previously discussed: one where ECH was accepted, and one where it wasn't. They look exactly the same to a firewall or any other network middlebox device. These messages contain the standard TLS extensions provided by the server at this stage with no direct indication of ECH acceptance.
The client checks ECH acceptance by comparing the last 8 bytes of Server Hello's random value with a confirmation value it computes from the Inner Client Hello random value and the inner-handshake transcript. A middlebox without the inner-handshake information cannot verify this confirmation. This is a confirmation check, rather than decryption of those bytes with HPKE keys. See RFC 9849, Section 7.2.
In the decoded capture above, the confirmation value shows that ECH was accepted. Verification requires the relevant inner-handshake information; an ordinary on-path observer without that information cannot perform the same check.
The Wireshark capture snippet above reveals that ECH was accepted since we collected a TLS key log file in debug mode on the endpoint that initiated this connection. In normal circumstances this information is cryptographically protected and unavailable.
ECH is a nasty protocol from a security perspective but beautiful in its design - elegant cryptography, thoughtful anti-discrimination mechanisms and graceful fallback behaviour. Understanding how it works is crucial for building realistic defence strategies:
- The ECH extension alone does not reliably distinguish genuine ECH from GREASE cover traffic.
- Server responses don't help - ECH acceptance is cryptographically hidden from middleboxes
- Blanket ECH-extension blocking can disrupt HTTPS connections that use GREASE without negotiating genuine ECH.
- The design is intentional - anti-discrimination is a core protocol goal
Understanding ECH's anti-discrimination design and detection challenges is essential context for the practical defence strategies that follow. While you cannot simply block ECH, Cisco Secure Firewall provides multiple capabilities that work together to maintain visibility and security despite these constraints.
Handling Encrypted Client Hello on Cisco Secure Firewall
How to recognize an ECH connection on the Firewall
Understanding what ECH looks like in your security logs is the first step to addressing the challenge. Let's examine how ECH connections appear in Cisco Secure Firewall and what patterns security teams should watch for.
In the example below, connectivity to the real destination "pig-in-the-middle.pl" server is explicitly denied in the firewall policy, nevertheless due to ECH the connection succeeds and by-passes the security rules.
When a user connects to an ECH-protected website, you'll typically see a distinctive two-step pattern in your Unified Events Viewer:
- Encrypted DNS connection:
- The browser queries an encrypted DNS resolver (e.g. mozilla.cloudflare-dns.com) to retrieve the ECH configuration including the client facing server's public key.
- The firewall recognizes encrypted DNS traffic to a public resolver, but does not see what domain was queried (pig-in-the-middle.pl) or the ECH parameters returned.
- The ECH Connection:
- The browser connects to the CDN's client-facing server (e.g. cloudflare-ech.com) and establishes a TLS connection followed by application traffic exchange with the backend server (pig-in-the-middle.pl).
- Your firewall sees the Outer Client Hello SNI = cloudflare-ech.com but is not aware of the real destination (pig-in-the-middle.pl).
The connection to the prohibited destination is not blockedThe logs above do not reveal the actual website behind the CDN. Rules that require the concealed target domain cannot match it from the outer SNI alone. Rules matching the visible CDN provider, such as the "ECH Servers" AppID example below, can still apply.
Starting with VDB 416 (released October 2025)[6], Cisco introduced the "ECH Servers" Application ID detector. This allows firewalls to identify connections to known ECH-capable CDN providers, giving you visibility into which traffic is likely using ECH obfuscation. This detector matches traffic patterns associated with major CDN providers that offer ECH services, enabling you to:
- Monitor traffic matching the known-provider AppID in your environment.
- Create targeted policies for ECH-capable destinations
- Establish a baseline of traffic to these ECH-capable destinations; this is not a verified count of successful ECH negotiations.
Do not block ECH traffic using firewall rulesBlocking ECH-capable CDN endpoints causes connection failures and extended timeouts with unpredictable behaviour across different browsers:
- Some browsers may display connection errors and refuse to fall back to cleartext SNI, effectively breaking access to the site entirely.
- Other browsers may retry multiple times with extended timeouts (15+ seconds per attempt), resulting in delays of up to 2 minutes before falling back.
This creates an inconsistent, degraded user experience across your organisation. Instead of blocking ECH connections, consider using the selective decryption downgrade approach described below, which achieves a fall back to clear text SNI outcome with much less impact to users.
Preventing ECH Configuration Bootstrap
The most effective defense against ECH is preventing clients from obtaining the ECH configuration in the first place. If the client never receives the ECH public key and parameters, it cannot use ECH - forcing a graceful fallback to cleartext SNI. ECH depends on DNS to distribute the bootstrapping configuration. Specifically, clients retrieve:
- The ECH public key (for encrypting the Inner Client Hello) along with HPKE encryption parameters
- The public name of the client-facing server
Without this information, browsers and applications cannot construct ECH-protected connections. This makes DNS visibility and control absolutely critical.
Cisco Secure Firewall includes application detectors specifically designed to identify and block encrypted DNS traffic.
You can match the following encrypted DNS protocols with application detectors:
- DNS over HTTPS (DoH)
- DNS over TLS (DoT)
- DNS over HTTP/3 (DoH3)
- DNS over QUIC (DoQ)
Important exceptionIf you use Cisco Umbrella, do NOT block the "DNS Crypt" application—this matches Umbrella's secure DNS service and would break your own security infrastructure.
Advanced threat actors can bypass DNS monitoring by hardcoding ECH configurations, retrieving them from alternative channels (blog posts, Youtube video descriptions, PasteBin.com, etc...).
This doesn't make DNS control worthless - it remains highly effective against:
- standard browser-based ECH usage (the vast majority of traffic)
- less sophisticated malware and threats
- opportunistic attackers relying on default browser behaviour
Think of DNS control as your perimeter fence stopping most ECH connections and increasing cost and effort for sophisticated attackers. With ECH volume reduced to minimum with strict DNS controls, you can focus on closely monitoring the remaining ECH connections with an increased likelihood of detecting malicious activity through unusual behaviours.
Intercepting ECH Connections via TLS/QUIC Decryption and ECH Stripping
When ECH connections reach your firewall, either because DNS controls were bypassed or because you're dealing with sophisticated threats, there's a technique on Cisco Secure Firewall available to trigger the ECH specification's "secure disable" mechanism.
In the illustrated TCP/443 example, the firewall intercepts TLS and strips the "encrypted_client_hello" extension. The client proceeds with the outer handshake. Before treating ECH as securely disabled, it must successfully complete that handshake and validate the certificate for ECHConfig.contents.public_name; trusting the replacement CA alone is insufficient. If the authenticated server supplies no retry configuration with a version supported by the client, the client can regard ECH as securely disabled and SHOULD retry on a new transport connection with ECH disabled. It aborts the initial connection with "ech_required" before sending application data. This example does not establish QUIC behavior. See RFC 9849 Sections 6.1.6–6.1.7.
- The first connection is encrypted DNS where the client learns the ECH configuration of the "pig-in-the-middle.pl" server.
- The subsequent entry logs the ECH connection to "cloudflare-ech.com" which the firewall intercepts and attempts to decrypt. Here is what happens under the hood:
- Client sends TLS Client Hello with the encrypted ECH extension protecting real target server identity
- Firewall decryption is configured to intercept and decrypt connections towards known ECH providers with "ECH Servers" AppID.
- Firewall decrypts this connection with key-resign method using InternalCA trusted by the client. This is a crucial step - the client must trust the certificate resigned by the firewall in the inspected handshake to consider ECH "securely disabled".
- As an active TLS intermediary terminating separate client-side and server-side TLS connections, the firewall strips the ECH extension when forwarding the TLS Client Hello to the "cloudflare-ech.com" server.
- Since there is no ECH extension in the handshake request, the ECH front-end server proceeds with the TLS handshake as if it was the actual target of the connection and ECH had not been offered by the client at all.
- The TLS handshake completes successfully and as per ECH specification, the client regards ECH as "securely disabled" by the server. This is because the server did not indicate successful ECH negotiation, nor provide fallback "ech configuration".
- Since the TLS connection could not reach the target server, the client does not send any application data and aborts this connection with "ech_required" alert.
- With ECH securely disabled:
- The client retries with a new non-ECH enabled TLS connection containing cleartext SNI and revealing the actual destination.
- This connection is correctly identified by the firewall and blocked by the policy as intended.
The figure below illustrates a sample configuration of a decryption policy rule that matches and decrypts connections to known ECH providers. Notice the rule is configured with "Decrypt - Resign" action and matches the "ECH Servers" AppID. The InternalCA object "TLS_Decrypt_SubCA" that the firewall uses to spoof target server certificates must be trusted by the endpoints attempting ECH connections.
Cisco Secure Firewall decryption rules can use the "ECH Servers" AppID to select traffic to known ECH-capable CDN providers. This provider match is not proof that every matched connection negotiated genuine ECH. In the illustrated downgrade workflow, the subsequent connection exposes cleartext SNI for access control and inspection. This approach allows you to:
- Restore visibility without full payload inspection overhead.
- Apply URL filtering and reputation checks on revealed destinations.
- Make informed selective decryption decisions on the actual targets.
- Optimize performance impact while maximizing security effectiveness .
This approach provides visibility restoration through ECH downgrade, with the flexibility to inspect only high-risk destinations after they've been revealed.
This technique only works if the client trusts the firewall's replacement certificates. It is not applicable to guest devices where you cannot install your internal CA in the trusted root certificate repository.
Detecting suspicious activity in ECH connections with Encrypted Visibility Engine
Even when ECH hides the destination and decryption is not deployed, Encrypted Visibility Engine (EVE) can add client-process context from TLS and QUIC handshake fingerprints. Its inferred process names and confidence scores support investigation; they do not establish endpoint execution or maliciousness on their own. EVE does not reveal the concealed destination. See the EVE configuration guide.
In the example below we can see an ECH connection established with the "cloudflare-ech.com" SNI and an EVE fingerprint showing "chromium browser". Notice, the Encrypted Visibility Engine does not discover the actual target of the connection. The real server "pig-in-the-middle.pl" remains hidden.
Let's have a closer look at the value provided by the EVE's source process fingerprinting. From a security standpoint, ECH connections originating from users' browsers are primarily a visibility problem. Administrators can't enforce their content filtering policies when destinations are hidden, and the Encrypted Visibility Engine does not solve that problem.
When ECH hides the destination, EVE process fingerprints provide context for investigation. A non-browser fingerprint on traffic to an ECH-capable CDN can warrant further analysis, but it does not by itself establish malware. The figure below shows four connection labels: Firefox, Chrome, "generic dmz process" and "rancher desktop".
In this example, the outer SNI alone shows "cloudflare-ech.com" for the connections. EVE adds browser and non-browser process fingerprints that can help prioritize investigation; unfamiliar process labels require corroborating evidence.
To review candidate connections in Firewall Management Center Unified Events, filter on the "ECH Servers" AppID and exclude common-browser EVE Process Names, such as "!firefox browser" and "!chromium browser". The screenshot below returns four connections labeled "docker" and "gnu wget". Check confidence scores and other evidence before classifying them as malicious.
Rather than manually reviewing connection logs, you can automate the detection of suspicious ECH usage with Cisco Secure Firewall's correlation policies. The sample correlation rule illustrated below triggers as soon as the firewall logs a connection matching the "ECH Servers" AppID that has an EVE fingerprint other than a common Chrome or Firefox browser. You can configure your Management Center to send an email or Syslog alert when the rule matches, or run an automated remediation action. This reduces the manual log review burden with near-real time alerting capabilities.
EVE adds fingerprint-based client-process context to encrypted connections even when the destination remains hidden. Use process and threat confidence scores with other evidence to investigate unusual non-browser traffic, including possible malware C2 channels.
EVE provides fingerprint-based visibility without decrypting the application payload. Review its process and threat confidence scores alongside connection context when deciding whether further investigation is needed.
Cisco Secure Firewall allows you to detect and automate responses to threats that would otherwise remain completely invisible beneath the ECH obfuscation layer by using the Encrypted Visibility Engine, the "ECH Servers" AppID, and the correlation policy.
Three Layer Protection Approach
ECH reduces the information available to traditional security controls that rely on the concealed destination. Blanket blocking can affect genuine ECH and GREASE traffic. To maintain visibility and security, combine controls at the DNS, endpoint and connection-inspection layers, according to the capabilities of the deployed environment:
- Layer 1: DNS Control- prevent clients from learning ECH configuration.
- Layer 2: Endpoint Management- disable ECH and encrypted DNS at the source.
- Layer 3: Selective Decryption + Behavioural Detection - downgrade remaining ECH and detect anomalies.
Each layer addresses ECH at a different stage: before configuration is obtained, at the endpoint level, and during connection establishment. This approach provides a progressive defence that significantly reduces ECH's impact on your security posture.
Layer 1 - DNS Control
The most effective defense against ECH is preventing clients from obtaining the ECH configuration in the first place. DNS is the primary way of distributing the bootstrapping ECH configuration. If there is no configuration shared, the client will naturally fall back to cleartext SNI.
- Configure DNS filtering to prevent ECH bootstrap even when using approved corporate DNS. If your DNS infrastructure supports it, configure your DNS resolver to:
- Strip ECH parameters from HTTPS records entirely.
-
Block HTTPS records for known ECH-enabled domains.
ECH configurations can be delivered through plaintext DNS. Removing ECH configurations from HTTPS records therefore complements encrypted-DNS controls; encrypted DNS also protects the privacy of the initial lookup. See RFC 9849, Section 10.2.
- Use the canary domain where Firefox default-enabled DoH is in scope - configure the corporate DNS resolver to return a negative response for "use-application-dns.net" as described in Mozilla's canary-domain documentation. This signals Firefox to disable default-enabled DoH. It does not apply to users who manually enabled DoH and is not a general control for other browsers, DoT or DoQ.
- Use Cisco Secure Firewall's application detectors to identify and block encrypted DNS protocols at the firewall:
- DNS over HTTPS (DoH)
- DNS over TLS (DoT)
- DNS over HTTP/3 (DoH3)
- DNS over QUIC (DoQ)
- Create firewall rules allowing approved DNS resolvers only - ensure all DNS queries flow through your controlled, filtered infrastructure:
- allow DNS port 53 UDP/TCP to your corporate DNS servers
- block all other DNS traffic to any destination
- prevent clients from reaching public resolvers (e.g. 1.1.1.1, 8.8.8.8 etc...)
Consider DNS control as your perimeter fence, assuming a more determined adversary could hardcode ECH configuration in malware. Alternatively, they could use the ECH recovery mechanism (retrying with retry_configs) to obtain up-to-date ECH configuration directly from the server or retrieving it from alternative channels (e.g. blog posts, social media, GitHub repositories etc...).
Layer 2 - Endpoint Management
If you have control over your endpoints you can disable ECH and encrypted DNS directly in browser settings. This is your second line of defence that works at the client level.
- Deploy browser policy templates - use configuration management tools to deploy browser policies disabling encrypted DNS protocols, the use of real ECH in the handshakes, and respect the OS DNS settings.
- Lock the settings- prevent users from re-enabling encrypted DNS or ECH through browser settings. This ensures policies remain enforced even if the user attempt to bypass them.
- Deploy the above rules wherever possible - to all managed, BYOD, and contractor devices.
This approach further reduces ECH footprint in the network originating from managed endpoints but does not work for guest devices, unmanaged IoT and sophisticated malware ignoring browser policies.
Layer 3 - Selective Decryption + Behavioural Detection
DNS control and endpoint policies can reduce ECH use in managed environments. For remaining connections, evaluate selective TLS/QUIC decryption only for supported and tested combinations, with clients that trust the firewall's replacement CA. The worked downgrade example above demonstrates TCP/443. Use Encrypted Visibility Engine to investigate anomalous behavior on remaining traffic.
- Configure selective decryption for known ECH providers - apply a "Decrypt - Resign" decryption rule matching the "ECH Servers" AppID to trigger a graceful downgrade to cleartext SNI. When decrypting the connection the firewall strips the ECH extension from the initial request, tricking the client to "securely disable" ECH.
TLS handshake interception to strip the ECH extension is a contributor to overall decryption load on the firewall despite no application data being exchanged between the client and the server. The complexity of becoming a man-in-the-middle requires establishing two separate TLS connections and generating key-pairs in real-time as with any other connection decrypted by the firewall.
When applying this technique selectively to "ECH Servers" monitor the load on your firewall and ensure the ECH traffic volume has already been trimmed by DNS filtering and the endpoint management discussed above.
This technique takes advantage of a weak point of ECH applicable only when the user machine trusts firewall spoofed certificate. This will not work in guest networks or if the client doesn't trust your firewall.
- Detect unusual ECH connections with Enable Encrypted Visibility Engine - hunt for suspicious connections to known CDNs originating from non-browser endpoint programs. Focus on ECH connections generated by unknown binaries.
EVE contributes client-process fingerprints and confidence scores to encrypted-traffic investigations. Combine these with other network or endpoint evidence when assessing suspicious activity.
Selective decryption downgrades ECH on managed devices with certificate trust while EVE monitoring allows you to detect anomalous ECH usage on any remaining connections that could not be tricked to switch to clear text SNI.
Your Defence Strategy Summary
The three-layer approach doesn't eliminate ECH, but it transforms an impossible problem into a manageable one. You cannot stop ECH entirely, but you can control its distribution, disable it where possible, downgrade it when necessary, and detect when it's being abused. Together, these three layers provide comprehensive defense against ECH-enabled threats—both today and as adoption accelerates tomorrow.
Disclaimer
The original author reported testing and validation in December 2025. The illustrated downgrade example uses TCP/443; it does not establish independent QUIC validation or coverage of every FTD/FMC release, model, browser build or CDN combination. Confirm release-specific support and test the behavior in your environment before deployment. The following implementation limitations also apply:
- The original December 2025 article discussed ECH draft 25. ECH has since been standardized as RFC 9849. Validate the techniques against the protocol and implementations deployed in your environment.
- Not all techniques described in this article may work universally across all combinations of browsers, browser versions, CDN providers, and infrastructure components. Organisations should thoroughly test these approaches in their specific environment before relying on them for production security controls.
The examples reflect the original author's controlled environment. Their applicability depends on the deployed software, client behavior and certificate trust. Cisco makes no guarantee that the approaches will remain effective indefinitely or work in every deployment scenario.
Security teams should treat these recommendations as starting points for developing comprehensive ECH defence strategies tailored to their specific organisational requirements and risk tolerance.
📚Additional Resources
Cisco Live! Session:
References:
[1] - ECH: Hello to Enhanced Privacy or Goodbye to Visibility?
[2] - Top 10K Websites with ECH enabled (by Divested Computing)
[3] - Browser Share Statistics (by stetic)
[4] - Stealth over TLS: the emergence of ECH-based C&C in ECHidna malware
Updated 13 days ago
