view Side-By-Side changes
EAP Working Group Bernard Aboba INTERNET-DRAFT Dan Simon Category: Standards Track Microsoft<draft-ietf-eap-keying-09.txt><draft-ietf-eap-keying-10.txt> J. Arkko8 January5 March 2006 Ericsson P. Eronen Nokia H. Levkowetz, Ed. ipUnplugged Extensible Authentication Protocol (EAP) Key Management Framework By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on August 22, 2006. Copyright Notice Copyright (C) The Internet Society 2006. Abstract The Extensible Authentication Protocol (EAP), defined in [RFC3748], enables extensible network access authentication. This document provides a framework for the transport and usage of keying material generated by EAP authentication algorithms, known as "methods". It also specifies the EAP key hierarchy. Aboba, et al. Standards Track [Page 1] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 Table of Contents 1. Introduction .......................................... 3 1.1 Requirements Language ........................... 3 1.2 Terminology ..................................... 3 1.3 Overview ........................................ 5 1.4 EAP Invariants .................................. 9 2. Lower Layer Operation ................................. 12 2.1 Overview ........................................ 12 2.2 Layering ........................................1314 2.3 Transient Session Keys ..........................1516 2.4 Authenticator Architecture ...................... 19 2.5 Key Scope .......................................1822 3. Key Management ........................................2224 3.1 Secure Association Protocol .....................2224 3.2 Parent-Child Relationships ......................2527 3.3 Local Key Lifetimes .............................2627 3.4 Exported and Calculated Key Lifetimes ...........2628 3.5 Key Cache Synchronization .......................2829 3.6 Key Strength ....................................2830 3.7 Key Wrap ........................................2931 4. Handoff Vulnerabilities ...............................3031 4.1 Authorization ...................................3032 4.2 Correctness .....................................3133 5. Security Considerations ..............................3436 5.1 Security Terminology ............................3536 5.2 Threat Model ....................................3536 5.3 Authenticator Compromise ........................3637 5.4 Spoofing ........................................3738 5.5 Downgrade Attacks ...............................3739 5.6 Unauthorized Disclosure .........................3839 5.7 Replay Protection ...............................4041 5.8 Key Freshness ...................................4042 5.9 Elevation of Privilege ..........................4143 5.10 Man-in-the-Middle Attacks .......................4244 5.11 Denial of Service Attacks .......................4344 5.12 Impersonation ...................................4345 5.13 Channel Binding .................................4446 6. IANA Considerations ...................................4547 7. References ............................................4547 7.1 Normative References ............................4547 7.2 Informative References ..........................4647 Acknowledgments ..............................................5052 Author's Addresses ...........................................5053 Appendix A -EAP-TLS Key Hierarchy ........................... 52 Appendix B -Exported Parameters in Existing Methods .........5354 Intellectual Property Statement .............................. 55 Disclaimer of Validity ....................................... 56 Copyright Statement .......................................... 56 Aboba, et al. Standards Track [Page 2] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 1. Introduction The Extensible Authentication Protocol (EAP), defined in [RFC3748], was designed to enable extensible authentication for network access in situations in which the IP protocol is not available. Originally developed for use with PPP [RFC1661], it has subsequently also been applied to IEEE 802 wired networks [IEEE-802.1X]. This document provides a framework for the transport and usage of keying material generated by EAP authentication algorithms, known as "methods". In EAP, keying material is generated by EAP methods. Part of this keying material may be used by EAP methods themselves and part of this material may be exported. The exported keying material may be transported by AAA protocols or used by Secure Association Protocols in the generation or transport of session keys which are used by lower layer ciphersuites. This document describes each of these elements and provides a system-level security analysis. It also specifies the EAP key hierarchy. 1.1. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119]. 1.2. Terminology This document frequently uses the following terms: authenticator The end of the link initiating EAP authentication. The term Authenticator is used in [IEEE-802.1X], and authenticator has the same meaning in this document. peer The end of the link that responds to the authenticator. In [IEEE-802.1X], this end is known as the Supplicant. Supplicant The end of the link that responds to the authenticator in [IEEE-802.1X]. In this document, this end of the link is called the peer. backend authentication server A backend authentication server is an entity that provides an authentication service to an authenticator. When used, this server typically executes EAP methods for the authenticator. This terminology is also used in [IEEE-802.1X]. Aboba, et al. Standards Track [Page 3] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 AAA Authentication, Authorization and Accounting. AAA protocols with EAP support include RADIUS [RFC3579] and Diameter [RFC4072]. In this document, the terms "AAA server" and "backend authentication server" are used interchangeably. EAP server The entity that terminates the EAP authentication method with the peer. In the case where no backend authentication server is used, the EAP server is part of the authenticator. In the case where the authenticator operates in pass-through mode, the EAP server is located on the backend authentication server. security association A set of policies and cryptographic state used to protect information. Elements of a security association may include cryptographic keys, negotiated ciphersuites and other parameters, counters, sequence spaces, authorization attributes, etc. Long Term Credential EAP methods frequently make use of long term secrets in order to enable authentication between the peer and server. In the case of a method based on pre-shared key authentication, the long term credential is the pre-shared key. In the case of a public-key based method, the long term credential is the corresponding private key. Master Session Key (MSK) Keying material that is derived between the EAP peer and server and exported by the EAP method. The MSK is at least 64 octets in length. Extended Master Session Key (EMSK) Additional keying material derived between the peer and server that is exported by the EAP method. The EMSK is at least 64 octets in length, and is never shared with a third party. Initialization Vector (IV) A quantity of at least 64 octets, suitable for use in an initialization vector field, that is derived between the peer and EAP server. Since the IV is a known value in methods such as EAP- TLS [RFC2716], it cannot be used by itself for computation of any quantity that needs to remain secret. As a result, its use has been deprecated and EAP methods are not required to generate it. However, when it is generated it MUST be unpredictable. Pairwise Master Key (PMK) Lower layers use MSK in lower-layer dependent manner. For instance, in [IEEE-802.11i] Octets 0-31 of the MSK are known as the Aboba, et al. Standards Track [Page 4] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 Pairwise Master Key (PMK). In [IEEE-802.11i] the TKIP and AES CCMP ciphersuites derive their Transient Session Keys (TSKs) solely from the PMK, whereas the WEP ciphersuite as noted in [RFC3580], derives its TSKs from both halves of the MSK. In [802.16e], the MSK is truncated to 40 octets for PMK and 20 octets for PMK2. Transient EAP Keys (TEKs) Session keys which are used to establish a protected channel between the EAP peer and server during the EAP authentication exchange. The TEKs are appropriate for use with the ciphersuite negotiated between EAP peer and server for use in protecting the EAP conversation. The TEKs are stored locally by the EAP method and are not exported. Note that the ciphersuite used to set up the protected channel between the EAP peer and server during EAP authentication is unrelated to the ciphersuite used to subsequently protect data sent between the EAP peer and authenticator.An example TEK key hierarchy is described in Appendix A.Transient Session Keys (TSKs) Session keys used to protect data exchanged after EAP authentication has successfully completed, using the ciphersuite negotiated between the EAP peer and authenticator. AAA-Key The term AAA-Key is synonymous with MSK. 1.3. Overview EAP, defined in [RFC3748], is a two-party protocol spoken between the EAP peer and server. Within EAP, keying material is generated by EAP methods. Part of this keying material may be used by EAP methods themselves and part of this material may be exported. In addition to export of keying material, EAP methods may also export associated parameters, and may import and export Channel Bindings from the lower layer. As illustrated in Figure 1, the EAP method key derivation has at the root the long term credential utilized by the selected EAP method. If authentication is based on a pre-shared key, the parties store the EAP method to be used and the pre-shared key. The EAP server also stores the peer's identity as well as other information associated with it. This information may be used to determine whether access to some service should be granted. The peer stores information necessary to choose which secret to use for which service. If authentication is based on proof of possession of the private key corresponding to the public key contained within a certificate, the parties store the EAP method to be used and the trust anchors used to validate the certificates. The EAP server also stores the peer's Aboba, et al. Standards Track [Page 5] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006validate the certificates. The EAP server also stores the peer'sidentity and the peer stores information necessary to choose which certificate to use for which service. Based on the long term credential established between the peer and the server, EAP methods derive two types of keys: [1] Keys calculated locally by the EAP method but not exported by the EAP method, such as the TEKs. [2] Keying material exported by the EAP method: MSK, EMSK, IV. As noted in [RFC3748] Section 7.10, EAP methods generating keys are required to calculate and export the MSK and EMSK, which must be at least 64 octets in length. EAP methods also may export the IV; however, the use of the IV is deprecated. EAP methods also MAY export method-specific peer and server identifiers (peer-ID and server-ID), a method-specific EAP conversation identifier known as the Method-ID, and the lifetime of the exported keys, known as the Key-Lifetime. EAP methods MAY also support the import and export of Channel Bindings. New EAP method specifications MUST define the Peer-ID, Server-ID and Method-ID. The combination of the Peer-ID and Server-ID uniquely specifies the endpoints of the EAP methodexchange.exchange when they are provided. Peer-ID As described in [RFC3748] Section 7.3, the identity provided in the EAP-Response/Identity, may be different from the peer identity authenticated by the EAP method. Where the EAP method authenticates the peer identity, that identity is exported by the method as the Peer-ID. A suitable EAP peer name may not always be available. Where an EAP method does not define a method-specific peer identity, the Peer-ID is the null string. The Peer-ID for existing EAP methods is defined in AppendixB.A. Server-ID Where the EAP method authenticates the server identity, that identity is exported by the method as the Server-ID. A suitable EAP server name may not always be available. Where an EAP method does not define a method-specific peer identity, the Server-ID is the null string. The Server-ID for existing EAP methods is defined in AppendixB.A. Aboba, et al. Standards Track [Page 6] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+ | | ^ | EAP Method | | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+ | | | | | | | | | | | EAP Method Key |<->| Long-Term | | | | | Derivation | | Credential | | | | | | | | | | | | | +-+-+-+-+-+-+-+ | Local to | | | | | EAP | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Method | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+ | | | | | TEK | |MSK, EMSK | |IV | | | | | |Derivation | |Derivation | |Derivation | | | | | | | | | |(Deprecated) | | | | | +-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+ | | | | ^ | | | | | | | | | | V +-+-|-+-+-+-+-+-+-+-+-|-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+ ---+ | | | | ^ | Peer-ID, | | | Exported | | Server-ID, | Channel | MSK (64+B) | IV (64B) by | | Method-ID, | Bindings | EMSK (64+B) | (Optional) EAP | | Key-Lifetime | & Result | | Method | V V V V V Figure 1: EAP Method Parameter Import/Export Method-ID EAP method specifications deriving keys MUST specify a temporally unique method identifier known as the Method-ID. The EAP Method-ID uniquely identifies an EAP session of a given Type between an EAP peer and server. The Method-ID is typically constructed from nonces or counters used within the EAP method exchange. The Method-ID for existing EAP methods is defined in AppendixB.A. Session-ID The Session-ID uniquely identifies an EAP session between an EAP peer (as identified by the Peer-ID) and server (as identified by the Server-ID). The EAP Session-ID consists of the concatenation of the Aboba, et al. Standards Track [Page 7] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 Expanded EAP Type Code (including the Type, Vendor-ID and Vendor-Type fields defined in [RFC3748] Section 5.7) and the Method-ID. The inclusion of the Expanded Type Code in the EAP Session-Id ensures that each EAP method has a distinct Session-ID space. Since an EAP session is not bound to a particular authenticator or specific ports on the peer and authenticator, the authenticator port or identity are not included in the Session-Id. Key-Lifetime While EAP itself does not support key lifetime negotiation, it is possible to specify methods that do. However, systems that rely on such negotiation for exported keys would only function with these methods. As a result, it is NOT RECOMMENDED to use this approach as the sole way to determine key lifetimes. Channel Bindings Channel Bindings include lower layer parameters that are verified for consistency between the EAP peer and server. In order to avoid introducing media dependencies, EAP methods that transport Channel Binding data MUST treat this data as opaque octets. Typically the EAP method imports Channel Bindings from the lower layer on the peer, and transmits them securely to the EAP server, which exports them to the lower layer. However, transport may occur from EAP server to peer, or may be bi-directional. On the side of the exchange (peer or server) where Channel Bindings are verified, the lower layer passes the result of the verification (TRUE or FALSE) up to the EAP method. 1.3.1. Key Naming Each key created within the EAP key management framework has a name (a unique identifier), as well as a scope (the parties to whom the key is available). The scope of exported parameters is defined by the EAP peer name (if securely exchanged within the method) and the EAP server name (also only if securely exchanged). Where a peer or server name is missing the null string is used. MSK and EMSK Names These parameters are exported by the EAP peer and EAP server, and can be referred to using the EAP Session-ID and a binary or textual indication of the parameter being referred to. PMK Name This document does not specify a naming scheme for the PMK. The PMK is only identified by the key from which it is derived. Note: IEEE 802.11i names the PMKID for the purposes of being able Aboba, et al. Standards Track [Page 8] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 to refer to it in the Secure Association protocol; this naming is based on a hash of the PMK itself as well as some other parameters (see Section 8.5.1.2 [IEEE-802.11i]). TEK Name The TEKs may or may not be named. Their naming is specified in the EAP method. TSK Name The TSKs are typically named. Their naming is specified in the lower layer so that the correct set of transient session keys can be identified for processing a given packet. 1.4. EAP Invariants Certain basic characteristics, known as "EAP Invariants", hold true for EAP implementations on all media: Mode independence Media independence Method independence Ciphersuite independence 1.4.1. Mode Independence EAP is typically deployed in order to support extensible network access authentication in situations where a peer desires network access via one or more authenticators. Where authenticators are deployed standalone, the EAP conversation occurs between the peer and authenticator, and the authenticator must locally implement an EAP method acceptable to the peer. However, one of the advantages of EAP is that it enables deployment of new authentication methods without requiring development of new code on the authenticator. While the authenticator may implement some EAP methods locally and use those methods to authenticate local users, it may at the same time act as a pass-through for other users and methods, forwarding EAP packets back and forth between the backend authentication server and the peer. This is accomplished by encapsulating EAP packets within the Authentication, Authorization and Accounting (AAA) protocol, spoken between the authenticator and backend authentication server. AAA protocols supporting EAP include RADIUS [RFC3579] and Diameter [RFC4072]. It is a fundamental property of EAP that at the EAP method layer, the conversation between the EAP peer and server is unaffected by whether the EAP authenticator is operating in "pass-through" mode. EAP methods operate identically in all aspects, including key derivation Aboba, et al. Standards Track [Page 9] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 and parameter import/export, regardless of whether the authenticator is operating as a pass-through or not. The successful completion of an EAP method that supports key derivation results in the export of keying material on the EAP peer and server. Even though the EAP peer or server may import Channel- Bindings that may include the identity of the EAP authenticator, this information is treated as opaque octets. As a result, within EAP the only relevant identities are the Peer-ID and Server-ID. Channel Bindings are only interpreted by the lower layer. Within EAP, the primary function of the AAA protocol is to maintain the principle of Mode Independence, so that as far as the EAP peer is concerned, its conversation with the EAP authenticator, and all consequences of that conversation, are identical, regardless of the authenticator mode of operation. 1.4.2. Media Independence One of the goals of EAP is to allow EAP methods to function on any lower layer meeting the criteria outlined in [RFC3748], Section 3.1. For example, as described in [RFC3748], EAP authentication can be run over PPP [RFC1661], IEEE 802 wired networks [IEEE-802.1X], and IEEE 802.11 wireless LANs [IEEE-802.11i]. In order to maintain media independence, it is necessary for EAP to avoid consideration of media-specific elements. For example, EAP methods cannot be assumed to have knowledge of the lower layer over which they are transported, and cannot be restricted to identifiers associated with a particular usage environment (e.g. MAC addresses). Note that media independence may be retained within EAP methods that support Channel-Bindings or method-specific identification. An EAP method need not be aware of the content of an identifier in order to use it. This enables an EAP method to use media-specific identifiers such as MAC addresses without compromising media independence. Channel-Bindings are treated as opaque octets by EAP methods, so that handling them does not require media-specific knowledge. 1.4.3. Method Independence By enabling pass-through, authenticators can support any method implemented on the peer and server, not just locally implemented methods. This allows the authenticator to avoid implementing code for each EAP method required by peers. In fact, since a pass-through authenticator is not required to implement any EAP methods at all, it cannot be assumed to support any EAP method-specific code. Aboba, et al. Standards Track [Page 10] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 As a result, as noted in [RFC3748], authenticators must by default be capable of supporting any EAP method. This is useful where there is no single EAP method that is both mandatory-to-implement and offers acceptable security for the media in use. For example, the [RFC3748] mandatory-to-implement EAP method (MD5-Challenge) does not provide dictionary attack resistance, mutual authentication or key derivation, and as a result is not appropriate for use in wireless LAN authentication [RFC4017]. However, despite this it is possible for the peer and authenticator to interoperate as long as a suitable EAP method is supported on the EAP server. 1.4.4. Ciphersuite Independence Ciphersuite Independence is a requirement for Media Independence. Since lower layer ciphersuites vary between media, media independence requires that EAP keying material needs to be large enough (with sufficient entropy) to handle any ciphersuite. While EAP methods may negotiate the ciphersuite used in protection of the EAP conversation, the ciphersuite used for the protection of the data exchanged after EAP authentication has completed is negotiated between the peer and authenticator within the lower layer, outside of EAP. For example, within PPP, the ciphersuite is negotiated within the Encryption Control Protocol (ECP) defined in [RFC1968], after EAP authentication is completed. Within [IEEE-802.11i], the AP ciphersuites are advertised in the Beacon and Probe Responses prior to EAP authentication, and are securely verified during a 4-way handshake exchange. Since the ciphersuites used to protect data depend on the lower layer, requiring EAP methods have knowledge of lower layer ciphersuites would compromise the principle of Media Independence. Since ciphersuite negotiation occurs in the lower layer, there is no need for ciphersuite negotiation within EAP, and EAP methods generate keying material that is ciphersuite-independent. Algorithms for deriving TSKs MUST NOT depend on the EAP method, although algorithms for TEK derivation MAY be specific to the EAP method. In order to allow a ciphersuite to be usable within the EAP keying framework, a specification MUST be provided describing how TSKs suitable for use with the ciphersuite are derived from exported EAP keying parameters. Advantages of ciphersuite-independence include: Aboba, et al. Standards Track [Page 11] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 Reduced update requirements If EAP methods were to specify how to derive transient session keys for each ciphersuite, they would need to be updated each time a new ciphersuite is developed. In addition, backend authentication servers might not be usable with all EAP-capable authenticators, since the backend authentication server would also need to be updated each time support for a new ciphersuite is added to the authenticator. Reduced EAP method complexity Requiring each EAP method to include ciphersuite-specific code for transient session key derivation would increase method complexity and result in duplicated effort. Simplified configuration The ciphersuite is negotiated between the peer and authenticator outside of EAP. Where the authenticator operates in "pass-through" mode, the EAP server is not a party to this negotiation, nor is it involved in the data flow between the EAP peer and authenticator. As a result, the EAP server may not have knowledge of the ciphersuites and negotiation policies implemented by the peer and authenticator, or be aware of the ciphersuite negotiated between them. For example, since ECP negotiation occurs after authentication, when run over PPP, the EAP peer and server may not anticipate the negotiated ciphersuite and therefore this information cannot be provided to the EAP method. 2. Lower Layer Operation 2.1. Overview Where EAP key derivation is supported, the conversation typically takes place in three phases: Phase 0: Discovery Phase 1: Authentication 1a: EAP authentication 1b: AAA Key Transport (optional) Phase 2: Secure Association Establishment 2a: Unicast Secure Association 2b: Multicast Secure Association (optional) Of these phases, Phase 0, 1b and Phase 2 are handled external to EAP. Phases 0 and 2 are handled byathe lowerlayer.layer protocol and phase 1b is typically handled by a AAA protocol. In the discovery phase (phase 0), peers locate authenticators and discover their capabilities. A peer may locate an authenticator providing access to a particular network, or a peer may locate an authenticator behind a Aboba, et al. Standards Track [Page 12] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 bridge with which it desires to establish a Secure Association. Discovery can occur manually orAboba, et al. Standards Track [Page 12] INTERNET-DRAFT EAP Key Management Framework 8 January 2006automatically, depending on the lower layer over which EAP runs. The authentication phase (phase 1) may begin once the peer and authenticator discover each other. This phase, if it occurs, always includes EAP authentication (phase 1a). Where the chosen EAP method supports key derivation, in phase 1a EAP keying material is derived on both the peer and the EAP server. An additional step (phase 1b) is required in deployments which include a backend authentication server, in order to transport keying material from the backend authentication server to the authenticator. In order to obey the principle of Mode Independence, where a backend server is present, all keying material whichusis required by the lower layer needs to be transported from the EAP server to the authenticator. Since existing TSK derivation techniques depend solely on the MSK, in existing implementations, this is the only keying material replicated in the AAA key transport phase 1b. Successful completion of EAP authentication and key derivation by a peer and EAP server does not necessarily imply that the peer is committed to joining the network associated with an EAP server. Rather, this commitment is implied by the creation of a security association between the EAP peer and authenticator, as part of the Secure Association Protocol (phase 2). The Secure Association exchange (phase 2) occurs between the peer and authenticator in order to manage the creation and deletion of unicast (phase 2a) and multicast (phase 2b) security associations between the peer and authenticator. The conversation between the parties is shown in Figure 2.2.2. Layering In completion of EAP authentication,Existing EAPmethods on the peerlower layers implement phase 0, 2a and 2b in different ways: PPP PPP, defined in [RFC1661] does not support discovery, nor does it include a Secure Association Protocol. PPPOE PPPOE, defined in [RFC2516], includes support for a Discovery stage (phase 0). In this step, the EAPserver exportpeer sends a PPPoE Active Discovery Initiation (PADI) packet to theMaster Session Key (MSK), Extended Master Session Key (EMSK), Initialization Vector (IV), Peer-ID, Server-ID, Session- ID and Key-Lifetime. As illustrated in Figure 3, EAP methods export keying material and parameters tobroadcast address, indicating theEAP peer or authenticator layers.service it is requesting. TheEAP peer and authenticator layers MUST NOT modify or cache keying material or parameters (including Channel Bindings) passing in either direction betweenAccess Concentrator replies with a PPPOE Active Discovery Offer (PADO) packet containing its name, theEAP method layerservice name and an indication of theEAP layer. The EAP layer also MUST NOT cache keying material or parameters (including Channel Bindings) passed to itservices offered by theEAP peer/authenticator layer or the lower layer.concentrator. The discovery phase is not secured. PPPOE, like PPP, does not include a Secure Association Aboba, et al. Standards Track [Page 13] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006EAP peer Authenticator Auth. Server -------- ------------- ------------ |<----------------------------->| | | Discovery (phase 0) | | |<----------------------------->|<----------------------------->| | EAP authProtocol. IKEv2 IKEv2, defined in [RFC4306], handles the derivation of unicast security associations (phase1a) | AAA pass-through (optional) | | | | | |<----------------------------->| | | AAA Key transport | | | (optional; phase 1b) | |<----------------------------->| | | Unicast Secure association | | |2a), while the derivation of multicast security associations (phase2a) | | | | | |<----------------------------->| | | Multicast Secure association | | | (optional; phase2b)| | | | | Figure 2: Conversation Overview Based on the Method-ID exported by the EAP method, the EAP layer formsis handled in a separate group key management protocol, as described in [RFC4046]. Several mechanisms have been proposed for discovery of IPsec security gateways. [RFC2230] discusses theEAP Session-IDuse of KX Resource Records (RRs) for IPsec gateway discovery; while KX RRs are supported byconcatenating the EAP Expanded Type withmany DNS server implementations, they have not yet been widely deployed. Alternatively, DNS SRV [RFC2782] can be used for this purpose. Where DNS is used for gateway location, DNS security mechanisms such as DNSSEC ([RFC2535], [RFC2931]), TSIG [RFC2845], and Simple Secure Dynamic Update [RFC3007] are available. IEEE 802.11i IEEE 802.11, defined in [IEEE-802.11], handles discovery via theMethod-ID. Together withBeacon and Probe Request/Response mechanisms. IEEE 802.11 access points periodically announce their Service Set Identifiers (SSIDs) as well as capabilities using Beacon frames. Stations can query for access points by sending a Probe Request to theMSK, IV (deprecated), Peer-ID, Server-ID,broadcast address. Neither Beacon nor Probe Request/Response frames are secured. The 4-way handshake defined in [IEEE-802.11i] enables the derivation of unicast (phase 2a) andKey-Lifetime,multicast/broadcast (phase 2b) secure associations. Since theEAP layer passesgroup key exchange transports a group key from theSession-ID downaccess point to thelower layer. The Method-ID is exported bystation, two 4-way handshakes may be required in order to support peer-to-peer communications. IEEE 802.1X-2004 IEEE 802.1X-2004, defined in [IEEE-802.1X-2004] does not support discovery (phase 0), nor does it provide for derivation of unicast or multicast secure associations. 2.2. Layering As illustrated in Figure 3, on completion of EAP authentication, EAP methodsrather thanexport the Master Session Key (MSK), Extended Master Session Key (EMSK), Peer-ID, Server-ID, Session-IDso asand Key-Lifetime topreventthe EAPmethods from writing into each other's Session- ID space.peer or authenticator layers. TheEMSK MUST NOT be provided to the lower layer, norInitialization Vector (IV) isit permitted to pass any quantity to the lower layer from which the EMSK could be computed without breaking some cryptographic assumption, such as inverting a one-way function. As noted in [RFC3748] Section 7.10:deprecated. TheEMSK is reserved for future use and MUST remain on theEAP peer andEAP server where it is derived; itauthenticator layers MUST NOTbe transported to,modify orshared with, additional parties,cache keying material orused to derive any other keys. (This restriction will be relaxedparameters (including Channel Bindings) passing ina future document that specifies howeither direction between theEMSK can be used.) In order to preserveEAP method layer and thesecurity of keys derived withinEAPmethods, lower layers other than AAAlayer. The EAP layer also MUST NOTexport keys passed down by EAP methods. This implies that EAPcache keying material or parameters (including Channel Bindings) passeddowntoa lower layer are forit, whether by theexclusive use of that lower layer and MUST NOT be used within another lower layer. This prevents compromise of one lower layer from compromising other applications usingEAPkeying parameters.peer/authenticator Aboba, et al. Standards Track [Page 14] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006EAP keying material and parameters provided to a lower layer other than AAA MUST NOT be transported to another entity. For example, EAP keying material and parameters passed down tolayer, theEAP peerlower layerMUST NOT leave the peer; EAP keying material and parameters passed downortransported to the EAP authenticator lower layer MUST NOT leave the authenticator. The exception to the "no sharing" rule isthe AAA layer.OnEAPserver, keying material requested by and passed down to the AAA layer may be replicated to thepeer Authenticator Auth. Server -------- ------------- ------------ |<----------------------------->| | | Discovery (phase 0) | | |<----------------------------->|<----------------------------->| | EAP auth (phase 1a) | AAAlayer on the authenticator. On the authenticator, thepass-through (optional) | | | | | |<----------------------------->| | | AAAlayer may provide the replicated keying material to the lower layer over which the EAP authentication conversation took place. This enables "mode independence" to be maintained. As illustrated inKey transport | | | (optional; phase 1b) | |<----------------------------->| | | Unicast Secure association | | | (phase 2a) | | | | | |<----------------------------->| | | Multicast Secure association | | | (optional; phase 2b) | | | | | Figure4, a AAA client receiving transported EAP keying material and parameters passes them to2: Conversation Overview Based on the Method-ID exported by the EAPauthenticator and EAP layers, which then provide them tomethod, theauthenticator lowerEAP layerusingforms thesame mechanisms that would be used ifEAP Session-ID by concatenating the EAPpeer and authenticator were conducting a stand-alone conversation. The resulting key state inExpanded Type with thelower layer is indistinguishable betweenMethod-ID. Together with thestandaloneMSK, IV (deprecated), Peer-ID, Server-ID, andpass-through cases, as required byKey-Lifetime, theprinciple of mode independence. 2.3. Transient Session Keys Where explicitly supported byEAP layer passes thelower layer, lower layers MAY cacheSession-ID down to theexported EAP keying material and parameters and/or TSKs.lower layer. Thestructure of this key cacheMethod-ID isdefinedexported by EAP methods rather than thelower layer. SoSession-ID so as toenable interoperability, new lower layer specifications MUST describeprevent EAPkey caching behavior. Unless explicitly specified by the lower layer,methods from writing into each other's Session- ID space. The EMSK MUST NOT be provided to an entity outside the EAPpeer,serverand authenticator MUST assume that peers and authenticators do not cache exported EAP keying parametersorTSKs. Existing EAP lower layers handle the caching of EAP keying material andpeer, nor is it permitted to pass any quantity to an entity outside thegeneration of transient session keys in different ways: PPP PPP, defined in [RFC1661] does not support caching ofEAPkeying materialserver orparameters. PPP ciphersuites derive their TSKs directlypeer from which theMSK,EMSK could be computed without breaking some cryptographic assumption, such asdescribedinverting a one-way function. As noted in[RFC2716]. This method[RFC3748] Section 7.10: The EMSK is reserved for future use and MUST remain on the EAP peer and EAP server where it is derived; it MUST NOTRECOMMENDED, since were PPPbe transported to, or shared with, additional parties, or used tosupport caching, this could resultderive any other keys. (This restriction will be relaxed instale TSKs. Asaresult, oncefuture document that specifies how thePPP session is terminated, EAP keying material and parameters MUSTEMSK can bediscarded. Since cachingused.) In order to preserve the security of keys derived within EAP methods, lower layers MUST NOT export keys passed down by EAP methods. This implies that EAP keying materialis not permitted, within PPP there is no wayor parameters passed down tohandle TSK rekey without EAP re-authentication. Perfect Forward Secrecy (PFS) is only possible within PPP ifa lower layer are for thenegotiated EAP method supports this.exclusive use of that lower layer and MUST NOT be used within another lower layer. This prevents compromise of one Aboba, et al. Standards Track [Page 15] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | |lower layer from compromising other applications using EAPmethod | | | | MSK, EMSK, Peer-ID, Channel | | Server-ID, Method-ID Bindings | | IV (deprecated), | | Key-Lifetime | | | | V ^ ^ | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | |keying parameters. EAP! Peer or Authenticator ! ! | | !keying material and parameters provided to a lower layer! ! | | ! ! ! | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | |MUST NOT be transported to another entity. For example, EAP! layer ! ! | | ! ! ! | | ! Session-ID = ! ! | | ! Expanded-Type || ! ! | | ! Method-ID ! ! | | ! ! ! | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | | Lower !keying material and parameters passed down to the EAP peer lower layer! ! | | ! ! ! | | V V ^ | | MSK, Peer-ID, Channel Result | | Server-ID, Bindings | | Session-ID, | | Key-Lifetime, | | IV (deprecated) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 3: Flow ofMUST NOT leave the peer; EAP keying material and parametersAboba, et al. Standards Track [Page 16] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 Peer Pass-through Authenticator Authentication Server +-+-+-+-+-+-+ +-+-+-+-+-+-+ | | | | |EAP method | |EAP method | | V | | V | +-+-+-!-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-!-+-+-+ | ! | |EAP |passed down or transported to the EAP| | | ! | | ! | |Peer | Auth.| EAP Auth. | | ! | |EAP ! peer| | | +-----------+ | |EAP !Auth.| | ! | | | ! | ! | | ! | +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ | ! | | ! | ! | | ! | |EAP !layer| | EAP !layer| EAP !layer | |EAP !layer| | ! | | ! | ! | | ! | +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ | V | | V | ! | | ! | |Lower layer| | Lower layer| AAA ! /IP | | AAA ! /IP | | | | | ! | | ! | +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ ! ! ! ! +---------<-------+ Figure 4: Flow of EAP Keying Material and Parameters IKEv2 IKEv2, defined in [IKEv2] only usesauthenticator lower layer MUST NOT leave the authenticator. On the EAP server, keying materialfor authentication purposesrequested by andnot key derivation. As a result, the keying material derived within IKEv2 is independent ofpassed down to theEAP keying material and rekey of IPsec SAs canAAA layer may behandled without requiring EAP re-authentiation. Since generation of keying material is independent of EAP, within IKEv2 it is possiblereplicated tonegotiate PFS, regardless oftheEAP method that is used. IKEv2 does not cache EAPAAA layer on the authenticator. On the authenticator, the AAA layer may provide the replicated keying materialor parameters, nor does it utilizeto the lower layer over which the EAPKey-Lifetime parameterauthentication conversation took place. This enables "mode independence" todeterminebe maintained. However, thelifetime of IPsec SAs.EMSK MUST NOT be transported by the AAA layer. As illustrated in Figure 4, aresult, once IKEv2 authentication completes it is assumed thatAAA client receiving transported EAP keying material and parametersare discarded. IEEE 802.11i IEEE 802.11i enables caching ofpasses them to theMSK, but notEAP authenticator and EAP layers, which then provide them to theEMSK, IV, Peer-ID, Server-ID, or Session-ID. More details aboutauthenticator lower layer using thestructure ofsame mechanisms that would be used if thecache are availableEAP peer and authenticator were conducting a stand-alone conversation. The resulting key state in[IEEE-802.11i]. In IEEE 802.11i, TSKs are derived fromtheMSK usinglower layer is indistinguishable between the4-way handshake, which includes a nonce exchange. This guarantees TSK freshness even ifstandalone and pass-through cases, as required by theMSK is reused. The 4-way handshake also enables TSK rekey withoutprinciple of mode independence. 2.3. Transient Session Keys Where explicitly supported by the lower layer, lower layers MAY cache the exported EAPre-authentication. PFSkeying material and parameters and/or TSKs. The structure of this key cache isonly possible within Aboba, et al. Standards Track [Page 17] INTERNET-DRAFTdefined by the lower layer. So as to enable interoperability, new lower layer specifications MUST describe EAPKey Management Framework 8 January 2006 IEEE 802.11i ifkey caching behavior. Unless explicitly specified by the lower layer, thenegotiatedEAPmethod supports this.peer, server and authenticator MUST assume that peers and authenticators do not cache exported EAP keying parameters or TSKs. Existing EAP lower layers and AAA layers handle the caching of EAP keying material and the generation of transient session keys in different ways: IEEE 802.1X-2004 IEEE 802.1X-2004, defined in [IEEE-802.1X-2004] does not support caching of EAP keying material or parameters. Once EAP authentication completes, it is assumed that EAP keying material and parameters are discarded.IEEE 802.16e IEEE 802.16e,PPP PPP, defined in[IEEE-802.16e] supports[RFC1661] does not support caching ofthe MSK, but not the EMSK, IV, Peer-ID, Server-IDEAP keying material orSession-ID. In IEEE 802.16e, TSKs are generated by the authenticator without any contribution by the peer. Theparameters. PPP ciphersuites derive their TSKsare encrypted, authenticated and integrity protected usingAboba, et al. Standards Track [Page 16] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 directly from theMSK.MSK, as described in [RFC2716]. This method is NOT RECOMMENDED, since were PPP to support caching, this could result in stale TSKs. As a result, once the PPP session is terminated, EAP keying material and parameters MUST be discarded. Since caching of EAP keying material is not permitted, within PPP there is no way to handle TSK rekeyis possiblewithout EAP re-authentication.PFSPerfect Forward Secrecy (PFS) isnotonly possibleevenwithin PPP if the negotiated EAP method supportsit. AAA Existing AAA implementations supporting RADIUS/EAP [RFC3579] or Diameterthis. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | | EAP[RFC4072] do not support caching ofmethod | | | | MSK, EMSK, Peer-ID, Channel | | Server-ID, Method-ID Bindings | | IV (deprecated), | | Key-Lifetime | | | | V ^ ^ | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | | EAPkeying material! Peer orparameters. In existing AAA client, proxy and server implementations, exportedAuthenticator ! ! | | ! layer ! ! | | ! ! ! | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | | EAPkeying material (MSK, EMSK and IV) as well as parameters and derived keys are not cached and MUST be presumed lost after the AAA exchange completes. In order to avoid key reuse, the AAA! layerMUST delete transported keys once they are sent. The AAA layer MUST NOT retain keys that it has previously sent. For example, a AAA layer that has transported the MSK MUST delete it, and keys MUST NOT be derived from the MSK from that point forward. 2.4. Key Scope It should be understood that an EAP authenticator or peer: [a] may contain one or more physical or logical ports; [b] may advertise itself as one or more "virtual" authenticators or peers; [c] may utilize multiple CPUs; [d] may support clustering services for load balancing or failover. The issues that arise from this are discussed below. 2.4.1. Multiple Ports Both the EAP peer and authenticator may have more than one physical or logical port. A peer may simultaneously access the network via multiple authenticators, or via multiple physical or logical ports on a given authenticator. Similarly, an authenticator may offer network Aboba, et al. Standards Track [Page 18] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 access to multiple peers, each via a separate physical or logical port. The situation is illustrated in Figure 5. +-+-+-+-+ | EAP | | Peer | +-+-+-+-+ | |! ! |Peer Ports /|\ /! ! ! |\ /|\ /! Session-ID = ! ! |\ /|\ /! Expanded-Type || ! ! |\ /|\ /! Method-ID ! ! |\| ! ! ! | +-+-+-+-!-+-+-+-+-+-+-+-+-+-+-+-!-+-+-+-+-!-+-+ | ! ! ! | | Lower ! layer or AAA ! ! | | ! ! ! | |Authenticator Ports +-+-+-+-+ +-+-+-+-+ +-+-+-+-+V V ^ | | MSK, Peer-ID, Channel Result | | Server-ID, Bindings | | Session-ID, |Auth.| Key-Lifetime, |Auth.| IV (deprecated) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 3: Flow of EAP parameters Aboba, et al. Standards Track [Page 17] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 Peer Pass-through Authenticator Authentication Server +-+-+-+-+-+-+ +-+-+-+-+-+-+ | | | | |EAP method | |EAP method | | V | | V | +-+-+-!-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-!-+-+-+ | ! | |EAP | EAP | | | ! | | ! | |Peer | Auth.| EAP Auth. | | ! | |EAP ! peer| | | +-----------+ | |EAP !Auth.| |+-+-+-+-+ +-+-+-+-+ +-+-+-+-+ \! |/ \|/ \|/! | ! | | ! | +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ | ! | | ! | ! | | ! | |EAP !layer| | EAPover!layer| EAP !layer | |EAP !layer| | ! | | ! | ! | | ! | +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ | V | | V | ! | | ! | |Lower layer| | Lower layer| AAA\! /IP |/ (optional) \|/ \AAA ! /IP |/ \|/ \|/ +-+-+-+-+|EAP||Server! |+-+-+-+-+| ! | +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+ ! ! ! ! +---------<-------+ Figure5: Relationship between4: Flow of EAPpeer, authenticatorKeying Material andserver Absent explicit specification withinParameters IKEv2 IKEv2, defined in [RFC4306] only uses thelower layer, EAP keying materialMSK for authentication purposes andparametersnot key derivation. The EMSK, IV, Peer-ID, Server-ID or Session-ID are notbound toused. As aspecific peer or authenticator port. Whereresult, thepeer and authenticator identify themselveskeying material derived within IKEv2 is independent of thelower layer using a port identifier such as a link layer address, this creates a problem, because it may notEAP keying material and rekey of IPsec SAs can beobvious to the peer which authenticator ports are associated with which authenticators. Similarly,handled without requiring EAP re- authentication. Since generation of keying material is independent of EAP, within IKEv2 itmay not be obviousis possible to negotiate PFS, regardless of theauthenticator which peer portsEAP method that is used. IKEv2 does not cache EAP keying material or parameters; once IKEv2 authentication completes it is assumed that EAP keying material and parameters areassociated with which peers. Asdiscarded. The Session-Timeout attribute is therefore interpreted as aresult,limit on thepeer and authenticator mayVPN session time, rather than an indication of the MSK key lifetime. IEEE 802.11i IEEE 802.11i enables caching of the MSK, but notbe able to determinethescopeEMSK, IV, Peer-ID, Server-ID, or Session-ID. More details about the structure of theEAP keying material.cache are available in [IEEE-802.11i]. In IEEE 802.11i, TSKs are derived from the MSK using the 4-way handshake, which includes a nonce exchange. Thisis particularly problematic for lower layers where key caching is supported.guarantees TSK freshness Aboba, et al. Standards Track [Page19]18] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006For example, where the EAP peer cannot identifyeven if theEAP authenticator, it will be unable to determine whether EAP keying material has been shared outside of its authorized scope, and therefore needs to be considered compromised. ThereMSK is reused. The 4-way handshake alsoa practical problem because theenables TSK rekey without EAPpeer will be unable to utilizere-authentication. PFS is only possible within IEEE 802.11i if the negotiated EAPauthenticator key cachemethod supports this. IEEE 802.16e IEEE 802.16e, defined inan efficient way.[IEEE-802.16e] supports caching of the MSK, but not the EMSK, IV, Peer-ID, Server-ID or Session-ID. In IEEE 802.16e, TSKs are generated by the authenticator without any contribution by the peer. Thesolution to this problemTSKs are encrypted, authenticated and integrity protected using the MSK. As a result, TSK rekey isfor lower layers to identifypossible without EAPpeersre-authentication. PFS is not possible even if the negotiated EAP method supports it. AAA Existing implementations of RADIUS/EAP [RFC3579] or Diameter EAP [RFC4072] do not support caching of EAP keying material or parameters. In existing AAA client, proxy andauthenticators unambiguously, without incorporating implicit assumptions about peerserver implementations, exported EAP keying material (MSK, EMSK andauthenticator architectures. Use of port identifiers is NOT RECOMMENDED where peersIV) as well as parameters andauthenticators may support multiple ports.derived keys are not cached and MUST be presumed lost after the AAA exchange completes. In order tofurther limit theavoid keyscopereuse, thefollowing measuresAAA layer MUST delete transported keys once they aresuggested: [a]sent. ThelowerAAA layerMAY specify additional restrictions on key usage, such as limitingMUST NOT retain keys that it has previously sent. For example, a AAA layer that has transported theuse of EAP keying materialMSK MUST delete it, andparameters on the EAP peer tokeys MUST NOT be derived from theport over whichMSK from that point forward. 2.4. Authenticator Architecture This specification does not impose constraints on the architecture of the EAPconversation was conducted. [b] The backend authentication server andauthenticatorMAY implement additional attributes in order to further restrict the scopeor peer. Any ofEAP keying material. For example, in 802.11, the backend authentication server may providethe authenticatorwith a list of authorized Called or Calling-Station-Ids and/or SSIDs for which EAP keying material is valid. [c] Where the backend authentication server provides attributes restricting the key scope,architectures described in [RFC4118] can be used. For example, it isRECOMMENDED that restrictions be securely communicated by the authenticatorpossible for multiple base stations and a "controller" (e.g. WLAN switch) tothe peer. This can be accomplished using the Secure Association Protocol, but also can be accomplished via thecomprise a single EAPmethod orauthenticator. In such a situation, thelower layer. 2.4.2. Authenticator Architecture The EAP method conversation"base station identity" isbetween the EAP peer and server, as identified by the Peer-ID and Server-ID. The authenticator identity, if considered at all byirrelevant to the EAPmethod, is treatedmethod conversation, except perhaps as an opaque blobfor the purposes ofto be used in Channelbindings. However, the Secure Association Protocol conversation is between the peer and the authenticator, and thereforeBindings. Many base stations can share the same authenticator identity. As a result, lower layers need to identify EAP peers and authenticators unambiguously, without incorporating implicit assumptions about peeridentities are relevant to that exchange,anddefine the scope of use of the EAP keying material passed down to the lower layer. Sinceauthenticator architectures. It should be understood that an EAP authenticator or peer: [a] mayhave many ports, the authenticator identifier used within the Secure Association Protocol exchange SHOULD be distinct from any port identifier (e.g. MAC address).contain one or more physical or logical ports; [b] may advertise itself as one or more "virtual" authenticators or peers; [c] may utilize multiple CPUs; [d] may support clustering services for load balancing or failover. Aboba, et al. Standards Track [Page20]19] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006Similarly, where a peer may have multiple ports, and sharing of EAP keying material and parameters between peer ports of the same link type is allowed, the peer identifier used withinBoth theSecure Association Protocol exchange SHOULD also be distinct from any port identifier. WhileEAPKeying Material passed down to the lower layer is not intrinsically bound to particular authenticator andpeerports, Transient Session Keys MAY be bound to particular authenticatorand authenticator may have more than one physical or logical port. A peerports bymay simultaneously access theSecure Association Protocol. However, a lower layer MAY also permit TSKs to be used onnetwork via multiplepeer and/or authenticator ports, providing that TSK freshness is guaranteed (such as by keeping replay counter state within the authenticator). This specification does not impose constraintsauthenticators, or via multiple physical or logical ports onthe architecture of the EAPa given authenticator. Similarly, an authenticator may offer network access to multiple peers, each via a separate physical orpeer. Any of thelogical port. When a single physical authenticatorarchitectures described in [RFC4118] can be used. For example,advertises itself as multiple "virtual authenticators", it is possible formultiple base stations and a "controller" (e.g. WLAN switch) to comprisea singleEAP authenticator. In such a situation, the "base station identity" is irrelevantphysical port tothebelong to multiple "virtual authenticators". The situation is illustrated in Figure 5. +-+-+-+-+ | EAP | | Peer | +-+-+-+-+ | | | Peer Ports / | \ / | \ / | \ / | \ / | \ / | \ / | \ / | \ | | | | | | | | | Authenticator Ports +-+-+-+-+ +-+-+-+-+ +-+-+-+-+ | | | | | | | Auth. | | Auth. | | Auth. | | | | | | | +-+-+-+-+ +-+-+-+-+ +-+-+-+-+ \ | / \ | / \ | / EAP over AAA \ | / (optional) \ | / \ | / \ | / \ | / +-+-+-+-+ | EAP | |Server | +-+-+-+-+ Figure 5: Relationship between EAP peer, authenticator and server Aboba, et al. Standards Track [Page 20] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 2.4.1. Authenticator Identification The EAP methodconversation, except perhapsconversation is between the EAP peer and server, as identified by the Peer-ID and Server-ID. The authenticator identity, if considered at all by the EAP method, is treated as an opaque blobto be used infor the purposes of ChannelBindings. Many base stations can sharebindings. However, thesame authenticator identity. AAA protocols such as RADIUS [RFC3579]Secure Association Protocol conversation is between the peer andDiameter [RFC4072] provide a mechanism fortheidentification of AAA clients; sinceauthenticator, and therefore theEAPauthenticator andAAA clientpeer identities arealways co-resident, this mechanism is applicablerelevant to that exchange, and define theidentificationscope of use of the EAPauthenticators. RADIUS [RFC2865] requires that an Access-Request packet containkeying material passed down to the lower layer. Since an authenticator may have multiple ports, the authenticator identifiers used within the Secure Association Protocol exchange SHOULD be distinct from any port identifier (e.g. MAC address). Similarly, where a peer may have multiple ports, and sharing of EAP keying material and parameters between peer ports of the same link type is allowed, the peer identifier used within the Secure Association Protocol exchange SHOULD also be distinct from any port identifier. Where the peer and authenticator identify themselves within the lower layer using a port identifier such as a link layer address, this creates a number of problems: [1] It may not be obvious to the peer which authenticator ports are associated with which authenticators. [2] It may not be obvious to the authenticator which peer ports are associated with which peers. [3] It may not be obvious to the peer which "virtual authenticator" it is communicating with. [4] It may not be obvious to the authenticator which "virtual peer" it is communicating with. AAA protocols such as RADIUS [RFC3579] and Diameter [RFC4072] provide a mechanism for the identification of AAA clients; since the EAP authenticator and AAA client are always co-resident, this mechanism is applicable to the identification of EAP authenticators. RADIUS [RFC2865] requires that an Access-Request packet contain one or more of the NAS-Identifier, NAS-IP-Address and NAS-IPv6-Address attributes. Since a NAS may have more than one IP address, theNAS- IdentifierNAS-Identifier attribute is RECOMMENDED for the unambiguous identification of the EAP authenticator. Aboba, et al. Standards Track [Page 21] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 From the point of view of the AAA server, EAP keying material and parameters are transported to the EAP authenticator identified by the NAS-Identifier attribute. Since an EAP authenticator MUST NOT share EAP keying material or parameters with another party, if the EAP peer or AAA server detects use of EAP keying material and parameters outside the scope defined by the NAS-Identifier, the keying material MUST be considered compromised.2.4.3. Virtual Authenticators When a single physical authenticator advertises itself as multiple "virtual authenticators",2.5. Key Scope Where the EAP peer and authenticatoralsocannot unambiguously identify each other they may not be able toagree ondetermine the scope ofthetransported EAP keyingmaterial, creating a Aboba, et al. Standards Track [Page 21] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 security vulnerability.material. This is particularly problematic for lower layers where key caching is supported. For example, if the EAP peermay assume that the "virtual authenticators" are distinct and do not share a key cache, whereas, depending on the architecture ofcannot identify thephysicalEAP authenticator,a shared key cache may or may notit will beimplemented. Whereunable to determine whether transported EAP keying materialishas been sharedbetween "virtual authenticators" an attacker acting as a peer could authenticate with the "Guest" "virtual authenticator"outside of its authorized scope, andderive EAP keying material. If the virtual authenticators sharetherefore needs to be considered compromised. There is also akey cache, thenpractical problem because the EAP peercanwill be unable to utilize the EAPkeying material derived forauthenticator key cache in an efficient way. To avoid these problems, it is recomended that lower layers: [1] Specify the"Guest" network to obtain accesslower layer parameters used to identify the"Corporate Intranet" virtual authenticator. Several measures are recommended to address these issues: [d] Authenticators are REQUIRED to cache associated authorizations along with EAP keying materialauthenticator andparameterspeer; [2] Communicate the lower layer identities between the peer andto apply authorizations consistently. This ensures that an attacker cannot obtain elevated privileges even whereauthenticator within phase 0; [3] Communicate thekey cache is sharedlower layer authenticator identity between"virtual authenticators". [e] It is RECOMMENDED that physical authenticators maintain separate key caches for each "virtual authenticator". [f] It is RECOMMENDED that each "virtual authenticator" identify itself distinctly to the backend authentication server, such as by utilizing a distinct NAS-Identifier attribute. This enablesthe authenticator and backendauthenticationserverto utilize a separate credential to authenticate each "virtual authenticator". 3. Key Management EAP as definedwithin the NAS-Identifier attribute; [4] Include the lower layer identities within channel bindings (if supported) in[RFC3748] supports key derivation, but not key management. While EAP methods may derive keying material, EAP does not provide forphase 1a, ensuring that they are communicated between themanagement of exported or derived keys. For example,EAPdoes not support negotiation ofpeer and server; [5] Securely verify thekey lifetime of exported or derived keys, nor does it support re-key. Although EAP methods may support "fast reconnect" as defined in [RFC3748] Section 7.2.1, re-key of exported keys cannot occur without re- authentication. In orderlower layer identities within phase 2a; [6] Utilize the advertised lower layer identities toprovide method independence, key management of exported or derivedenable the peer and authenticator to verify that keysSHOULD NOT be providedare maintained withinEAP methods. 3.1. Secure Association Protocol Since neither EAP nor EAP methods provide key management support, it is RECOMMENDED that key management facilities be providedthe advertised scope; Absent explicit specification within theSecure Association Protocol. This includes:lower layer, after the completion of phase 1b, EAP keying material and parameters are bound to the EAP peer and authenticator, but are not bound to a specific peer or authenticator port. Aboba, et al. Standards Track [Page 22] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006[a] Entity Naming. A basic feature of a Secure Association Protocol is the explicit naming of the parties engaged inWhile EAP Keying Material passed down to theexchange. Without explicit identification, the parties engaged in the exchange arelower layer is notidentifiedintrinsically bound to particular authenticator andthe scope of the EAP keying parameters negotiated during the EAP exchange is undefined. As shown in Figure 5, both thepeerandports, Transient Session Keys MAY be bound to particular authenticatormay have more than one physical or virtual port,andas a result SHOULD identify themselves inpeer ports by the Secure Association Protocol. However, amannerlower layer MAY also permit TSKs to be used on multiple peer and/or authenticator ports, providing that TSK freshness isindependent of their attached ports. [b] Mutual proof of possessionguaranteed (such as by keeping replay counter state within the authenticator). In order to further limit the key scope the following measures are suggested: [a] The lower layer MAY specify additional restrictions on key usage, such as limiting the use of EAP keyingmaterial. During the Secure Association Protocolmaterial and parameters on the EAP peerand authenticator MUST demonstrate possession ofto thekeying material transported betweenport over which on the EAP conversation was conducted. [b] The backend authentication server and authenticator(e.g. MSK),MAY implement additional attributes in order todemonstrate thatfurther restrict thepeer and authenticator have been authorized. Since mutual proofscope ofpossession is not the same as mutual authentication,EAP keying material. For example, in 802.11, thepeer cannot verify authenticator assertions (includingbackend authentication server may provide the authenticatoridentity) aswith aresultlist ofthis exchange.authorized Called or Calling-Station-Ids and/or SSIDs for which EAP keying material is valid. [c]Secure capabilities negotiation. In order to protect against spoofing during the discovery phase, ensure selection ofWhere the"best" ciphersuite, and protect against forging of negotiated security parameters,backend authentication server provides attributes restricting the key scope, it is RECOMMENDED that restrictions be securely communicated by the authenticator to the peer. This can be accomplished using the Secure AssociationProtocol MUST support secure capabilities negotiation. This includesProtocol, but also can be accomplished via thesecure negotiation of usage modes, session parameters (suchEAP method or the lower layer. 2.5.1. Virtual Authenticators When a single physical authenticator advertises itself assecurity association identifiers (SAIDs) and key lifetimes), ciphersuites and required filters, including confirmation of security-relevant capabilities discovered during phase 0. As part of secure capabilities negotiation,multiple "virtual authenticators", theSecure Association Protocol MUST support integrity and replay protection of all messages. [d] Key namingEAP peer andselection. Where key caching is supported, itauthenticator may not bepossible forable to agree on the scope of the EAP keying material, creating a security vulnerability. For example, the peer may assume that the "virtual authenticators" are distinct andauthenticator todo not sharemore than onea key cache, whereas, depending on the architecture of the physical authenticator, agiven type. Asshared key cache may or may not be implemented. Where EAP keying material is shared between "virtual authenticators" an attacker acting as aresult,peer could authenticate with theSecure Association Protocol MUST explicitly name"Guest" "virtual authenticator" and derive EAP keying material. If thekeys used invirtual authenticators share a key cache, then theproof of possession exchange, so as to prevent confusion when more than one set ofpeer can utilize the EAP keying materialcould potentially be used as the basisderived for theexchange. Use of the key naming mechanism described in this document is RECOMMENDED. In order"Guest" network to obtain access tosupport the correct processing of phase 2 security associations, the Secure Association (phase 2) protocol MUST support the naming of phase 2 security associations and associated transient session keys, so thatthecorrect set of transient session keys can be identified for processing a given packet. The phase 2 Secure Association Protocol also MUST support transient session key activation and SHOULD support deletion, so that establishment and re-establishment of transient session keys can be"Corporate Intranet" virtual authenticator. Several measures are recommended to address these issues: Aboba, et al. Standards Track [Page 23] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006synchronized between the parties. [e] Generation of fresh transient session keys (TSKs). Where the lower layer supports caching of exported EAP keying material, the EAP peer lower layer may initiate a new session using keying material that was derived in a previous session. Were the TSKs to be derived from a portion of the exported EAP keying material, this would result in reuse of the session keys which could expose the underlying ciphersuite[d] Authenticators are REQUIRED toattack. In lower layers where caching ofcache associated authorizations along with EAP keying materialis supported, the Secure Association Protocol phase is REQUIRED,andMUST support the derivation of fresh unicastparameters andmulticast TSKs,to apply authorizations consistently. This ensures that an attacker cannot obtain elevated privileges evenwhen the keying material provided bywhere thebackend authentication serverkey cache isnot fresh. Thisshared between "virtual authenticators". [e] It istypically supported via the exchange of nonces or counters, which are then mixed withRECOMMENDED that physical authenticators maintain separate key caches for each "virtual authenticator". [f] It is RECOMMENDED that each "virtual authenticator" identify itself distinctly to theexported keying material in orderbackend authentication server, such as by utilizing a distinct NAS-Identifier attribute. This enables the backend authentication server togenerate fresh unicast (phase 2a) and possibly multicast (phase 2b) session keys. Byutilize a separate credential to authenticate each "virtual authenticator". 3. Key Management EAP as defined in [RFC3748] supports key derivation, but notusingkey management. While EAP methods may derive keyingmaterial directly to protect data,material, EAP does not provide for theSecure Association Protocol protects it against compromise. [f] Key lifetime management. This includes explicit key lifetime negotiationmanagement of exported orseamless re-key.derived keys. For example, EAP does not support negotiation of the keylifetimes,lifetime of exported or derived keys, nor does it support re-key. Although EAP methods may support "fast reconnect" as defined in [RFC3748] Section 7.2.1, re-key of exported keys cannot occur without re- authentication.As a result, theIn order to provide method independence, key management of exported or derived keys SHOULD NOT be provided within EAP methods. 3.1. Secure Association Protocolmay handle re-key and determination of the key lifetime. Where key caching is supported, secure negotiation ofSince neither EAP nor EAP methods provide keylifetimesmanagement support, it isRECOMMENDED. Lower layersRECOMMENDED thatsupport re-key, but not key caching, may not requirekeylifetime negotiation. To take an example from IKE,management facilities be provided within thedifference between IKEv1 and IKEv2 is that in IKEv1 SA lifetimes were negotiated. In IKEv2, each endSecure Association Protocol. This includes: [a] Entity Naming. A basic feature ofthe SAa Secure Association Protocol isresponsible for enforcing its own lifetime policy ontheSAexplicit naming of the parties engaged in the exchange. Without explicit identification, the parties engaged in the exchange are not identified andre-the scope of the EAP keying parameters negotiated during theSA when necessary. [g] Key resynchronization. ItEAP exchange ispossible forundefined. As shown in Figure 5, both the peerorand authenticatorto reboot or reclaim resources, clearing portionsmay have more than one physical orall of the key cache. Therefore, key lifetime negotiation cannot guarantee that the key cache will remain synchronized,virtual port, andthe peer may not be able to determine before attempting to useas akey whether it exists within the authenticator cache. Itresult SHOULD identify themselves in a manner that istherefore RECOMMENDED forindependent of their attached ports. [b] Mutual proof of possession of EAP keying material. During the Secure Association Protocolto provide a mechanism for key state resynchronization. Since in this situation one or more oftheparties initially do not possess a key with which to protectEAP peer and authenticator MUST demonstrate possession of theresynchronization exchange, securing this mechanism may be difficult. [h] Key scope synchronization. Sincekeying material transported between theDiscovery phase is handled out-of-band, EAP does not provide a mechanism by whichbackend authentication server and authenticator (e.g. MSK), in order to demonstrate that the peercanand authenticator have been Aboba, et al. Standards Track [Page 24] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006determineauthorized. Since mutual proof of possession is not theauthenticator identity. As a result, where the authenticator has multiple ports and key caching is supported, the EAP peer may not be able to determine the scope of validity of the exported EAP keying material. Similarly, wheresame as mutual authentication, theEAPpeerhas multiple ports,cannot verify authenticator assertions (including the authenticatormay not be able to determine whether a peer has authorization to useidentity) as aparticular key. To allow key scope determination, theresult of this exchange. [c] SecureAssociation Protocol SHOULD provide a mechanism by which the peer can determinecapabilities negotiation. In order to protect against spoofing during thescopediscovery phase, ensure selection of thekey cache on each authenticator,"best" ciphersuite, andby which the authenticator can determine the scopeprotect against forging of negotiated security parameters, thekey cache on a peer.Secure Association Protocol MUST support secure capabilities negotiation. This includes the secure negotiation ofrestrictions onusage modes, session parameters (such as security association identifiers (SAIDs) and keyusage. [i] Direct operation. Since thelifetimes), ciphersuites and required filters, including confirmation of security-relevant capabilities discovered during phase20. As part of secure capabilities negotiation, the Secure Association Protocolis concerned with the establishmentMUST support integrity and replay protection ofsecurity associations betweenall messages. [d] Key naming and selection. Where key caching is supported, it may be possible for the EAP peer andauthenticator, including the derivation of transient session keys, only those parties have "a needauthenticator toknow"share more than one key of a given type. As a result, thetransient session keys. TheSecure Association Protocol MUSToperate directly betweenexplicitly name thepeer and authenticator, and MUST NOT be passed-through tokeys used in thebackend authentication server, or include additional parties. [j] Bi-directional operation While some ciphersuites only require a singleproof of possession exchange, so as to prevent confusion when more than one set of keying material could potentially be used as the basis for the exchange. Use of the key naming mechanism described in this document is RECOMMENDED. In order to support the correct processing of phase 2 security associations, the Secure Association (phase 2) protocol MUST support the naming of phase 2 security associations and associated transient sessionkeys to protect traffic in both directions, other ciphersuites require a uniquekeys, so that the correct set of transient session keysin each direction.can be identified for processing a given packet. The phase 2 Secure Association Protocol also MUST support transient session key activation and SHOULDprovide forsupport deletion, so that establishment and re-establishment of transient session keys can be synchronized between thederivationparties. [e] Generation ofunicast and multicastfresh transient session keysin each direction, so as not to require two separate phase 2 exchanges in order to create a bi-directional phase 2 security association. 3.2. Parent-Child Relationships When keying material exported by EAP methods expires, all keying material derived from(TSKs). Where the lower layer supports caching of exported EAP keyingmaterial expires, includingmaterial, theTSKs. When anEAPre-authentication takes place,peer lower layer may initiate a new session using keying materialisthat was derivedand exported by the EAP method, which eventually resultsinreplacement of calculated keys, including the TSKs. Asaresult, whileprevious session. Were thelifetime of calculated keys canTSKs to beless than or equal thatderived from a portion of the exportedkeys they are derived from, it cannot be greater. For example, TSK re-key may occur prior toEAPre- authentication. Failurekeying material, this would result in reuse of the session keys which could expose the underlying ciphersuite tomutually prove possessionattack. In lower layers where caching of EAP keying materialduringis supported, the Secure Association Protocolexchange need not be grounds for deletionphase is REQUIRED, and MUST support the derivation of fresh unicast and multicast TSKs, even when the keying material provided byboth parties; rate-limiting Securethe backend authentication server is Aboba, et al. Standards Track [Page 25] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006Association Protocol exchanges could be used to prevent a brute force attack. 3.3. Local Key Lifetimes The Transient EAP Keys (TEKs) are session keys used to protectnot fresh. This is typically supported via theEAP conversation. The TEKsexchange of nonces or counters, which areinternal tothen mixed with theEAP methodexported keying material in order to generate fresh unicast (phase 2a) andarepossibly multicast (phase 2b) session keys. By notexported. TEKs are typically created during anusing EAPconversation, used untilkeying material directly to protect data, theendSecure Association Protocol protects it against compromise. [f] Key lifetime management. This includes explicit key lifetime negotiation or seamless re-key. EAP does not support negotiation of key lifetimes, nor does it support re-key without re- authentication. As a result, theconversation and then discarded. However, methodsSecure Association Protocol may handle re-keyTEKs during a conversation. When using TEKs within an EAP conversation or across conversations, it is necessary to ensure that replay protectionand determination of the keyseparation requirements are fulfilled. For instance, if a replay counter is used, TEK re-key MUST occur prior to wrappinglifetime. Where key caching is supported, secure negotiation ofthe counter. Similarly, TSKs MUST remain cryptographically separate from TEKs despite TEK re-keying or caching. This prevents TEK compromisekey lifetimes is RECOMMENDED. Lower layers that support re-key, but not key caching, may not require key lifetime negotiation. To take an example fromleading directly to compromise ofIKE, theTSKsdifference between IKEv1 andvice versa. EAP methods may cache local keying material which may persist for multiple EAP conversations when fast reconnectIKEv2 isused [RFC 3748]. For example, EAP methods based on TLS (such as EAP-TLS [RFC2716]) derive and cachethat in IKEv1 SA lifetimes were negotiated. In IKEv2, each end of theTLS Master Secret, typicallySA is responsible forsubstantial time periods. Theenforcing its own lifetimeof other local keying material calculated withinpolicy on theEAP method is defined bySA and re- keying themethod. Note that in general,SA whenusing fast reconnect, therenecessary. [g] Key resynchronization. It isno guarantee to that the original long-term credentials are still inpossible for thepossessionpeer or authenticator to reboot or reclaim resources, clearing portions or all of thepeer. For instance, a card hold holding the privatekeyfor EAP-TLS may have been removed. EAP servers SHOULD also verify that the long- term credentials are still valid, such as by checkingcache. Therefore, key lifetime negotiation cannot guarantee thatcertificate used intheoriginal authentication has not yet expired. 3.4. Exportedkey cache will remain synchronized, andCalculated Key Lifetimes All EAP methods generating keys are required to generatetheMSK and EMSK, andpeer mayoptionally generate the IV. However, EAP, defined in [RFC3748], doesnotsupportbe able to determine before attempting to use a key whether it exists within thenegotiation of lifetimesauthenticator cache. It is therefore RECOMMENDED forexported keying material such astheMSK, EMSK and IV. Several mechanisms existSecure Association Protocol to provide a mechanism formanagingkeylifetimes: [a] AAA attributes. AAA protocols such as RADIUS [RFC2865] and Diameter [RFC4072] support the Session-Timeout attribute. The Session-Timeout value represents the maximum lifetimestate resynchronization. Since in this situation one or more of theexported keys, and all keys calculated from it, on the authenticator. Since existing backend authentication serversparties initially do notcache keys exported by EAP methods, or keys calculated from exported keys, the value ofpossess a key with which to protect theSession-Timeout attribute has no Aboba, et al. Standards Track [Page 26] INTERNET-DRAFT EAPresynchronization exchange, securing this mechanism may be difficult. [h] KeyManagement Framework 8 January 2006 bearing onscope synchronization. Since thekey lifetime withinDiscovery phase is handled out-of-band, EAP does not provide a mechanism by which thebackend authentication server. Onpeer can determine theauthenticator,authenticator identity. As a result, whereEAP is used for authentication, the Session-Timeout value representsthemaximum session time prior to re-authentication, as described in [RFC3580]. Where EAPauthenticator has multiple ports and key caching isused for pre-authentication,supported, thesessionEAP peer may notstart until some future time, or may never occur. Nevertheless,be able to determine theSession-Timeout value representsscope of validity of thetime after which transportedexported EAP keyingmaterial, and all keys calculated from it, will have expired on the authenticator. If the session subsequently starts, re- authentication will be initiated oncematerial. Similarly, where theSession-TimeEAP peer hasexpired. If the session never started, or started and ended, by default keys transported by AAA and all keys calculated from them will be expired bymultiple ports, the authenticatorpriormay not be able to determine whether a peer has authorization to use a particular key. To allow key scope determination, thefuture time indicatedSecure Association Protocol SHOULD provide a mechanism bySession-Timeout. Sincewhich theTSK lifetime is often determined by authenticator resources,peer can determine thebackend authentication server has no insight intoscope of theTSK derivation process,key cache on each authenticator, and by which theprinciple of ciphersuite independence, it is not appropriate forauthenticator can determine thebackend authentication server to manage any aspectscope of theTSK derivation process, including the TSK lifetime. [b] Lower layer mechanisms. While AAA attributes can communicate the maximum exportedkeylifetime, this only serves to synchronize thecache on a peer. This includes negotiation of restrictions on keylifetime between the backend authentication server and the authenticator. Lower layer mechanisms such asusage. [i] Direct operation. Since the phase 2 Secure Association Protocolcan then be used to enableis concerned with thelifetimeestablishment ofexported and calculated keys to be negotiatedsecurity associations between Aboba, et al. Standards Track [Page 26] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 the EAP peer andauthenticator. Where TSKs are established asauthenticator, including theresultderivation ofa Secure Association Protocol exchange, it is RECOMMENDED that the Secure Association Protocol include support for TSK resynchronization. Where the TSK is taken from the MSK, there is notransient session keys, only those parties have "a need tomanageknow" theTSK lifetime as a separate parameter, sincetransient session keys. The Secure Association Protocol MUST operate directly between theTSK lifetimepeer andMSK lifetime are identical. [c] System defaults. Where the EAP method does not supportauthenticator, and MUST NOT be passed-through to thenegotiationbackend authentication server, or include additional parties. [j] Bi-directional operation While some ciphersuites only require a single set ofthe exported key lifetime, andtransient session keys to protect traffic in both directions, other ciphersuites require akey lifetime negotiation mechanism is not provided by the lower lower, there may be no wayunique set of transient session keys in each direction. The phase 2 Secure Association Protocol SHOULD provide for thepeerderivation of unicast and multicast keys in each direction, so as not tolearnrequire two separate phase 2 exchanges in order to create a bi-directional phase 2 security association. 3.2. Parent-Child Relationships When keying material exported by EAP methods expires, all keying material derived from the exportedkey lifetime. In this case itkeying material expires, including the TSKs. When an EAP re-authentication takes place, new keying material isRECOMMENDED thatderived and exported by thepeer assume a default valueEAP method, which eventually results in replacement of calculated keys, including theexported key lifetime; 8 hours is recommended. Similarly,TSKs. As a result, while the lifetime of calculated keys canalsobemanaged as a system parameter onless than or equal that of theauthenticator. Aboba, et al. Standards Track [Page 27] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 [d] Method specific negotiation within EAP. While EAP itself does not support lifetime negotiation, it would be possible to specify methods that do. However, systems that rely on such negotiation forexported keyswould only function with these methods. As a result,they are derived from, itis NOT RECOMMENDED to usecannot be greater. For example, when EAP re-authentication occurs, TSK re- key will also occur. However, thisapproach asdoes not prohibit TSK re-key from occurring prior to expiration of thesole waylifetime of exported keys. For example, TSK re-key may occur prior todetermine key lifetimes. 3.5. Key cache synchronization Issues arise when attemptingEAP re-authentication. Failure tosynchronize the key cache on the peer and authenticator. Lifetime negotiation alone cannot guarantee key cache synchronization. One problem is that the AAA protocol cannot guarantee synchronizationmutually prove possession ofkey lifetimes between the peer and authenticator. Wherekeying material during the Secure Association Protocolisexchange need notrun immediately afterbe grounds for deletion of the keying material by both parties; rate-limiting Secure Association Protocol exchanges could be used to prevent a brute force attack. 3.3. Local Key Lifetimes The Transient EAPauthentication,Keys (TEKs) are session keys used to protect theexportedEAP conversation. The TEKs are internal to the EAP method andcalculated key lifetimes willare notbe known by the peerexported. TEKs are typically created duringthe hiatus. Wherean EAPpre-authentication occurs, this can leaveconversation, used until thepeer uncertain whether a subsequent attempt to useend of theexported keys will prove successful.conversation and then discarded. However,even where the Secure Association Protocol is run immediately after EAP,methods may re-key TEKs during a conversation. When using TEKs within an EAP conversation or across conversations, Aboba, et al. Standards Track [Page 27] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 it isstill possible for the authenticatornecessary toreclaim resources if the createdensure that replay protection and keystateseparation requirements are fulfilled. For instance, if a replay counter isnot immediately utilized. The lower layer may utilize Discovery mechanismsused, TEK re-key MUST occur prior toassist in this. For example,wrapping of theauthenticator managescounter. Similarly, TSKs MUST remain cryptographically separate from TEKs despite TEK re-keying or caching. This prevents TEK compromise from leading directly to compromise of thekeyTSKs and vice versa. EAP methods may cache local keying material which may persist for multiple EAP conversations when fast reconnect is used [RFC 3748]. For example, EAP methods based on TLS (such as EAP-TLS [RFC2716]) derive and cacheby deleting the oldest key first (LIFO),therelative creationTLS Master Secret, typically for substantial time periods. The lifetime of other local keying material calculated within thelast keyEAP method is defined by the method. Note that in general, when using fast reconnect, there is no guarantee tobe deleted could be advertised withthat theDiscovery phase, enablingoriginal long-term credentials are still in thepeer to determine whetherpossession of the peer. For instance, agivencard hold holding the private keyhadfor EAP-TLS may have beenexpired fromremoved. EAP servers SHOULD also verify that theauthenticator key cache prematurely. 3.6. Key Strength In order to guard against brute force attacks,long- term credentials are still valid, such as by checking that certificate used in the original authentication has not yet expired. 3.4. Exported and Calculated Key Lifetimes All EAP methodsderiving keys need to be capable ofgenerating keyswith an appropriate effective symmetric key strength. In orderare required toensure that key generation is notgenerate theweakest link, it is RECOMMENDED that EAP methods utilizing public key cryptography choose a public key that has a cryptographic strength meetingMSK and EMSK, and may optionally generate thesymmetric key strength requirement. As noted in [RFC3766] Section 5, this resultsIV. However, EAP, defined in [RFC3748], does not support thefollowing required RSA or DH module and DSA subgroup size in bits, for a given levelnegotiation ofattack resistance in bits: Aboba, et al. Standards Track [Page 28] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 Attack Resistance RSA or DH Modulus DSA subgroup (bits) size (bits) size (bits) ----------------- ----------------- ------------ 70 947 128 80 1228 145 90 1553 153 100 1926 184 150 4575 279 200 8719 373 250 14596 475 3.7. Key Wrap As described in [RFC3579] Section 4.3, known problems exist inlifetimes for exported keying material such as the MSK, EMSK and IV. Several mechanisms exist for managing keywrap specified in [RFC2548]. Where the samelifetimes: [a] AAA attributes. AAA protocols such as RADIUSshared secret is used by a PAP authenticator[RFC2865] andan EAP authenticator, there is a vulnerability to known plaintext attack. Since RADIUS usesDiameter [RFC4072] support theshared secret for multiple purposes, including per-packet authentication, attribute hiding, considerable information is exposed about the shared secret with each packet. This exposesSession-Timeout attribute. The Session-Timeout value represents theshared secret to dictionary attacks. MD5 is used both to computemaximum lifetime of theRADIUS Response Authenticatorexported keys, and all keys calculated from it, on theMessage-Authenticator attribute, and some concerns exist relating toauthenticator. Since existing backend authentication servers do not cache keys exported by EAP methods, or keys calculated from exported keys, thesecurityvalue ofthis hash [MD5Attack]. As discussed in [RFC3579] Section 4.3,thesecurity vulnerabilities of RADIUS are extensive, and therefore development of an alternative key wrap technique basedSession-Timeout attribute has no bearing on theRADIUS shared secret would not substantially improve security. As a result, [RFC3759] Section 4.2 recommends running RADIUS over IPsec. The same approach is taken in Diameter EAP [RFC4072], which defines cleartextkeyattributes, to be protected by IPsec or TLS. Where an untrusted AAA intermediarylifetime within the backend authentication server. On the authenticator, where EAP ispresent (suchused for authentication, the Session-Timeout value represents the maximum session time prior to re-authentication, asa RADIUS proxy or a Diameter agent), and data object securitydescribed in [RFC3580]. Where EAP is used for pre-authentication, the session may notused, transported keying materialstart until some future time, or maybe recovered by an attacker in control ofnever occur. Nevertheless, theuntrusted intermediary. Possession of transported keying material enables decryption of data traffic sent betweenSession-Timeout value represents thepeer and a specific authenticator. However, as long astime after which transported EAP keyingmaterial ormaterial, and all keysderivedcalculated fromit is only utilized by a single authenticator, compromise of the transported keying material does not enable an attacker to impersonateit, will have expired on thepeer to anotherauthenticator.Vulnerability to an untrusted AAA intermediary canIf the session subsequently starts, re- authentication will bemitigated by implementation of redirect functionality, as described in [RFC3588] and [RFC4072].initiated once the Session-Time has expired. Aboba, et al. Standards Track [Page29]28] INTERNET-DRAFT EAP Key Management Framework8 January5 March 20064. Handoff Vulnerabilities With EAP, a number of mechanisms areIf the session never started, or started and ended, by default keys transported by AAA and all keys calculated from them will beutilized in order to reduceexpired by thelatency of handoff between authenticators. One such mechanism is EAP pre-authentication, in which EAP is utilized to pre-establish EAP keying material on anauthenticator prior toarrival ofthepeer. Another such mechanismfuture time indicated by Session-Timeout. Since the TSK lifetime iskey caching, in which an EAP peer can re- attach to anoften determined by authenticatorwithout having to re-authenticate using EAP. Yet another mechanism is context transfer, such as is defined in [IEEE-802.11F] (now deprecated) and [CTP]. These mechanisms introduce new security vulnerabilities, as discussed inresources, thesections that follow. 4.1. Authorization In a typical network access scenario (dial-in, wireless LAN, etc.) access control mechanisms are typically applied. These mechanisms include userbackend authenticationas well as authorization for the offered service. As a part ofserver has no insight into theauthenticationTSK derivation process, and by the principle of ciphersuite independence, it is not appropriate for the backend authentication serverdeterminesto manage any aspect of theuser's authorization profile. The user authorizations are transmitted byTSK derivation process, including the TSK lifetime. [b] Lower layer mechanisms. While AAA attributes can communicate the maximum exported key lifetime, this only serves to synchronize the key lifetime between the backend authentication servertoand theEAP authenticator (also knownauthenticator. Lower layer mechanisms such as theNetwork Access Server or authenticator) and withSecure Association Protocol can then be used to enable thetransported EAP keying material, in Phase 1blifetime of exported and calculated keys to be negotiated between theEAP conversation. Typically,peer and authenticator. Where TSKs are established as theprofileresult of a Secure Association Protocol exchange, it isdetermined based onRECOMMENDED that theuser identity, but a certificate presented bySecure Association Protocol include support for TSK resynchronization. Where theuser may also provide authorization information. The backend authentication serverTSK isresponsible for making a user authorization decision, answeringtaken from thefollowing questions: [a] Is thisMSK, there is no need to manage the TSK lifetime as alegitimate user for this particular network? [b] Is this user allowedseparate parameter, since thetype of access he or she is requesting?TSK lifetime and MSK lifetime are identical. [c]Are there any specific parameters (mandatory tunneling, bandwidth, filters,System defaults. Where the EAP method does not support the negotiation of the exported key lifetime, andso on) thata key lifetime negotiation mechanism is not provided by theaccess network shouldlower lower, there may beaware ofno way forthis user? [d] Is this user withinthesubscription rules regarding time of day? [e] Ispeer to learn the exported key lifetime. In thisusercase it is RECOMMENDED that the peer assume a default value of the exported key lifetime; 8 hours is recommended. Similarly, the lifetime of calculated keys can also be managed as a system parameter on the authenticator. [d] Method specific negotiation withinhis limits for concurrent sessions? [f] Are there any fraud, credit limit, or other concernsEAP. While EAP itself does not support lifetime negotiation, it would be possible to specify methods thatindicatedo. However, systems thataccess should be denied?rely on such negotiation for exported keys would only function with these methods. As a result, it is NOT RECOMMENDED to use this approach as the sole way to determine key lifetimes. 3.5. Key cache synchronization Issues arise when attempting to synchronize the key cache on the peer and authenticator. Lifetime negotiation alone cannot guarantee key cache synchronization. Aboba, et al. Standards Track [Page30]29] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006While the authorization decision is in principle simple, the processOne problem iscomplicated bythat thedistributed natureAAA protocol cannot guarantee synchronization of key lifetimes between thedecision making.peer and authenticator. Wherebrokering entities or proxies are involved, all oftheAAA entities in the chain fromSecure Association Protocol is not run immediately after EAP authentication, theauthenticator toexported and calculated key lifetimes will not be known by thehome backend authentication server are involved inpeer during thedecision. For instance, a brokerhiatus. Where EAP pre-authentication occurs, this candisallow access even ifleave thehome backend authentication server would allow it, orpeer uncertain whether aproxy can add authorizations (e.g., bandwidth limits). Decisions can be based on static policy definitions and profiles as well as dynamic state (e.g. time of day or limits on the number of concurrent sessions). In addition to the Accept/Reject decision made by the AAA chain, parameters or constraints can be communicatedsubsequent attempt to use theauthenticator. The criteria for Accept/Reject decisions orexported keys will prove successful. However, even where thereasonsSecure Association Protocol is run immediately after EAP, it is still possible forchoosing particular authorizations are typically not communicated to the authenticator, only the final result. As a result,the authenticatorhas no waytoknow whatreclaim resources if thedecision was based on. Was a set of authorization parameters sent because this servicecreated key state isalways providednot immediately utilized. The lower layer may utilize Discovery mechanisms to assist in this. For example, theuser, or wasauthenticator manages thedecision based onkey cache by deleting thetime/day andoldest key first (LIFO), thecapabilitiesrelative creation time of therequesting authenticator device? 4.2. Correctness Whenlast key to be deleted could be advertised with theAAA exchange is bypassed via useDiscovery phase, enabling the peer to determine whether a given key had been expired from the authenticator key cache prematurely. 3.6. Key Strength In order to guard against brute force attacks, EAP methods deriving keys need to be capable oftechniques such asgenerating keys with an appropriate effective symmetric keycaching, this creates challenges in ensuringstrength. In order to ensure thatauthorizationkey generation isproperly handled. These include: [a] Consistent application of session time limits. Bypassing AAA shouldnotautomatically increasetheavailable session time, allowingweakest link, it is RECOMMENDED that EAP methods utilizing public key cryptography choose auser to endlessly extend their network access by changing the point of attachment. [b] Avoidance of privilege elevation. Bypassing AAA should not result inpublic key that has auser being granted access to services which they are not entitled to. [c] Consideration of dynamic state. In situationscryptographic strength meeting the symmetric key strength requirement. As noted inwhich dynamic state is involved[RFC3766] Section 5, this results in theaccess decision (day/time, simultaneous session limit) it should be possible to take this state into account either beforefollowing required RSA orafter access is granted. Note that consideration of network-wide state such as simultaneous session limits can typically only be taken into account by the backend authentication server. [d] Encoding of restrictions. SinceDH module and DSA subgroup size in bits, for aauthenticator may not be awaregiven level ofthe criteria considered by a backend authentication server whenattack resistance in bits: Attack Resistance RSA or DH Modulus DSA subgroup (bits) size (bits) size (bits) ----------------- ----------------- ------------ 70 947 128 80 1228 145 90 1553 153 100 1926 184 150 4575 279 200 8719 373 250 14596 475 Aboba, et al. Standards Track [Page31]30] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006allowing access,3.7. Key Wrap As described in [RFC3579] Section 4.3, known problems exist inorder to ensure consistent authorization during a fast handoff it may be necessary to explicitly encodetherestrictions withinkey wrap specified in [RFC2548]. Where theauthorizations provided by the backend authentication server. [e] State validity. The introduction of fast handoff should not render the authentication server incapable of keeping track of network- wide state. A handoff mechanism capable of addressing these concernssame RADIUS shared secret issaid to be "correct". One condition for correctnessused by a PAP authenticator and an EAP authenticator, there isas follows: Forahandoffvulnerability tobe "correct" it MUST establish on the new deviceknown plaintext attack. Since RADIUS uses thesame context as would have been created hadshared secret for multiple purposes, including per-packet authentication, attribute hiding, considerable information is exposed about thenew device completed a AAA conversationshared secret with each packet. This exposes thebackend authentication server. A properly designed handoff scheme will only succeed if it is "correct" in this way. If a successful handoff would establish "incorrect" state, it is preferable for itshared secret tofail, in orderdictionary attacks. MD5 is used both toavoid creation of incorrect context. Some backend authentication servercompute the RADIUS Response Authenticator andauthenticator configurations are incapable of meeting this definition of "correctness". For example, iftheoldMessage-Authenticator attribute, andnew device differ in their capabilities, it may be difficultsome concerns exist relating tomeet this definitionthe security ofcorrectness in a handoff mechanism that bypasses AAA. Backend authentication servers often perform conditional evaluation,this hash [MD5Attack]. As discussed inwhich[RFC3579] Section 4.3, theauthorizations returned in an Access-Accept messagesecurity vulnerabilities of RADIUS arecontingentextensive, and therefore development of an alternative key wrap technique based on theauthenticator or on dynamic state such as the time of day or number of simultaneous sessions. For example, inRADIUS shared secret would not substantially improve security. As aheterogeneous deployment, the backend authentication server might return different authorizations depending on the authenticator making the request,result, [RFC3759] Section 4.2 recommends running RADIUS over IPsec. The same approach is taken inorderDiameter EAP [RFC4072], which defines cleartext key attributes, tomake sure that the requested servicebe protected by IPsec or TLS. Where an untrusted AAA intermediary isconsistent with the authenticator capabilities. If differences between the newpresent (such as a RADIUS proxy or a Diameter agent), andold device would resultdata object security is not used, transported keying material may be recovered by an attacker inthe backend authentication server sending a different setcontrol ofmessages tothenew device than wereuntrusted intermediary. Possession of transported keying material enables decryption of data traffic sentto the old device, then if the handoff mechanism bypasses AAA, thenbetween thehandoff cannot be carried out correctly. For example, if some authenticator devices withinpeer and adeployment support dynamic VLANs while others do not, then attributes present in the Access-Request (suchspecific authenticator. However, as long as EAP keying material or keys derived from it is only utilized by a single authenticator, compromise of theauthenticator-IP-Address, authenticator-Identifier, Vendor-Identifier, etc.) could be examinedtransported keying material does not enable an attacker todetermine when VLAN attributes willimpersonate the peer to another authenticator. Vulnerability to an untrusted AAA intermediary can bereturned,mitigated by implementation of redirect functionality, as described in[RFC3580]. VLAN support is defined in [IEEE-802.1Q]. If[RFC3588] and [RFC4072]. 4. Handoff Vulnerabilities With EAP, a number of mechanisms are be utilized in order to reduce the latency of handoffbypassingbetween authenticators. One such mechanism is EAP pre-authentication, in which EAP is utilized to pre-establish EAP keying material on an authenticator prior to arrival of thebackend authentication server werepeer. Another such mechanism is key caching, in which an EAP peer can re- attach tooccur between aan authenticatorsupporting dynamic VLANs andwithout having to re-authenticate using EAP. Yet anotherauthenticatormechanism is context transfer, such as is defined in [IEEE-802.11F] (now deprecated) and [CTP]. These mechanisms introduce new security vulnerabilities, as discussed in the sections that follow. Aboba, et al. Standards Track [Page32]31] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006which does not, then4.1. Authorization In aguest user withtypical network accessrestricted to a guest VLAN could be given unrestrictedscenario (dial-in, wireless LAN, etc.) accesstocontrol mechanisms are typically applied. These mechanisms include user authentication as well as authorization for thenetwork. Similarly, inoffered service. As anetwork where access is restricted based onpart of theday and time, Service Set Identifier (SSID), Calling-Station-Id or other factors, unlessauthentication process, therestrictionsbackend authentication server determines the user's authorization profile. The user authorizations areencoded withintransmitted by theauthorizations,backend authentication server to the EAP authenticator (also known as the Network Access Server ora partial AAA conversation is included, then a handoff could resultauthenticator) and with the transported EAP keying material, in Phase 1b of theuser bypassingEAP conversation. Typically, therestrictions. In practice, these considerations limitprofile is determined based on thesituations in which fast handoff mechanisms bypassing AAA can be expected to be successful. Where the deployed devices implementuser identity, but a certificate presented by thesame set of services, ituser maybe possible to do successful handoffs within such mechanisms. However, wherealso provide authorization information. The backend authentication server is responsible for making a user authorization decision, answering thesupported services differ between devices,following questions: [a] Is this a legitimate user for this particular network? [b] Is this user allowed thehandoff may not succeed. For example, [RFC2865] section 1.1 states: "A authenticatortype of access he or she is requesting? [c] Are there any specific parameters (mandatory tunneling, bandwidth, filters, and so on) thatdoes not implement a given service MUST NOT implementtheRADIUS attributesaccess network should be aware of for this user? [d] Is this user within the subscription rules regarding time of day? [e] Is this user within his limits for concurrent sessions? [f] Are there any fraud, credit limit, or other concerns thatservice. For example, a authenticatorindicate that access should be denied? While the authorization decision isunable to offer ARAP service MUST NOT implementin principle simple, the process is complicated by the distributed nature of the decision making. Where brokering entities or proxies are involved, all of the AAA entities in the chain from theRADIUS attributes for ARAP. AauthenticatorMUST treat a RADIUS access-accept authorizing an unavailable service as an access-reject instead." Note that this behavior only appliestoattributes thatthe home backend authentication server areknown, but not implemented. For attributes that are unknown, [RFC2865] Section 5 states: "A RADIUS server MAY ignore Attributes with an unknown Type. A RADIUS client MAY ignore Attributes with an unknown Type." In order to perform a correct handoff, if a new device is provided with RADIUS context for a known but unavailable service, then it MUST process this contextinvolved in thesame way it would handledecision. For instance, aRADIUS Access- Accept requesting an unavailable service. This MUST cause the handoff to fail. However,broker can disallow access even ifa new device is provided with RADIUS context that indicates an unknown attribute, then this attribute MAY be ignored. Although it may seem somewhat counter-intuitive, failure is indeedthe"correct" result where a known but unsupported service is requested. Presumably a correctly configuredhome backend authentication server wouldnot request that a device carry out a service that it does not implement. This implies that if the new device were to completeallow it, or aAAA conversation that it wouldproxy can add authorizations (e.g., bandwidth limits). Decisions can belikely to receive different service instructions. In such a case, failurebased on static policy definitions and profiles as well as dynamic state (e.g. time of day or limits on thehandoff is the desired result. This will cause the new device to go backnumber of concurrent sessions). In addition to the Accept/Reject decision made by the AAAserver in orderchain, parameters or constraints can be communicated toreceivetheappropriate service definition.authenticator. Aboba, et al. Standards Track [Page33]32] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006In practice, this implies that handoff mechanisms which bypass AAA are most likely to be successful within a homogeneous device deployment within a single administrative domain. For example, it would not be advisable to carry out a fast handoff bypassing AAA between a authenticator providing confidentiality and another authenticator that does not support this service.Thecorrect result of such a handoff would be a failure, since if the handoff were blindly carried out, thencriteria for Accept/Reject decisions or theuser would be moved from a securereasons for choosing particular authorizations are typically not communicated toan insecure channel without permission fromthebackend authentication server. Thusauthenticator, only thedefinition offinal result. As a"known but unsupported service" MUST encompass requests for unavailable security services. This includes vendor-specific attributes related to security, such as those described in [RFC2548]. 5. Security Considerations In order to analyze whetherresult, theEAP conversation achieves its security goals, it is first necessaryauthenticator has no way tostate those goals as well asknow what theunderlying security assumptions. The overall goaldecision was based on. Was a set ofthe EAP conversationauthorization parameters sent because this service is always provided toderive fresh session keys between the EAP peer and authenticator that are known only to those parties, and for boththeEAP peer and authenticator to demonstrate that they are authorized to perform their roles either by each otheruser, orby a trusted third party (the backend authentication server). The principals ofwas theauthentication phase aredecision based on theEAP peertime/day andserver. Completion of an EAP method exchange supporting key derivation results inthederivationcapabilities ofEAP keying material (MSK, EMSK, TEKs) known only to the EAP peer (identified by the Peer-ID) and server (identified by the Server-ID). Both the EAP peer and EAP server know the exported keying material to be fresh. The principals of the AAA Key transport exchange aretheEAPrequesting authenticatorand the EAP server. Completion ofdevice? 4.2. Correctness When the AAA exchangeresultsis bypassed via use of techniques such as key caching, this creates challenges inthe transportensuring that authorization is properly handled. These include: [a] Consistent application ofEAP keying material from the EAP server (identified bysession time limits. Bypassing AAA should not automatically increase theServer-ID)available session time, allowing a user tothe EAP authenticator (identifiedendlessly extend their network access by changing theNAS-Identifier) without disclosurepoint of attachment. [b] Avoidance of privilege elevation. Bypassing AAA should not result in a user being granted access toany other party. Bothservices which they are not entitled to. [c] Consideration of dynamic state. In situations in which dynamic state is involved in theEAP server and EAP authenticator know this keying material toaccess decision (day/time, simultaneous session limit) it should befresh. The principalspossible to take this state into account either before or after access is granted. Note that consideration ofthe Secure Association Protocol are the EAP peer (identifiednetwork-wide state such as simultaneous session limits can typically only be taken into account by thePeer-ID) andbackend authentication server. [d] Encoding of restrictions. Since a authenticator(identified by the NAS- Identifier). Completionmay not be aware of theSecure Association Protocol results in the derivation of TSKs known onlycriteria considered by a backend authentication server when allowing access, in order to ensure consistent authorization during a fast handoff it may be necessary to explicitly encode theEAP peer and authenticator. Bothrestrictions within theEAP peer and authenticator knowauthorizations provided by theTSKsbackend authentication server. [e] State validity. The introduction of fast handoff should not render the authentication server incapable of keeping track of network- wide state. A handoff mechanism capable of addressing these concerns is said to befresh."correct". One condition for correctness is as follows: For a handoff to be "correct" it MUST establish on the new device the same context as would have been created had the new device completed a AAA conversation with the backend authentication server. Aboba, et al. Standards Track [Page34]33] INTERNET-DRAFT EAP Key Management Framework8 January5 March 20065.1. Terminology "Cryptographic binding", "Cryptographic separation", "Key strength" and "Mutual authentication" are defined in [RFC3748] and are used with the same meaning here. 5.2. Threat Model The EAP threat modelA properly designed handoff scheme will only succeed if it isdescribed in [RFC3748] Section 7.1. The security properties of EAP methods (known as "security claims", described in [RFC3784] Section 7.2.1), address these threats. EAP method requirements for applications such as Wireless LAN authentication are described"correct" in[RFC4017]. The RADIUS threat modelthis way. If a successful handoff would establish "incorrect" state, it isdescribed in [RFC3579] Section 4.1, and responsespreferable for it tothese threats are described in [RFC3579] Sections 4.2 and 4.3. However,fail, inadditionorder tothreats against EAPavoid creation of incorrect context. Some backend authentication server andAAA, there are other system-level threats worth discussing. These include: [1] An attacker may compromise or steal an EAP authenticator, in an attempt to gain access to other EAP authenticators or obtain long- term secrets. [2] An attacker may compromise an EAPauthenticatorin an effort to commit fraud.configurations are incapable of meeting this definition of "correctness". For example,a compromised authenticator may provide incorrect information to the EAP peer and/or server via out-of-band mechanisms (such as via a AAA or lower layer protocol). This includes impersonating another authenticator, or providing inconsistent information toif thepeerold andEAP server. [3] An attackernew device differ in their capabilities, it maytrybe difficult tomodify or spoof packets, including Discovery or Secure Association Protocol frames, EAP or AAA packets. [4] An attacker may attemptmeet this definition of correctness in adowngrade attackhandoff mechanism that bypasses AAA. Backend authentication servers often perform conditional evaluation, inorder to exploit known weaknesseswhich the authorizations returned in anauthentication method or cryptographic transform. [5] An attacker may attempt to induce an EAP peer,Access-Accept message are contingent on the authenticator orserver to disclose keying material to an unauthorized party, or utilize keying material outsideon dynamic state such as thecontext that it was intended for. [6] An attacker may replay packets. [7] An attacker may cause an EAP peer, authenticatortime of day orserver to reuse an stale key. Usenumber ofstale keys may also occur unintentionally.simultaneous sessions. For example, in apoorly implementedheterogeneous deployment, the backend authentication servermay provide stale keying material to an authenticator, or a poorly Aboba, et al. Standards Track [Page 35] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 implementedmight return different authorizations depending on the authenticatormay reuse nonces. [8] An authenticated attacker may attempt to obtain elevated privilegemaking the request, in order toaccess informationmake sure thatit does not have rights to. In order to address these threats, [Housley] provides a description of mandatory system security properties. Issues relating system security requirements are discussed inthesections that follow. 5.3. Authenticator Compromise Inrequested service is consistent with theevent that anauthenticatoris compromised or stolen, an attacker may gain access tocapabilities. If differences between thenetwork via that authenticator, or may obtainnew and old device would result in thecredentials required for that authenticator/AAA client to communicate with one or morebackend authenticationservers. However, this should not allowserver sending a different set of messages to theattackernew device than were sent tocompromise other authenticators orthebackend authentication server, or obtain long- term user credentials. The implications of this requirement are many, but some ofold device, then if themore important are as follows: No Key Sharing An EAP authenticator MUST NOT share any keying material with another EAP authenticator, sincehandoff mechanism bypasses AAA, then the handoff cannot be carried out correctly. For example, ifone EAPsome authenticatorwere compromised, this would enabledevices within a deployment support dynamic VLANs while others do not, then attributes present in thecompromise of keying material on another authenticator. In order toAccess-Request (such as the authenticator-IP-Address, authenticator-Identifier, Vendor-Identifier, etc.) could beableexamined to determinewhether keying material has been shared, itwhen VLAN attributes will be returned, as described in [RFC3580]. VLAN support isnecessary for the identity ofdefined in [IEEE-802.1Q]. If a handoff bypassing theEAP authenticatorbackend authentication server were tobe definedoccur between a authenticator supporting dynamic VLANs andunderstood by all parties that communicateanother authenticator which does not, then a guest user withit. No AAA Credential Sharing AAA credentials (such as RADIUS shared secrets, IPsec pre-shared keys or certificates) MUST NOTaccess restricted to a guest VLAN could beshared between AAA clients, since if one AAA client were compromised, this would enable an attackergiven unrestricted access toimpersonatethe network. Similarly, in a network where access is restricted based on the day and time, Service Set Identifier (SSID), Calling-Station-Id or otherAAA clients tofactors, unless thebackend authentication server,restrictions are encoded within the authorizations, oreven to impersonateabackend authentication server to otherpartial AAAclients. No Compromise of Long-Term Credentials An attacker obtaining TSKs, TEKs or EAP keying material such asconversation is included, then a handoff could result in theMSK MUST NOTuser bypassing the restrictions. In practice, these considerations limit the situations in which fast handoff mechanisms bypassing AAA can beableexpected toobtain long-term user credentials such as pre-shared keys, passwords or private-keys without breaking a fundamental cryptographic assumption. Aboba, et al. Standards Track [Page 36] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 5.4. Spoofing The usebe successful. Where the deployed devices implement the same set ofper-packet authentication and integrity protection provides protection against spoofing attacks. Diameter [RFC3588] provides support for per-packet authentication and integrity protection via use of IPsec or TLS. RADIUS/EAP [RFC3579] provides for per-packet authentication and integrity protection via use of the Message-Authenticator attribute. [RFC3748] Section 7.2.1 describes the "integrity protection" security claim and [RFC4017] requires use of EAP methods supporting this claim. In orderservices, it may be possible toprevent forgery of Secure Association Protocol frames, per-frame authentication and integrity protection is RECOMMENDED on all messages. [IEEE-802.11i] supports per-frame integrity protection and authentication on all messagesdo successful handoffs within such mechanisms. However, where the4-way handshake except the first message. An attack leveraging this ommission is described in [Analysis]. 5.5. Downgrade Attacks The ability to negotiatesupported services differ between devices, theuse ofhandoff may not succeed. For example, [RFC2865] section 1.1 states: Aboba, et al. Standards Track [Page 34] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 "A authenticator that does not implement aparticular cryptographic algorithm provides resilience against compromise ofgiven service MUST NOT implement the RADIUS attributes for that service. For example, aparticular cryptographic algorithm. Thisauthenticator that isusually accomplished by including an algorithm identifier in the protocol, and by specifying the algorithm requirements in the protocol specification. In orderunable toprevent downgrade attacks, secure confirmation of the "best" ciphersuite is required. [RFC3748] Section 7.2.1 describesoffer ARAP service MUST NOT implement the"protected ciphersuite negotiation" security claimRADIUS attributes for ARAP. A authenticator MUST treat a RADIUS access-accept authorizing an unavailable service as an access-reject instead." Note thatrefersthis behavior only applies tothe ability of an EAP methodattributes that are known, but not implemented. For attributes that are unknown, [RFC2865] Section 5 states: "A RADIUS server MAY ignore Attributes with an unknown Type. A RADIUS client MAY ignore Attributes with an unknown Type." In order tonegotiateperform a correct handoff, if a new device is provided with RADIUS context for a known but unavailable service, then it MUST process this context theciphersuite used to protectsame way it would handle a RADIUS Access- Accept requesting an unavailable service. This MUST cause theEAP conversation, as well ashandoff tointegrity protect the negotiation. [RFC4017] requires EAP methods satisfying this security claim. Diameter [RFC3588] provides support for cryptographic algorithm negotiation via use of IPsec or TLS.fail. However, if a new device is provided with RADIUS[RFC3579]context that indicates an unknown attribute, then this attribute MAY be ignored. Although it may seem somewhat counter-intuitive, failure is indeed the "correct" result where a known but unsupported service is requested. Presumably a correctly configured backend authentication server would not request that a device carry out a service that it does notsupportimplement. This implies that if thenegotiationnew device were to complete a AAA conversation that it would be likely to receive different service instructions. In such a case, failure ofcryptographic algorithms, and relies on MD5 for integrity protection, authentication and confidentiality, despite known weaknesses inthealgorithm [MD5Attack].handoff is the desired result. Thisissue can be addressed via use of RADIUS over IPsec, as describedwill cause the new device to go back to the AAA server in[RFC3579] Section 4.2. As a result, EAP methods andorder to receive the appropriate service definition. In practice, this implies that handoff mechanisms which bypass AAAprotocolsarecapable of addressing downgrade attacks. To ensure against downgrade attacksmost likely to be successful withinlower layer protocols, algorithm independence is REQUIRED with lower layers using EAP for key derivation.a homogeneous device deployment within a single administrative domain. Forinteroperability, at least oneexample, it would not be advisable to carry out a fast handoff bypassing AAA between a authenticator providing confidentiality and another authenticator that does not support this service. The correct result of such a handoff would be a failure, since if the handoff were blindly carried out, then the user would be moved from a secure to an insecure channel without permission from the backend authentication server. Thus the definition of a "known but unsupported service" MUST encompass requests for unavailable security services. This includes vendor-specific attributes related to security, such as those described in [RFC2548]. Aboba, et al. Standards Track [Page37]35] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006suite of mandatory-to-implement algorithm MUST be selected. Lower layer protocols supporting EAP for key derivation SHOULD also support secure ciphersuite negotiation. As described in [RFC1968], PPP ECP does not provide support for secure ciphersuite negotiation. However, [IEEE-802.11i] does support secure ciphersuite negotiation. 5.6. Unauthorized Disclosure While preserving algorithm independence, confidentiality of all keying material MUST be maintained. To prevent unauthorized disclose of keys, each party in5. Security Considerations In order to analyze whether the EAP conversationMUST be authenticatedachieves its security goals, it is first necessary to state those goals as well as theother parties with whom it communicates. Keying material MUST be bound tounderlying security assumptions. The overall goal of theappropriate context. [RFC3748] Section 7.2.1 describesEAP conversation is to derive fresh session keys between the"mutual authentication"EAP peer and"dictionary attack resistance" claims,authenticator that are known only to those parties, and[RFC4017] requires EAP methods satisfying these claims. EAP methods complying with [RFC4017] therefore provideformutualboth the EAP peer and authenticator to demonstrate that they are authorized to perform their roles either by each other or by a trusted third party (the backend authenticationbetweenserver). The principals of the authentication phase are the EAP peer and server.BindingCompletion of an EAP method exchange supporting key derivation results in the derivation of EAP keying material (MSK,EMSK)EMSK, TEKs) known only to theappropriate context is providedEAP peer (identified by thePeer-IDPeer-ID) andServer-ID which are exported along withserver (identified by thekeying material. Diameter [RFC3588] provides for per-packet authentication and integrity protection via IPsec or TLS, and RADIUS/EAP [RFC3579] also provides for per-packet authentication and integrity protection. WhereServer-ID). Both theNAS/authenticatorEAP peer andbackend authenticationEAP servercommunicate directly and credible keywrap is used (see Section 3.7), this ensures thatknow the exported keying material to be fresh. The principals of the AAA KeyTransport phase achieves its security objectives: mutually authenticatingtransport exchange are theAAA client/authenticator and backend authentication serverEAP authenticator andprovidingthe EAP server. Completion of the AAA exchange results in the transport of EAP keying material from the EAP server (identified by the Server-ID) to the EAP authenticatorand(identified by the NAS-Identifier) without disclosure tonoany other party.As noted in Section 3.1, the Secure Association Protocol does not by itself provide for mutual authentication betweenBoth the EAPpeerserver andauthenticator, even if mutual possession ofEAP authenticator know this keying materialis proven. However, where the NAS/authenticator and backend authentication server communicate directly, the backend authentication server can verifyto be fresh. The principals of thecorrespondence between NAS identification attributes,Secure Association Protocol are thesource address of packets sentEAP peer (identified by theNAS,Peer-ID) and authenticator (identified by theAAA credentials. As long asNAS- Identifier). Completion of theNAS has not shared its AAA credentials with another NAS, this allowsSecure Association Protocol results in thebackend authentication serverderivation of TSKs known only toauthenticate the NAS. Using Channel Bindings,the EAP peercan then determine whether the NAS/authenticator has provided the same identifying information toand authenticator. Both the EAP peer andbackend authentication server. Peer andauthenticatorauthorization MUSTknow the TSKs to beperformed. Authorization is REQUIRED whenever a peer associatesfresh. 5.1. Terminology "Cryptographic binding", "Cryptographic separation", "Key strength" and "Mutual authentication" are defined in [RFC3748] and are used witha newthe same meaning here. 5.2. Threat Model The EAP threat model is described in [RFC3748] Section 7.1. The security properties of EAP methods (known as "security claims", described in [RFC3784] Section 7.2.1), address these threats. EAP method requirements for applications such as Wireless LAN authentication are described in [RFC4017]. The RADIUS threat model Aboba, et al. Standards Track [Page38]36] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006authenticator. Authorization checking prevents an elevation of privilege attack, and ensures that an unauthorized authenticatorisdetected. Authorizations SHOULD be synchronized between the EAP peer, server, authenticator. Once thedescribed in [RFC3579] Section 4.1, and responses to these threats are described in [RFC3579] Sections 4.2 and 4.3. However, in addition to threats against EAPconversation exchangesand AAA, there arecomplete, all of these parties should hold the same view of the authorizations associated theotherparties. If peer authorization is restricted, then the peer SHOULD be made aware of the restriction. The AAA exchange provides thesystem-level threats worth discussing. These include: [1] An attacker may compromise or steal an EAPauthenticator with authorizations relatingauthenticator, in an attempt tothegain access to other EAPpeer. However, neitherauthenticators or obtain long- term secrets. [2] An attacker may compromise an EAP authenticator in an effort to commit fraud. For example, a compromised authenticator may provide incorrect information to the EAPnorpeer and/or server via out-of-band mechanisms (such as via a AAAexchanges provides authorizationsor lower layer protocol). This includes impersonating another authenticator, or providing inconsistent information to the peer and EAPpeer. In orderserver. [3] An attacker may try toensure that all parties hold the same view of the authorizations it is RECOMMENDED that themodify or spoof packets, including Discovery or Secure Association Protocolenable communication of authorizations between theframes, EAPauthenticator and peer. Inor AAA packets. [4] An attacker may attempt a downgrade attack in order toenable key binding and authorization of all parties, it is RECOMMENDED that the parties use a set of identities that are consistent between the conversation phases. RADIUS [RFC2865] and Diameter NASREQ [RFC4005] require that the NAS/EAP authenticator identify itself by including one or more identification attributes withinexploit known weaknesses in anAccess-Request packet (NAS-Identifier, NAS-IP-Address, NAS- IPv6-Address). Since the backendauthenticationserver provides EAP keying material for use by the EAP authenticator as identified by these attributes, where an EAP authenticatormethod or cryptographic transform. [5] An attacker mayhave multiple ports, it is RECOMMENDED for the EAP authenticatorattempt toidentify itself using NAS identification attributes during the Secure Association Protocol exchange with the EAP peer. This enables theinduce an EAPpeerpeer, authenticator or server todetermine whether EAPdisclose keying materialhas been shared between EAP authenticators as well astoconfirm withan unauthorized party, or utilize keying material outside thebackend authentication servercontext that it was intended for. [6] An attacker may replay packets. [7] An attacker may cause an EAP peer, authenticatorproving possessionor server to reuse an stale key. Use ofEAPstale keys may also occur unintentionally. For example, a poorly implemented backend authentication server may provide stale keying materialduring the Secure Association Protocol was authorizedtoobtain it. Typically, the NAS-Identifier attribute is most convenient for this purpose, sincean authenticator, or aNAS/authenticatorpoorly implemented authenticator may reuse nonces. [8] An authenticated attacker may attempt to obtain elevated privilege in order to access information that it does not havemultiple IP addresses. Similarly,rights to. In order to address these threats, [Housley] provides a description of mandatory system security properties. Issues relating system security requirements are discussed in thebackend authentication server authorizessections that follow. 5.3. Authenticator Compromise In theEAPevent that an authenticatorto provideis compromised or stolen, an attacker may gain access to theEAP peer identified by the Peer-ID, securely verified during the EAP authentication exchange. In order to determine whether EAP keying material has been shared between EAP peers, where the EAP peer has multiple ports it is RECOMMENDED for the EAP peer to identify itself using the Peer-ID during the Secure Association Protocol exchange with the EAP authenticator.network via that authenticator, or Aboba, et al. Standards Track [Page39]37] INTERNET-DRAFT EAP Key Management Framework8 January5 March 20065.7. Replay Protection Replay protection allows a protocol message recipient to discard any messagemay obtain the credentials required for thatwas recorded during a previous legitimate dialogue and presented as though it belongedauthenticator/AAA client to communicate with one or more backend authentication servers. However, this should not allow thecurrent dialogue. [RFC3748] Section 7.2.1 describesattacker to compromise other authenticators or the"replay protection" security claim and [RFC4017] requires usebackend authentication server, or obtain long- term user credentials. The implications ofEAP methods supportingthisclaim. Diameter [RFC3588] provides support for replay protection via use of IPsec or TLS. RADIUS/EAP [RFC3579] protects against replayrequirement are many, but some of the more important are as follows: No Key Sharing An EAP authenticator MUST NOT share any keying materialviawith another EAP authenticator, since if one EAP authenticator were compromised, this would enable theRequest Authenticator. However, some RADIUS packets are not replay protected.compromise of keying material on another authenticator. InAccounting, Disconnect and CoA-Request packetsorder to be able to determine whether keying material has been shared, it is necessary for theRequest Authenticator contains a keyed MAC rather than a Nonce. The Response Authenticator in Accounting, Disconnect and CoA Response packets also contains a keyed MAC whose calculation does not depend on a Nonce in eitheridentity of theRequestEAP authenticator to be defined and understood by all parties that communicate with it. No AAA Credential Sharing AAA credentials (such as RADIUS shared secrets, IPsec pre-shared keys orResponse packets. Therefore unlesscertificates) MUST NOT be shared between AAA clients, since if one AAA client were compromised, this would enable anEvent-Timestamp attribute is includedattacker to impersonate other AAA clients to the backend authentication server, orIPsec is used,even to impersonate a backend authentication server to other AAA clients. No Compromise of Long-Term Credentials An attacker obtaining TSKs, TEKs or EAP keying material such as therecipient may notMSK MUST NOT be able todetermine whether these packets have been replayed.obtain long-term user credentials such as pre-shared keys, passwords or private-keys without breaking a fundamental cryptographic assumption. 5.4. Spoofing The use of per-packet authentication and integrity protection provides protection against spoofing attacks. Diameter [RFC3588] provides support for per-packet authentication and integrity protection via use of IPsec or TLS. RADIUS/EAP [RFC3579] provides for per-packet authentication and integrity protection via use of the Message-Authenticator attribute. [RFC3748] Section 7.2.1 describes the "integrity protection" security claim and [RFC4017] requires use of EAP methods supporting this claim. In order to preventreplayforgery of Secure Association Protocol frames,replayper-frame authentication and integrity protection isREQUIREDRECOMMENDED on all messages. [IEEE-802.11i] supportsreplayper-frame integrity protection Aboba, et al. Standards Track [Page 38] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 and authentication on all messages within the 4-wayhandshake. 5.8. Key Freshness A session key should be considered compromised if it remains in use too long. As notedhandshake except the first message. An attack leveraging this ommission is described in[Housley], session keys MUST be strong and fresh, while preserving[Analysis]. 5.5. Downgrade Attacks The ability to negotiate the use of a particular cryptographic algorithmindependence. A freshprovides resilience against compromise of a particular cryptographickey is one thatalgorithm. This isgenerated specifically for the intended use. Each session deservesusually accomplished by including anindependent session key; disclosure of one session key MUST NOT aidalgorithm identifier in theattackerprotocol, and by specifying the algorithm requirements indiscovering any other session keys. Fresh keys are required even when a long replay counter (that is, one that "will never wrap") is used to ensure that loss of state does not causethesame counter valueprotocol specification. In order tobe used more than once withprevent downgrade attacks, secure confirmation of thesame session key. EAP, AAA and"best" ciphersuite is required. [RFC3748] Section 7.2.1 describes thelower layer each bear responsibility for ensuring"protected ciphersuite negotiation" security claim that refers to theuseability offresh, strong session keys: EAPan EAPmethods needmethod toensurenegotiate the ciphersuite used to protect thefreshness and strength ofEAPkeying material providedconversation, as well asan inputtosession key derivation. [RFC3748] Section 7.10 states that "EAP methods SHOULD ensureintegrity protect thefreshness Aboba, et al. Standards Track [Page 40] INTERNET-DRAFTnegotiation. [RFC4017] requires EAPKey Management Framework 8 January 2006methods satisfying this security claim. Diameter [RFC3588] provides support for cryptographic algorithm negotiation via use of IPsec or TLS. RADIUS [RFC3579] does not support theMSKnegotiation of cryptographic algorithms, andEMSK, evenrelies on MD5 for integrity protection, authentication and confidentiality, despite known weaknesses incases where one party may not havethe algorithm [MD5Attack]. This issue can be addressed via use of RADIUS over IPsec, as described in [RFC3579] Section 4.2. As ahigh quality random number generator. A RECOMMENDED methodresult, EAP methods and AAA protocols are capable of addressing downgrade attacks. To ensure against downgrade attacks within lower layer protocols, algorithm independence is REQUIRED with lower layers using EAP foreach party to provide a nonce ofkey derivation. For interoperability, at least128 bits, used in theone suite of mandatory-to-implement algorithm MUST be selected. Lower layer protocols supporting EAP for key derivation SHOULD also support secure ciphersuite negotiation. As described in [RFC1968], PPP ECP does not provide support for secure ciphersuite negotiation. However, [IEEE-802.11i] does support secure ciphersuite negotiation. 5.6. Unauthorized Disclosure While preserving algorithm independence, confidentiality ofthe MSK and EMSK." The contributionall keying material MUST be maintained. To prevent unauthorized disclose ofnonces enableskeys, each party in the EAPpeer and serverconversation MUST be authenticated toensure that exported EAP keyingthe other parties with whom it communicates. Keying materialis fresh.MUST be bound to the appropriate context. [RFC3748] Section 7.2.1 describes the"key strength""mutual authentication" and"session independence" security"dictionary attack resistance" claims, andand[RFC4017] requiresuse ofEAP Aboba, et al. Standards Track [Page 39] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 methodssupportingsatisfying theseclaims as well as being capableclaims. EAP methods complying with [RFC4017] therefore provide for mutual authentication between the EAP peer and server. Binding ofproviding an equivalent key strength of 128 bits or greater. AAA The AAA protocol needs to ensure that transportedEAP keying material (MSK, EMSK) to the appropriate context isfreshprovided by the Peer-ID andis not utilized outside its recommended lifetime. Replay protection is necessaryServer-ID which are exported along with the keying material. Diameter [RFC3588] provides forkey freshness, but an attacker can deliver a stale (and therefore potentially compromised) key in a replay-protected message, so replayper-packet authentication and integrity protectionis not sufficient. The EAP Session-ID, derived from the EAP Typevia IPsec or TLS, andMethod-ID (based on the nonces contributed byRADIUS/EAP [RFC3579] also provides for per-packet authentication and integrity protection. Where thepeerNAS/authenticator andserver) enablesbackend authentication server communicate directly and credible keywrap is used (see Section 3.7), this ensures that theEAP peer, authenticatorAAA Key Transport phase achieves its security objectives: mutually authenticating the AAA client/authenticator and backend authentication serverto distinguishand providing EAPconversations. However, unlesskeying material to theauthenticator keeps track ofEAPSession-IDs, theauthenticatorcannot use the Session-IDand toguarantee the freshness of EAP keying material.no other party. Asdescribednoted in[RFC3580]Section3.17, When sent in an Access- Accept along with a Termination-Action value of RADIUS-Request,3.1, theSession-Timeout attribute specifiesSecure Association Protocol does not by itself provide for mutual authentication between themaximum number of secondsEAP peer and authenticator, even if mutual possession ofservice provided prior to re-authentication. [IEEE-802.11i] also utilizes the Session-Timeout attribute to limit the maximum time thatEAP keying materialmay be cache. Therefore the use of the Session-Timeout attribute enablesis proven. However, where the NAS/authenticator and backend authentication serverto limitcommunicate directly, theexposurebackend authentication server can verify the correspondence between NAS identification attributes, the source address ofEAP keying material. Lower Layer The lower layer Secure Association Protocol MUST generate a fresh session key for each session, even ifpackets sent by thekeying materialNAS, andparameters provided by EAP methods are cached, orthepeer or authenticator lack a high entropy random number generator. A RECOMMENDED method is forAAA credentials. As long as thepeer and authenticator to each provide a nonce or counter used in session key derivation. If a nonce is used, it is RECOMMENDED that it be at least 128 bits. 5.9. Elevation of Privilege Parties MUST NOT have access to keying material that is not needed to perform their own role. A party has access to a particular key if itNAS hasaccess to all ofnot shared its AAA credentials with another NAS, this allows thesecret information needed to derive it. If Aboba, et al. Standards Track [Page 41] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 a post-EAP handshake is usedbackend authentication server toestablish session keys,authenticate thepost-EAP handshake MUST specifyNAS. Using Channel Bindings, thescope for session keys. TransportedEAPkeying material is permittedpeer can then determine whether the NAS/authenticator has provided the same identifying information tobe accessed bythe EAPpeer, authenticatorpeer and backend authentication server.The EAPPeer and authenticator authorization MUST be performed. Authorization is REQUIRED whenever a peer associates with a new authenticator. Authorization checking prevents an elevation of privilege attack, andserver derive the transported keying material during the process of mutually authenticating each other using the selected EAP method. During the Secure Association Protocol, the EAP peer utilizes the transported EAP keying material to demonstrate to the authenticator that it is the same partyensures thatauthenticated to the EAP server and was authorized by it. The EAPan unauthorized authenticatorutilizesis detected. Authorizations SHOULD be synchronized between thetransportedEAPkeying material to prove to the peer not only thatpeer, server, authenticator. Once the EAP conversationwas transported through it (this could be demonstrated by a man-in-the-middle), but that it was uniquely authorized byexchanges are complete, all of these parties should hold theEAP server to providesame view of thepeer with access toauthorizations associated thenetwork. Uniqueother parties. If peer authorizationcan onlyis restricted, then the peer SHOULD bedemonstrated ifmade aware of the restriction. The AAA exchange provides the EAP authenticatordoes not share the transported keying materialwitha party other than the EAP peer and server. TSKs are permittedauthorizations relating tobe accessed only bythe EAPpeer and authenticator. Sincepeer. However, neither theTSKs can be determined fromEAP nor AAA exchanges provides authorizations to thetransportedEAPkeying material andpeer. In order to ensure that all parties hold thecleartextsame view of the authorizations it is RECOMMENDED that the Secure Association Protocolexchange, the backend authentication server will have access to the TSKs unless it deletesenable communication of authorizations between thetransported EAP keying material after sending it. 5.10. Man-in-the-middle Attacks As described in [I-D.puthenkulam-eap-binding],EAPmethod sequencesauthenticator andcompound authentication mechanisms may be subjectpeer. In order toman-in-the- middle attacks. When such attacks are successfully carried out, the attacker acts as an intermediary between a victim and a legitimate authenticator. This allows the attacker to authenticate successfully to the authenticator, as well as to obtain access to the network. In order to prevent these attacks, [I-D.puthenkulam-eap-binding] recommends derivation of a compound key by which the EAP peer and server can prove that they have participated in the entire EAP exchange. Since the compoundenable keymust not be known to an attacker posing as an authenticator,binding andyet must be derived from quantities that are exported by EAP methods, it may be desirable to derive the compound key from a portionauthorization ofthe EMSK. In order to provide proper key hygiene,all parties, itis recommended that the compound key used for man-in- the-middle protection be cryptographically separate from other keys derived from the EMSK.Aboba, et al. Standards Track [Page42]40] INTERNET-DRAFT EAP Key Management Framework8 January5 March 20065.11. Denial of Service Attacks Key caching may result in vulnerability to denial of service attacks. For example, EAP methodsis RECOMMENDED thatcreate persistent state may be vulnerable to denial of service attacks ontheEAP server byparties use arogue EAP peer. To address this vulnerability, EAP methods creating persistent state may wish to limitset of identities that are consistent between thepersistent state createdconversation phases. RADIUS [RFC2865] and Diameter NASREQ [RFC4005] require that the NAS/EAP authenticator identify itself by including one or more identification attributes within an Access-Request packet (NAS-Identifier, NAS-IP-Address, NAS- IPv6-Address). Since the backend authentication server provides EAPpeer. For example,keying material foreach peer an EAP server may choose to limit persistent state to a few EAP conversations, distinguisheduse by the EAPSession- ID. This prevents a rogue peer from denying access to other peers. Similarly, to conserve resourcesauthenticator as identified by these attributes, where an EAP authenticator maychoose to limithave multiple ports, it is RECOMMENDED for thepersistent state correspondingEAP authenticator toeachidentify itself using NAS identification attributes during the Secure Association Protocol exchange with the EAP peer. Thiscan be accomplished by limiting eachenables the EAP peer topersistent sttate corresponding to a fewdetermine whether EAPconverations, distinguished by thekeying material has been shared between EAPSession-ID. Depending onauthenticators as well as to confirm with themedia, creation of new TSKs may or may not imply deletionbackend authentication server that an EAP authenticator proving possession ofpreviously derived TSKs. Where there is no implied deletion,EAP keying material during theauthenticator may chooseSecure Association Protocol was authorized tolimitobtain it. Typically, thenumber of TSKs and associated state that can be storedNAS-Identifier attribute is most convenient foreach peer. 5.12. Impersonation Both the RADIUS and Diameter protocols are potentially vulnerable to impersonation bythis purpose, since arogue authenticator. While AAA protocols such as RADIUS [RFC2865] or Diameter [RFC3588] support mutual authentication between the authenticator (known as the AAA client) andNAS/authenticator may have multiple IP addresses. Similarly, the backend authentication server(known as the backend authentication server),authorizes thesecurity mechanisms vary accordingEAP authenticator to provide access to theAAA protocol. In RADIUS, the shared secret used for authentication is determinedEAP peer identified by thesource address of the RADIUS packet. As noted in [RFC3579] Section 4.3.7,Peer-ID, securely verified during the EAP authentication exchange. In order to determine whether EAP keying material has been shared between EAP peers, where the EAP peer has multiple ports it ishighly desirable thatRECOMMENDED for thesource address be checked against one or more NAS identification attributes so asEAP peer todetect and prevent impersonation attacks. When RADIUS requests are forwarded by a proxy,identify itself using theNAS-IP-Address or NAS-IPv6-Address attributes may not correspond toPeer-ID during thesource address. SinceSecure Association Protocol exchange with theNAS-Identifier attribute need not contain an FQDN,EAP authenticator. 5.7. Replay Protection Replay protection allows a protocol message recipient to discard any message that was recorded during a previous legitimate dialogue and presented as though italso may not correspondbelonged to thesource address, even indirectly. [RFC2865]current dialogue. [RFC3748] Section3 states: A RADIUS server MUST use7.2.1 describes thesource IP address"replay protection" security claim and [RFC4017] requires use ofthe RADIUS UDP packet to decide which shared secret to use, so that Aboba, et al. Standards Track [Page 43] INTERNET-DRAFTEAPKey Management Framework 8 January 2006 RADIUS requests can be proxied. This implies that it is possiblemethods supporting this claim. Diameter [RFC3588] provides support fora rogue authenticator to forge NAS-IP-Address, NAS-IPv6-Addressreplay protection via use of IPsec orNAS-Identifier attributes within a RADIUS Access-Request in order to impersonate another authenticator. Among other things, this can result in messages (and transortedTLS. RADIUS/EAP [RFC3579] protects against replay of keyingmaterial) being sent to the wrong authenticator. Since the rogue authenticator is authenticated bymaterial via the Request Authenticator. However, some RADIUSproxy or server purely based on the source address, other mechanismspackets arerequired to detect the forgery.not replay protected. Inaddition, it is possible for attributes such as the Called-Station-IdAccounting, Disconnect andCalling-Station-Id to be forged as well. As recommended in [RFC3579] Section 4.3.7, this vulnerability can be mitigated by having RADIUS proxies check NAS identification attributes against the source address. While [RFC3588] requires use ofCoA-Request packets theRoute-Record AVP, this utilizes FQDNs, so that impersonation detection requires DNS A/AAAARequest Authenticator contains a keyed MAC rather than a Nonce. The Response Authenticator in Accounting, Disconnect andPTR RRs to be properly configured. AsCoA Response packets also contains aresult, it appears that Diameter is as vulnerable to this attack as RADIUS, ifkeyed MAC whose calculation does notmore so. To address this vulnerability, it is necessary to allow the backend authentication server to communicate with the authenticator directly, such as via the redirect functionality supported in [RFC3588]. 5.13. Channel Binding It is possible fordepend on acompromised or poorly implemented EAP authenticator to communicate incorrect information toNonce in either theEAP peer and/or server. This may enable an authenticator to impersonate another authenticatorRequest orcommunicate incorrect information via out- of-band mechanisms (such as via AAAResponse packets. Therefore unless an Event-Timestamp attribute is included orthe lower layer). Where EAPIPsec isused in pass-through mode, theAboba, et al. Standards Track [Page 41] INTERNET-DRAFT EAPpeer does not verify the identity of the pass-through authenticator. WithinKey Management Framework 5 March 2006 used, the recipient may not be able to determine whether these packets have been replayed. In order to prevent replay of Secure AssociationProtocol, the EAP peer and authenticator only demonstrate mutual possession ofProtocol frames, replay protection is REQUIRED on all messages. [IEEE-802.11i] supports replay protection on all messages within thetransported EAP keying material. This creates a potential security vulnerability, described in [RFC3748] Section 7.15. [RFC3579] Section 4.3.7 describes how an EAP pass-through authenticator acting as a AAA client can4-way handshake. 5.8. Key Freshness A session key should bedetectedconsidered compromised if itattempts to impersonate another authenticator (such by sending incorrect Called-Station-ID [RFC2865], NAS-Identifier [RFC2865], NAS-IP-Address [RFC2865] or NAS-IPv6-Address [RFC3162] attributes via the AAA protocol). However, itremains in use too long. As noted in [Housley], session keys MUST be strong and fresh, while preserving algorithm independence. A fresh cryptographic key ispossibleone that is generated specifically for the intended use. Each session deserves an independent session key; disclosure of one session key MUST NOT aid the attacker in discovering any other session keys. Fresh keys are required even when apass-through authenticator acting as a AAA client to provide correct informationlong replay counter (that is, one that "will never wrap") is used to ensure that loss of state does not cause thebackend authentication server while communicating misleading informationsame counter value toAboba, et al. Standards Track [Page 44] INTERNET-DRAFT EAP Key Management Framework 8 January 2006be used more than once with theEAP peer viasame session key. EAP, AAA and the lowerlayer. For example, a compromised authenticator can utilize another authenticator's Called-Station-Id or NAS-Identifier in communicating withlayer each bear responsibility for ensuring the use of fresh, strong session keys: EAPpeer viaEAP methods need to ensure thelower layer, or for a pass-through authenticator actingfreshness and strength of EAP keying material provided asa AAA client to provideanincorrect peer Calling-Station-Id [RFC2865][RFC3580]input tothe AAA server via the AAA protocol. As noted insession key derivation. [RFC3748] Section7.15, this vulnerability can be addressed by EAP methods7.10 states thatsupport a protected exchange"EAP methods SHOULD ensure the freshness ofchannel properties such as endpoint identifiers, including (but not limited to): Called-Station-Id [RFC2865][RFC3580], Calling-Station-Id [RFC2865][RFC3580], NAS-Identifier [RFC2865], NAS-IP-Address [RFC2865],the MSK andNAS-IPv6-Address [RFC3162]. Using suchEMSK, even in cases where one party may not have aprotected exchange, ithigh quality random number generator. A RECOMMENDED method ispossiblefor each party tomatchprovide a nonce of at least 128 bits, used in thechannel properties provided byderivation of theauthenticator via out-of-band mechanisms against those exchanged withinMSK and EMSK." The contribution of nonces enables the EAPmethod. For example, see [I- D.arkko-eap-service-identity-auth]. It is also possible to achieve Channel Bindings without transporting data over EAP. For example, see [draft-ohba-eap-aaakey-binding]. In this approach the authenticator informs the backend server about the Channel Binding parameters using AAA,peer andthe backendservercalculates transportedto ensure that exported EAP keying materialbased on this parameter set, making it impossible foris fresh. [RFC3748] Section 7.2.1 describes thepeer"key strength" andauthenticator to complete the Secure Association Protocol if there was a mismatch in the parameters. The main difference between"session independence" security claims, and and [RFC4017] requires use of EAP methods supporting theseapproaches is that Channel Binding support withinclaims as well as being capable of providing anEAP method may require upgradingequivalent key strength of 128 bits orchanging the EAP method, impacting both the peer and the server. Where Channel Bindings are implemented in AAA, the peer, authenticator and the backend server needgreater. AAA The AAA protocol needs tobe upgraded, but the EAP method need not be modified. 6. IANA Considerations This document doesensure that transported keying material is fresh and is notcreate any new name spaces nor does it allocate any protocol parameters. 7. References 7.1. Normative References [RFC2119] Bradner, S., "Key wordsutilized outside its recommended lifetime. Replay protection is necessary forusekey freshness, but an attacker can deliver a stale (and therefore potentially compromised) key inRFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.a replay-protected message, so replay protection is not sufficient. The EAP Session-ID, derived from the EAP Type and Method-ID (based Aboba, et al. Standards Track [Page45]42] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006[RFC2434] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998. [RFC3748] Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J.on the nonces contributed by the peer andH. Lefkowetz, "Extensible Authentication Protocol (EAP)", RFC 3748, June 2004. 7.2. Informative References [Analysis] He, C.server) enables the EAP peer, authenticator andJ. Mitchell, "Analysis ofserver to distinguish EAP conversations. However, unless the802.11i 4-Way Handshake", Proceedingsauthenticator keeps track of EAP Session-IDs, the2004 ACM Workshop on Wireless Security, pp. 43-50, ISBN: 1-58113-925-X. [CTP] Loughney, J., Nakhjiri, M., Perkins, C. and R. Koodli, "Context Transfer Protocol", draft-ietf-seamoby-ctp-11.txt, Internet draft (workauthenticator cannot use the Session-ID to guarantee the freshness of EAP keying material. As described inprogress), August 2004. [DESMODES] National Institute[RFC3580] Section 3.17, When sent in an Access- Accept along with a Termination-Action value ofStandards and Technology, "DES ModesRADIUS-Request, the Session-Timeout attribute specifies the maximum number ofOperation", FIPS PUB 81, December 1980, <http:// www.itl.nist.gov/fipspubs/fip81.htm>. [FIPSDES] National Instituteseconds ofStandards and Technology, "Data Encryption Standard", FIPS PUB 46, January 1977. [Housley] Housley, R. and B. Aboba, "AAA Key Management", draft-housley- aaa-key-mgmt-01.txt, Internet draft (work in progress), November 2005. [IEEE-802] Instituteservice provided prior to re-authentication. [IEEE-802.11i] also utilizes the Session-Timeout attribute to limit the maximum time that EAP keying material may be cache. Therefore the use ofElectrical and Electronics Engineers, "IEEE Standards for Local and Metropolitan Area Networks: Overview and Architecture", ANSI/IEEE Standard 802, 1990. [IEEE-802.11] Institutethe Session-Timeout attribute enables the backend authentication server to limit the exposure ofElectrical and Electronics Engineers, "Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific Requirements Part 11: Wireless LAN Medium Access Control (MAC) and PhysicalEAP keying material. Lower Layer(PHY) Specifications", IEEE IEEE Standard 802.11-2003, 2003. [IEEE-802.1X] Institute of Electrical and Electronics Engineers, "LocalThe lower layer Secure Association Protocol MUST generate a fresh session key for each session, even if the keying material andMetropolitan Area Networks: Port-Based Network Access Control", IEEE Standard 802.1X-2004, December 2004. Aboba, et al. Standards Track [Page 46] INTERNET-DRAFTparameters provided by EAPKey Management Framework 8 January 2006 [IEEE-802.1Q] Institute of Electrical and Electronics Engineers, "IEEE Standardsmethods are cached, or the peer or authenticator lack a high entropy random number generator. A RECOMMENDED method is forLocalthe peer andMetropolitan Area Networks: Draft Standard for Virtual Bridged Local Area Networks", IEEE Standard 802.1Q/D8, January 1998. [IEEE-802.11i] Instituteauthenticator to each provide a nonce or counter used in session key derivation. If a nonce is used, it is RECOMMENDED that it be at least 128 bits. 5.9. Elevation ofElectrical and Electronics Engineers, "SupplementPrivilege Parties MUST NOT have access toSTANDARD FOR Telecommunications and Information Exchange between Systems - LAN/MAN Specific Requirements - Part 11: Wireless Medium Access Control (MAC) and physical layer (PHY) specifications: Specification for Enhanced Security", IEEE 802.11i, December 2004. [IEEE-802.11F] Institutekeying material that is not needed to perform their own role. A party has access to a particular key if it has access to all ofElectrical and Electronics Engineers, "Recommended Practicethe secret information needed to derive it. If a post-EAP handshake is used to establish session keys, the post-EAP handshake MUST specify the scope forMulti-Vendor Access Point Interoperability via an Inter-Access Point Protocol Across Distribution Systems Supporting IEEE 802.11 Operation", IEEE 802.11F, July 2003 (now deprecated). [IEEE-02-758] Mishra, A., Shin, M., Arbaugh, W., Lee, I.session keys. Transported EAP keying material is permitted to be accessed by the EAP peer, authenticator andK. Jang, "Proactive Caching Strategies for IAPP Latency Improvementserver. The EAP peer and server derive the transported keying material during802.11 Handoff", IEEE 802.11 Working Group, IEEE-02-758r1-F Draft 802.11I/D5.0, November 2002. [IEEE-03-084] Mishra, A., Shin, M., Arbaugh, W., Lee, I.the process of mutually authenticating each other using the selected EAP method. During the Secure Association Protocol, the EAP peer utilizes the transported EAP keying material to demonstrate to the authenticator that it is the same party that authenticated to the EAP server andK. Jang, "Proactive Key Distributionwas authorized by it. The EAP authenticator utilizes the transported EAP keying material tosupport fastprove to the peer not only that the EAP conversation was transported through it (this could be demonstrated by a man-in-the-middle), but that it was uniquely authorized by the EAP server to provide the peer with access to the network. Unique authorization can only be demonstrated if the EAP authenticator does not share the transported keying material with a party other than the EAP peer andsecure roaming", IEEE 802.11 Working Group, IEEE-03-084r1-I, http://www.ieee802.org/11/Documents/DocumentHolder/ 3-084.zip, January 2003. [IEEE-03-155] Aboba, B., "Fast Handoff Issues", IEEE 802.11 Working Group, IEEE-03-155r0-I, http://www.ieee802.org/11/ Documents/DocumentHolder/3-155.zip, March 2003. [I-D.ietf-roamops-cert] Aboba, B., "Certificate-Based Roaming", draft-ietf-roamops- cert-02 (work in progress), April 1999. [I-D.puthenkulam-eap-binding] Puthenkulam, J., "The Compound Authentication Binding Problem", draft-puthenkulam-eap-binding-04 (work in progress), October 2003.server. Aboba, et al. Standards Track [Page47]43] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006[I-D.arkko-pppext-eap-aka] Arkko, J. and H. Haverinen, "EAP AKA Authentication", draft- arkko-pppext-eap-aka-15.txt (work in progress), December 2004. [I-D.arkko-eap-service-identity-auth] Arkko, J.TSKs are permitted to be accessed only by the EAP peer andP. Eronen, "Authenticatedauthenticator. Since the TSKs can be determined from the transported EAP keying material and the cleartext of the Secure Association Protocol exchange, the backend authentication server will have access to the TSKs unless it deletes the transported EAP keying material after sending it. 5.10. Man-in-the-middle Attacks As described in [I-D.puthenkulam-eap-binding], EAP method sequences and compound authentication mechanisms may be subject to man-in-the- middle attacks. When such attacks are successfully carried out, the attacker acts as an intermediary between a victim and a legitimate authenticator. This allows the attacker to authenticate successfully to the authenticator, as well as to obtain access to the network. In order to prevent these attacks, [I-D.puthenkulam-eap-binding] recommends derivation of a compound key by which the EAP peer and server can prove that they have participated in the entire EAP exchange. Since the compound key must not be known to an attacker posing as an authenticator, and yet must be derived from quantities that are exported by EAP methods, it may be desirable to derive the compound key from a portion of the EMSK. In order to provide proper key hygiene, it is recommended that the compound key used for man-in- the-middle protection be cryptographically separate from other keys derived from the EMSK. 5.11. Denial of Service Attacks Key caching may result in vulnerability to denial of service attacks. For example, EAP methods that create persistent state may be vulnerable to denial of service attacks on the EAP server by a rogue EAP peer. To address this vulnerability, EAP methods creating persistent state may wish to limit the persistent state created by an EAP peer. For example, for each peer an EAP server may choose to limit persistent state to a few EAP conversations, distinguished by the EAP Session- ID. This prevents a rogue peer from denying access to other peers. Similarly, to conserve resources an authenticator may choose to limit the persistent state corresponding to each peer. This can be accomplished by limiting each peer to persistent sttate corresponding to a few EAP converations, distinguished by the EAP Session-ID. Depending on the media, creation of new TSKs may or may not imply deletion of previously derived TSKs. Where there is no implied deletion, the authenticator may choose to limit the number of TSKs Aboba, et al. Standards Track [Page 44] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 and associated state that can be stored for each peer. 5.12. Impersonation Both the RADIUS and Diameter protocols are potentially vulnerable to impersonation by a rogue authenticator. While AAA protocols such as RADIUS [RFC2865] or Diameter [RFC3588] support mutual authentication between the authenticator (known as the AAA client) and the backend authentication server (known as the backend authentication server), the security mechanisms vary according to the AAA protocol. In RADIUS, the shared secret used for authentication is determined by the source address of the RADIUS packet. As noted in [RFC3579] Section 4.3.7, it is highly desirable that the source address be checked against one or more NAS identification attributes so as to detect and prevent impersonation attacks. When RADIUS requests are forwarded by a proxy, the NAS-IP-Address or NAS-IPv6-Address attributes may not correspond to the source address. Since the NAS-Identifier attribute need not contain an FQDN, it also may not correspond to the source address, even indirectly. [RFC2865] Section 3 states: A RADIUS server MUST use the source IP address of the RADIUS UDP packet to decide which shared secret to use, so that RADIUS requests can be proxied. This implies that it is possible for a rogue authenticator to forge NAS-IP-Address, NAS-IPv6-Address or NAS-Identifier attributes within a RADIUS Access-Request in order to impersonate another authenticator. Among other things, this can result in messages (and transorted keying material) being sent to the wrong authenticator. Since the rogue authenticator is authenticated by the RADIUS proxy or server purely based on the source address, other mechanisms are required to detect the forgery. In addition, it is possible for attributes such as the Called-Station-Id and Calling-Station-Id to be forged as well. As recommended in [RFC3579] Section 4.3.7, this vulnerability can be mitigated by having RADIUS proxies check NAS identification attributes against the source address. While [RFC3588] requires use of the Route-Record AVP, this utilizes FQDNs, so that impersonation detection requires DNS A/AAAA and PTR RRs to be properly configured. As a result, it appears that Diameter is as vulnerable to this attack as RADIUS, if not more so. To Aboba, et al. Standards Track [Page 45] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 address this vulnerability, it is necessary to allow the backend authentication server to communicate with the authenticator directly, such as via the redirect functionality supported in [RFC3588]. 5.13. Channel Binding It is possible for a compromised or poorly implemented EAP authenticator to communicate incorrect information to the EAP peer and/or server. This may enable an authenticator to impersonate another authenticator or communicate incorrect information via out- of-band mechanisms (such as via AAA or the lower layer). Where EAP is used in pass-through mode, the EAP peer does not verify the identity of the pass-through authenticator. Within the Secure Association Protocol, the EAP peer and authenticator only demonstrate mutual possession of the transported EAP keying material. This creates a potential security vulnerability, described in [RFC3748] Section 7.15. [RFC3579] Section 4.3.7 describes how an EAP pass-through authenticator acting as a AAA client can be detected if it attempts to impersonate another authenticator (such by sending incorrect Called-Station-ID [RFC2865], NAS-Identifier [RFC2865], NAS-IP-Address [RFC2865] or NAS-IPv6-Address [RFC3162] attributes via the AAA protocol). However, it is possible for a pass-through authenticator acting as a AAA client to provide correct information to the backend authentication server while communicating misleading information to the EAP peer via the lower layer. For example, a compromised authenticator can utilize another authenticator's Called-Station-Id or NAS-Identifier in communicating with the EAP peer via the lower layer, or for a pass-through authenticator acting as a AAA client to provide an incorrect peer Calling-Station-Id [RFC2865][RFC3580] to the AAA server via the AAA protocol. As noted in [RFC3748] Section 7.15, this vulnerability can be addressed by EAP methods that support a protected exchange of channel properties such as endpoint identifiers, including (but not limited to): Called-Station-Id [RFC2865][RFC3580], Calling-Station-Id [RFC2865][RFC3580], NAS-Identifier [RFC2865], NAS-IP-Address [RFC2865], and NAS-IPv6-Address [RFC3162]. Using such a protected exchange, it is possible to match the channel properties provided by the authenticator via out-of-band mechanisms against those exchanged within the EAP method. For example, see [I- D.arkko-eap-service-identity-auth]. Aboba, et al. Standards Track [Page 46] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 It is also possible to achieve Channel Bindings without transporting data over EAP. For example, see [draft-ohba-eap-aaakey-binding]. In this approach the authenticator informs the backend server about the Channel Binding parameters using AAA, and the backend server calculates transported keying material based on this parameter set, making it impossible for the peer and authenticator to complete the Secure Association Protocol if there was a mismatch in the parameters. The main difference between these approaches is that Channel Binding support within an EAP method may require upgrading or changing the EAP method, impacting both the peer and the server. Where Channel Bindings are implemented in AAA, the peer, authenticator and the backend server need to be upgraded, but the EAP method need not be modified. 6. IANA Considerations This document does not create any new name spaces nor does it allocate any protocol parameters. 7. References 7.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2434] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998. [RFC3748] Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J. and H. Lefkowetz, "Extensible Authentication Protocol (EAP)", RFC 3748, June 2004. 7.2. Informative References [Analysis] He, C. and J. Mitchell, "Analysis of the 802.11i 4-Way Handshake", Proceedings of the 2004 ACM Workshop on Wireless Security, pp. 43-50, ISBN: 1-58113-925-X. [CTP] Loughney, J., Nakhjiri, M., Perkins, C. and R. Koodli, "Context Transfer Protocol", draft-ietf-seamoby-ctp-11.txt, Internet draft (work in progress), August 2004. Aboba, et al. Standards Track [Page 47] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 [DESMODES] National Institute of Standards and Technology, "DES Modes of Operation", FIPS PUB 81, December 1980, <http:// www.itl.nist.gov/fipspubs/fip81.htm>. [FIPSDES] National Institute of Standards and Technology, "Data Encryption Standard", FIPS PUB 46, January 1977. [Housley] Housley, R. and B. Aboba, "AAA Key Management", draft-housley- aaa-key-mgmt-01.txt, Internet draft (work in progress), November 2005. [IEEE-802] Institute of Electrical and Electronics Engineers, "IEEE Standards for Local and Metropolitan Area Networks: Overview and Architecture", ANSI/IEEE Standard 802, 1990. [IEEE-802.11] Institute of Electrical and Electronics Engineers, "Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific Requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications", IEEE IEEE Standard 802.11-2003, 2003. [IEEE-802.1X] Institute of Electrical and Electronics Engineers, "Local and Metropolitan Area Networks: Port-Based Network Access Control", IEEE Standard 802.1X-2004, December 2004. [IEEE-802.1Q] Institute of Electrical and Electronics Engineers, "IEEE Standards for Local and Metropolitan Area Networks: Draft Standard for Virtual Bridged Local Area Networks", IEEE Standard 802.1Q/D8, January 1998. [IEEE-802.11i] Institute of Electrical and Electronics Engineers, "Supplement to STANDARD FOR Telecommunications and Information Exchange between Systems - LAN/MAN Specific Requirements - Part 11: Wireless Medium Access Control (MAC) and physical layer (PHY) specifications: Specification forthe Extensible AuthenticationEnhanced Security", IEEE 802.11i, December 2004. [IEEE-802.11F] Institute of Electrical and Electronics Engineers, "Recommended Practice for Multi-Vendor Access Point Interoperability via an Inter-Access Point Protocol(EAP)", draft- arkko-eap-service-identity-auth-02.txtAcross Aboba, et al. Standards Track [Page 48] INTERNET-DRAFT EAP Key Management Framework 5 March 2006 Distribution Systems Supporting IEEE 802.11 Operation", IEEE 802.11F, July 2003 (now deprecated). [IEEE-802.16e] Institute of Electrical and Electronics Engineers, "IEEE Standard for Local and Metropolitan Area Networks: Part 16: Air Interface for Fixed and Mobile Broadband Wireless Access Systems: Amendment for Physical and Medium Access Control Layers for Combined Fixed and Mobile Operations in Licensed Bands" IEEE 802.16e, August 2005. [IEEE-02-758] Mishra, A., Shin, M., Arbaugh, W., Lee, I. and K. Jang, "Proactive Caching Strategies for IAPP Latency Improvement during 802.11 Handoff", IEEE 802.11 Working Group, IEEE-02-758r1-F Draft 802.11I/D5.0, November 2002. [IEEE-03-084] Mishra, A., Shin, M., Arbaugh, W., Lee, I. and K. Jang, "Proactive Key Distribution to support fast and secure roaming", IEEE 802.11 Working Group, IEEE-03-084r1-I, http://www.ieee802.org/11/Documents/DocumentHolder/ 3-084.zip, January 2003. [IEEE-03-155] Aboba, B., "Fast Handoff Issues", IEEE 802.11 Working Group, IEEE-03-155r0-I, http://www.ieee802.org/11/ Documents/DocumentHolder/3-155.zip, March 2003. [I-D.ietf-roamops-cert] Aboba, B., "Certificate-Based Roaming", draft-ietf-roamops- cert-02 (work in progress),May 2005. [I-D.ohba-eap-aaakey-binding] Ohba, Y., "AAA-Key Derivation with Channel Binding", draft- ohba-eap-aaakey-binding-00.txtApril 1999. [I-D.puthenkulam-eap-binding] Puthenkulam, J., "The Compound Authentication Binding Problem", draft-puthenkulam-eap-binding-04 (work in progress),May 2005. [IKEv2] Kaufman, C., "Internet Key Exchange (IKEv2) Protocol",October 2003. [I-D.arkko-pppext-eap-aka] Arkko, J. and H. Haverinen, "EAP AKA Authentication", draft-ietf-ipsec-ikev2-17arkko-pppext-eap-aka-15.txt (work in progress),SeptemberDecember 2004.[MD5Attack] Dobbertin, H., "The Status of MD5 After a Recent Attack", CryptoBytes, Vol.2 No.2, 1996. [RFC0793] Postel, J., "Transmission Control Protocol", STD 7, RFC 793, September 1981. [RFC1661] Simpson, W., "The Point-to-Point Protocol (PPP)", STD 51, RFC 1661, July 1994. [RFC1968] Meyer, G. and K. Fox, "The PPP Encryption Control Protocol (ECP)", RFC 1968, June 1996. [RFC2104] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-Hashing for Message Authentication", RFC 2104, February 1997. [RFC2246] Dierks, T., Allen, C., Treese, W., Karlton, P., Freier, A.[I-D.arkko-eap-service-identity-auth] Arkko, J. and P.Kocher, "The TLS Protocol Version 1.0", RFC 2246, January 1999. [RFC2401] Kent, S. and R. Atkinson, "Security ArchitectureEronen, "Authenticated Service Information for theInternet Protocol", RFC 2401, November 1998. [RFC2409] Harkins, D. and D. Carrel, "The Internet Key Exchange (IKE)", RFC 2409, November 1998. [RFC2419] Sklower, K. and G. Meyer, "The PPP DES Encryption Protocol, Version 2 (DESE-bis)", RFC 2419, September 1998. [RFC2420] Kummert, H., "The PPP Triple-DES Encryption Protocol (3DESE)", RFC 2420, September 1998.Extensible Authentication Protocol (EAP)", draft- arkko-eap-service-identity-auth-02.txt (work in progress), May 2005. Aboba, et al. Standards Track [Page48]49] INTERNET-DRAFT EAP Key Management Framework8 January 2006 [RFC2516] Mamakos, L., Lidl, K., Evarts, J., Carrel, D., Simone, D. and R. Wheeler, "A Method for Transmitting PPP Over Ethernet (PPPoE)", RFC 2516, February 1999. [RFC2548] Zorn, G., "Microsoft Vendor-specific RADIUS Attributes", RFC 2548,5 March1999. [RFC2607] Aboba, B. and J. Vollbrecht, "Proxy Chaining and Policy Implementation2006 [I-D.ohba-eap-aaakey-binding] Ohba, Y., "AAA-Key Derivation with Channel Binding", draft- ohba-eap-aaakey-binding-00.txt (work inRoaming", RFC 2607, June 1999. [RFC2716] Aboba, B. and D. Simon, "PPP EAP TLS Authenticationprogress), May 2005. [MD5Attack] Dobbertin, H., "The Status of MD5 After a Recent Attack", CryptoBytes, Vol.2 No.2, 1996. [RFC0793] Postel, J., "Transmission Control Protocol", STD 7, RFC2716, October 1999. [RFC2865] Rigney, C., Willens, S., Rubens, A. and W.793, September 1981. [RFC1661] Simpson,"Remote Authentication Dial In User Service (RADIUS)",W., "The Point-to-Point Protocol (PPP)", STD 51, RFC2865, June 2000. [RFC3078] Pall,1661, July 1994. [RFC1968] Meyer, G. andG. Zorn, "Microsoft Point-To-Point Encryption (MPPE) Protocol", RFC 3078, March 2001. [RFC3079] Zorn, G., "Deriving Keys for use with Microsoft Point-to-PointK. Fox, "The PPP Encryption(MPPE)", RFC 3079, March 2001. [RFC3579] Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication Dial In User Service) Support For Extensible AuthenticationControl Protocol(EAP)",(ECP)", RFC3579, September 2003. [RFC3580] Congdon, P., Aboba, B., Smith, A., Zorn, G.1968, June 1996. [RFC2104] Krawczyk, H., Bellare, M. andJ. Roese, "IEEE 802.1X Remote Authentication Dial In User Service (RADIUS) Usage Guidelines",R. Canetti, "HMAC: Keyed-Hashing for Message Authentication", RFC3580, September 2003. [RFC3588] Calhoun,2104, February 1997. [RFC2246] Dierks, T., Allen, C., Treese, W., Karlton, P.,Loughney, J., Guttman, E., Zorn, G.Freier, A. andJ. Arkko, "Diameter Base Protocol",P. Kocher, "The TLS Protocol Version 1.0", RFC3588, September 2003. [RFC3766] Orman, H.2246, January 1999. [RFC2401] Kent, S. andP. Hoffman, "Determining Strengths For Public Keys Used For Exchanging Symmetric Keys",R. Atkinson, "Security Architecture for the Internet Protocol", RFC3766, April 2004. [RFC4005] Calhoun, P., Zorn, G., Spence,2401, November 1998. [RFC2409] Harkins, D. and D.Mitton, "Diameter Network Access Server Application", RFC 4005, August 2005. [RFC4017] Stanley, D., Walker, J. and B. Aboba, "EAP Method Requirements for Wireless LANs",Carrel, "The Internet Key Exchange (IKE)", RFC4017, March 2005. [RFC4072] Eronen, P., Hiller, T.2409, November 1998. [RFC2419] Sklower, K. and G.Zorn, "Diameter Extensible AuthenticationMeyer, "The PPP DES Encryption Protocol, Version 2 (DESE-bis)", RFC 2419, September 1998. [RFC2420] Kummert, H., "The PPP Triple-DES Encryption Protocol(EAP) Application",(3DESE)", RFC4072, August 2005. Aboba, et al. Standards Track [Page 49] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 [RFC4118] Yang,2420, September 1998. [RFC2516] Mamakos, L.,Zerfos, P.Lidl, K., Evarts, J., Carrel, D., Simone, D. andE. Sadot, "Architecture TaxonomyR. Wheeler, "A Method forControl and Provisioning of Wireless Access Points (CAPWAP)",Transmitting PPP Over Ethernet (PPPoE)", RFC4118, June 2005. [8021XHandoff] Pack, S. and Y. Choi, "Pre-Authenticated Fast Handoff in a Public Wireless LAN Based on IEEE 802.1X Model", School of Computer Science and Engineering, Seoul National University, Seoul, Korea, 2002. Acknowledgments Thanks to Arun Ayyagari, Ashwin Palekar,2516, February 1999. [RFC2535] Eastlake, D., "Domain Name System Security Extensions", RFC 2535, March 1999. [RFC2548] Zorn, G., "Microsoft Vendor-specific RADIUS Attributes", RFC 2548, March 1999. [RFC2607] Aboba, B. andTim Moore of Microsoft, Dorothy Stanley of Agere, Bob Moskowitz of TruSecure, Jesse Walker of Intel, Joe Salowey of CiscoJ. Vollbrecht, "Proxy Chaining andRuss Housley of Vigil Security for useful feedback. Author Addresses Bernard Aboba Microsoft Corporation One Microsoft Way Redmond, WA 98052 EMail: bernarda@microsoft.com Phone: +1 425 706 6605 Fax: +1 425 936 7329 Dan Simon Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052 EMail: dansimon@microsoft.com Phone: +1 425 706 6711 Fax: +1 425 936 7329 Jari Arkko Ericsson Jorvas 02420 Finland Phone: EMail: jari.arkko@ericsson.com Pasi Eronen Nokia Research CenterPolicy Implementation in Roaming", RFC 2607, June 1999. Aboba, et al. Standards Track [Page 50] INTERNET-DRAFT EAP Key Management Framework8 January 2006 P.O. Box 407 FIN-00045 Nokia Group Finland EMail: pasi.eronen@nokia.com Henrik Levkowetz (editor) ipUnplugged AB Arenavagen 27 Stockholm S-121 28 SWEDEN Phone: +46 708 32 16 08 EMail: henrik@levkowetz.com Aboba, et al. Standards Track [Page 51] INTERNET-DRAFT EAP Key Management Framework 8 January 2006 Appendix A - EAP-TLS Key Hierarchy EAP-TLS [RFC 2716] was documented prior to the development of EAP key management terminology [RFC3748], and therefore does not explicitly define the MSK and EMSK. In EAP-TLS, the MSK, EMSK and IV are derived from the TLS master secret via a one-way function. This ensures that the TLS master secret cannot be derived from the MSK, EMSK or IV unless the one-way function (TLS PRF) is broken. Since the MSK is derived from the the TLS master secret, if the TLS master secret is compromised then the MSK is also compromised. [RFC2716] specifies that the MSK is divided into two halves, corresponding to the "Peer to Authenticator Encryption Key" (Enc- RECV-Key, 32 octets)5 March 2006 [RFC2716] Aboba, B. and"Authenticator to Peer Encryption Key" (Enc- SEND-Key, 32 octets). In [RFC2548], the Enc-RECV-Key is transported in the MS-MPPE-Recv-Key attribute,D. Simon, "PPP EAP TLS Authentication Protocol", RFC 2716, October 1999. [RFC2782] Gulbrandsen, A., Vixie, P. and L. Esibov, "A DNS RR for specifying theEnc-SEND-Key is transported in the MS-MPPE-Send-location of services (DNS SRV)", RFC 2782, February 2000. [RFC2845] Vixie, P., Gudmundsson, O., Eastlake, D. and B. Wellington, "Secret Keyattribute. The EMSK is also divided into two halves, corresponding to the "Peer to AuthenticatorTransaction AuthenticationKey" (Auth-RECV-Key, 32 octets)for DNS (TSIG)", RFC 2845, May 2000. [RFC2865] Rigney, C., Willens, S., Rubens, A. and"Authenticator to PeerW. Simpson, "Remote AuthenticationKey" (Auth-SEND-Key, 32 octets). The IV is a 64 octet quantity that is a known value; octets 0-31 are known as the "Peer to Authenticator IV" or RECV-IV,Dial In User Service (RADIUS)", RFC 2865, June 2000. [RFC2931] Eastlake, D., "DNS Request and Transaction Signatures (SIG(0)s )", RFC 2931, September 2000. [RFC3007] Wellington, B., "Simple Secure Domain Name System (DNS) Dynamic Update", RFC 3007, November 2000. [RFC3078] Pall, G. and G. Zorn, "Microsoft Point-To-Point Encryption (MPPE) Protocol", RFC 3078, March 2001. [RFC3079] Zorn, G., "Deriving Keys for use with Microsoft Point-to-Point Encryption (MPPE)", RFC 3079, March 2001. [RFC3579] Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication Dial In User Service) Support For Extensible Authentication Protocol (EAP)", RFC 3579, September 2003. [RFC3580] Congdon, P., Aboba, B., Smith, A., Zorn, G. and J. Roese, "IEEE 802.1X Remote Authentication Dial In User Service (RADIUS) Usage Guidelines", RFC 3580, September 2003. [RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G. and J. Arkko, "Diameter Base Protocol", RFC 3588, September 2003. [RFC3766] Orman, H. and P. Hoffman, "Determining Strengths For Public Keys Used For Exchanging Symmetric Keys", RFC 3766, April 2004. [RFC4005] Calhoun, P., Zorn, G., Spence, D. and D. Mitton, "Diameter Network Access Server Application", RFC 4005, August 2005. [RFC4017] Stanley, D., Walker, J. andOctets 32-63 are known as the "Authenticator to Peer IV", or SEND-IV. The key derivation scheme MUST be interpreted as follows: MSK = TLS-PRF-64(TMS, "client EAP encryption", client.random || server.random) EMSK = second 64 octets of: TLS-PRF-128(TMS, "client EAP encryption", client.random || server.random) IV = TLS-PRF-64("", "client EAP encryption", client.random || server.random) MSK(0,31) = Peer to Authenticator Encryption Key (Enc-RECV-Key) (MS-MPPE-Recv-Key in [RFC2548]). Also known as the PMK. MSK(32,63) = Authenticator to Peer Encryption Key (Enc-SEND-Key) (MS-MPPE-Send-Key in [RFC2548]) EMSK(0,31) = Peer to Authenticator Authentication Key (Auth-RECV-Key) EMSK(32,63) = Authenticator to Peer Authentication Key (Auth-Send-Key) IV(0,31) = Peer to Authenticator Initialization Vector (RECV-IV) IV(32,63) = Authenticator to Peer Initialization vector (SEND-IV) Where:B. Aboba, "EAP Method Requirements for Wireless LANs", RFC 4017, March 2005. Aboba, et al. Standards Track [Page52]51] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006IV(W,Z) = Octets W through Z inclusive of the IV. MSK(W,Z) = Octets W through Z inclusive of the MSK. EMSK(W,Z) = Octets W through Z inclusive[RFC4046] Baugher, M., Canetti, R., Dondeti, L. and F. Lindholm, "Multicast Security (MSEC) Group Key Management Architecture", RFC 4046, April 2005. [RFC4072] Eronen, P., Hiller, T. and G. Zorn, "Diameter Extensible Authentication Protocol (EAP) Application", RFC 4072, August 2005. [RFC4118] Yang, L., Zerfos, P. and E. Sadot, "Architecture Taxonomy for Control and Provisioning ofthe EMSK. TMS = TLS master_secret TLS-PRF-X = TLS PRF function definedWireless Access Points (CAPWAP)", RFC 4118, June 2005. [RFC4306] Kaufman, C., "Internet Key Exchange (IKEv2) Protocol", RFC 4306, December 2005. [8021XHandoff] Pack, S. and Y. Choi, "Pre-Authenticated Fast Handoff in[RFC2246] computed to X octets client.random = Nonce generated by the TLS client. server.random = Nonce generated by the TLS server. Figure A-1 illustrates the TEK key hierarchy for EAP-TLS [RFC2716], which is baseda Public Wireless LAN Based onthe TLS key hierarchy described in [RFC2246]. The TLS-negotiated ciphersuite is usedIEEE 802.1X Model", School of Computer Science and Engineering, Seoul National University, Seoul, Korea, 2002. Acknowledgments Thanks toset up a protected channelArun Ayyagari, Ashwin Palekar, and Tim Moore of Microsoft, Dorothy Stanley of Agere, Bob Moskowitz of TruSecure, Jesse Walker of Intel, Joe Salowey of Cisco and Russ Housley of Vigil Security foruse in protecting theuseful feedback. Aboba, et al. Standards Track [Page 52] INTERNET-DRAFT EAPconversation, keyed by the derived TEKs. The TEK derivation proceeds as follows: master_secret = TLS-PRF-48(pre_master_secret, "master secret", client.random || server.random) TEK = TLS-PRF-X(master_secret, "key expansion", server.random || client.random) Where: TLS-PRF-X = TLS pseudo-random function defined in [RFC2246], computed to X octets. | | pre_master_secret | server| | | client Random| V | Random | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | | +---->| master_secret |<------+ | | (TMS) | | | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | V V V +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Key Block (TEKs) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | | | | client | server | client | server | client | server | MAC | MAC | write | write | IV | IV | | | | | | V V V V V V Figure A-1 - TLS [RFC2246]KeyHierarchyManagement Framework 5 March 2006 Author Addresses Bernard Aboba Microsoft Corporation One Microsoft Way Redmond, WA 98052 EMail: bernarda@microsoft.com Phone: +1 425 706 6605 Fax: +1 425 936 7329 Dan Simon Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052 EMail: dansimon@microsoft.com Phone: +1 425 706 6711 Fax: +1 425 936 7329 Jari Arkko Ericsson Jorvas 02420 Finland Phone: EMail: jari.arkko@ericsson.com Pasi Eronen Nokia Research Center P.O. Box 407 FIN-00045 Nokia Group Finland EMail: pasi.eronen@nokia.com Henrik Levkowetz (editor) ipUnplugged AB Arenavagen 27 Stockholm S-121 28 SWEDEN Phone: +46 708 32 16 08 EMail: henrik@levkowetz.com Aboba, et al. Standards Track [Page 53] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 AppendixBA - Exported Parameters in Existing Methods This Appendix specifies Method-ID, Peer-ID, Server-ID and Key- Lifetime for EAP methods that have been published prior to this specification. Future EAP method specifications MUST include a definition of the Method-ID, Peer-ID, and Server-ID (could be the empty string) and MAY also define the Key-Lifetime (assumed to be indeterminate if not described). EAP-Identity The EAP-Identity method does not derive keys, and therefore does not define the Key-Lifetime or Method-ID. The Peer-ID exported by the Identity method is determined by the octets included within the EAP- Response/Identity. The Server-ID is the empty string (zero length). EAP-Notification The EAP-Notification method does not derive keys and therefore does not define the Key-Lifetime and Method-ID. The Peer-ID and Server-ID are the empty string (zero length). EAP-GTC The EAP-GTC method does not derive keys and therefore does not define the Key-Lifetime and Method-ID. The Peer-ID and Server-ID are the empty string. EAP-OTP The EAP-OTP method does not derive keys and therefore does not define the Key-Lifetime and Method-ID. The Peer-ID and Server-ID are the empty string. EAP-TLS The EAP-TLS Method-Id is the concatenation of the peer and server nonces. The Peer-ID and Server-ID are the contents of the altSubjectName in the peer and server certificates. EAP-TLS does not negotiate a Key-Lifetime. EAP-AKA The EAP-AKA Method-Id is the contents of the RAND field from the Aboba, et al. Standards Track [Page 54] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 AT_RAND attribute, followed by the contents of the AUTN field in the AT_AUTN attribute. The Peer-ID is the contents of the Identity field from the AT_IDENTITY attribute, using only the Actual Identity Length octets from the beginning, however. Note that the contents are used as they are transmitted, regardless of whether the transmitted identity was a permanent, pseudonym, or fast re- authentication identity. The Server-ID is an empty string. EAP- AKA does not negotiate a key lifetime. EAP-SIM The Method-Id is the contents of the RAND field from the AT_RAND attribute, followed by the contents of the NONCE_MT field in the AT_NONCE_MT attribute. The Peer-ID is the contents of the Identity field from the AT_IDENTITY attribute, using only the Actual Identity Length octets from the beginning, however. Note that the contents are used as they are transmitted, regardless of whether the transmitted identity was a permanent, pseudonym, or fast re- authentication identity. The Server-ID is an empty string. EAP- SIM does not negotiate a key lifetime. Intellectual Property Statement The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf- ipr@ietf.org. Aboba, et al. Standards Track [Page 55] INTERNET-DRAFT EAP Key Management Framework8 January5 March 2006 Disclaimer of Validity This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Copyright Statement Copyright (C) The Internet Society (2006). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Acknowledgment Funding for the RFC Editor function is currently provided by the Internet Society. Open Issues Open issues relating to this specification are tracked on the following web site: http://www.drizzle.com/~aboba/EAP/eapissues.html Aboba, et al. Standards Track [Page 56] ----