Fundamentally, unless this type of protection is baked into the protocol from 
the beginning, and is not an add-on option, any one/thing in the path can 
prevent the use of optional security features.

Don’t want people to access site XYZ? Block DNSSEC, block _ESNI DNS 
requests/responses, block the use of ESNI, etc.

A firewall can also use the record_digest to determine the destination, without 
even decrypting the ESNI. It just calculates the possible record_digests of the 
blocked sites; since the information is public. This will make it appear that 
ESNI is supported (for legal sites), but still block the use to illegal sites.

Or even do a reverse-DNS lookup on the destination IP, discover all the domains 
there, and then calculate the possible record_digests to see where the user is 
going.

This could be mitigated by having the same ESNIKeys for different websites, but 
that means the "Split Mode Topology" is broken as the record_digest cannot be 
used by the Client-Facing Server to select a Backend Server. Ah, but if the CDN 
maps the shared-ESNIKeys domains to be different IPs, then doesn’t matter. This 
is not the case, as the IP address can now be used along with the ESNIKeys to 
know what the final destination is.

--
-Todd Short
// tsh...@akamai.com<mailto:tsh...@akamai.com>
// "One if by land, two if by sea, three if by the Internet."

On Jul 3, 2018, at 10:26 AM, Sniffen, Brian 
<bsniffen=40akamai....@dmarc.ietf.org<mailto:bsniffen=40akamai....@dmarc.ietf.org>>
 wrote:

Looks neat.

1) TFO DOS vector: is the idea servers will disable TFO under strain but not be 
able to disable ESNI?

2) “clients might opt to attempt captive portal detection to see if they are in 
the presence of a MITM proxy, and if so disable ESNI.”

If I’m operating a great firewall, I can use this to discover dissidents, 
right?  Either they send me dangerous SNI values or they are configured to not 
disable ESNI, and taking the fifth is fatal. To protect them, I think nobody 
can have this mode.

3) How many bits does this offer? Hiding in a set of a million uniform hosts is 
20 bits, and the nonuniformity will accrue to the adversary’s benefit. Active 
probing will unmask visitors to dissident sites.

I worry that this tool is so weak against a GFW-style adversary for the purpose 
of allowing dissident access to restricted web sites that it will be dangerous 
if released. But maybe I misunderstand the purpose. If this is just to keep 
Western ISPs from monkeying with traffic, sure, ship it.  Labelling the 
encryption with its strength as applied, or showing CDNs and ISPs how to work 
out some bounds, seems one way to help users understand whether this can help 
them or put them more at risk.

--
Brian Sniffen

_______________________________________________
TLS mailing list
TLS@ietf.org<mailto:TLS@ietf.org>
https://www.ietf.org/mailman/listinfo/tls

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls

Reply via email to