Last Call: draft-ietf-hokey-erx to Proposed Standard

Anthony Leibovitz <Anthony.Leibovitz@microsoft.com> Sun, 03 February 2008 21:45 UTC

Return-Path: <ietf-bounces@ietf.org>
X-Original-To: ietfarch-ietf-archive@core3.amsl.com
Delivered-To: ietfarch-ietf-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B5863A6DD2; Sun, 3 Feb 2008 13:45:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=1, MIME_HTML_MOSTLY=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from core3.amsl.com ([127.0.0.1]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztctIbb2ZKim; Sun, 3 Feb 2008 13:45:47 -0800 (PST)
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6AD593A6D4B; Sun, 3 Feb 2008 13:45:05 -0800 (PST)
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1957228C138 for <ietf@core3.amsl.com>; Thu, 31 Jan 2008 17:49:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from core3.amsl.com ([127.0.0.1]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VIi5sIl+wuCR for <ietf@core3.amsl.com>; Thu, 31 Jan 2008 17:49:21 -0800 (PST)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 7911228C1CB for <ietf@ietf.org>; Thu, 31 Jan 2008 17:47:51 -0800 (PST)
Received: from tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.1.240.5; Thu, 31 Jan 2008 17:49:25 -0800
Received: from TK5-EXMLT-W603.wingroup.windeploy.ntdev.microsoft.com (157.54.18.6) by tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) with Microsoft SMTP Server id 8.1.240.5; Thu, 31 Jan 2008 17:49:23 -0800
Received: from NA-EXMSG-W602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.48]) by TK5-EXMLT-W603.wingroup.windeploy.ntdev.microsoft.com ([157.54.18.6]) with mapi; Thu, 31 Jan 2008 17:49:23 -0800
From: Anthony Leibovitz <Anthony.Leibovitz@microsoft.com>
To: "ietf@ietf.org" <ietf@ietf.org>
Date: Thu, 31 Jan 2008 17:49:20 -0800
Subject: Last Call: draft-ietf-hokey-erx to Proposed Standard
Thread-Topic: Last Call: draft-ietf-hokey-erx to Proposed Standard
Thread-Index: AchkdKlkJDwojjtIQAu9AtuoBHpgzQ==
Message-ID: <937543397460F840810FA27D2922880F5BBB9F6FB1@NA-EXMSG-W602.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-Mailman-Approved-At: Sun, 03 Feb 2008 13:45:02 -0800
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <http://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <http://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2123317101=="
Sender: ietf-bounces@ietf.org
Errors-To: ietf-bounces@ietf.org

I've read through [draft-ietf-hokey-erx-08] and oppose adoption this document as a Proposed Standard.



The key problem with the document is cost associated with deployment and implementation.  In addition to requiring updates to EAP peers and servers, the ERX proposal also requires that authenticators be updated or replaced, because instead of using existing EAP packet types, the ERX proposal requires the addition of new EAP packet types as well as peer-initiated messages.



As a result ERX requires a forklift ugprade of peers, servers, authenticators and proxies. This is unrealistic, particularly when there are alternatives that can deliver the same performance and the same (or better) security with lower deployment barriers.



For example, see references [1] and [2], there are existing deployments that only require modifications to EAP peers and authenticators (but not EAP servers), and research papers which describe schemes that only require changes to EAP peers and servers (but not authenticators).



Given the greater deployment barriers for ERX, some other benefit (such as simplicity, ease of implementation, etc.) needs to be demonstrated to tip the scales in favor of the ERX approach.  Unfortunately, ERX is also more complex than other schemes, and provides no better (and potentially worse) security than the alternatives.



In addition to these basic issues, the ERX scheme has lots of other issues:



1. Proposed key hierarchy - the key hierarchy on which this document is based is complex and unclear.  It adds additional server roles in both single and multi-domain environments, it defines new key types to be generated, maintained and distributed.  Furthermore I am not clear how crypto-agility is supported within the proposed hierarchy. If the assumption is that EAP or EAP methods will do the negotiation then even once platforms are updated to support this technology most existing methods would not work.



