the evolving architecture of the web
play

The Evolving Architecture of the Web Nick Sullivan Head of - PowerPoint PPT Presentation

The Evolving Architecture of the Web Nick Sullivan Head of Cryptography CFSSL Universal SSL Keyless SSL Privacy Pass Geo Key Manager Recently Standards work TLS 1.3 C on peting Goals make browsing more performant private HTTP DNS


  1. The Evolving Architecture of the Web Nick Sullivan

  2. Head of Cryptography CFSSL Universal SSL Keyless SSL Privacy Pass Geo Key Manager Recently Standards work TLS 1.3

  3. C on peting Goals make browsing more performant private

  4. HTTP DNS

  5. HTTP Client ISP Web Server Browser Static Content Operating System Cache HTTP

  6. DNS Authoritative 
 Client Resolver Server Browser Operating System DNS

  7. Hosts Clients

  8. Clients HTTP Hosts Geographically Centralized One IP per Hostname Administratively Diverse

  9. What a network observer can see Clients HTTP Unique Client IP Hosts Unique Server IP Server URL Website content

  10. Anonymity set 1 Client IP 1 Server IP

  11. IPv4 4.3 Billion Addresses Not enough for every user

  12. What a network observer can see Clients HTTP Client Proxy IP Hosts Unique Server IP Proxy Server URL Website content

  13. Latency Cost 3 round-the-world Tor 1 round-the-world VPN Small Carrier NAT

  14. Anonymity set k Client 1 Server

  15. New T rends

  16. Client ISP Host HTTPS Browser Operating System HTTPS

  17. Client ISP Host Browser Operating System TLS 1.2

  18. Client ISP Host Browser Operating System TLS 1.3: coming soon

  19. What a network observer can see Clients HTTP HTTPS Unique Client IP Hosts Unique Server IP Server URL Website content

  20. Anonymity set 1 Client 1 Server

  21. IPv4 4.3 Billion Addresses Not enough for every website

  22. Clients HTTP Hosts Geographically Centralized One IP per Hostname Administratively Diverse

  23. Clients HTTP HTTPS Hosts Shared Hosts More Geographically Centralized Multiple Hostname per IPs More Administratively Centralized

  24. SNI Virtual Hosting Send the hostname to the server so it can choose the certificate

  25. Source: Akamai

  26. What a network observer can see Clients HTTP HTTPS Client Unique IP Hosts Shared Server IP Shared Hosts Hostname

  27. Anonymity set 1 Client 1 Server (Shared IP+Hostname)

  28. Internet Scans and IPv6

  29. Privacy Evolves Certificate Transparency Wildcard certificates

  30. Edge S es vices

  31. Edge Services • Websites and are delegating to globally distributed parties • Authorized to terminate TLS • Reduced Latency • Improved DDoS resilience • Anycast to reduce number of IPs needed

  32. Clients HTTP HTTPS Hosts Shared Hosts More Geographically Centralized Multiple IPs per Hostname More Administratively Centralized

  33. Clients HTTP HTTPS Hosts Anycast Hosts Geographically Distributed Multiple IPs per Hostname Administratively Centralized

  34. Client ISP Host Edge Browser Operating System HTTPS

  35. Client ISP Edge Host Browser Operating System HTTPS

  36. Questi oo s Can we improve privacy ? Can we improve latency ? Can we improve both ???

  37. HTTP 1.1 Client Resolver Edge burrito.com SNI: burrito.com Browser beans.com SNI: beans.com Q: burrito.com A: 1.2.3.4 Operating System Q: beans.com A: 1.2.3.5

  38. Safety in Numb es s

  39. Meek Client Origin Edge burrito.com Host burrito.com beans.com SNI: burrito.com Browser Host Resolver Operating System Q: burrito.com A: 1.2.3.4

  40. Meek Client Origin Edge burrito.com Host burrito.com SNI: burrito.com beans.com GET https://beans.com Browser Host GET beans.com Resolver Operating System Q: burrito.com A: 1.2.3.4 Mismatch: SNI, Host, SAN

  41. HTTP/2 Client Resolver Edge SNI: burrito.com GET https://burrito.com burrito.com Browser beans.com GET https://beans.com Q: burrito.com A: 1.2.3.4 Operating System Q: beans.com A: 1.2.3.4 Connection Coalescing

  42. HTTP/2 Client Resolver Edge SNI: burrito.com 
 burrito.com GET https://burrito.com Browser beans.com ORIGIN: beans.com GET https://beans.com SNI: burrito.com Operating System Q: burrito.com A: 1.2.3.4 ORIGIN Frame

  43. What a network observer can see Clients HTTP HTTPS Hosts Client Unique IP Anycast Hosts Shared Server IP First Hostname

  44. Anonymity set 1 Client ~20 Server (Shared IP+Certificate)

  45. HTTP/2 Client Resolver Edge SNI: burrito.com burrito.com GET https://burrito.com Browser ORIGIN: beans.com CERTIFICATE: beans.com GET https://beans.com Operating System Q: burrito.com A: 1.2.3.4 CERTIFICATE Frame

  46. Client Resolver Edge burrito.com Browser SNI: burrito.com Operating System Q: burrito.com A: 1.2.3.4

  47. What this changes Having a certificate gives you routing authority

  48. Anonymity set 1 Client k Server (Shared IP+First Hostname) k is the set of domains on certificates that can be obtained through “First Hostname”

  49. Meek-like circumvention protection Only send the CERTIFICATE frame on certain resources

  50. Authoritative 
 Client Resolver Server Browser Operating System DNS

  51. Root Server Client Resolver me.we.com TLD Server Browser me.we.com Q: e.we.com Authoritative Operating System me.we.com Client Subnet Cache Miss

  52. Root Server Client Resolver me.we.com TLD Server Browser me.we.com Q: e.we.com Authoritative Operating System me.we.com Client Subnet Caching

  53. Root Server Client Resolver .com TLD Server Browser .we.com Q: e.we.com Authoritative Operating System me.we.com Client Subnet QNAME Minimization

  54. DOH Edge 
 Authoritative 
 Client ISP Resolver Server Browser Operating System D NS O ver H TTPS

  55. ISP 
 DOH 
 Root Server Client Resolver Resolver .com Q: e.we.com TLD Server Browser .we.com Authoritative Operating System me.we.com Client Subnet DOH Resolver

  56. 
 
 Latency Edge DoH ISPs Globally Distributed Closer to user TLS 1.3 0RTT Smaller cache UDP

  57. Challenges in the Enterprise

  58. HTTP/2 DoH Client Edge Resolver SNI: burrito.com GET https://burrito.com burrito.com Browser ORIGIN: beans.com CERTIFICATE: beans.com GET https://beans.com SNI: resolver.com resolver.com Q: burrito.com A: 1.2.3.4 ORIGIN/CERT + DoH

  59. HTTP/2 DoH Client Edge Resolver burrito.com Browser SNI: burrito.com resolver.com SNI: resolver.com ORIGIN/CERT + DoH

  60. SNI Encryption Encrypt SNI with client ephemeral key + server public key from DNS

  61. TLS 1.3 DoH Client Edge Resolver burrito.com eSNI: E(burrito.com) Browser SNI: resolver.com resolver.com Q: burrito.com A: 1.2.3.4, PubKey O/C + DoH + eSNI

  62. What a network observer can see Clients HTTP HTTPS Hosts Client Unique IP Anycast Hosts Shared Server IP First Hostname (SNI)

  63. Anonymity set Client 1 Server K K is the set of domains that can be served on the IP Caveat : If Server IP is static, then this give a hint about first hostname.

  64. HTTP/2 Client Resolver Edge SNI: resolver.com Browser resolver.com Q: beans.com A: 1.2.3.5 ORIGIN: beans.com CERTIFICATE: beans.com GET https://beans.com DOH “VPN”

  65. HTTP/2 Client Resolver Edge Browser resolver.com SNI: resolver.com DOH “VPN”

  66. Anonymity set 1 Client IP K Server IP K is the set of domains that can be served on the IP No dynamic IP requirement

  67. Where are we now? ORIGIN implemented in Firefox CERTIFICATE being standardized by IETF DOH supported by Google DNS, 1.1.1.1 eSNI about to be submitted to IETF

  68. ORIGIN Privacy improvement limited by shared certs Latency skip both DNS and HTTPS Security certificate compromise risk

  69. CERTIFICATE Privacy hide any bean in any burrito Latency extends origin benefits to any cert Security exchange DNS for CT or OCSP stapling

  70. DOH Privacy first hop improvement Latency depends on provider, TLS 1.3 Security security against attacks, allows passive DNS

  71. eSNI Privacy first domain privacy given dynamic IPs Latency depends on DoH for reliability Security risk of more MiTM

  72. Open Questions How much privacy does this actually give people? Does this incentivize further consolidation? Does increased performance and privacy outweigh the legitimate need for external visibility?

  73. Website Fingerprinting Removing explicit signals does not protect you from passive ones

  74. Consolidation Better performance when using a popular provider

  75. Is visibility necessary? Safety vs. Security

  76. The Evolving Architecture of the Web Nick Sullivan

Recommend


More recommend