Re: [DNSOP] DNSOPI-D Action: draft-ietf-dnsop-nsec3-guidance-02.txt

Vladimír Čunát <vladimir.cunat+ietf@nic.cz> Fri, 26 November 2021 10:49 UTC

Return-Path: <vladimir.cunat+ietf@nic.cz>
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 589A53A03F7 for <dnsop@ietfa.amsl.com>; Fri, 26 Nov 2021 02:49:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.953
X-Spam-Level:
X-Spam-Status: No, score=-3.953 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, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 AHohjRXiO5Ad for <dnsop@ietfa.amsl.com>; Fri, 26 Nov 2021 02:49:09 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 687183A0D0B for <dnsop@ietf.org>; Fri, 26 Nov 2021 02:49:08 -0800 (PST)
Received: from [IPV6:2001:1488:fffe:6:5e26:d15f:fb3a:3c5e] (unknown [IPv6:2001:1488:fffe:6:5e26:d15f:fb3a:3c5e]) by mail.nic.cz (Postfix) with ESMTPSA id 8F19B1409C3; Fri, 26 Nov 2021 11:49:03 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1637923743; bh=QQikOh/6DVHUKNnM1nPiPG0YohxIoetNrLKmPIDwXkI=; h=Date:To:From; b=bYObbp/dSR6ENh4hYx3buS7WUZa3yAZDRSZ9jtl/y8S7FJKK9OU5HjwHg96ypUcMX jSe2cCV1q0vTywqyVpHe5g52TwblMBZEkQf+i5QHvBhFqnMXMjqbbACeW4N2v3m35F 8+ZH0OghBy2MWYWeI8uv1gjM3q65ZYQdpLMZVoq4=
Message-ID: <ab48df81-030a-2ff3-2ac9-228edbfd15d5@nic.cz>
Date: Fri, 26 Nov 2021 11:49:03 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
To: Petr Špaček <pspacek@isc.org>, dnsop@ietf.org
References: <163777315136.16773.10633006296842101587@ietfa.amsl.com> <yblh7c1fpwf.fsf@w7.hardakers.net> <914ced6b-52c7-9354-4b91-87f80cd26037@pletterpet.nl> <6153c0ed-523a-5225-40ac-5be9fd5e6ed5@isc.org>
From: Vladimír Čunát <vladimir.cunat+ietf@nic.cz>
In-Reply-To: <6153c0ed-523a-5225-40ac-5be9fd5e6ed5@isc.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.102.4 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/0LGtTBtKKVA5ANvHcdOz9L6lPw4>
Subject: Re: [DNSOP] DNSOPI-D Action: draft-ietf-dnsop-nsec3-guidance-02.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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, 26 Nov 2021 10:49:14 -0000

On 25/11/2021 13.00, Petr Špaček wrote:
> IMHO in the context of NSEC3 the salt would make sense _only_ if it 
> were rotated faster than attacker was able to walk the zone. Once 
> attacker has list of hashes available for offline cracking the salt 
> does not do anything useful anymore. 

I disagree; you don't need to rotate so fast.  At a moment when a 
particular salt won't be contained in future answers, there's no point 
in creating a dictionary anymore as it's cheaper to crack the gathered 
hashes individually.  The only value of dictionary is (possibly) 
speeding up attacks on names that will appear in future - and the only 
value in re-salting is in making this technique more expensive.  
Resalting interval is the period when a particular dictionary is useful, 
so basically by halving the interval you double the price of this.  [all 
IMHO]

--Vladimir