3GPP TS V ( )

Transcription

1 TS V ( ) Technical Specification The present document has been developed within the 3 rd Generation Partnership Project ( TM ) and may be further elaborated for the purposes of. The present document has not been subject to any approval process by the Organisational Partners and shall not be 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Generic Authentication Architecture (GAA); Generic bootstrapping architecture (Release 6) implemented. This Specification is provided for future development work within only. The Organisational Partners accept no liability for any use of this Specification.

2 Specifications and reports for implementation of the TM system should be obtained via the Organisational Partners' Publications Offices.

6 6 TS V ( ) Foreword This Technical Specification has been produced by the 3 rd Generation Partnership Project (). The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented to TSG for information; 2 presented to TSG for approval; 3 or greater indicates TSG approved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document.

7 7 TS V ( ) 1 Scope The present document describes the security features and a mechanism to bootstrap authentication and key agreement for application security from the AKA mechanism. Candidate applications to use this bootstrapping mechanism include but are not restricted to subscriber certificate distribution TS [5]. Subscriber certificates support services whose provision mobile operator assists, as well as services that mobile operator provides. The scope of this specification includes a generic AKA bootstrapping function, an architecture overview and the detailed procedure how to bootstrap the credential. Clause 4 of this specification describes a mechanism, called GBA_ME, to bootstrap authentication and key agreement, which does not require any changes to the UICC. Clause 5 of this specification describes a mechanism, called GBA_U, to bootstrap authentication and key agreement, which does require changes to the UICC, but provides enhanced security by storing certain derived keys on the UICC. 2 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. In the case of a reference to a document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same Release as the present document. [1] TS : "3rd Generation Partnership Project; Technical Specification Group Terminals; Characteristics of the USIM application". [2] TS : "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Security architecture". [3] Void. [4] A. Niemi, et al,: "Hypertext Transfer Protocol (HTTP) Digest Authentication Using Authentication and Key Agreement (AKA)", RFC 3310, September [5] TS : "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Generic Authentication Architecture (GAA); Support for Subscriber Certificates". [6] Void. [7] Void. [8] TS : "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; IP Multimedia Subsystem (IMS); Stage 2 (Release 6)". [9] IETF RFC 3546 (2003): "Transport Layer Security (TLS) Extensions". [10] TS : "3rd Generation Partnership Project; Technical Specification Group Terminals; Characteristics of the IP Multimedia Services Identity Module (ISIM) application". [11] TS : "3rd Generation Partnership Project; Technical Specification Group Core Network; Numbering, addressing and identification". [12] IETF RFC 3548 (2003): "The Base16, Base32, and Base64 Data Encodings".

9 9 TS V ( ) GBA Function: A function on the ME executing the bootstrapping procedure with BSF (i.e. supporting the Ub reference point) and providing Ua applications with security association to run bootstrapping usage procedure. GBA function is called by a Ua application when a Ua application wants to use bootstrapped security association. ME-based GBA: in GBA_ME, all GBA-specific functions are carried out in the ME. The UICC is GBA-unaware. If the term GBA is used in this document without any further qualification then always GBA_ME is meant, see clause 4 of this specification. UICC-based GBA: this is a GBA with UICC-based enhancement. In GBA_U, the GBA-specific functions are split between ME and UICC, see clause 5 of this specification. Network Application Function: NAF is hosted in a network element. GBA may be used between NAFs and UEs for authentication purposes, and for securing the communication path between the UE and the NAF. Bootstrapping Transaction Identifier: the bootstrapping transaction identifier (B-TID) is used to bind the subscriber identity to the keying material in reference points Ua, Ub and Zn. GBA User Security Settings: GUSS contains the BSF specific information element and the set of all applicationspecific USSs. NAF Group: A grouping of NAFs to allow assignment of different USSs to NAFs representing the same application. This grouping is done in each home network separately, i.e. one NAF contacting BSFs in different home networks belongs to different groups in every home network. NAF_Id: The FQDN of the NAF, concatenated with the Ua security protocol identifier. Ua Application: An application on the ME intended to run bootstrapping usage procedure with a NAF. Ua security protocol identifier: An identifier which is associated with a security protocol over Ua. User Security Setting: A USS is an application and subscriber specific parameter set that defines two parts, an authentication part, which contains the list of identities of the user needed for the application (e.g. IMPUs, MSISDN, pseudonyms), and an authorisation part, which contains the user permission flags (e.g. access to application allowed, type of certificates which may be issued). Sometimes also called application-specific user security setting. The USS is delivered to the BSF as a part of GUSS from the HSS, and from the BSF to the NAF if requested by the NAF. 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: AK AKA B-TID BSF CA FQDN GAA GBA GBA_ME GBA_U GUSS HSS IK KDF Ks_int_NAF Ks_ext_NAF MNO NAF PKI SLF USS Anonymity Key Authentication and Key Agreement Bootstrapping Transaction Identifier Bootstrapping Server Function Certificate Authority Fully Qualified Domain Name Generic Authentication Architecture Generic Bootstrapping Architecture ME-based GBA GBA with UICC-based enhancements GBA User Security Settings Home Subscriber System Integrity Key Key Derivation Function Derived key in GBA_U which remains on UICC Derived key in GBA_U Mobile Network Operator Network Application Function Public Key Infrastructure Subscriber Locator Function User Security Setting

