Re: [dns-privacy] Adam Roach's No Objection on draft-ietf-dprive-bcp-op-08: (with COMMENT)

Brian Dickson <brian.peter.dickson@gmail.com> Thu, 06 February 2020 20:04 UTC

Return-Path: <brian.peter.dickson@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 316651200E9; Thu, 6 Feb 2020 12:04:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 cUXQKyn27V5m; Thu, 6 Feb 2020 12:04:05 -0800 (PST)
Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9793C1200A3; Thu, 6 Feb 2020 12:04:05 -0800 (PST)
Received: by mail-vs1-xe42.google.com with SMTP id p14so4624276vsq.6; Thu, 06 Feb 2020 12:04:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RdgofC55DB5ceSLex063+APBhQYH7cbkS6iemcVzsUg=; b=jp4tJQWgsOUkLToLJUPgRcaf7Ww8Kz6JZ+gfsmfTqssOLrFTiHQl2/+lJIJSSGBnYh HCz0FKfNqfVxDHk/uBsh0n8+VkPO8Bctero8vud/l/LikA6AhYxAqlNxzhqV4/qsnrW3 ZNipUydigfOLvwWcXjEKISj4yKvlfCqRxaJ9fKOXAwShdQ40VyYcPyo5e7sa8OjQJg+u u2yo14hPW9vn9pd+q/8F+HSOhLkWusGnqM6Ldf07nL0B8VruLtOMqh5bJJaCYD+giUDg wW8fxKC4kLfpdV/o4E6BYMWRMEOfrP7j8BZrCRSqMjC5wtUI1TwfjhLv60HDneYd0Atm OxRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RdgofC55DB5ceSLex063+APBhQYH7cbkS6iemcVzsUg=; b=KS9oJ3Ss0Xk9J4WwLY3WUoSPcfYc4dACFJ8Kr1w+e8n+kKmWh0aKdDkI9ZkQ0DhRBD J4hEO3xBgOIk2P1ftw8mh9X8DjFuOilq9OE8hgiM2BlOOQA3jj3IjF3QWJytl6ByJvFG 6k9skMhNBspZ2vNx36Bpbu+frsmCO01AkrXbfzXExfFlGZl++NvaD0jyoToThohtTuvy Ay7K6zR4hgWEJtD8P0AkgreuA+lr2zKoPjkUHZ1stVd+2tQXQvXNnf5ygOQC6m6YhuVM dL7LjubTIIdAIHIJL9QcI5FxSSs26TKs5Qo/RBVhryN0ynLbSYZdoJPcNZkBfu+6C2pj OfLg==
X-Gm-Message-State: APjAAAWSa5Y7KsZCNe1PKAe7HemaE7CW0teh0fxjLc0uy9aoqU43rr+l yMU5IVOFzQDVkSDdB4f0F4K9KfsPHh1bhNsVKZA=
X-Google-Smtp-Source: APXvYqz59jINj4/3KuQaMPV1gnQovQtAIajdrDsH71vd5KMQRvE6ACGYD69qu3NFGRSxq0cBNH9nF8HssWnSWzFt+wY=
X-Received: by 2002:a67:1081:: with SMTP id 123mr2800704vsq.199.1581019444415; Thu, 06 Feb 2020 12:04:04 -0800 (PST)
MIME-Version: 1.0
References: <158096547226.30514.2103023305468871108.idtracker@ietfa.amsl.com> <CAH1iCiqLwP8UOJe_vWQAr7iu8j7LF2Y4+386XNimM+3wJ-2RzQ@mail.gmail.com> <9fe99917-347b-ab79-7a9c-3e8da67a5246@nostrum.com> <364cf548-9114-fcb3-52b6-a73be08b55c4@nostrum.com> <CAH1iCirzvzQUAcbctzC4Bete_mDicT7MYJL5vnaSFZnVNAUbPg@mail.gmail.com> <9104d41b-2c78-0216-3262-4ed50f389ea7@nostrum.com> <CABcZeBMF2CT--gdKNuVWw+e8CvLYjL3yX0YtMj54CQBvdZ0o0A@mail.gmail.com>
In-Reply-To: <CABcZeBMF2CT--gdKNuVWw+e8CvLYjL3yX0YtMj54CQBvdZ0o0A@mail.gmail.com>
From: Brian Dickson <brian.peter.dickson@gmail.com>
Date: Thu, 06 Feb 2020 12:03:53 -0800
Message-ID: <CAH1iCirLPsLX-OebLxKTfR4FDXaejcNy+TONw5FuLP2_r6GBOw@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Adam Roach <adam@nostrum.com>, Tim Wicinski <tjw.ietf@gmail.com>, draft-ietf-dprive-bcp-op@ietf.org, dprive-chairs@ietf.org, DNS Privacy Working Group <dns-privacy@ietf.org>, The IESG <iesg@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005e1165059dedc6c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/cVnGdxJUPx-QX6YMJx9UzR0ISEA>
Subject: Re: [dns-privacy] Adam Roach's No Objection on draft-ietf-dprive-bcp-op-08: (with COMMENT)
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Feb 2020 20:04:11 -0000

