Re: [Resolverless-dns] Paper on Resolver-less DNS

Erik Sy <sy@informatik.uni-hamburg.de> Thu, 15 August 2019 10:43 UTC

Return-Path: <sy@informatik.uni-hamburg.de>
X-Original-To: resolverless-dns@ietfa.amsl.com
Delivered-To: resolverless-dns@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8BE712008B for <resolverless-dns@ietfa.amsl.com>; Thu, 15 Aug 2019 03:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fiqiw1iRasLq for <resolverless-dns@ietfa.amsl.com>; Thu, 15 Aug 2019 03:43:24 -0700 (PDT)
Received: from mailhost.informatik.uni-hamburg.de (mailhost.informatik.uni-hamburg.de [134.100.9.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91E44120072 for <resolverless-dns@ietf.org>; Thu, 15 Aug 2019 03:43:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTP id E9F42A6E; Thu, 15 Aug 2019 12:43:20 +0200 (CEST)
X-Virus-Scanned: amavisd-new at informatik.uni-hamburg.de
Received: from mailhost.informatik.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.informatik.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C6g+5fPURp9x; Thu, 15 Aug 2019 12:43:20 +0200 (CEST)
Received: from svs26.informatik.uni-hamburg.de (svs26.informatik.uni-hamburg.de [134.100.15.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Erik Sy", Issuer "DFN-Verein Global Issuing CA" (verified OK)) (Authenticated sender: sy) by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTPSA id 071E9A6D; Thu, 15 Aug 2019 12:43:19 +0200 (CEST)
Reply-To: sy@informatik.uni-hamburg.de
To: Ben Schwartz <bemasc@google.com>
Cc: resolverless-dns@ietf.org
References: <ec8d77e5-6161-c7e6-3ca8-ccf0a99c1b62@informatik.uni-hamburg.de> <CAHbrMsBhR1yaLxQk7wZk54Jdf5nvkS03KC3UTae0Famu2+SV8g@mail.gmail.com>
From: Erik Sy <sy@informatik.uni-hamburg.de>
Openpgp: preference=signencrypt
Autocrypt: addr=sy@informatik.uni-hamburg.de; prefer-encrypt=mutual; keydata= mQINBFzVyS4BEADnUWBPWNK8CNxDj8QarMioEQsyEiLkpsln4zxw1cxhTnK+ZHd4wTOh1BZf GVmGZ7wdb/NLiQbENv44okX4mYgJjt32gbVg8ssfScfTEO9PVBgLi5SDtLAxLk8TjF7ETIkG NUWgAQm6Pw6EowjLjMJ4y3fahPcypqtfuO1cxF86pPYAsSG+9iuInpBQoZwuvZu3SLUMXB9l +Xwiy77wEpvPg49pNQhbFqlIZXAHTLyEIlrxG41xXbTt7P5kH333c1cRD//EeC2oEjZhgCBh B4ObFpgL4JxSo71MZFdSDOWfiwMq3kXOwJnPNq9xzcWEItVyLK30fXWt5uZ3YfUcZGpGXv1Y Kl4monIru9NFVSW35FlhHtpgUKdQBKJMeuc1ckZr00zRtd1tf/69rdnjJngR+5RJZE3ykDx4 bJ4P75nqeDUe8adc4S0GeExEgsjVl8QZpCgIrjicA4MQERJKaA3bmCWy5YfCqsZYfbFXrcmq sZopkMTI2X5ZsA3y+jjWlmfDo3Tdu9ddfF8BSB0nTbaPLnJCs878T8HE+Lx9y6QyHlfZ0BJx IuepITZInhbH2c/X5Ipw37+YjNCwz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SvGA9QZVeAfttyA9YqEawB3j11uJm3xMknqS3SzTE0JxZNyz1Qri6OLnP3uVaXJj BCiiGZf6sgnCa7/JlYrrEIF3ukWQutUfG+1XVq85/gPYnmTlenp4PCIuQVJT+ldG3hPNS1un qX0iEGiV8XdwXy9Gg49QAhNOFn6llW17VP279NvEVa6eRAm5w4mp4L3FgpbFlKkCHZXzMx/7 wuYPd9pj+olW2uDid279lKsUGt0I7MVyad311Fd1WnQQrAuEw6ZduDNZMxnhRV4x0PxwnGEY Ye+WbA==
Message-ID: <b0548fa4-aee7-f8f2-7747-13a93122832d@informatik.uni-hamburg.de>
Date: Thu, 15 Aug 2019 12:43:19 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CAHbrMsBhR1yaLxQk7wZk54Jdf5nvkS03KC3UTae0Famu2+SV8g@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms040604070207010700040109"
Archived-At: <https://mailarchive.ietf.org/arch/msg/resolverless-dns/Bt8DiVr3PNlFdwdkXQI50hLQl44>
Subject: Re: [Resolverless-dns] Paper on Resolver-less DNS
X-BeenThere: resolverless-dns@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Resolverless DNS <resolverless-dns.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/resolverless-dns>, <mailto:resolverless-dns-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/resolverless-dns/>
List-Post: <mailto:resolverless-dns@ietf.org>
List-Help: <mailto:resolverless-dns-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/resolverless-dns>, <mailto:resolverless-dns-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Aug 2019 10:43:27 -0000

Thank you for your feedback, Ben!

On 8/14/19 23:11, Ben Schwartz wrote:
> Thanks for conducting this investigation, Erik!
>
> In my view, the two main concerns with resolverless architectures have
> been (1) simplifying stolen key attacks and (2) potential interference
> with DNS-based load balancing.
>
> Currently, an attacker who has stolen a TLS private key also needs
> control of the victim's network in order to mount an impersonation
> attack.  Resolverless DNS (especially without DNSSEC, as in your
> model) might make these attacks much easier to execute, by sending the
> victim a DNS record that points the compromised domain to the
> attacker's IP address.
>
The described attack of a compromised TLS private key or even a broken
PKI is quite strong. Certainly, it is not a design goal of DNS to
mitigate these attacks. However, let's assume that this attack is
relevant. In the traditional DNS as well as in the server-less DNS
network paths involving the HTTPS server (victim) and the corresponding
authoritative nameserver are vulnerable to such an impersonation attack
as shown in this figure
(https://erik-sy.de/Resolver-less_DNS_Attack.pdf). Resolver-less DNS
replaces only the vulnerable paths involving the resolver with the paths
involving the HTTP server providing the DNS records. In my view, none of
these DNS designs protects against the described impersonation attacks
and the attack surface remains substantially the same across these designs.

> Domains that rely on DNS-based load balancing have concerns about
> third parties handing out DNS records for their domains.  These third
> parties might (accidentally) provide the same DNS record to all of
> their users, overloading a particular server instead of spreading the
> load across many servers.

I think, that this is not a new problem introduced by the resolver-less
DNS design. Moreover, it describes a general drawback of DNS-based load
balancing that one is dependent on 'unreliable' third parties to spread
the load. For example, it is known that some resolvers ignore small TTLs
of their cached DNS records impacting this load balancing mechanism.

Is anybody interested in co-authoring an ID on resolver-less DNS?

Best regards,
Erik 

> If you're interested in this topic, I hope you'll think a bit about
> these problems, and see if you find a way to solve them.
>
> On Tue, Aug 13, 2019 at 8:07 AM Erik Sy <sy@informatik.uni-hamburg.de
> <mailto:sy@informatik.uni-hamburg.de>> wrote:
>
>     Hi all,
>
>     I wrote a paper to clarify the design of resolver-less DNS and to
>     investigate its feasibility.
>     You can find the paper here:
>     https://svs.informatik.uni-hamburg.de/publications/2019/2019-08-13-Sy-preprint-Enhanced_Performance_and_Privacy_via_Resolver-Less_DNS.pdf
>
>     In total, I think this is a great performance-optimization especially
>     for clients on high-latency access networks. Furthermore, it can
>     improve
>     the client's privacy posture towards the recursive DNS resolver.
>
>     Best regards,
>     Erik
>
>
>     -- 
>     Resolverless-dns mailing list
>     Resolverless-dns@ietf.org <mailto:Resolverless-dns@ietf.org>
>     https://www.ietf.org/mailman/listinfo/resolverless-dns
>