10 10 TS V ( ) 3.3 Symbols For the purposes of the present document, the following symbols apply: Concatenation Exclusive or 3.4 Conventions All data variables in this specification are presented with the most significant substring on the left hand side and the least significant substring on the right hand side. A substring may be a bit, byte or other arbitrary length bitstring. Where a variable is broken down into a number of substrings, the leftmost (most significant) substring is numbered 0, the next most significant is numbered 1, and so on through to the least significant. 4 Generic Bootstrapping Architecture The authentication infrastructure, including the Authentication Centre (AuC), the USIM or the ISIM, and the AKA protocol run between them, is a very valuable asset of operators. It has been recognised that this infrastructure could be leveraged to enable application functions in the network and on the user side to establish shared keys. Therefore, can provide the "bootstrapping of application security" to authenticate the subscriber by defining a Generic Bootstrapping Architecture (GBA) based on AKA protocol. 4.1 Reference model Figure 4.1 shows a simple network model of the entities involved in the bootstrapping approach, and the reference points used between them. HSS Dz Zh Zn SLF BSF NAF Ub Ua UE Figure 4.1: Simple network model for bootstrapping Figure 4.1a shows a simple network model of the entities involved when the network application function is located in the visited network.

11 11 TS V ( ) Home network HSS Untrusted network Visited network Dz Zh Zn' Zn SLF BSF Zn-Proxy NAF Ub Ua UE NOTE: The Zn' reference point is distinguished from the Zn reference point in that it is used between operators. Figure 4.1a: Simple network model for bootstrapping in visited network 4.2 Network elements Bootstrapping server function (BSF) A generic Bootstrapping Server Function (BSF) and the UE shall mutually authenticate using the AKA protocol, and agree on session keys that are afterwards applied between UE and a Network Application Function (NAF). The BSF shall restrict the applicability of the key material to a specific NAF by using the key derivation procedure as specified in Annex B. The key derivation procedure may be used with multiple NAFs during the lifetime of the key material. The lifetime of the key material is set according to the local policy of the BSF. The generation of key material is specified in clause The BSF shall be able to acquire the GBA user security settings (GUSS) from the HSS. The BSF shall be able to keep a list, which assigns NAFs to NAF Groups. This list is used to select if any and which application-specific USS within GUSS is valid for a certain NAF. NOTE 1: The operator does the assignment of NAFs to NAF Groups. NAF Group definitions in HSS and all connected BSFs belonging to the same operator's network shall be equal (cf., clause 4.2.3). As these network elements belong to the same operator's network, standardisation of the NAF Group definitions themselves is not necessary in. NOTE 2: The NAF grouping may be e.g. "home" and "visited". It allows the BSF to send USSs for the same application with e.g. different authorization flags to different NAFs, e.g., in home network and visited networks. The NAF e.g. in visited network indicates only the requested application, but it is unaware of the grouping in home network of the subscriber Network application function (NAF) After the bootstrapping has been completed, the UE and a NAF can run some application specific protocol where the authentication of messages will be based on those session keys generated during the mutual authentication between UE and BSF. General assumptions for the functionality of a NAF are:

12 12 TS V ( ) - there is no previous security association between the UE and the NAF; - NAF shall be able to locate and communicate securely with the subscriber's BSF; - NAF shall be able to acquire a shared key material established between UE and the BSF during the run of the application-specific protocol; - NAF shall be able to acquire zero or more application-specific USSs from the HSS via the BSF; - NAF shall be able to set the local validity condition of the shared key material according to the local policy; - NAF shall be able to check lifetime and local validity condition of the shared key material. NOTE: Without additional measures, GBA does not guarantee the freshness of the key, Ks(_int/ext)_NAF in the sense that it does not guarantee that the key was not used in a previous run of the Ua protocol. The additional measures which may be taken by the UE and the NAF to ensure key freshness in GBA are: 1) enforce a new run of the Ub protocol (thus generating a new Ks) before deriving a new Ks_NAF. 2) store previously used keys Ks(_int/ext)_NAF, or the corresponding key identifiers B-TID, until the end of their lifetime. A UE and a NAF that support a Ua protocol that does not provide replay protection over unconnected runs of the protocol, will need to take corresponding action to avoid replay attacks if desired a Zn-proxy In the case where UE has contacted a NAF that is operated in another network than home network, this visited NAF shall use a Zn-proxy of the NAFs network to communicate with subscriber s BSF (i.e. home BSF). NOTE: Zn-Proxy functionality may be implemented as a separate network element, or be part of any NE in the visited network that implements Diameter proxy functionality (examples of such NE s are the BSF of the network that the visited NAF belongs to, or an AAA-server). General requirements for the functionality of Zn-Proxy are: - Zn-Proxy shall be able to function as a proxy between the visited NAF, and the subscriber s home BSF; - Zn-Proxy shall be able to locate subscriber s home BSF and communicate with it over secure channel; - Zn-Proxy shall be able to validate that the visited NAF is authorized to participate in GBA and shall be able to assert to subscriber s home BSF the visited NAFs DNS name. The Zn-Proxy shall also be able to assert to the BSF that the visited NAF is authorized to request the GBA specific user profiles contained in the NAF request; - the physical security level of the Zn-proxy shall not be lower than the highest level of the NAFs which it interfaces with HSS The set of all user security settings (USSs), i.e. GUSS, is stored in the HSS. In the case where the subscriber has multiple subscriptions, i.e. multiple ISIM or USIM applications on the UICC, the HSS may contain one or more GUSSs that can be mapped to one or more private identities, i.e. IMPIs and IMSIs. Each of the existing GUSSs shall be mapped to one or more private identities, but each private identity shall only have zero or one GUSS mapped to it. The requirements on the HSS are: - HSS shall provide the only persistent storage for GUSSs; - GUSS shall be defined in such a way that interworking of different operators for standardised application profiles is possible; - GUSS shall be defined in such a way that profiles for operator specific applications and extensions to existing application profiles are supported without need for standardisation of these elements.

13 13 TS V ( ) - GUSS shall be able to contain application-specific USSs that contain parameters that are related to identification or authorization information of one or more applications hosted by one ore more NAFs. Any other types of parameters are not allowed in the application-specific USS. NOTE 1: The necessary subscriber profile data may be fetched by the NAF directly from HSS or from its local database using identity information provided by the application-specific USS. NOTE 2: The HSS may temporarily remove an application-specific USS from the GUSS if the service is temporarily revoked from the subscriber. - GUSS shall be able to contain parameters intended for the BSF usage: - the type of the UICC the subscriber is issued (i.e. is it GBA_U aware or not, cf. subclause 5); - subscriber specific key lifetime. NOTE 3: These parameters are optional and if they are missing from subscriber's GUSS or subscriber does not have GUSS then the BSF will use the default values in the BSF local policy defined by the particular MNO. - HSS shall be able to assign application-specific USSs to a NAF Group. This shall be defined in such a way that different USSs for the same application, but for different groups of NAFs, are possible. The restrictions on the number of USSs per GUSS are dependent on the usage of NAF Groups by the operator: - if no NAF Groups are defined for this application then at most one USS per application is stored in GUSS; - if NAF Groups are defined for this application then at most one USS per application and NAF Group is stored in GUSS. - NAF Group definitions in the HSS and all connected BSFs belonging to the same operator's network shall be equal UE The required functionalities from the UE are: - the support of HTTP Digest AKA protocol; - the capability to use both a USIM and an ISIM in bootstrapping; - the capability to select either a USIM or an ISIM to be used in bootstrapping, when both of them are present; - the capability for a Ua application on the ME to indicate to the GBA Function on the ME the type or the name of UICC application to use in bootstrapping (see clause 4.4.8); - the capability to derive new key material to be used with the protocol over Ua interface from CK and IK; - support of NAF-specific application protocol (For an example see TS [5]). A GBA-aware ME shall support both GBA_U, as specified in clause and GBA_ME procedures, as specified in clause SLF The SLF: - is queried by the BSF in conjunction with the Zh interface operation to get the name of the HSS containing the required subscriber specific data. - is accessed via the Dz interface by the BSF. The SLF is not required in a single HSS environment. to use pre-defined HSS. Use of SLF is not required when BSF are configured/managed