Top-top-top reply:
The Internet Threat Model you are using for web client-server is fine.
However, for DNS, that is the wrong threat model, for several reasons.

   - The threat for DNS cache poisoning is recursive-to-authoritative, not
   client-recursive(resolver)
   - The DNS path will not generally be related to the data path, and for
   any parent zone, almost certainly will be totally unrelated
   - DNS recursive-to-authoritative is UDP
   - UDP DNS does not require that the attacker be on-path
   - Compromise of DNS caches via poisoning (by potentially off-path
   attackers) leading to compromise of user data is not exaggerated.
   - The compromise risk is per-cache, as well as per-authority-server
   and/or per-DNS record.

I haven't written up the details of the more effective cache poisoning
attacks, but have been sharing summary information for several years now.
(The underlying issue is IP fragmentation of UDP packets. This is one of
the contributing factors that the DNS Flag Day for 2020 will include
recommendations/requirements to not fragment.)

I'd be willing to write up those more effective attacks, including a PoC,
but that won't likely happen for a few months.

Brian

On Thu, Feb 6, 2020 at 11:22 AM Eric Rescorla <ekr@rtfm.com> wrote:

> Thanks. I am just looking at this text, and I think it's inappropriate. To
> recap something I seem to be saying a lot lately, the Internet Threat Model
> assumes a Dolev-Yao-style attacker who controls the network between the
> client and the server. TLS is designed to be secure in this environment,
> and while the WebPKi is imperfect, suggesting that compromise of local DNS
> lookups leads to compromise of user data seems exaggerated, at least in the
> case of Web traffic.
>
> -Ekr
>
>
> On Thu, Feb 6, 2020 at 10:22 AM Adam Roach <adam@nostrum.com> wrote:
>
>> Top-posting because I agree with the facts as you present them. I just
>> reach a different conclusion based on these facts. To be clear, I think a
>> belt-and-suspenders approach is generally preferable. I am merely
>> suggesting that the "must" statement I cite may be stronger than is
>> actually advisable given that such an approach is merely a small increment
>> of security for protocols that are otherwise secured (e.g., HTTP, which is
>> the example the document chooses), rather than the sole defense, as may be
>> the case with other protocols.
>>
>> My top-line suggestion here is to choose a different example than HTTP.
>>
>> Secondary to that is a suggestion that the "must" statement really only
>> makes sense when it is a sole counter-measure, and that a softer
>> recommendation ("should") makes more sense otherwise.
>>
>> These are non-blocking comments, so I'm going to reiterate that the WG
>> can ignore them -- I just wanted to make sure they were considered. It
>> would be nice to hear from other folks on the topic as well.
>>
>> /a
>>
>> On 2/6/20 11:57, Brian Dickson wrote:
>>
>>
>>
>> On Thu, Feb 6, 2020 at 9:31 AM Adam Roach <adam@nostrum.com> wrote:
>>
>>> On 2/6/20 09:08, Adam Roach wrote:
>>> >
>>> > For the specific example chosen, it's been made pretty clear over the
>>> > years that at least the clients for the specific service you cite have
>>> > no interest in incurring this additional cost. If that's the working
>>> > group consensus, then I have no interest in over-riding it. But
>>> > ignoring operational realities seems kind of ivory tower-ish, which
>>> > feels like the kind of thing that undermines the general credibility
>>> > of the rest of the document.
>>> >
>>>
>>
>> Could you please be more specific?
>>
>> When you say "for the specific service", do you mean DNSSEC?
>>
>> And do you mean the signing of DNS zones using DNSSEC, when you refer to
>> clients of that service?
>>
>> Perhaps you missed my microphone comments at the last IETF?
>>
>> Specifically that GoDaddy will be turning on DNSSEC for the vast majority
>> of its DNS hosting customers?
>>
>> This represents about 40% of the DNS zones on the Internet.
>> (The exact time frame is not set in stone, but we expect this to be done
>> in the first half of 2020.)
>>
>> Given that this significantly alters the calculus, I don't think that is
>> a good enough reason to object in and of itself anymore.
>>
>> The other aspect of this is the asymmetry involved in the defenses
>> against impersonation:
>>
>>    - The choice to sign a DNS zone is under control of the zone owner
>>    - The choice to deploy RPKI on routes (to protect against BGP
>>    hijacking) is under control of the IP prefix holder
>>    - Both methods rely on third parties to cooperate to achieve the
>>    protections offered
>>    - RPKI routing filters are now widely deployed, and RPKI
>>    registrations are substantial
>>    - The remaining issue is DNSSEC validation; many (most?) of the
>>    public recursive operators do this already
>>
>> The logic should be, defend against all feasible attacks, rather than
>> justifying the non-defense in one area (DNSSEC for DNS) based on the
>> assertion that another area is not being defended (RPKI for BGP).
>>
>> Brian
>>
>>
>>>
>>> I realize that my editing made one of the pronoun antecedents here go
>>> away. The second sentence should have said something more like "If
>>> keeping the current text is the working group consensus..."
>>>
>>> /a
>>>
>>>
>> _______________________________________________
>> dns-privacy mailing list
>> dns-privacy@ietf.org
>> https://www.ietf.org/mailman/listinfo/dns-privacy
>>
>