2. The proposed solution is based on questionable optimizations.  The document requires that RADIUS servers distribute keys to entities without user authentication which would appear to violate RFC 2865.  This is done in order to save a round-trip in getting keys to the ERX server.  However, for performance this optimization is not important compared with optimizing the exchange with the local ERX server, since user movement to a new domain presumably only happens infrequently.



Rather than requiring new EAP messages, it seems that the same goal could have been accomplished using existing

EAP messages. For example, for the exchange with the local ERX server, previous research at University of Maryland [1]  was based on a single round-trip authenticated exchanges using the EAP-Response/Identity, which requires no authenticator modifications.



Another performance issue with ERX is that it presumes that adjacent authenticators are all pointed to the same ERX server.  Where deployments balance load by pointing adjacent authenticators to different proxies, the ERX scheme will not perform as well as existing EAP method-specific reauthentication schemes such as EAP-FAST, which allows EAP peers to do fast resume without server-side state.



3. Complexity.  From reading the document, I can see little or no security benefit from the EMSK-based key hierarchy, and lots of downside.  Why is it not possible to obtain cryptographically separate keys to be used by authenticators based on the MSK alone?  This approach already deployed, and seems to offer equivalent security without requiring changes to AAA servers (although it does require changes to EAP peers, authenticators and proxies).



4. Compatibility with existing EAP lower layers.  The ERX scheme is based on peer-initiated messages, while RFC 3748 assumes that EAP exchanges are initiated by the authenticator. Several EAP lower layers such as IEEE 802.1X-2001 are based on this assumption. RFC 3579 also specifically prohibits "role reversal".  Given that the ability to do a single round-trip "session resume" based on the EAP-Response/Identity, why is it necessary to change the EAP protocol in such a fundamental way?



The document also appears to change aspects of the EAP state machine defined in RFC 4137, by requiring ERX clients not to respond to EAP-Request/Identity messages.  Why not have the new ERX messages be sent first?  That way, ERX peers will respond immediately, and the EAP-Request/Identity will not need to be sent at all.  Legacy RFC 3748 peers will drop the new messages, and will only respond to the EAP-Request/Identity.



5. Key state retention and key proliferation - Currently RADIUS servers do not need to retain key state; ERX requires key state retention for multiple independent keys.  This could create a situation where a peer has multiple session keys on a single authenticator increasing the overall system vulnerability.  The result of increasing the volume of keys to be stored on Authenticators is not yet clear but would clearly drive for an increased rate of keys recycled (dropped out of Authenticators) with the obvious result of a much larger rate of session keys generated, weakening of the EMSK and increased ERP-re-auth rate.



6. Potential abuses.  While ERX itself is within the RFC 3748 applicability statement, many of the potential uses of EMSK-based key hierarchies are not. What is the IANA allocation strategy for EMSK key labels?  Today a popular use of EMSK-based key hierarchies is for implementation of "walled garden" style application authentication based on EAP.  This allows operators to ensure that applications only function if they have available an EMSK-based key.  But is it really sensible to require applications to only run over link layers that support EAP?



7. Finally some documentation improvements could improve the consumption of this document. Normally a document will include an Introduction laying out the problem, and perhaps providing some insight into the thinking behind the design.  It might even provide a short overview of related documents.  Instead, the ERX document utilizes a large number of internally defined terms inconsistently without defining them in the glossary.  Acronyms are not spelled out.  This makes the document very difficult to parse, even for readers with familiarity with previous IETF work such as RFC 3748. The document distributes must and may requirements per scenario and does not provide a clear set of requirements per component ensuring that even the most diligent of engineers will miss/misinterpret a required or optional behavior.



References:

[1] https://drum.umd.edu/dspace/bitstream/1903/3038/1/interauth.pdf

[2] http://tools.ietf.org/html/draft-clancy-eap-rekeying-00

Thanks,
-Anthony Leibovitz

_______________________________________________
Ietf mailing list
Ietf@ietf.org
http://www.ietf.org/mailman/listinfo/ietf