14 14 TS V ( ) 4.3 Bootstrapping architecture and reference points Reference point Ub The reference point Ub is between the UE and the BSF. Reference point Ub provides mutual authentication between the UE and the BSF. It allows the UE to bootstrap the session keys based on AKA infrastructure. The HTTP Digest AKA protocol, which is specified in RFC 3310 [4], is used on the reference point Ub. It is based on the AKA TS [2] protocol. The interface to the USIM is as specified in TS [1] and to the ISIM is as specified in TS [10] Reference point Ua The reference point Ua carries the application protocol, which is secured using the keys material agreed between UE and BSF as a result of the run of HTTP Digest AKA over reference point Ub. For instance, in the case of support for subscriber certificates TS [5], it is a protocol, which allows the user to request certificates from the NAF. In this case the NAF would be the PKI portal Reference point Zh The reference point Zh used between the BSF and the HSS allows the BSF to fetch the required authentication information and all GBA user security settings from the HSS. The interface to the 3G Authentication Centre is HSSinternal, and it need not be standardised as part of this architecture Reference point Zn The reference point Zn is used by the NAF to fetch the key material agreed during a previous HTTP Digest AKA protocol run over the reference point Ub from the UE to the BSF. It is also used to fetch application-specific user security settings from the BSF, if requested by the NAF Reference point Dz The reference point Dz used between the BSF and the SLF allows the BSF to get the name of the HSS containing the required subscriber specific data. 4.4 Requirements and principles for bootstrapping The following requirements and principles are applicable to bootstrapping procedure: - the bootstrapping function shall not depend on the particular NAF; - the server implementing the bootstrapping function needs to be trusted by the home operator to handle authentication vectors; - the server implementing the NAF needs only to be trusted by the home operator to handle derived key material; - it shall be possible to support NAF in the operator's home network and in the visited network; - the architecture shall not preclude the support of network application function in a third network; - to the extent possible, existing protocols and infrastructure should be reused; - in order to ensure wide applicability, all involved protocols are preferred to run over IP; - it shall be prevented that a security breach in one NAF who is using the GBA, can be used by an attacker to mount successful attacks to the other NAFs using the GBA; - an attacker shall not be able to exploit a security breach in one security protocol over Ua in order to mount a successful attack against a different security protocol over Ua.

15 15 TS V ( ) Access Independence Bootstrapping procedure is access independent. Bootstrapping procedure requires IP connectivity from UE Authentication methods Authentication between the UE and the BSF shall not be possible without a valid cellular subscription. Authentication shall be based on the AKA protocol Roaming The requirements on roaming are: - The roaming subscriber shall be able to utilize the bootstrapping function in the home network. The subscriber shall be able to utilize network application function that is in a visited network. - The home network shall be able to control whether its subscriber is authorized to use the service in the visited network Requirements on reference point Ub The requirements for reference point Ub are: - the BSF shall be able to identify the UE; - the BSF and the UE shall be able to authenticate each other based on AKA; - the BSF shall be able to send a bootstrapping transaction identifier to the UE; - the UE and the BSF shall establish shared keys; - the BSF shall be able to indicate to the UE the lifetime of the key material. The key lifetime sent by the BSF over Ub shall indicate the expiry time of the key. NOTE: This does not preclude a UE to refresh the key before the expiry time according to the UE's local policy Requirements on reference point Zh The requirements for reference point Zh are: - mutual authentication, confidentiality and integrity shall be provided; NOTE 1: This requirement may be fulfilled by physical or proprietary security measures if BSF and HSS are located within the same operator s network. - the BSF shall be able to send bootstrapping information request concerning a subscriber; - the HSS shall be able to send one AKA vector at a time to the BSF; - the HSS shall be able to send the complete set of subscriber's GBA user security settings needed for security purposes to the BSF; NOTE 2: If subscriber's GUSS is updated in HSS, this is not propagated to the BSF. The GUSS in the BSF is updated when the BSF next time fetches the authentication vectors and GUSS from the HSS over Zh reference point as part of the bootstrapping procedure. - no state information concerning bootstrapping shall be required in the HSS; - all procedures over reference point Zh shall be initiated by the BSF; - the number of different interfaces to HSS should be minimized.

