Re: [DNSOP] [Ext] Working Group Last Call for draft-ietf-dnsop-rfc8109bis

Bob Harold <rharolde@umich.edu> Fri, 06 October 2023 13:22 UTC

Return-Path: <rharolde@umich.edu>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BB6CC14CEF9 for <dnsop@ietfa.amsl.com>; Fri, 6 Oct 2023 06:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umich.edu
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c6EQ4djtVPU0 for <dnsop@ietfa.amsl.com>; Fri, 6 Oct 2023 06:22:31 -0700 (PDT)
Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A733DC13AE28 for <dnsop@ietf.org>; Fri, 6 Oct 2023 06:22:31 -0700 (PDT)
Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-406650da82bso18927745e9.3 for <dnsop@ietf.org>; Fri, 06 Oct 2023 06:22:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1696598547; x=1697203347; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2xE5Y4tucyBWDjvEVGDz1yF7runkXrUHdmSHaThiwik=; b=Mn0rD3fD8Orbvvak8+sWkIXd/ROLg3i34+p/DKu02WAOea7DSFy+kn9rYRlm223Sud 5GDOZpQGNMOZscywT7YE/cfmFIoTav57xM/vwqkK3xtWp+n5h5llrRypBdrwMx9Qhc36 G93jph5Fu4Kk0pX0GtacbTkvV2/9PDNTXEZOgS8EvZZLEa0FTo/JXQnh6T72+3aA6ltQ XOR/9N8+KmJzIm/iYOGFf93wtEc01SqptvUWF7mAhtrqTmBZnF12AePV2nzjuI1aybkm 7COccnRl9RpN9hj1jl7/HGlRu1eL/eyoQhWbEPcWgNnsIUrjYrRslpdeWKiS6QB9l7Jv /7CQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696598547; x=1697203347; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2xE5Y4tucyBWDjvEVGDz1yF7runkXrUHdmSHaThiwik=; b=iuI4ACGfhz5PPmmL5URTZLLO1PJ94b+vtcqVfnQysM/MX36g6fDifiiZxQ/gqWanvB zYMBvNBODqNDarb5FieC80Ocpr67Bm++ByWFqdo4sXk6ZWp0PxBQ6lCkxOua7ItygwIX W2dtrqDbF/BIZNnf/rKKtZFBE/BoXvIVeoJYQ0IH0EV8xjGk1RAAp/Q/nyzZI5i9R9wT RPyxte0ZFg+0h+/5iwug9cvoJI/LZ4VMBYZSNbsrbiecfkAqniTULpMXqLG2o9S5XmiK pFKTWnwoDHMeI4raoeOxH2cSkskA3r49fTuyWVEMsG1MeU5GiDRGeh2lr8Z9f0leFs74 M8yw==
X-Gm-Message-State: AOJu0Yy1lUjNbaxb0AG6QqbbYcbNBH7eneVlh7ybh/hS5IZhtpO/IYvT jO2bC1F5D8QvO1Y233u4mKuleoVDuT9igTZvt/ukaw==
X-Google-Smtp-Source: AGHT+IG/NXUi8gSsMZqL08rDjAzEqAytXCj/b+usGwyUlJTucz1oIC3OimF1ye0+g4ZE5ybnIApZKiWbbgSmSnChQdQ=
X-Received: by 2002:a1c:7910:0:b0:401:c0ef:c287 with SMTP id l16-20020a1c7910000000b00401c0efc287mr8197961wme.27.1696598547610; Fri, 06 Oct 2023 06:22:27 -0700 (PDT)
MIME-Version: 1.0
References: <CADyWQ+EwQrGVrBXzxnO2=UiXPYks+q0cjDN7YmWVCPwG=Ai0iA@mail.gmail.com> <46b9c5d8-821d-ea1e-61b4-da5754be020e@desec.io> <3b56f445-cc96-0db1-3b89-05f803c53820@NLnetLabs.nl> <ca9b3a06-9dc5-db2a-753e-68cb8a225235@desec.io> <CADyWQ+HdY0a8XZequboCqWh7-AaiOK7Wk_8aOTzZwp+T1tMaCQ@mail.gmail.com> <8AA90E43-3D69-4E6A-AF5B-688FB1554DA2@icann.org> <CA+nkc8BQAG2vcZjonz8iHzXd-bZ392bL4VPfKGjzFpZpdd5TUA@mail.gmail.com> <CAHPuVdVeUR9QOpZaUK7bU=-T7YCHVfCAGjdtppngnxDJQndeKA@mail.gmail.com>
In-Reply-To: <CAHPuVdVeUR9QOpZaUK7bU=-T7YCHVfCAGjdtppngnxDJQndeKA@mail.gmail.com>
From: Bob Harold <rharolde@umich.edu>
Date: Fri, 06 Oct 2023 09:22:15 -0400
Message-ID: <CA+nkc8Cb4Bd7DyNJxPXMrpoFJwY75Qqh8-L305CJSNVwxHVJ1A@mail.gmail.com>
To: Shumon Huque <shuque@gmail.com>
Cc: Paul Hoffman <paul.hoffman@icann.org>, DNSOP Working Group <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c1d66206070c214f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/u_AEC78Kla7Nc_ZAYLJPmuieHOU>
Subject: Re: [DNSOP] [Ext] Working Group Last Call for draft-ietf-dnsop-rfc8109bis
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Oct 2023 13:22:35 -0000

