[DNSOP] Re: Stateless Hash-Based Signatures in Merkle Tree Ladder Mode (SLH-DSA-MTL) for DNSSEC
"Harvey, Joseph" <jsharvey@verisign.com> Mon, 15 July 2024 15:49 UTC
Return-Path: <jsharvey@verisign.com>
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 A5898C169431 for <dnsop@ietfa.amsl.com>; Mon, 15 Jul 2024 08:49:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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=verisign.com
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 hE7fKOx9f4Fi for <dnsop@ietfa.amsl.com>; Mon, 15 Jul 2024 08:48:57 -0700 (PDT)
Received: from mail6.verisign.com (mail6.verisign.com [69.58.187.32]) (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 8D99DC16942F for <dnsop@ietf.org>; Mon, 15 Jul 2024 08:48:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verisign.com; l=4550; q=dns/txt; s=VRSN; t=1721058537; h=from:to:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=zfpFATITMGmYDDSJ1kHpkDntWgP8OfO4gnwum7T/qOw=; b=GtdHwDYzpAztMv6kD926B/6yQM3Ype6dr8qQEXLuA3XOHJp+9jO6APa2 CG4onHJBEjpCOgDhI6hJV6qgrI69AoudW2NfpHi2GZ/HeqpDl9TNxWChO ReIJi3FJcFMQONMRR8jguhcLCssLriQrMsAbD7T2TveV8JHI35qUgth3P SAuGhczR+dJXiZiw/vei9PdJI3qEjQkGrG52ygFBJA9vJAL4b2/v+J5v8 WLjW+IccEGmaiapZ9obbevKbcoFc/R/IJ1IIZqgIyevL+xVxeg7joUDW+ 2K/RHpWmhSO1L8zhqgVS22myxnFewML47SHALttjt7HeicYmSuApikUDq Q==;
X-CSE-ConnectionGUID: EwIUiEfJTVC1RBcN+CJlyw==
X-CSE-MsgGUID: hzyx37FXRO+p3bjMLcRP5w==
X-ThreatScanner-Verdict: Negative
IronPort-Data: A9a23:T5VjAK3KFVDT0UyOPvbD5bxwkn2cJEfYwER7XKvMYLTBsI5bp2ACn 2oYW2+OP/2LZDeke9F+PYvk9B9Su5HUzII1HVE6qSg9HnlHl5HIVI+TRqvS04F+DeWYFR46s J9OAjXkBJppJpMJjk71atANlVEliOfVAOO6ULOZUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tqaT/f3YTdJ4BYqdDpFg06/gEk35qiq52pF5gVWic1j5zcyqVFEVPrzGonsdxMUcqEMdsamS uDKyq2O/2+x138FFtO/n7/nRVYBS7jUMBLmoiI+t3+K20UqSoQai87XBdJEAatlo2zhc+NZk b2hgaeNpTIBZcUgrsxGCkUFTHsuVUFx0OSvzXCX6aR/xmWYKye8m60G4EseZeX08c4vaY1CG GBxxJngoXlvisrvqI9XRNWAiewOM+jWPa4RmE1e5mjjJ/0AArvhR7TVsIowMDcY3qiiHN7/Q +VAVhxCXEyaJQNEPU0PTpsy2vmynX+5eDpdwL6XjfNvpTKPkkoojeKraoS9lt+iHK25mm6av WLP5Xr0EzkEOcae0juK9DSngeqncSbTA9tDSePgr6MCbFu7xn4CGEZJe2uBhrqh0US8fvZUE XRJ5X97xUQ13AnxJjXnZDW0pmWDpjYdVsZeVeog52mwJrH84gKWX3cCQy4ZMpk9qtVwQD0xk 1WO2dLtCmUprqeOTzSW8bL8QS6OBBX55FQqPUcsJTbpKfG6yG3vpnojlupeLZM=
IronPort-HdrOrdr: A9a23:Y7pJP6vIpF0qbu5elvkFmvKK7skDVNV00zEX/kB9WHVpm5Sj5q WTdGxy726OtN9jYgBFpTnmAtj7fZq8z+8M3WB/B9aftWXd0ldAabsSj7cKoAeQZhEWlNQ86U 4IScEXY+EYT2IK7voSizPVLz9U+re6GdeT6ts2oU0BceggUdAG0+4wMHf8LqRZfng+OaYE
X-Talos-CUID: 9a23:Dsen3mt7HKgHi0w8uxRNjsvo6IsIbVzgzVreAXOGIj9TYrazCnSy/LJ7xp8=
X-Talos-MUID: 9a23:KjdDigzi3oQYoHqIxv20MF6mDCKaqKS8GVBWzrs2ge7HLXd6ORK5hw6PH5Byfw==
X-IronPort-AV: E=Sophos;i="6.09,210,1716249600"; d="scan'208";a="31956015"
Received: from ILG1WNEX01.vcorp.ad.vrsn.com (10.246.152.25) by ILG1WNEX02.vcorp.ad.vrsn.com (10.246.152.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.37; Mon, 15 Jul 2024 11:48:56 -0400
Received: from ILG1WNEX01.vcorp.ad.vrsn.com ([10.246.152.25]) by ILG1WNEX01.vcorp.ad.vrsn.com ([10.246.152.25]) with mapi id 15.01.2507.037; Mon, 15 Jul 2024 11:48:56 -0400
From: "Harvey, Joseph" <jsharvey@verisign.com>
To: "dnsop@ietf.org" <dnsop@ietf.org>
Thread-Topic: [EXTERNAL] [DNSOP] Stateless Hash-Based Signatures in Merkle Tree Ladder Mode (SLH-DSA-MTL) for DNSSEC
Thread-Index: AQHa0s9bSuX3lO5J/0KVQQsOk8uFFLHwBe4wgAfxcoA=
Date: Mon, 15 Jul 2024 15:48:56 +0000
Message-ID: <0344FCBC-1B18-4E77-B0F1-377B300F4145@verisign.com>
References: <B3E591A3-AB1C-4E17-B410-0CC3EAF96C72@isc.org> <aae07012cd93452e9dfc6fe9afa38977@verisign.com>
In-Reply-To: <aae07012cd93452e9dfc6fe9afa38977@verisign.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.170.148.18]
Content-Type: text/plain; charset="utf-8"
Content-ID: <D4C72D50C6EA834BA009EDCA9710F301@verisign.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Message-ID-Hash: Y4OIWJKPDVPQZHWRORYLMG3EFPEYVR3C
X-Message-ID-Hash: Y4OIWJKPDVPQZHWRORYLMG3EFPEYVR3C
X-MailFrom: jsharvey@verisign.com
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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: Stateless Hash-Based Signatures in Merkle Tree Ladder Mode (SLH-DSA-MTL) for DNSSEC
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/HMUZTr4zHC9Q0ZxFPf-X0l9YrRQ>
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>
Hello Ondřej
Thank you for taking the time to review the documents and provide feedback. You make a very interesting observation that a malicious server operator could force a validating resolver to always fetch the larger full signature to validate (or try to validate in the case of bad signatures) the signatures.
Our submitted draft is a work in progress, and we agree that there should be discussion in the draft on this and other potential scenarios, risks, and mitigations. We will add a section to the draft for that purpose including discussion around this issue.
We will keep you posted on the future updates and welcome any other feedback you may have as this draft evolves.
Regards,
Joe Harvey
> -----Original Message-----
> From: Ondřej Surý <ondrej@isc.org <mailto:ondrej@isc.org>>
> Sent: Wednesday, July 10, 2024 9:43 AM
> To: dnsop@ietf.org <mailto:dnsop@ietf.org>
> Subject: [EXTERNAL] [DNSOP] Stateless Hash-Based Signatures in Merkle Tree
> Ladder Mode (SLH-DSA-MTL) for DNSSEC
>
> Caution: This email originated from outside the organization. Do not click
> links
> or open attachments unless you recognize the sender and know the content is
> safe.
>
> Hi,
>
> since draft-fregly-dnsop-slh-dsa-mtl-dnssec-02 and draft-harvey-cfrg-mtl-
> mode-03 have been published now, I would like to discuss something I noticed
> when this was first brought to my attention during IETF in Prague.
>
> The Section 6.2 says:
>
> > As described in 9.2 of [I-D.harvey-cfrg-mtl-mode], when a verifier
> > receives a condensed signature, the verifier determines whether any of
> > the MTLs it has previously verified includes a rung that is compatible
> > with the authentication path in the condensed signature. If not, then the
> verifier requests a new signed ladder.
> [...]
> > Accordingly, a resolver SHOULD first query a name server without the
> > mtl-mode-full option, and then, if needed, re-issue the query with the
> > mtl-mode-full option. Since responses to queries with the
> > mtl-mode-full option are expected to be large, it is RECOMMENDED that
> > queries with the mtl-mode-full option be issued over transports (e.g.,
> > TCP,
> TLS, QUIC) that support large responses without truncation and/or
> fragmentation.
>
> I have pointed out that a malicious zone operator can return a different run
> effectively making the resolver request a new signed ladder every time. This
> effectively removes any benefit that the resolvers gain from using the MTL
> mode.
>
> Again, if I am understanding the protocol correctly, it should be even
> possible
> to pre-generate the different answers and just mess with the resolver by
> invalidating the previously received response by using low TTL numbers and
> providing different answers every time.
>
> Please correct me if I am wrong.
>
> Cheers,
> Ondrej
> --
> Ondřej Surý (He/Him)
> ondrej@isc.org <mailto:ondrej@isc.org>
>
> My working hours and your working hours may be different. Please do not feel
> obligated to reply outside your normal working hours.
>
> _______________________________________________
> DNSOP mailing list -- dnsop@ietf.org <mailto:dnsop@ietf.org>
> To unsubscribe send an email to dnsop-leave@ietf.org <mailto:dnsop-leave@ietf.org>
- [DNSOP] Re: Stateless Hash-Based Signatures in Me… Ondřej Surý
- [DNSOP] Re: Stateless Hash-Based Signatures in Me… Harvey, Joseph
- [DNSOP] Stateless Hash-Based Signatures in Merkle… Ondřej Surý
- [DNSOP] Re: Stateless Hash-Based Signatures in Me… Harvey, Joseph