16 16 TS V ( ) Requirements on reference point Zn The requirements for reference point Zn are: - mutual authentication, confidentiality and integrity shall be provided; - If the BSF and the NAF are located within the same operator's network, the Zn reference point shall be secured according to NDS/IP [13]; - If the BSF and the NAF are located in different operators' networks, the Zn' reference point between the Zn- Proxy and the BSF shall be secured using TLS as specified in RFC 2246 [[28]; NOTE 1: Annex E specifies the TLS profile that is used for securing the Zn' reference point. - The BSF shall verify that the requesting NAF is authorised to obtain the key material or the key material and the requested USS; - The NAF shall be able to send a key material request to the BSF, containing NAF's public hostname used by the UE's corresponding request. The BSF shall be able to verify that a NAF is authorized to use this hostname, i.e. the FQDN used by UE when it contacts the NAF; - The BSF shall be able to send the requested key material to the NAF; - The NAF shall be able to get a selected set of application-specific USSs from the BSF, depending on the policy of the BSF and the application indicated in the request from the NAF over Zn; - The NAF shall be able to indicate to the BSF the single application or several applications it requires USSs for; NOTE 2: If some application needs only a subset of an application-specific USS, e.g. only one IMPU, the NAF selects this subset from the complete set of USS sent from BSF. - NAF shall be able to indicate to the BSF the protocol identifier of the Ua security protocol it requires the key material by sending NAF-Id to BSF (cf. Annex H). - The BSF shall be able to be configured on a per NAF or per application basis if private subscriber identity and which application-specific USSs may be sent to a NAF; NOTE 3: If the BSF does not send the IMPI or any other user identities in the USS to the NAF, the user remains anonymous towards the NAF; or more precisely, the B-TID functions as a temporary user pseudonym. - If a NAF requests USSs from the BSF and they are not present in subscriber's GUSS, it shall not cause an error, provided the conditions of the local policy of the BSF are fulfilled. The BSF shall then send only the requested and found USSs to the NAF; - It shall be possible to configure a local policy as follows: BSF may require one or more application-specific USS to be present in a particular subscriber s GUSS for a particular requesting NAF, and to reject the request from the NAF in case the conditions are not fulfilled. In order to satisfy this local policy, it is not required that the NAF requests the USSs over the Zn reference point, which the BSF requires to be present in the GUSS, rather it is sufficient that the BSF checks the presence of the USSs locally. It shall also be possible configure the BSF in such a way that no USS is required for the requesting NAF; - The BSF shall be able to indicate to the NAF the bootstrapping time and the lifetime of the key material. The key lifetime sent by the BSF over Zn shall indicate the expiry time of the key, and shall be identical to the key lifetime sent by the BSF to the UE over Ub. NOTE 4: This does not preclude a NAF to refresh the key before the expiry time according to the NAF's local policy. NOTE 5: If one or more of the USSs that have been delivered to the NAF has been updated in subscriber's GUSS in the HSS, this change is propagated to the NAF the next time it fetches the USS from the BSF over Zn reference point (provided that the BSF has updated subscriber's GUSS from the HSS over Zh reference point).

17 17 TS V ( ) Requirements on Bootstrapping Transaction Identifier Bootstrapping transaction identifier (B-TID) shall be used to bind the subscriber identity to the keying material in reference points Ua, Ub and Zn. Requirements for B-TID are: - B-TID shall be globally unique; - B-TID shall be usable as a key identifier in protocols used in the reference point Ua; - NAF shall be able to detect the home network and the BSF of the UE from the B-TID. NOTE 1: NAF can remove the security association based on deletion conditions after the key has become invalid. NOTE 2: Care has to be taken that the parallel use of GBA and non-gba authentication between UE and NAF does not lead to conflicts, e.g. in the name space. This potential conflict cannot be resolved in a generic way as it is dependent on specific protocol and authentication mechanism used between UE and application server. It is therefore out of scope of this specification. For the example of HTTP Digest authentication used between UE and NAF, parallel use is possible as the following applies: <username,password>-pairs must be unique to one realm only. As the NAF controls the realm names, it has to ensure that only the GBA based realm is named with the reserved realm name. In the special case that the NAF wants to allow non GBA based authentication in the GBA realm also, it has to ensure that no usernames in the format of a B-TID are used outside GBA based authentication Requirements on selection of UICC application and related keys When several applications are present on the UICC, which are capable of running AKA, then the ME shall choose one of these UICC applications for performing the GBA procedures specified in this document in the following order of preference: 1. The UE determines which UICC application is to be involved: a. the application on the ME that needs Ks_NAF (Ua application) may indicate to the GBA support function (GBA function) the type or the name of the UICC application: no preference, USIM, ISIM, or the "Label" (see definition in TS [15]) of the UICC application. NOTE 1: An Ua application specification may require the use of only a USIM (e.g. in MBMS) or only an ISIM. NOTE 2: A user or operator may want to use an Ua application with a specific UICC application indicated by the "Label". This could be configured in the Ua application in the ME by the user or the operator. If the application on the ME indicated a "Label" of the UICC application, step b below shall be executed. If the application on the ME indicated that the UICC application type should be: - the USIM; step b below is skipped and in steps c and d only USIM applications are considered. - the ISIM; step b below is skipped and in steps c and d only ISIM applications are considered. if the application on the ME did not indicate a preference, step b below is skipped and the selection process is executed as described below, starting with step c; b. if a "Label" was indicated in step a: At most, there can be only one USIM active at one time. Therefore, if the USIM indicated in the "Label" by the Ua application is different to the currently active USIM application, then the ME shall reject this request. If a different ISIM to the currently active ISIM application(s) is indicated to the GBA support function by the Ua application, then the ME shall not terminate the currently active ISIM application(s) but the ME shall follow the procedure in chapter when activating the ISIM application indicated by the "Label", as the UE is allowed to have several ISIM s active simultaneously. c. if no "Label" was indicated in step a and there are UICC applications active:, If a preferred UICC application type was indicated but no UICC application of this type is active then step d shall be followed.

