Re: [dnsext] Historical root keys: The Large Router Vendor Speaks

Chris Thompson <cet1@cam.ac.uk> Tue, 01 February 2011 16:46 UTC

Return-Path: <cet1@hermes.cam.ac.uk>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 980D83A6BFF for <dnsext@core3.amsl.com>; Tue, 1 Feb 2011 08:46:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level:
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SZ50i7yyOLDt for <dnsext@core3.amsl.com>; Tue, 1 Feb 2011 08:46:20 -0800 (PST)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) by core3.amsl.com (Postfix) with ESMTP id AECCD3A6CCC for <dnsext@ietf.org>; Tue, 1 Feb 2011 08:46:03 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:55490) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25) with esmtpa (EXTERNAL:cet1) id 1PkJPr-000087-SN (Exim 4.72) (return-path <cet1@hermes.cam.ac.uk>); Tue, 01 Feb 2011 16:49:19 +0000
Received: from prayer by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local (PRAYER:cet1) id 1PkJPr-0006mk-PB (Exim 4.67) (return-path <cet1@hermes.cam.ac.uk>); Tue, 01 Feb 2011 16:49:19 +0000
Received: from [131.111.11.47] by webmail.hermes.cam.ac.uk with HTTP (Prayer-1.3.3); 01 Feb 2011 16:49:19 +0000
Date: Tue, 01 Feb 2011 16:49:19 +0000
From: Chris Thompson <cet1@cam.ac.uk>
To: Tony Finch <dot@dotat.at>
Message-ID: <Prayer.1.3.3.1102011649190.594@hermes-1.csi.cam.ac.uk>
In-Reply-To: <alpine.LSU.2.00.1102011624120.5244@hermes-1.csi.cam.ac.uk>
References: <4D41D3E2.6060107@cisco.com> <82r5bxl8yo.fsf@mid.bfk.de> <1964C69C6E2043BAA45387ED557C72E2@local> <alpine.LSU.2.00.1102011624120.5244@hermes-1.csi.cam.ac.uk>
X-Mailer: Prayer v1.3.3
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="ISO-8859-1"
Sender: Chris Thompson <cet1@hermes.cam.ac.uk>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] Historical root keys: The Large Router Vendor Speaks
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: cet1@cam.ac.uk
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Feb 2011 16:46:21 -0000

On Feb 1 2011, Tony Finch wrote:

>On Fri, 28 Jan 2011, George Barwood wrote:
>>
>> I think it's necessary to roll the key eventually because DNSSEC
>> signature dates wrap, (and signatures can therefore be replayed) but
>> only after 136 years.
>
>There are no dates on DNS keys so I don't understand the relevance of this
>point.

In 2011, the root zone has an RRSIG on the DNSKEY RRset signed using the KSK,
validating the current ZSK. It covers a period of a couple of weeks.

In 2147, the same time_t values (mod 2^32) come round again, and this RRSIG
can be replayed, if the root zone KSK has not changed.

Meanwhile, this year's ZSK has been compromised - we'll be able to factorise
1024-bit moduli by then, surely?

So the replay can be used to validate a compromised root zone ZSK, and we're
well away to taking over the Internet :-)

Of course, the likelihood of any of this stuff being around in 136 years time
is ... small.

-- 
Chris Thompson               University of Cambridge Computing Service,
Email: cet1@ucs.cam.ac.uk    New Museums Site, Cambridge CB2 3QH,
Phone: +44 1223 334715       United Kingdom.