| ▲ | johnisgood 7 hours ago | |
> but if browsers roll out something akin to the HSTS preload list, then downgrade attacks become pretty difficult. Can you explain why, considering it is at the client's side ("browsers")? | ||
| ▲ | jeroenhd 7 hours ago | parent [-] | |
If browsers remember which domains do ECH and refuse to downgrade to non-ECH connections after, the way the HSTS cache forces browsers to connect over HTTPS despite direct attempts to load over HTTP, then you only need an entry in the browser database to make downgrade attacks to accomplish SNI-snooping impossible. For HSTS, browsers come with a preloaded list of known-HTTPS domains that requests are matched against. That means they will never connect over HTTP, rather than connect over HTTP and upgrade+maintain a cache when the HSTS header is present. If ECH comes with a preload list, then browsers connecting to ECH domains will simply fail to connect rather than permit the network to downgrade their connection to non-ECH TLS. | ||