18 18 TS V ( ) If a preferred UICC application type was indicated and there are active UICC applications of this preferred type, then the GBA function shall choose: - if the preferred UICC application type is USIM then the active USIM is selected - if the preferred UICC application type is ISIM and only one ISIM is active then this is selected - if the preferred UICC application type is ISIM and more than one ISIM is active then the GBA function may show a UICC application choosing dialogue to the end user (the list contains the "Labels" from the application list of all active ISIM applications on the UICC), from which the end user chooses the UICC application to be selected; if no dialogue is shown the GBA function shall select an active ISIM. If no preference was given and there is more than one active UICC application, the GBA function may show a UICC application choosing dialogue to the end user (the list contains the "Labels" from the application list of all active UICC applications), from which the end user chooses the UICC application to be selected; if no dialogue is shown the GBA function shall select the active USIM application, if an active USIM application exists, otherwise any active ISIM application. If no preference was given and there is only one active UICC application, then the GBA function selects this active UICC application; d. if no "Label" was indicated in step a and if there are no UICC applications active or if there is no UICC application of the preferred UICC application type active: - if there is only one UICC application on the UICC, the GBA function selects it, if possible; - if there is more than one UICC application on the UICC, the GBA function may show a UICC application choosing dialogue to the end user (the list contains the "Labels" from the application list of the UICC), from which the end user chooses the UICC application to be selected. If a preferred UICC application type was indicated and there are UICC applications of this type on the UICC, then the list shown contains only UICC applications of this type, otherwise the list contains all UICC applications on the UICC.If no dialogue is shown the GBA function shall select the "last selected" UICC application of the preferred type (i.e. either the "last selected" USIM or the "last selected" ISIM depending on the given preference), if possible. In case the Ua application indicated "no preference" and both USIM and ISIM are present on the UICC, then the "last selected" USIM is selected. The procedure in clause shall be followed. e. if the UICC application type indicated in step a and used in step c and/or d was ISIM, but there was no ISIM to select, then step c and/or d is repeated with UICC application type USIM; otherwise the selection process fails. NOTE 3: Step e is required for the case that an ISIM as defined in TS [16] may be realised using a USIM application on the UICC. 2. If there already is a key Ks derived from the chosen UICC application, the UE takes this key to derive Ks_NAF. 3. If there is no such key Ks, the UE first runs the Ub protocol involving the selected UICC application and then goes to step 2. If a USIM is chosen, the IMPI obtained from the IMSI stored on the USIM as specified in TS [11] clause 13.3, is used in the protocol run over Ub. NOTE 4: Strictly speaking, an IMPI, and the derivation of an IMPI from an IMSI as in TS [11], clause 13 are only defined in the context of the IMS. For the purposes of this specification, however, an identifier obtained from an IMSI as specified in TS [11], clause 13.3 is also called an IMPI, even if the user has no IMS subscription. If an ISIM is selected, the IMPI stored on the ISIM is used in the protocol run over Ub. Whenever a UICC application is successfully selected or terminated, the rules in this clause for choosing the UICC application are re-applied and, consequently, the UICC application chosen for GBA may change. NOTE 5: At any one time, there is at most one UICC application chosen for performing the GBA procedures.

19 19 TS V ( ) UICC application activation procedure in GBA UICC application activation is defined in TS [15]. NOTE: As part of the UICC application (USIM or ISIM) activation procedure, the UICC may require user verification e.g. PIN entry. If activation of a new UICC application fails then the GBA function shall indicate this to the Ua application Requirements on reference point Ua The generic requirements for reference point Ua are: - the UE and the NAF shall be able to secure the reference point Ua using the GBA-based shared secret; NOTE 1: The exact method of securing the reference point Ua depends on the application protocol used over reference point Ua. - any security protocol over Ua shall be associated with a Ua security protocol identifier. This identifier shall be specified in Annex H of this specification. - the NAF shall be able to indicate to the UE that GBA-based shared secret should be used; - the NAF shall be able to indicate to the UE that the current shared secret has expired and the UE should use newer shared secret with the NAF. - The default lifetime of the NAF specific key material Ks_(ext/int)_NAF shall be equal to the lifetime of Ks when not specified within the Ua-application specification. The lifetime of the Ks_(ext/int)_NAF shall not exceed the lifetime of corresponding Ks. If a lifetime for the Ks_(ext/int)_NAF (or further adapted key material) is available in the NAF and UE, due to a Ua application specification having its own lifetime value or due to NAF or UE having it s own policy for the adapted key material, then if this lifetime is different from the Ks lifetime received from the BSF, then the NAF and UE shall always select the minimum value for the lifetime out of these two. - The UE and NAF may adapt the key material Ks_(ext/int)_NAF to the specific needs of the reference point Ua. This adaptation is outside the scope of this specification. The default lifetime of the adapted key material shall be equal to the lifetime of Ks_(ext/int)_NAF when not specified within the Ua-application specification. The lifetime of the adapted key material shall not exceed the lifetime of corresponding Ks_(ext/int)_NAF. If a lifetime for the Ks_(ext/int)_NAF (or further adapted key material) is available in the NAF and UE, due to a Ua application specification having its own lifetime value or due to NAF or UE having it s own policy for the adapted key material, then if this lifetime is different from the Ks lifetime received from the BSF, then the NAF and UE shall always select the minimum value for the lifetime out of these two Requirements on reference point Dz This interface between BSF and SLF is used to retrieve the address of the HSS which holds the subscription for a given user. This interface is not required in a single HSS environment Requirements on GBA keys and parameters handling The ME shall delete all GBA related keys (i.e., Ks, and NAF specific keys) and the corresponding NAF_IDs, B-TID, and key lifetime when at least one of the conditions below is met: 1 the UICC is removed from the ME; 2 the ME is powered up and the ME discovers that another UICC has been inserted to the ME. For this, the ME needs to store in non-volatile memory the last inserted UICC-identity to be able to compare that with the used UICC-identity at UICC insertion and power up; or 3 the ME is powered up and the ME discovers that no UICC has been inserted to the ME. The ME shall delete all keys related to a certain Ks (i.e., Ks itself, and NAF specific keys derived from this specific Ks) and the corresponding NAF_IDs, B-TID, and key lifetime when the key lifetime of this specific Ks expires.

