dns over https doh
play

DNS-over-HTTPS (DoH) Arve Gengelbach October 25, 2019 Cryptoparty, - PowerPoint PPT Presentation

DNS-over-HTTPS (DoH) Arve Gengelbach October 25, 2019 Cryptoparty, Uppsala 1 HTTPS 2 3 4 5 6 HTTPS Encrypt traffic to ensure confidentiality, integrity and authenticity. Only browser and server read the communication The


  1. DNS-over-HTTPS (DoH) Arve Gengelbach October 25, 2019 Cryptoparty, Uppsala 1

  2. HTTPS

  3. 2

  4. 3

  5. 4

  6. 5

  7. 6

  8. HTTPS Encrypt traffic to ensure confidentiality, integrity and authenticity. • Only browser and server read the communication • The content is not modified • The sender is talking to the intended server 7

  9. DNS

  10. DNS An address book • Address book: Anna Svensson → Drottninggata 1, Uppsala • DNS resolver: www.uu.se → 130.238.7.133 and 130.238.7.134 DNS resolver answers the question: At which IP addresses is www.uu.se reachable? 8

  11. Demo: Look at a DNS package (with wireshark) We trace the DNS traffic, by # tcpdump -i any -w do53.pcap -s 0 port 53 when accessing www.uu.se (by $ ping -c 1 www.uu.se ). 9

  12. DNS - a decentralised address book 10

  13. 11

  14. 12

  15. 13

  16. 14

  17. Potential Threats 15

  18. Potential Threats By default, DNS is clear text (unencrypted) metadata of services that you use. 15

  19. Which resolver to use? You choose your DNS resolver (e.g. ISPs 1 suggestion) 1 Internet Service Provider 16

  20. Which resolver to use? Applications use the OSs DNS resolver 17

  21. DNS-over-HTTPS

  22. DNS-over-HTTPS The client and the DNS resolver communicate encrypted, over HTTPS (port 443 rather than unencrypted port 53). 18

  23. Look at traffic of DNS-over-HTTPS (Demo) We resolve www.uu.se with the DoH resolver fi.doh.dns.snopyta.org . 1. DNS query: fi.doh.dns.snopyta.org → 95.216.24.230 2. HTTPS request to: https://95.216.24.230/dns-query?name=www.uu.se 19

  24. Discussion of DNS-over-HTTPS • Encrypted connection to the DoH resolver (not among resolvers) • DoH lookups indistinguishable from other (HTTPS-)traffic • Hostnames are exposed (of any server and DoH server) • To know IP of DoH resolver a DNS look-up is necessary DNS query: fi.doh.dns.snopyta.org → 95.216.24.230 • Domains names may be local goldfish.mycompany 20

  25. Discussion of DNS-over-HTTPS (2) • Centralises DNS to fewer DoH resolvers • A DNS query does not come from same origin as a future HTTP query e.g. streaming media from Content-Delivery-Networks • DoH makes it harder to monitor/filter traffic, e.g. • parental control • malware • authoritive regime • DNS slightly faster than DoH • Easy to block DNS, hard to block HTTPS 21

  26. “DoH is incompatible with the basic architecture of the DNS because it moves control plane (signaling) messages to the data plane (message forwarding), and that’s a no-no.” (Paul Vixie, 2018) 22

  27. Support • Clients e.g. Firefox, Chrome, curl, Opera • List of DNS servers at Privacytools.io and in the curl wiki 23

  28. References & License • Lin Clark, “A cartoon intro to DNS over HTTPS”, Mozilla Hacks Blog, May 31, 2018 • Illustrations by Lin Clark. • Paul Vixie, “DNS Wars: Episode IV - A New Workaround”, Presentation at Elbsides Conference, September 16, 2019 • Photo of goldfish by Nikhil Thomas • The DNS Privacy Project License Creative Commons Attribution Share-Alike License v3.0 24

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend