Re: [Trans] text to address DKG's conspiring CAs attack
"David A. Cooper" <david.cooper@nist.gov> Wed, 16 March 2016 18:12 UTC
Return-Path: <david.cooper@nist.gov>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBF2912DA57 for <trans@ietfa.amsl.com>; Wed, 16 Mar 2016 11:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.478
X-Spam-Level:
X-Spam-Status: No, score=-3.478 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 3wyz9DnJKDUj for <trans@ietfa.amsl.com>; Wed, 16 Mar 2016 11:12:33 -0700 (PDT)
Received: from wsget1.nist.gov (wsget1.nist.gov [129.6.13.150]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6C5012D596 for <trans@ietf.org>; Wed, 16 Mar 2016 11:12:31 -0700 (PDT)
Received: from WSXGHUB1.xchange.nist.gov (129.6.18.96) by wsget1.nist.gov (129.6.13.150) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 16 Mar 2016 14:13:59 -0400
Received: from postmark.nist.gov (129.6.16.94) by WSXGHUB1.xchange.nist.gov (129.6.18.96) with Microsoft SMTP Server (TLS) id 8.3.406.0; Wed, 16 Mar 2016 14:12:29 -0400
Received: from [129.6.54.72] (st26.ncsl.nist.gov [129.6.54.72]) by postmark.nist.gov (8.13.8/8.13.1) with ESMTP id u2GICF39026105; Wed, 16 Mar 2016 14:12:15 -0400
To: Stephen Kent <kent@bbn.com>, trans@ietf.org
References: <56E6CD30.8070102@bbn.com> <56E822E8.7000704@nist.gov> <56E99C1B.4080602@bbn.com>
From: "David A. Cooper" <david.cooper@nist.gov>
Message-ID: <56E9A1FF.4050301@nist.gov>
Date: Wed, 16 Mar 2016 14:12:15 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56E99C1B.4080602@bbn.com>
Content-Type: text/html; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-NIST-MailScanner-Information:
Archived-At: <http://mailarchive.ietf.org/arch/msg/trans/2AMYmMddt7QHzdo957qIZl12rWM>
Subject: Re: [Trans] text to address DKG's conspiring CAs attack
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Mar 2016 18:12:35 -0000
There's no reason for you to rebut my analysis. What is needed is for someone to write a description of the attack scenario that accurately describes the attack scenario DKG presented, and the text you proposed doesn't do that.
If my description of the scenario is so wrong, then please explain (in detail) how a relying party would be able to determine that there are two distinct intermediate CAs in this scenario and not a single CA that has been issued cross-certificates by two different roots (as depicted in my diagrams) and how that fits in with your response to Ben Laurie that:
What information (specifically) would appear in a CRL or OCSP response issued by a CA on one path that would make it distinguishable to a relying party from a CRL or OCSP response issued by a CA on the other path in the scenario DKG described?A relying party validates a cert by walking down a cert pat from a trust anchor to
a target cert. In DKG's example, the two CAs with the same name have different
trust anchor parents, thus there are two distinct paths. A CRL (or OCSP response)
issued by a CA on one path is totally independent from A CRL (or OSCSP response)
issued by a CA on a distinct path.
On 03/16/2016 01:47 PM, Stephen Kent wrote:
David,
Others are wrong :-).As others have pointed out, the description below is fundamentally flawed, and as a result the conclusion is flawed as well. See comments in-line below.
...
In fact, an attack of the sort Gilmor envisioned can be mounted by any two CAs that are not name-constrained; the attack need not be initiated by trust anchors per se. (Also note that X.509 and RFC 5280 do not preclude creation of doppelganger CAs; the requirement for Subject name uniqueness applies individually to each CA but not across CA boundaries, and there is no requirement for public key uniqueness across CAs.)
This is incorrect! X.509 requires name uniqueness, including across CA boundaries. [Since this issue isn't relevant to the "conspiring CAs attack," information about this inaccuracy is at the end of the email.
David still believes that the X.500 directory tree is the basis for all names in certs.
of course this is not even remotely true, and 5280 is quite clear about this. But I am happy
to avoid this argument by omitting the reference to X.509, since we're discussing Internet
standards and thus RFC 5280 is relevant reference.
wrong, again. In the scenaior there are two distinct, intermediate CAs, with distinct parents.
The attack requires that both of the doppelganger CAs issue a certificate for a targeted Subject (e.g., web site). These two (EE) certificates are identical; they contain the same name, public key, serial number, etc. Only one of the malicious CAs logs a bogus certificate and acquires an SCT for it. Because the bogus certificates are identical, the SCT will match both.
As noted by others, if the two (EE) certificates are identical, then there is only one EE certificate. So, in the scenario described above, there aren't two intermediate CAs and two (identical) EE certificates. There are two trust anchors, each issuing a certificate to a single subordinate CA, which in turn has issued a single EE certificate identifying the target Subject:
The CA certs for the malicious CAs are different, e.g., at a minimum they have different Issuer names.
The question of whether there are one or two bogus certs strikes me as an existential distinction.
I'm not going spend my time rebuting the rest of your analysis, as it is based on a faulty interpretation
of what I wrote, and is illustrated with diagrams that don't match the scenario that DKG and
I are describe.
Steve
_______________________________________________ Trans mailing list Trans@ietf.org https://www.ietf.org/mailman/listinfo/trans" rel="nofollow">https://www.ietf.org/mailman/listinfo/trans
- [Trans] text to address DKG's conspiring CAs atta… Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Salz, Rich
- Re: [Trans] text to address DKG's conspiring CAs … Melinda Shore
- Re: [Trans] text to address DKG's conspiring CAs … Salz, Rich
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … Salz, Rich
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Tom Ritter
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Rob Stradling
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Stephen Kent
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Melinda Shore
- Re: [Trans] text to address DKG's conspiring CAs … Melinda Shore
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Watson Ladd
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Melinda Shore
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Carl Wallace
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Carl Wallace
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … Carl Wallace
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper
- Re: [Trans] text to address DKG's conspiring CAs … Ben Laurie
- Re: [Trans] text to address DKG's conspiring CAs … David A. Cooper