20 20 TS V ( ) In the case of GBA_ME, the Key Ks shall be deleted from the ME when the ME is powered down. All other GBA keys (i.e. Ks_(ext)_NAF) may be deleted from the ME when the ME is powered down. If the ME does not delete these GBA keys at power down then the GBA keys (i.e. Ks_(ext)_NAF) together with the NAF_IDs, B-TID and key lifetime shall be stored in non-volatile memory. Whenever a UICC application is terminated (see section 4.4.8) the shared key Ks established from it in the protocol over the Ub reference point (according to clauses and 5.3.2) shall be deleted. NOTE: In case the key Ks has been deleted, but the same UICC is still present (i.e. none of conditions1, 2 or 3 is met), the Ua applications can continue using the NAF specific keys (Ks_(ext/int)_NAF) until the Ks lifetime expires. 4.5 Procedures This chapter specifies in detail the format of the bootstrapping procedure that is further utilized by various applications. It contains the AKA authentication procedure with BSF, and the key material generation procedure Initiation of bootstrapping Before communication between the UE and the NAF can start, the UE and the NAF first have to agree whether to use the GBA. When a UE wants to interact with a NAF, but it does not know if the NAF requires the use of shared keys obtained by means of the GBA, the UE shall contact the NAF for further instructions (see figure 4.2). UE 1. Request NAF 2. Bootstrapping initiation required Figure 4.2: Initiation of bootstrapping 1. UE starts communication over reference point Ua with the NAF without any GBA-related parameters. 2. If the NAF requires the use of shared keys obtained by means of the GBA, but the request from UE does not include GBA-related parameters, the NAF replies with a bootstrapping initiation message. The form of this indication may depend on the particular reference point Ua and is specified in the relevant stage 3-specifications Bootstrapping procedures When a UE wants to interact with a NAF, and it knows that the bootstrapping procedure is needed, it shall first perform a bootstrapping authentication (see figure 4.3). Otherwise, the UE shall perform a bootstrapping authentication only when it has received bootstrapping initiation required message or a bootstrapping negotiation indication from the NAF, or when the lifetime of the key in UE has expired (cf. subclause 4.5.3). NOTE 1: The main steps from the specifications of the AKA protocol in TS [2] and the HTTP digest AKA protocol in RFC 3310 [4] are repeated in figure 3 for the convenience of the reader. In case of any potential conflict, the specifications in TS [2] and RFC 3310 [4] take precedence.

21 21 TS V ( ) UE 1. Request (user identity) BSF 2. Zh interface: BSF retrieves AV and user profile. HSS Unauthorized WWW -Authenticate: Digest (RAND, AUTN delivered) 4 Client runs AKA algorithms, verifies AUTN, and session keys derives RES 5. Request Authorization: Digest (RES is used) 6. Server checks the given RES, if it is correct OK B-TID, Key lifetime 7. Ks=CK IK 9. Ks=CK IK 1. The UE sends an HTTP request towards the BSF. Figure 4.3: The bootstrapping procedure 2. BSF retrieves the complete set of GBA user security settings and one Authentication Vector (AV, AV = RAND AUTN XRES CK IK) over the reference point Zh from the HSS. NOTE 2: In a multiple HSS environment, the BSF may have to obtain the address of the HSS where the subscription of the user is stored by querying the SLF, prior to step Then BSF forwards the RAND and AUTN to the UE in the 401 message (without the CK, IK and XRES). This is to demand the UE to authenticate itself. 4. The UE checks AUTN to verify that the challenge is from an authorised network; the UE also calculates CK, IK and RES. This will result in session keys IK and CK in both BSF and UE. 5. The UE sends another HTTP request, containing the Digest AKA response (calculated using RES), to the BSF. 6. The BSF authenticates the UE by verifying the Digest AKA response. 7. The BSF generates key material Ks by concatenating CK and IK. The B-TID value shall be also generated in format of NAI by taking the base64 encoded [12] RAND value from step 3, and the BSF server name, i.e.

