DNS Privacy
dnsprivacy.org
Sara Dickinson Sinodun sara@sinodun.com
RMLL, Saint-Étienne, France July 2017
DNS Privacy dnsprivacy.org Sara Dickinson Sinodun sara@sinodun.com - - PowerPoint PPT Presentation
DNS Privacy dnsprivacy.org Sara Dickinson Sinodun sara@sinodun.com RMLL, Saint-tienne, France July 2017 Overview The problem: Why Internet privacy and DNS Privacy are
dnsprivacy.org
Sara Dickinson Sinodun sara@sinodun.com
RMLL, Saint-Étienne, France July 2017
DNS Privacy @ RMLL July 2017
Privacy are important (DNS leakage)
years (DPRIVE) in open standards and open source software
tools
2
DNS Privacy @ RMLL July 2017
3
March 2011 I-D: Privacy Considerations for Internet Protocols (IAB) June 2013
Snowdon revelations
July 2013
RFC6973: Privacy Considerations for Internet Protocols
May 2014
RFC7258: Pervasive Monitoring is an Attack:
“PM is an attack on the privacy of Internet users and organisations.”
What timing!
DNS Privacy @ RMLL July 2017
4
DNS Privacy @ RMLL July 2017
5
DNS Privacy @ RMLL July 2017
information….it doesn’t need to be protected/encrypted
6
DNS sent in clear text NSA: MORECOWBELL
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
Auth for ietf.org
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
Auth for ietf.org
Stub
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
Auth for ietf.org
Stub Recursive
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
Auth for ietf.org
Stub Recursive Authoritative
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
Auth for ietf.org
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
datatracker.ietf.org
Auth for ietf.org
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
datatracker.ietf.org
Auth for ietf.org
datatracker.ietf.org datatracker.ietf.org datatracker.ietf.org
DNS Privacy @ RMLL July 2017
7
Rec
Auth for .org
Root
datatracker.ietf.org
Auth for ietf.org
datatracker.ietf.org datatracker.ietf.org datatracker.ietf.org Leak information datatracker.ietf.org datatracker.ietf.org
DNS Privacy @ RMLL July 2017
into DNS queries (non-standard options)
8
Intended to enhance DNS protocol capabilities
DNS Privacy @ RMLL July 2017
into DNS queries (non-standard options)
8
CDN justification: Faster content (geo location)
ISP justification: Parental Filtering (per user) Intended to enhance DNS protocol capabilities
DNS Privacy @ RMLL July 2017
9
[User src address] MAC address or id in DNS query
Rec
Auth
Stub
CPE
ietf.org ? [00:00:53:00:53:00]
Parental Filtering
DNS Privacy @ RMLL July 2017
9
[User src address] MAC address or id in DNS query Client Subnet (RFC7871) contains source subnet in DNS query
Rec
Auth
Stub
CPE
ietf.org ? [00:00:53:00:53:00] ? ietf.org ? [192.168.1]
Parental Filtering
CDN Geo-location
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
10
Even behind a NAT, do not have anonymity!
Rec
Auth
Stub
CPE
Even behind a recursive do not have anonymity!
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
10
Even behind a NAT, do not have anonymity!
Rec
Auth
Stub
CPE
afnic.fr ? parisinfo.com ? dnsreactions.tumblr.com?
Even behind a recursive do not have anonymity!
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
10
Even behind a NAT, do not have anonymity!
Rec
Auth
Stub
CPE
afnic.fr ? parisinfo.com ? dnsreactions.tumblr.com?
Even behind a recursive do not have anonymity!
afnic.fr ? parisinfo.com ? dnsreactions.tumblr.com?
DNS Privacy @ RMLL July 2017
11
DNS Privacy @ RMLL July 2017
11
DNS Privacy @ RMLL July 2017
12
Rec
Auth for .org Root
government/NSA/Passive DNS?
DNS Privacy @ RMLL July 2017
12
Rec
Auth for .org Root
Who monitors or has access here? Who monitors or has access here?
government/NSA/Passive DNS?
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
individuals
possible based just on timings and cache snooping
DNS queries
13
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
individuals
possible based just on timings and cache snooping
DNS queries
13
DNS Privacy @ RMLL July 2017
14
In-Flight At Rest Risk Stub => Rec Rec => Auth At Recursive At Authoritative
Passive Monitoring Active Monitoring Other Disclosure Risks e.g. Data breaches
DNS Privacy @ RMLL July 2017
15
DNS Privacy @ RMLL July 2017
16
Charter: Primary Focus is Privacy for Stub to recursive
DNS Privacy @ RMLL July 2017
‘transaction’ is not/should not be.
17
DNS Privacy Considerations: Expert coverage of risks throughout DNS ecosystem
“A typical example from outside the DNS world is: the web site of Alcoholics Anonymous is public; the fact that you visit it should not be.”
DNS Privacy @ RMLL July 2017
Pros Cons STARTTLS
TLS (new port)
(no interference with port 53)
DTLS (new port)
deployed
(just like UDP)
➡Fallback to TLS or clear text
❌Can’t be standalone solution
18
DNS Privacy @ RMLL July 2017
Pros Cons STARTTLS
TLS (new port)
(no interference with port 53)
DTLS (new port)
deployed
(just like UDP)
➡Fallback to TLS or clear text
❌Can’t be standalone solution
18
DNS Privacy @ RMLL July 2017
Pros Cons STARTTLS
TLS (new port)
(no interference with port 53)
DTLS (new port)
deployed
(just like UDP)
➡Fallback to TLS or clear text
❌Can’t be standalone solution
18
DNS Privacy @ RMLL July 2017
standards and implementations
(bootstrap problem)
traffic - msg size & timing still tell a lot!
19
DNS Privacy @ RMLL July 2017
standards and implementations
(bootstrap problem)
traffic - msg size & timing still tell a lot!
19
Oct 2015 - port 853
DNS Privacy @ RMLL July 2017
20
Goal How?
Optimise set up & resumption
RFC7413: TFO Fast Open RFC5077: TLS session resumption TLS 1.3 (0-RTT)
Amortise cost of TCP/TLS setup
RFC7766 (bis of RFC5966) - March 2016: Client pipelining (not one-shot!), Server concurrent processing, Out-of-order responses RFC7828: Persistent connections (Keepalive)
Servers handle many connections robustly
Learn from HTTP world!
DNS Privacy @ RMLL July 2017
21
DNS Privacy @ RMLL July 2017
21
(Encrypt & Authenticate) or Nothing
DNS Privacy @ RMLL July 2017
21
(Encrypt & Authenticate) or Nothing
DNS Privacy @ RMLL July 2017
22
Document Date Topic RFC7858 May 2016 DNS-over-TLS RFC7830 May 2016
RFC8094
Feb 2017
DNS-over-DTLS
draft-ietf-dprive-dtls-and- tls-profiles
IESG LC
Authentication for DNS-over-(D)TLS
*Category: Experimental
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
24
Rec
Auth for .org
Root
datatracker.ietf.org
Auth for ietf.org
datatracker.ietf.org datatracker.ietf.org datatracker.ietf.org Leaks information
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
25
Rec
Auth for .org
Root
datatracker.ietf.org
Auth for ietf.org
ietf.org datatracker.ietf.org
DNS Privacy @ RMLL July 2017
26
Implementations exist Mix HTTPS/2 and DNS on one connection Avoids e.g. port 853 blocking
DNS Privacy @ RMLL July 2017
Google) that runs over UDP (HTTPS/2-like)
(~7% of Internet traffic)
27
DNS Privacy @ RMLL July 2017
28
DNS Privacy @ RMLL July 2017
28
Not always technical solution: Needs more work!
DNS Privacy @ RMLL July 2017
29
In-Flight At Rest Risk Stub => Rec Rec => Auth At Recursive At Authoritative
Passive monitoring
Encryption (e.g. TLS, HTTPS) QNAME Minimization
Active monitoring
Authentication & Encryption
Other Disclosure Risks e.g. Data breaches
Data Best Practices (Policies) e.g. De-identification
DNS Privacy @ RMLL July 2017
30
DNS Privacy @ RMLL July 2017
(plus various grants and individual contributions)
31
dnsprivacy.net @ OARC 26 May 2017, Madrid
32
RECURSIVE
DNS Privacy @ RMLL July 2017
(all using Open Source)
33
RECURSIVE
10 at last count - find details at: DNS Test Servers
Hosted by Notes NLnet Labs Unbound Surfnet (Sinodun) BIND + HAProxy BIND + nginx UncensoredDNS Unbound dns.cmrg.net Knot Resolver
Experimental!
RECURSIVE
Experimental!
DNS Privacy @ RMLL July 2017
User Guide
35
CLIENTS
DNS Privacy @ RMLL July 2017
macOS UI on the way….. (DNSSEC)
36
CLIENTS
CLIENTS
P r
y p e ! H E L P W A N T E D
CLIENTS
P r
y p e ! H E L P W A N T E D
CLIENTS
P r
y p e ! H E L P W A N T E D
DNS Privacy Workshop @ NDSS Feb 2016, San Diego
still struggle with the basics if they don’t understand what they are doing (HTTPS, PGP, DNSSEC)
being usable + successful
38
DNS Privacy @ RMLL July 2017
39
DNS Privacy @ RMLL July 2017
than ever
experimental recursive servers
40
DNS Privacy @ RMLL July 2017
Any Questions? dnsprivacy.org
41