[DNSOP] Re: [dnsop] New Draft: Handling Unvalidated Data during DNSSEC Troubleshooting (draft-zhang-dnsop-dnssec-unvalidated-data-00)
Mark Andrews <marka@isc.org> Wed, 07 May 2025 22:23 UTC
Return-Path: <marka@isc.org>
X-Original-To: dnsop@mail2.ietf.org
Delivered-To: dnsop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id BA1472620C54 for <dnsop@mail2.ietf.org>; Wed, 7 May 2025 15:23:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.399
X-Spam-Level:
X-Spam-Status: No, score=-4.399 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=isc.org header.b="iNcfFPY2"; dkim=pass (1024-bit key) header.d=isc.org header.b="AsGHQvfM"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y2UY-Ua1Hkts for <dnsop@mail2.ietf.org>; Wed, 7 May 2025 15:23:28 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.2.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DD2DE2620C4B for <dnsop@ietf.org>; Wed, 7 May 2025 15:23:27 -0700 (PDT)
Received: from zimbrang.isc.org (zimbrang.isc.org [149.20.2.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id 4E16C3AB377; Wed, 07 May 2025 22:23:26 +0000 (UTC)
ARC-Filter: OpenARC Filter v1.0.0 mx.pao1.isc.org 4E16C3AB377
Authentication-Results: mx.pao1.isc.org; arc=none smtp.remote-ip=149.20.2.31
ARC-Seal: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1746656606; cv=none; b=eCSW5wgo5uVrOhGQFQhbqS8/CykBBDWjAFiPxhG1BcSAMI38zoJLeGfVUC7lIXdr83RP+m7HdxQ79mLIWhXmgTNPjc/B429DnzgV14J5e3lI1cRLoowSBrWGXtAyznv0BFsn1fbJoB+JaxevBOYyKOYAY1rzoqVqOl6xCp9dQZo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1746656606; c=relaxed/relaxed; bh=aTWYrG0j+h8cOcuNNvN6e8vBD2/w0+LDmnpR/CZe7fg=; h=DKIM-Signature:DKIM-Signature:Mime-Version:Subject:From:Date: Message-Id:To; b=kbNa/57pkcXS98BoXb2GUMHnuMerYe4AYAGk036SoV/S/tmuUgSkQfS7b5rTbSANPwyiOgsXBCoekYJA7vt0WGnOotx8gp6K0aIS+yNg7r+Fp0cwXrMQxSxIfDzk4ZJJXej/V4R96W2/bECx5E0YyFvDexHQFgAUGpEK7IkwUQE=
ARC-Authentication-Results: i=1; mx.pao1.isc.org
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.pao1.isc.org 4E16C3AB377
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1746656606; bh=st4bT/7CNvkNFuMyytHUeOBf0eKYRWMHOucmU4jLRo0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=iNcfFPY2Emo5lmcMAHD04/w3UhZrEDs9VODbHiJv4n9wBOX3TQ8IOG6aWAaL2n/D9 296d8QPXjaUvtdTgVdc7Tosv/P2DWVfvoqtnrx/CUjYHKUrE3+5QFBbtuFj0YQvs1C tapvaM3YFLgAxHnQno2q1dvJtmb3LebW5DsEHlWc=
Received: from zimbrang.isc.org (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTPS id 477E113A2354; Wed, 7 May 2025 22:23:26 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTP id 1F95013A235B; Wed, 7 May 2025 22:23:26 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbrang.isc.org 1F95013A235B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1746656606; bh=aTWYrG0j+h8cOcuNNvN6e8vBD2/w0+LDmnpR/CZe7fg=; h=Mime-Version:From:Date:Message-Id:To; b=AsGHQvfMdyHjDuNpzLDq6m+eMgUhBEjzdlFAXr34AYC6wsnztnPX807+WlOuDlORM SA6kr+FDVO0PtB1bQU2FmmxW2uXajV8/uQH4hWKzG/pD29B0h0QL+qE0K3b5togi89 rduw5GOJ3aR1TdyHd0OlFoKKzSVVz2qN0ZKhJT5A=
Received: from zimbrang.isc.org ([127.0.0.1]) by localhost (zimbrang.isc.org [127.0.0.1]) (amavis, port 10026) with ESMTP id xyBKaBpROIzv; Wed, 7 May 2025 22:23:26 +0000 (UTC)
Received: from smtpclient.apple (n49-187-18-238.bla1.nsw.optusnet.com.au [49.187.18.238]) by zimbrang.isc.org (Postfix) with ESMTPSA id 051D813A2354; Wed, 7 May 2025 22:23:24 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.10\))
From: Mark Andrews <marka@isc.org>
In-Reply-To: <695715eb-cb85-2d4d-ec8b-c889bac9bc11@nohats.ca>
Date: Thu, 08 May 2025 08:23:11 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <E822200B-6F32-4B68-B0D6-3DD7C8EDB2C2@isc.org>
References: <716aa40e.1ddc2.196aac757f4.Coremail.zhangsh22@mails.tsinghua.edu.cn> <695715eb-cb85-2d4d-ec8b-c889bac9bc11@nohats.ca>
To: Paul Wouters <paul@nohats.ca>
X-Mailer: Apple Mail (2.3731.700.6.1.10)
Message-ID-Hash: DRD3XOKXIZHJCNVRV56LHIOYGRP2MNIM
X-Message-ID-Hash: DRD3XOKXIZHJCNVRV56LHIOYGRP2MNIM
X-MailFrom: marka@isc.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: 张淑涵 <zhangsh22@mails.tsinghua.edu.cn>, dnsop@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: [dnsop] New Draft: Handling Unvalidated Data during DNSSEC Troubleshooting (draft-zhang-dnsop-dnssec-unvalidated-data-00)
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/kRpw4fAYXgZB2QjzfGtnsqn-ONY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>
> On 8 May 2025, at 03:13, Paul Wouters <paul@nohats.ca> wrote: > > On Wed, 7 May 2025, 张淑涵 wrote: > >> It’s my honor to share our recently submitted draft titled “Handling Unvalidated Data during DNSSEC Troubleshooting” (draft-zhang-dnsop-dnssec-unvalidated-data-00). >> Draft link: https://datatracker.ietf.org/doc/draft-zhang-dnsop-dnssec-unvalidated-data/ >> Given the design complexity and the prevalence of misconfigurations of DNSSEC, many DNS resolvers support troubleshooting mechanisms by the public, during which the >> received DNS data are not enforced to be validated. However, as this draft demonstrated, this could open a new attack surface, where attackers can abuse the >> troubleshooting mechanism to inject forged data to the resolver’s cache, and trigger persistent domain resolution failure due to the reuse of the cached unvalidated >> data. To mitigate such risk, this draft proposes recommendations for DNSSEC-validating resolvers on how to cache and reuse DNS data introduced during DNSSEC >> troubleshooting. This draft indicates that the data intended for troubleshooting can have severe but overlooked impact on the routine functioning of DNS. Hence, it >> aims to raise the community’s awareness on handling DNSSEC troubleshooting data with more cautious, so as to prevent any potential abuse. > > I think DNS resolvers are already handling this properly? > > paul@bofh:~$ dig +cd +short dnssec-failed.org 96.99.227.255 > paul@bofh:~$ dig +short dnssec-failed.org paul@bofh:~$ When all the source are broken your test works. Try daisy chaining servers which always send CD=1 (current advice). Have 2 sets of servers for the zone, some with good answers and some with broken answers. Turn off the good servers. Prime the daisy chain. Turn on the good servers. Try to retrieve the answer. This simulates spoofed answers being accepted by the end of the daisy chain. >> Summary of key points: >> - Clarification of unvalidated data in DNSSEC, as a complement to RFC 4033-4035 > > I'm not sure if this is unclear? > >> - Demonstration of a new Denial-of-Service attack surface on DNSSEC-validating resolvers due to their reuse of cached unvalidated data > > Which DNS resolvers are currently misimplementing things for this to be a concern? > > Paul > >> - Recommendations on how to cache and reuse DNSSEC-unvalidated data to mitigate the DoS risk >> We welcome feedback from the community. We would be happy to discuss this in a future DNSOP session. >> Best regards, >> Shuhan Zhang >> Tsinghua University >> > > _______________________________________________ > DNSOP mailing list -- dnsop@ietf.org > To unsubscribe send an email to dnsop-leave@ietf.org -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org
- [DNSOP] [dnsop] New Draft: Handling Unvalidated D… 张淑涵
- [DNSOP] Re: [dnsop] New Draft: Handling Unvalidat… Paul Wouters
- [DNSOP] Re: [dnsop] New Draft: Handling Unvalidat… Ondřej Surý
- [DNSOP] Re: [dnsop] New Draft: Handling Unvalidat… Mark Andrews
- [DNSOP] Re: [dnsop] New Draft: Handling Unvalidat… Philip Homburg
- [DNSOP] Re: [dnsop] New Draft: Handling Unvalidat… zhangsh