22 22 TS V ( ) 8. The BSF shall send a 200 OK message, including a B-TID, to the UE to indicate the success of the authentication. In addition, in the 200 OK message, the BSF shall supply the lifetime of the key Ks. The key material Ks is generated in UE by concatenating CK and IK. 9. Both the UE and the BSF shall use the Ks to derive the key material Ks_NAF during the procedures as specified in clause Ks_NAF shall be used for securing the reference point Ua. Ks_NAF is computed as Ks_NAF = KDF (Ks, "gba-me", RAND, IMPI, NAF_Id), where KDF is the key derivation function as specified in Annex B, and the key derivation parameters consist of the user's IMPI, the NAF_Id and RAND. The NAF_Id is constructed as follows: NAF_Id = FQDN of the NAF Ua security protocol identifier. The Ua security protocol identifier is specified in Annex H. KDF shall be implemented in the ME. NOTE 3: To allow consistent key derivation based on NAF name in UE and BSF, at least one of the three following prerequisites shall be fulfilled: (1) The NAF is known in DNS under one domain name (FQDN) only, i.e. no two different domain names point to the IP address of the NAF. This has to be achieved by administrative means. This prerequisite is not specific to, as it is necessary also under other circumstances, e.g. for TLS V1.0 without use of wildcard or multiple-name certificates. (2) Each DNS entry of the NAF points to a different IP address. The NAF responds to all these IP addresses. Each IP address is tied to the corresponding FQDN by NAF configuration. The NAF can see from the IP address, which FQDN to use for key derivation. (3) Ua uses a protocol which transfers the host name (FQDN of NAF as used by UE) to NAF (e.g. HTTP/1.1 with mandatory Host request header field). This requires the NAF to check the validity of the host name, to use this name in all communication with UE where appropriate, and to transfer this name to BSF to allow for correct derivation of Ks_NAF. In case of a TLS tunnel this requires either multiple-identities certificates or the deployment of RFC 3546 [9] or other protocol means with similar purpose. The UE and the BSF shall store the key Ks with the associated B-TID for further use, until the lifetime of Ks has expired, or until the key Ks is updated or until the deletion conditions are satisfied (see clause ) Procedures using bootstrapped Security Association Before communication between the UE and the NAF can start, the UE and the NAF first have to agree whether to use shared keys obtained by means of the GBA. If the UE does not know whether to use GBA with this NAF, it uses the Initiation of Bootstrapping procedure described in clause Once the UE and the NAF have established that they want to use GBA then every time the UE wants to interact with an NAF the following steps are executed as depicted in figure UE starts communication over reference point Ua with the NAF: - in general, UE and NAF will not yet share the key(s) required to protect the reference point Ua. If they already do (i.e. if a key Ks_NAF for the corresponding key derivation parameter NAF_Id is already available),, the UE and the NAF can start to securely communicate right away. If the UE and the NAF do not yet share a key, the UE proceeds as follows: - if a key Ks for the selected UICC application is available in the UE, the UE derives the key Ks_NAF from Ks, as specified in clause 4.5.2; - if no key Ks for the selected UICC application is available in the UE, the UE first agrees on a new key Ks with the BSF over the reference point Ub, and then proceeds to derive Ks_NAF; NOTE 1: If it is not desired by the UE to use the same Ks for the selected UICC application to derive more than one Ks_NAF then the UE should agree on a new key Ks with the BSF over the reference point Ub, and then proceed to derive Ks_NAF; - if the NAF shares a key with the UE, but the NAF requires an update of that key, e.g. because the key s lifetime has expired or will expire soon, or the key can not meet the NAF local validity condition, it shall send a suitable bootstrapping renegotiation request to the UE, see figure 4.5. If the key's lifetime has expired

This Specification is provided for future development work within onem2m only. The Partners accept no liability for any use of this Specification. The present document has not been subject to any approval

XML Document Management Architecture Candidate Version 2.0 02 Dec 2010 Open Mobile Alliance OMA-AD-XDM-V2_0-20101202-C OMA-AD-XDM-V2_0-20101202-C Page 2 (30) Use of this document is subject to all of the

This Specification is provided for future development work within onem2m only. The Partners accept no liability for any use of this Specification. The present document has not been subject to any approval

GPP X.S000-0 Version.0 Date: July 00 HRPD Support for Emergency Services COPYRIGHT GPP and its Organizational Partners claim copyright in this document and individual Organizational Partners may copyright

End Device Support for AAA in SIP Conferencing Antti Poikela Helsinki University of Technology aspoikel@cc.hut.fi Abstract This study is a literature survey of current problems and solutions for authentication,