On Fri, Oct 6, 2023 at 8:54 AM Shumon Huque <shuque@gmail.com> wrote:

> On Fri, Oct 6, 2023 at 8:20 AM Bob Harold <rharolde@umich.edu> wrote:
>
>>
>> On Thu, Oct 5, 2023 at 6:16 PM Paul Hoffman <paul.hoffman@icann.org>
>> wrote:
>>
>>> On Sep 14, 2023, at 18:46, Tim Wicinski <tjw.ietf@gmail.com> wrote:
>>>
>>> > We chairs heard back from the authors and we're pulling this working
>>> group last call.
>>>
>>> We have turned in a -01 that addresses the initial comments in the WG
>>> Last Call that the document had obvious labeled holes in it. One of those
>>> holes had an old label on it, but the others needed filling, and we have
>>> done that now. Whenever the chairs have another slot to start a WG Last
>>> Call, we think this is now ready for it.
>>>
>>> --Paul Hoffman
>>>
>>
>>
>> https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-rfc8109bis-01
>>
>> 3.3. DNSSEC with Priming Queries
>>
>> The second paragraph confused me:
>>
>> "A machine-in-the-middle attack on the priming query could direct a
>> resolver to a rogue root name server. Note, however, that a validating
>> resolver will not accept responses from rogue root servers if they are
>> different from the real responses because the resolver has a trust anchor
>> for the root and the answers from the root are signed. Thus, if there is a
>> machine-in-the-middle attack on the priming query, the results for a
>> validating resolver could be a denial of service, or the attacker seeing
>> queries while returning good answers, but not the resolver's accepting the
>> bad responses."
>>
>> I took me a while to understand, but something like this is what I think
>> it means, a little more clearly to me:
>>
>> A rogue server could return the proper NS RRset and signature, but fake A
>> and AAAA records, since they are not signed, which would effectively block
>> access to the root zone.  But when a request is made for other records in
>> the root zone (like delegation NS records for a TLD, its normal role in DNS
>> resolution), those records are DNSSEC signed and can be validated, so a
>> rogue server can only block service, not give wrong answers that pass
>> validation.
>>
>> Could something like that be included?
>>
>
> I don't think that's correct.
>
> A priming query is for the NS RRset at the root zone. Root servers will
> authoritatively answer that and return a signed root NS RRset, which can be
> authenticated by resolvers. The glue records however are unsigned and could
> be faked, so resolvers could still be directed to communicate with rogue
> servers. But they could detect that attack after the fact, by examining the
> subsequent responses from the rogue servers, and see if the parts in those
> responses that should be signed are actually signed correctly.
>
> Note that delegation NS records in a referral response are NOT signed
> (they are not authoritative data). What is signed is either a DS record
> (set) proving secure delegation to a signed TLD, or an NSEC record that
> proves insecure delegation to an unsigned TLD.
>
> I agree that the wording could be improved. I had trouble understanding
> that paragraph too.
>
> Shumon.
>
>
Thanks for explaining that.

-- 
Bob Harold