Re: [Hipsec] HIT security analysis -- Follow-up on 4843bis / ORCHIDv2
Robert Moskowitz <rgm@htt-consult.com> Tue, 13 April 2010 13:02 UTC
Return-Path: <rgm@htt-consult.com>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 734663A68E7 for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 06:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.941
X-Spam-Level:
X-Spam-Status: No, score=-0.941 tagged_above=-999 required=5 tests=[AWL=-0.942, BAYES_50=0.001]
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 P8-V3wAXtX2x for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 06:02:48 -0700 (PDT)
Received: from klovia.htt-consult.com (klovia.htt-consult.com [208.83.67.149]) by core3.amsl.com (Postfix) with ESMTP id 479F83A68A3 for <hipsec@ietf.org>; Tue, 13 Apr 2010 06:02:48 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by klovia.htt-consult.com (Postfix) with ESMTP id 014DE6829C for <hipsec@ietf.org>; Tue, 13 Apr 2010 12:57:22 +0000 (UTC)
X-Virus-Scanned: amavisd-new at localhost
Received: from klovia.htt-consult.com ([127.0.0.1]) by localhost (klovia.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LfkyTcfjYjrH for <hipsec@ietf.org>; Tue, 13 Apr 2010 08:57:13 -0400 (EDT)
Received: from nc2400.htt-consult.com (h155.home.htt [208.83.67.155]) (Authenticated sender: rgm@htt-consult.com) by klovia.htt-consult.com (Postfix) with ESMTPSA id 75A0568B5C for <hipsec@ietf.org>; Tue, 13 Apr 2010 08:57:13 -0400 (EDT)
Message-ID: <4BC46B67.5070906@htt-consult.com>
Date: Tue, 13 Apr 2010 09:02:31 -0400
From: Robert Moskowitz <rgm@htt-consult.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4
MIME-Version: 1.0
To: "hipsec@ietf.org" <hipsec@ietf.org>
References: <4BBCB5E3.3080707@htt-consult.com>
In-Reply-To: <4BBCB5E3.3080707@htt-consult.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [Hipsec] HIT security analysis -- Follow-up on 4843bis / ORCHIDv2
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Apr 2010 13:02:49 -0000
Collision Resistance HITs SHOULD be generated in a manner that is collision resistant. The application only knows the HIT, not the HI. So if an application were communicating with two hosts that had the same HIT, the API would not be able to route traffic appropriately. With the 96 bit space in ORCHIDv2, what is the probability of a collision, given Collision Resistance, with a host connected to 10 peers? To 10,000 peers? To 1,000,000 peers? (can someone do the math?) There is no advantage for Malice to find 2 HIs that have the same HIT. There does not seem to be a cryptographic risk related to Collision Resistance. Preimage Resistance If a host only has the HIT of its peer, then it is at risk of a Preimage attack. This applies to implementations that use a /etc/host file style ACL. Those that use HIP DNS records obtain both the HIT and HI and thus are resistant to a preimage attack. Opertunistic mode 'does not care'. It gets what it gets in R1; Malice can do whatever it wants in constructing an R1 and does not need to resort to a Preimage attack. Second Preimage Resistance Malice could launch a HIP state attack if the HIT generation is subject to a Second Preimage attack. If Malice determines that Bob and Alice are currently communicating, and Bob has HI1 and HIT1 and Malice can generate HI2 with HIT1, then Malice can 'take over' the communication channel from Bob to Alice with a new HIP exchange. This will be exposed, however as soon as Bob communicates with Alice and gets HIP errors. So this attack is only of value when Bob is a listener only (Alice is a sensor that only sends data) and does not check to ensure it is regularly receiving data from Alice. The Opertunistic mode analysis here is the same as for Preimage Resistance with the above state attack caveat. From this brief analysis I get that provided that HIT/HI connection is maintained in all ACLs (and state machines), then the only hash security feature HITs/ORCHIDs need is Collision Resistance. As noted above, this is NOT the case for implementations that rely on a /etc/hosts style ACL. On 04/07/2010 12:42 PM, Robert Moskowitz wrote: > I am back (kind of) from Passover holidays. > > Given some of the content of the 4843bis thread, I went looking to see > if we had any writeup on the security threats for HITs, and really did > not find a consistant writeup. Of course we want to minimize > collisions, but what are the threats? > > 4423 has always 'allowed' for HITs from a source other than a Public > Key, but does not go through the threats, even if there is a PK Host > Identity, but something other than a Cryptographic Hash is used to > derive the HIT from it. > > Or maybe it is all there (the threat analysis) and I am not seeing the > tree in the forest. > > > _______________________________________________ > Hipsec mailing list > Hipsec@ietf.org > https://www.ietf.org/mailman/listinfo/hipsec >
- [Hipsec] HIT security analysis -- Follow-up on 48… Robert Moskowitz
- Re: [Hipsec] HIT security analysis -- Follow-up o… Tobias Heer
- Re: [Hipsec] HIT security analysis -- Follow-up o… Robert Moskowitz
- Re: [Hipsec] HIT security analysis -- Follow-up o… Robert Moskowitz
- Re: [Hipsec] HIT security analysis -- Follow-up o… Tobias Heer