[0001] TECHNIQUES FOR SECURE CHANNELIZATION BETWEEN
UICC AND A TERMINAL
[0002] FIELD OF INVENTION
[0003] This application is related to wireless communications.
BACKGROUND OF THE INVENTION
[0004] In Release 7 of the UMTS cellular wireless communication system, the standardization setting body 3rd Generation Partnership Project (3GPP) has drafted technical specification TS 33.220-780 to strengthen the existing authentication and key agreement (AKA) process. The newer AKA process described in the TS 33.220 specifies a process involving the wireless transmit/receive unit (WTRU) that incorporates a UMTS Integrated Circuit Card (UICC) and the Home Location Register/Home Subscriber System (HLR/HSS).
[0005] Figure 1 shows the network elements and their respective interfaces envisioned for the AKA process. A bootstrapping server function (BSF) is part of the network element which is under the control of a mobile network operator (MNO) and participates in the generic bootstrapping architecture (GBA) with UICC-based enhancements (GBA_U) along with the WTRU and the HSS to establish a shared secret between the network and the WTRU. A network application function (NAF) is hosted as part of the network element and uses a GBA established shared secret for deriving keys for securing the communication path between the WTRU and a NAF. A subscriber location function (SLF) is used by the bootstrapping server function (BSF) to acquire the details of the Home Subscriber System (HSS), which contains the required subscriber specific data when the BSF is not configured or managed by a pre-defined HSS. The HSS stores all the user security settings (USS), the subscriber has either a multiple IP multimedia services identity module (ISIM) or user services identity module (USIM) applications on the UICC. The HSS may contain one or more GBA user security settings (GUSS) which can be mapped to one or more private identities. Ub refers to
the reference point between the WTRU and the BSF. The mutual authentication procedure between the WTRU and the BSF takes place on this reference point and session keys are bootstrapped based on 3GPP AKA infrastructure. Ua is the reference point between the WTRU and the NAF that carries the application protocol and is secured by deriving keys based on the key material agreed between the WTRU and the BSF as a result of HTTP Digest AKA over the Ub reference point. Zn is the reference point between the NAF and the BSF and is used by the NAF to acquire the key material (agreed during previous HTTP Digest AKA protocol over Ub) and the application specific USS from the BSF. Zh is the reference point between the BSF and the HSS and is used by the BSF to retrieve the authentication information and GUSS from the HSS. Dz is the reference point between the BSF and the SLF and is used by the BSF to retrieve the name of the HSS which contains the subscriber specific information.
[0006] Two procedures are discussed in TS 33.220. The first is the GBA enhanced by the UICC (GBA_U) process, and the second is the Security Association (SA) process.
[0007] In the GBAJJ process, the UICC and the BSF mutually authenticate each other and establish key Ks called the GBA_U key by deriving it from a subscriber authentication key K that is shared between the UICC and the HLR/HSS.
[0008] Referring to Figure 2, steps for the GBA_U process are as shown and are further described as follows. An ME, at step Sl, sends an HTTP request to the BSF for the initiation of a GBA_U process. The ME inserts a user identity (temporary IP multimedia private identity (TMPI) or IP Multimedia Private Identity (IMPI)) in the username parameter field of the HTTP request. The BSF, at S2, fetches the Authentication Vector (AV = RAND I I AUTN | | XRES | | CK | | IK) and the GBA user security settings (GUSS) from HLR/HSS (over the Zh reference point), where AUTN = SQNMS Θ [AK] I I AMF I I MAC. The BSF then computes MAC* (= MAC Θ Trunc (SHA-I(IK))). The MAC is used to protect the integrity of the RAND and the
AUTN. The BSF, at S3, forwards the RAND and AUTN* (= SQN xor AK | | AMF I I MAC*) to the ME and stores XRES, CK and IK, in an HTTP 401 Unauthorized WWW - Authenticate: Digest message. The ME, at S4, forwards the received RAND and AUTN* to the UICC, in a HTTP 401 Unauthorized WWW - Authenticate: Digest message. The UICC, at S5, runs the AKA algorithm, i.e., computes IK and XMAC and then the UICC checks AUTN (i.e. SQN Θ AK I I AMF | | MAC) to verify that the challenge is from an authorized network; the UICC also calculates CK and RES. This will result in the creation of the session keys CK and IK, where Ks=CK | | IK, in both the BSF and UICC. The UICC, at S6, forwards RES to ME. The ME, at S7, sends another HTTP request to the BSF, which contains the Digest AKA response, calculated using RES. The BSF, at S8, verifies the authenticity of the UE, by comparing the received RES with XRES and at S9, creates Ks=CK | | IK and a Bootstrapping Transaction Identifier (B-TID). The BSF, at SlO, sends back a 200 OK message including the B-TID and the Key Lifetime to indicate the success of the authentication. The ME, at SIl, sends the B-TID and Key Lifetime to the UICC. The UICC, at S12, stores Ks = CK | | IK, B-TID, and the Key Lifetime.
[0009] At the end of the GBAJJ process, depicted in Figure 2, both the
UICC and the BSF are in state where they can, if needed in a later stage such as the Security Association stage, respectively use the Ks they both have to derive Network Access Function (NAF)-specific keys Ks_ext_NAF and Ks_int_NAF. These derived keys Ks_ext_NAF and Ks_int_NAF are later used to secure the Ua reference point. Ks_ext_NAF is computed in the UICC as Ks_ext_NAF = KDF(Ks, "gba-me", RAND, IMPI, NAFJd); KsJnt_NAF is computed in the UICC as Ks_intJ*AF = KDF(Ks, "gba-u, RAND, IMPI, NAFJd); NAFJd = FQDN of the NAF | | Ua security protocol identifier. KDF is the key derivation function as specified in TS 33.220-780 Annex B. [0010] After the Ks is established in the GBAJJ process, the Security
Association process takes place between the NAF and the WTRU. The purpose of this process is for the WTRU and the NAF to decide whether to use the
GBA keys (Ks_int_NAF and/or Ks_ext_NAF). By default Ks_ext_NAF is used to later derive the key stream to be used to encrypt the packets between the WTRU and the NAF. However, if Ks_int_NAF or both Ks int_NAF AND Ks_ext_NAF are to be used, then this must be agreed upon in the security association process. Note that such an agreement will overrule the default selection. Also, the key selection indication may be specified in the application specific USS.
[0011] Referring to Figure 3, which depicts the security association steps, the WTRU (ME), before starting communication, checks that Ks (created by GBAJJ) is present and is current, and if not, then GBA_U is initiated to create Ks. If Ks is valid and current, ME, at Sl, retrieves the B- TID from the UICC and the UICC derives Ks_int/ext_NAF keys. The ME, at S2, sends the B-TID to the NAF as a part of an application request. The NAF, at S3, sends an Authentication Request (incl. B-TID and NAF-ID) to the BSF to send keys corresponding to the B-TID over the Zn reference point. The BSF, at S4, derives Ks_int_NAF and Ks_ext_NAF. If the NAF is GBAJJ aware, at S4, it delivers both keys, otherwise it only supplies Ks_ext_NAF along with some other information such as bootstrapping time, lifetime of keys, etc. The NAF will then look into the USS if it is returned from the BSF, to check if the key selection indication is present in which case key(s) indicated in the USS will be used and will then store these key(s). The NAF, at S7, sends the WTRU an Application Answer, indicating that the NAF now has the keys Ks_ext/intJ^AF.
[0012] Recently, 3GPP TS 33.110-700 proposed the establishment of platform and application specific key Ksjocal between the UICC and the Terminal. This key is intended to be used by the UICC and the terminal to secure the channel between them.
[0013] The architecture of the reference points in the case where the
Terminal is a part of the UICC holding device is shown in Figure 4. The network elements of Figure 4 are the same as shown in Figure 1 with the exception of providing the UICC hosting device. The protocol flow establishing
Ks_local between the UICC and the Terminal is shown in Figure 5. The Terminal, at Sl, checks whether a valid Ks key exists in the UICC, by fetching the B-TID and corresponding lifetime from the UICC. If no valid key ks is available in the UICC, the Terminal will request the GBA bootstrapping procedure to establish the Ks key between BSF and UICC. The Terminal then checks whether a valid Ks_int_NAF exists, and if so, it requests the UICC to retrieve B-TID value for the NAF_ID corresponding to the NAF Key Center. If the Terminal does not have the NAF_ID, it requests the UICC to retrieve the value at S2. The UICC, at S3, returns the NAFJD and B-TID corresponding to the NAF Key Center. The Terminal and NAF Key Center establish the HTTPS type tunnel at S4, with certificate based mutual authentication between the Terminal and the NAF Key Center. The Terminal, at S5, sends a "service request" message over the tunnel, whose payload contains B-TID, the Terminal identifier (TerminalJD), the smart card identifier (ICCID), the application identifier of UICC application (UICC_appli_ID) and the application identifier of the terminal application (Terminal_appli_ID) requiring the establishment of key Ksjocal, and a variable value RANDx. When a platform-specific key, rather than an application-specific key, is desired, the parameters UICC_appli_ID and Terminal_appli_ID will equal the static ASCII-encoded string "platform". The NAF key center, at S6, determines if the Terminal ID/ICCID is not blacklisted or if the key establishment procedure is allowed for the targeted applications. If these conditions are not met, the NAF key center responds with an appropriate error code and terminates the TLS connection with the Terminal. The NAF key center, at S6, then contacts the BSF and sends B-TID and its own NAF_ID in a credential request (the purpose of this request is to ask the BSF to return related keys Ks_int_NAF and Ks_ext_NAF. Note that Ks_local will be generated only from Ks_int_NAF). The BSF derives Ks_int_NAF and Ks_ext_NAF, and at S7, returns these keys and related information such as bootstrapping time, key lifetime, etc, to the NAF Key Center. The NAF key center, at S8, then generates a suitable 16 octet counter limit for use in the
UICC and associates a key lifetime to the derived key Ks_local for use in the terminal. It then derives Ks_local from Ks_int_NAF, using the key derivation function (KDF) as follows:
Ksjocal = KDF (Ks_int_NAF, B-TID, Terminal_ID, ICCID, Teπninal_appli_ID, UICC_appli_ID, RANDx, counter limit) [0014] The NAF key center, at S9, then delivers Ksjocal, along with the B- TID, key lifetime and the counter limit, to the Terminal, over the HTTPS tunnel established in step S4. At SlO, the Terminal stores in its own storage Ksjocal and the associated parameters such as the key lifetime, ICCID, Terminal_appliJD, and UICC_appliJD. At SIl, the Terminal requests the UICC to generate Ksjocal and sends it the key material (NAFJD, Terminal ID, Terminal_appliJD, UICC_appliJD, RANDx and counter limit value), along with MAC (= HMAC-SHA-256[KsJocal,NAFJD | | Terminal JD | | ICCID I I Term_appliJD | | UICC_appliJD | | RANDX | | Counter Limit]) which in turn is truncated to 16 octets = 128 bits. The UICC, at S12, retrieves the KsJnt_NAF and B-TID and generates Ksjocal = KDF (KsJnt_NAF, B-TID, Terminal JD, ICCID, Terminal_appliJD, UICC_appliJD, RANDx, Counter Limit). The UICC computes MAC = (HMAC-SHA-256 [Ksjocal, NAFJD | | Terminal JD | | ICCID | | TeπninaLappliJD | | UICC_appliJD | | RANDX | | Counter Limit]) which in turn is truncated to 16 octets = 128 bits. The computed MAC is compared with the received MAC. If MAC and MAC don't match, a failure message is sent back to the Terminal, at S 13. If there is a match between MAC and MAC, Ksjocal and associated parameters such as TerminalJD, Terminal_appliJD, UICC_appliJD and the counter limit are stored in the UICC. At S 13, the UICC returns a "verification successful message", created using Ksjocal and the MAC algorithm HMAC-SHA-256 truncated to 16 octets, to the Terminal.
[0015] Figure 5 depicts the establishment of a key between a UICC and a Terminal. The local key establishment process from TS33.110 v7.2.0 relies on the establishment of an HTTPS tunnel (see step S4 in Figure 5). In
TS33.110 v7.2.0, it is specified that the HTTPS tunnel be established using subscriber certificates that certify a public key be used in setting up the tunnel later. The recent 3GPP specification TS33.221 v7.0.0 specifies the steps where such a subscriber certificate is to be established using the steps depicted in Figure 6.
[0016] The sequence diagram in Figure 6 describes the certificate request when using Public Key Cryptography Standard (PKCS) #10 with HTTP Digest authentication. At Sl, the WTRU sends an empty HTTP request to the Public Key Infrastructure (PKI) portal. The PKI portal, at S2, sends an authentication challenge response using HTTP response code 401 "Unauthorized" which contains a WWW-Authenticate header. The header instructs the WTRU to use HTTP Digest authentication. The WTRU generates the HTTP request by calculating the Authorization header values using the bootstrapping transaction identifier (B-TID) it received from the BSF as username and the NAF specific session key Ks_NAF. If the certificate request needs extra assurance by a wireless identity module (WIM) application for key proof-of-origin, the WTRU generates a WIM challenge request containing parameters needed for key proof-of-origin generation. The WTRU, at S4, sends an HTTP request to the PKI portal and includes the WIM challenge request in this request. At S5, the PKI portal, acting as an NAF, receives the request, verifies the authorization header, by fetching the NAF specific session key Ks_NAF from the BSF using the B-TID, calculating the corresponding digest values using Ks_NAF, and comparing the calculated values with the received values in the authorization header. If the verification is successful and extra assurance for the WIM application is needed, the PKI portal may use the PKI portal specific user security setting to compute the WIM challenge response. The PKI portal, at S6, sends back a WIM challenge response containing additional parameters needed for the subsequent PKCS#10 request generation. The PKI portal may use session key Ks_NAF to integrity protect and authenticate this response. The WTRU, at S7, generates the PKCS#10 request and at S8, sends it to the PKI portal using an HTTP
Digest request. In the case where the private key is stored in a WIM application, the ME requests the Assurancelnfo from the WIM application and include it in the PKCS#10 request, if provided. The enrollment request will follow the PKCS #10 certificate enrollment format. Adding Assurancelnfo in this request is defined in the OMA ECMA Script specification. The Assurancelnfo provides a proof of origin for the key processing. (E.g. identifies the WIM application and provides proof that the key is stored in it). The WTRU may indicate the desired format of the certification response: a certificate, a pointer to the certificate (e.g., URL), or a full certificate chain (i.e., from the issued certificate to the corresponding root certificate). The WTRU sends an HTTP request for certificate enrollment to the PKI Portal. The enrollment request shall be as follows:
POST <base URL>?response=<indication> [other URL parameters]
HTTP/1.1
Content-Type: application/x-pkcslO
<base64 encoded PKCS#10 blob> where: <base URL> identifies a server/program. The label <indication> is used to indicate to the PKI portal the desired response type for the WTRU. The possible values are: "single" for subscriber certificate only, "pointer" for pointer to the subscriber certificate, or "chain" for full certificate chain. Further, other URL parameters are additional, optional, URL parameters.
The PKCS#10 request is processed by the PKI portal, at S9. If the PKI portal is a Certification Authority (CA), then the certificate is generated at the PKI portal. If the PKI portal is only a registration authority (RA) but not a CA, the PKCS#10 request is forwarded to the CA using any protocol available such as the CMC as specified in IETF RFC 2797 or CMP as specified in IETF RFC 2510 and IETF RFC 2511. In this case, after the PKCS#10 request has been processed and a certificate has been created, the new certificate is returned to the PKI portal. In either case, the PKI portal, at SlO, generates an HTTP response containing the certificate, or the pointer to the certificate as
defined in clause 7.4 of OMA Wireless PKI spec (WPKI), or a full certificate chain from the issued certificate to the root certificate. If the HTTP response contains the subscriber certificate itself, it shall be base64 encoded, and it may be demarcated as follows:
HTTP/1.1 200 OK
Content-Type: application/x-x509-user-cert
—-BEGIN CERTIFICATE
<base64 encoded X.509 certificate blob>
—-END CERTIFICATE
If the HTTP response contains the pointer to the certificate, the CertResponse structure defined in subclause 7.3.5 of the OMA WPKI shall be used, and it may be demarcated as follows:
HTTP/1.1 200 OK
Content-Type: application/vnd.wap.cert-response BEGIN CERTIFICATE RESPONSE—-
<base64 encoded CertResponse structure blob>
— END CERTIFICATE RESPONSE —
If the HTTP response contains a full certificate chain in PkiPath structure as defined in and it shall be base64 encoded:
HTTP/1.1 200 OK
Content-Type: application/pkix-pkipath
<base64 encoded PkiPath blob>
The content-type header value for the certificate chain is "application/pkix- pkipath". The PKI portal may use session key Ks_NAF to integrity protect and authenticate the response, if a certificate or a pointer to the certificate is sent to the WTRU. The PKI portal shall use integrity protection and authenticate the response if full certificate chain is sent to the WTRU. When the WTRU receives the subscriber certificate or the URL to subscriber certificate, it is stored to local certificate management system, at SIl. [0017] Problems of the Prior Art
[0018] Both the GBA_U process and the security association process have privacy issues because in both processes the UICC and the Terminal exchange between them, as well as between the Terminal and the network (BSF, NAP), many parameters over open channels, before a secure local channel between the UICC and the Terminal, or a secure channel between the terminal and the BSF (or NAF) is formed. For example, the transfer of parameters such as AUTN and RAND from the BSF to the UICC is in plain text on an open channel. Integrity protection between the UICC and the BSF is offered for the authentication information (AUTN) and the random number (RAND) which acts the nonce (i.e., as a number or bit stream used only once in security engineering by) the use of Message Authentication Code (MAC) (and expected MAC) (XMAC) and user response (RES) and expected RES (XRES), respectively. However, since the channel is open, there is risk of snooping, causing privacy concerns, as well as the risk of exposing the K eventually due to cryptanalysis.
[0019] The prior art also includes problems due to open-channel transfer of session keys. The session keys, derived inside the UICC (using the Ks or Ks_NAF in the derivation), are transferred out of the UICC to the Terminal, to be later used by the Terminal for session encryption or decryption, and are performed over an unsecured channel. Consequently, eavesdropping agents may intercept the session keys, and encrypt or decrypt messages exchanged between the Terminal and the network. In this event, many of the subsequent procedures, such as the subscriber certificate establishment, which is needed to establish the HTTPS tunnel between the terminal and the NAF Key Center for the latter to derive and then transport (from the NAF Key Center) the local key (Ks_local), will be at risk of breach. Because the local key itself is transported over the HTTPS tunnel, the breach of the session key then leads to breach of the local key. Subsequently, when and if the local key persists after resets or phone boots, and used in the encrypted transfer of information between the UICC and the terminal, all such communication will be at risk. [0020] Problems in the Local Key Establishment
[0021] The procedures to establish Ksjocal found in TS 33.110-720 have the following problems:
1) Inefficiency due to multiple OTA connections - The Terminal has to go through the over-the-air GBA_U process to establish the Ks key. In an attempt to establish Ksjocal, derived from Ks which itself is based on the Subscriber Secret (K) shared between the UICC and the HSS, TS 33.110 proposes that the key establishment procedure for the Ksjocal between the UICC and the Terminal to follow an over-the-air protocol again, and, per each NAF that specifies the application to be used for that channel. Since the standard allows multiple different local keys, each specific for a different NAF, to be generated this way, if one wants to establish multiple such keys, one has to go through many OTA procedures.
2) Information Privacy Issues - Values of many parameters such as NAFJD, terminal ID, Terminal_appliJD, UICC_appliJD, RANDx and Counter Limit value, are transferred over an open channel between the UICC and the Terminal. Some of these parameters, if exposed, could pose privacy risks.
3) In the HTTPS tunnel between NAF key center and the Terminal - In 3GPP TS 33.110 V7.2.0 (see Figure 5, steps S4 and S5), the tunnel is supposed to be created using certificate based mutual authentication and to be used in the transfer of the Ksjocal and key material from the NAF key center to the Terminal. The subscriber certificate can be either issued to the Terminal or an application running in the UICC. The private and public keys that are needed for establishing the subscriber certificate, in turn, can reside either inside the UICC or on the Terminal. In many of these cases there are security vulnerabilities due to the need to transfer such sensitive information as the private key or the public key, or the subscriber certificates, or the Ks_ext_NAF key,
over unsecured channels between the UICC and the Terminal. Some scenarios and vulnerabilities associated with these scenarios are set forth below.
[0022] Figures 7-9 show three (3) different scenarios of a Subscriber
Certificate establishment process.
[0023] In scenario Al, shown in Figure 7, the Private/Public Key pair is on the Terminal. The UICC is responsible for subscriber certificate establishment with PKI (=NAF) via an HTTP session. Assuming the GBA/GBA_U procedure has already taken place, the Ks_NAF/Ks_ext_NAF key is present on the UICC. There are flaws in the current solution in scenario Al. Most notably, at step S5, the Terminal has to send the Public key for certification to the UICC on an open channel. In addition, the UICC, at step SIl, sends the subscriber certificate (to be used for HTTPS session) to the Terminal over an open channel.
[0024] In scenario A2, shown in Figure 8, the Private/Public Key pair is on the Terminal. The Terminal is responsible for subscriber certificate establishment with PKI (=NAF) via an HTTP session. Assuming the GBA/GBA_U procedure has already taken place, the Ks_NAF/Ks_ext_NAF key is present on the UICC, as shown at step Sl. There are flaws associated with the_current solution in Scenario A2. Most notably, the UICC, at Sl, sends Ks_ext_NAF (which the Terminal needs to validate the HTTP Digest during subscriber certificate session) to the Terminal over an open channel. [0025] In scenario A3, shown in Figure 9, the Private/Public Key pair is on the Terminal. The Terminal is responsible for subscriber certificate establishment with PKI (=NAF) via HTTP session via steps Sl through SIl. Assuming the GBA/GBA_U procedure has already taken place, the Ks_NAF/Ks_ext_NAF key is present on the UICC. The Terminal at Sl, receives Ks_ext_NAF over a secure OTA channel, secured by a session key Kss, with PKI (=NAF). Note that this assumes a change in the standard where the Ks_ext_NAF is sent from the PKI (NAF) to the Terminal. There are, however, flaws associated with the current solution in scenario A3. Currently,
any session key is used by the Terminal so that a Ks has to be sent by the UICC to the Terminal, over an open channel, under current phone architectures, as shown at SO. This means an eavesdropper can intercept the session key, and decrypt any message (including subscriber certificate process messages). This flaw (clear transfer of session key) is a general problem that can affect even the first AKA process. Two (2) different scenarios of a local key establishment process are shown in Figures 10-11.
[0026] In scenario Bl, shown in Figure 10, the Private/Public Key pair is on the Terminal. The Terminal is responsible for HTTPS tunnel establishment, at S4, using the subscriber certificate established in Process A (TS 33.110). There are flaws of the current solution in Scenario Bl. Most notably, the terminal, at step SlO, sends the public key for certification to UICC on an open channel. Furthermore, the UICC, at S 12, sends the subscriber certificate (to be used for HTTPS session) to the Terminal over an open channel.
[0027] In scenario B2, shown in Figure 11, the private/public key pair is on the UICC. The Terminal, as shown at S5, is responsible for HTTPS tunnel establishment, using the subscriber certificate established in Process A (33.110). There are, however, flaws associated with the current solution in scenario Bl. Most notably, there is no secure channel between UICC and Terminal. Furthermore, an attacker can intercept the subscriber certificate and private key (since the private key has to be sent over to the Terminal by the UICC over open channel, as shown at S4), which causes the HTTPS tunnel to be compromised. In addition, the Ks_local is revealed to an attacker, see step S13.
[0028] SUMMARY
[0029] 3G UMTS mobile phone systems rely on a protected smart card called the UMTS integrated circuit card (UICC) that provides UMTS subscriber identity module (USIM) applications as a basis or root of various
security measures protecting the communication path between the 3G mobile terminal and the UMTS wireless network (or UTRAN).
[0030] The UICC exchanges information with the terminal (ME) and the bootstrapping server function (BSF) wherein multiple local keys specific to applications and network application functions (NAFs) (Ks_local), which are themselves derived by multiple instantiations of NAF-specific keys (Ks_int/ext_NAF's) are used to derive keys used to encrypt the local channel between the UICC and the terminal (ME), eliminating multiple over the air (OTA) procedures to derive keys for each of the NAFs. The methods proposed herein enable the local key derivation and security association with multiple NAFs in TjIiIk' procedure, mitigating the need for excessive OTA connections. [0031] Another concept proposed herein is the use of an Internal Key
Center (IKC). An IKC is a trusted entity in the wireless transmitter/receiver unit (WTRU) that has functions that are similar to some of the functions of the external NAF, in as far as its functions to derive interim key materials as well as the final Ks_local's.
[0032] Several embodiment options are proposed for the IKC. In one embodiment, the IKC serves as the terminal, in the sense that the IKC is trusted and is capable of the 'replication' of the NAF Key Center functions, as well as providing functions (such as the OTA communicating capability) and data required for the generation of the Ks_local. In another embodiment, the IKC serves as a trusted entity within the ME but separate from the terminal, and is capable of acting as a surrogate of the NAF Key Center. [0033] Also proposed are methods based on trusted computing that together protect the integrity and usage of the IKC, enabling the IKC to securely act as a surrogate or replacement of the external network entity such as a NAF.
[0034] BRIEF DESCRIPTION OF THE DRAWINGS
[0035] A more detailed understanding of the invention may be had from the following description of an embodiment, given by way of example and to be
understood in conjunction with the accompanying drawings wherein:
[0036] Figure 1 shows a reference model for bootstrapping involving
BSS;
[0037] Figure 2 shows flow chart depicting GBAJLJ bootstrapping procedure using UICC based enhancements;
[0038] Figure 3 shows a process for security association, after the implementation of the GBA_U;
[0039] Figure 4 shows a reference model where a terminal is a part of the UICC holding device;
[0040] Figure 5 shows establishment of key between UICC and a terminal;
[0041] Figure 6 shows a Certificate request using PKCS#10 with HTTP digest authentication;
[0042] Figure 7 shows a subscriber certificate process of scenario Al;
[0043] Figure 8 shows a subscriber certificate process of scenario A2;
[0044] Figure 9 shows a subscriber certificate process of scenario A3;
[0045] Figure 10 shows a local key establishment process of scenario Bl;
[0046] Figure 11 shows a local key establishment process of scenario
B2;
[0047] Figure 12a shows an example block diagram of a secure wireless communication system;
[0048] Figure 12b shows a case when UICC and HLR/HSS share KUH;
[0049] Figure 13 shows an embodiment when UICC and IKC share symmetric secret key Ksymjσi;
[0050] Figure 14 shows a process for identification of correct Km performed by the IKC, and subsequent TLS-PSK tunnel establishment;
[0051] Figure 15 shows a process for identification of correct Km performed by the BSF, and subsequent TLS-PSK tunnel establishment
[0052] Figure 16 shows a security association between NAFs and a
WTRU described in this disclosure;
[0053] Figure 17 shows a process for Ks_local establishment between
UICC and Terminal);
[0054] Figure 18 shows a method for an MTM protecting the integrity of the IKC and the keys and data the IKC processes; and
[0055] Figure 19 shows a system wherein an MTM is coupled between the terminal and the IKC.
[0056] Acronyms Used In The Specification
3GPP 3rd Generation Partnership Project
AK Anonymity Key; it is computed as AK = f5κ(RAND)
AKA Authentication and Key Agreement
AUTN Authentication token
AV Authentication Vector
B-TID Bootstrapping Transaction Identifier
BSF Bootstrapping Server Function
CA Certificate Authority
CK Cipher Key
FQDN Fully Qualified Domain Name
GAA Generic Authentication Architecture
GBA Generic Bootstrapping Architecture
GBA_ME ME-based GBA
GBAJJ GBA with UICC-based enhancements
GUSS GBA User Security Settings
HLR Home Location Register
HSS Home Subscriber System
HTTP Hypertext Transport Protocol
ICCID Integrated Circuit Card Identification
IK Integrity Key
IKC Internal Key Center IMPI IP Multimedia Private Identity KDF Key Derivation Function K Subscriber Authentication Key (TS33.105 sec 5.1.7.1)
Ks IKC NAF Proposed key computed at the BSF to be used as a key material to derive local keys at both the UICC and the IKC for the secure local channel between the IKC and the
Terminal.
Ks_ext_NAF Derived key in GBAJLJ
KlH Pre-Shared Key between IKC & HLR/HSS in our invention
Ksym_UI Pre-Shared symmetric key between UICC and IKC
KUH Pre-Shared Key between UICC & HLR/HSS in our invention
Ks_IKC_NAF Derived at UICC and BSF to be used for derivation of NAF specific Ks_local
Ks_int_NAF Derived key in GBA_U which remains on UICC Ks_local Derived key, which is shared between a Terminal and a
UICC
MAC Message Authentication Code
MACNAP MAC generated by NAF in the new invention (during Part
2)
MACiKc MAC generated by IKC in the new invention (during Part
3)
MACuicc MAC generated by UICC in the new invention (during Part
3 MACmcc_sA MAC generated by UICC in the new invention (during
Part 2)
MNO Mobile Network Operator
MTM Mobile Trusted Module
NAF Network Application Function
NAI Network Access Identifier
OTA Over the Air
PKI Public Key Infrastructure
RAND Random challenge
RANDx Random challenge generated by IKC for Ks_local derivation
RANDy Random challenge generated by IKC for Ks_IKC_NAF derivation
RES User response
SLF Subscriber Location Function
SQN Sequence Number
TIB TLS type tunnel between IKC and BSF
Tm TLS type tunnel between UICC and IKC
TCG Trusted Computing Group
TLS Transport Layer Security
TMPI Temporary IP Multimedia Private Identity
USS User Security Setting
UE User equipment
USIM User Services Identity Module
XMAC Expected MAC used for authentication and key agreement
XRES Expected user response
[0057] DETAILED DESCRIPTION
[0058] When referred to hereafter, the terminology "wireless transmit/receive unit (WTRU)" includes but is not limited to a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a pager, a cellular
telephone, a personal digital assistant (PDA), a computer, or any other type of user device capable of operating in a wireless environment. When referred to hereafter, the terminology "base station" includes but is not limited to a Node-B, a site controller, an access point (AP), or any other type of interfacing device capable of operating in a wireless environment. In the detailed description set forth below, the term ME is synonymous with Terminal and these terms are interchangeable. UE is used to identify collectively incorporate a UICC and a Terminal (or ME). Trusted Mobile Phone is synonymous with Terminal but which is trusted in the TGC sense. Phone is synonymous with Terminal. Remote device identifies a UE wherein its UICC and a reader for the UICC are not resident in the same physical packaging containing the UE but is connected to the UE via remote connections, such as, for example, USB cables, wireless connectivity and the like. [0059] A new method is described to resolve the problems of the prior and enhance both the security and the efficiency of the existing processes such as the GBA_U, security association, and the establishment of the local key Ksjbcal specific for NAFs. The method is based on the following set of assumptions or requirements. [0060] The assumptions are as follows.
1. An Internal Key Center (IKC), which is provided as an entity inside a WTRU, has a functionality similar to that of the external NAF Key Center. a. In one embodiment that is considered hereafter, the IKC is also responsible for the communicating functions of the ME (to the network and the UICC). In this regard, the IKC can be considered as a terminal that has the additional functionality of the external NAF Key Center. b. The details of the assumed functionalities of the IKC are described below.
2. The IKC and the HLR/HSS have a pre-shared secret Km pre- provisioned, possibly at the time of their manufacture or sale.
a. The Bootstrapping Server Function (BSF) is assumed to be able to securely retrieve Km from the HLR/HSS. b. K1H is used to establish a Transport Layer Security-Pre- Shared Key (TLS-PSK) tunnel between the IKC and the BSF, hereinafter referred to as tunnel TIB.
3-A. The UICC and the HLR/HSS share a secret KUH, which is different from the subscriber secret K that the UICC and the HLR/HSS already share between them for the existing GBA_U process. a. The BSF is assumed to be able to securely retrieve KUH from the HLR/HSS. b. The BSF is also assumed to be able to forward this key KUH to the IKC securely, encrypted, using the TLS-PSK tunnel Tm. c. KUH, once delivered to the IKC from the BSF, can be then used to establish a TLS-PSK tunnel between the UICC and the IKC, hereinafter referred to as tunnel Tm. Tunnel Tm may have a security lifetime that is short, so that it can only be used for a limited amount of time.
3-B. As an alternative to assumption 3A, where the UICC and the
HLR/HSS share the secret key KUH, the UICC and the IKC can be assumed to be pre-provisioned with a pre-shared symmetric key Ksym _ui, where such provisioning is provided at the time of manufacture or sale.
4-A. The UICC can encrypt and decrypt messages using the shared secret key KUH.
4-B. Employing the 3-B assumption, the UICC can encrypt and decrypt messages using the pre-shared symmetric key Ksym_u1.
5-A. The IKC can encrypt and decrypt messages using the shared secret key KUH
5-B. Employing the 3-B assumption, the IKC can encrypt and decrypt messages using the pre-shared symmetric key Ksym_ui.
6. The UICC and the BSF are both capable of deriving one or more keys Ks_IKC_NAF, each specific to each of the NAFs and used in the generation of the NAF-specific Ks_local.
7. The IKC and the BSF are capable of exchanging key material for multiple NAFs in one OTA application-response exchange.
8. The BSF can, upon receipt of identification information for an IKC (hereinafter ICKJD), identify the UICC JD's that have either been historically authenticated or are expected to be authenticated, and use these possibly multiple UICCJDs to identify possibly multiple correct keys {KUH} corresponding to these authenticated or expected-to-be- authenticated UICCJDs. The BSF can also send one, several, or all of the keys in the set {KUH> to the IKC, either in parallel or in sequences, and allow the IKC to test with the hosted UICC which of these keys should be used with the hosted UICC.
9. A mobile trusted module (MTM) meeting the specifications of the TCG Mobile Trusted Module specification vl.O and its associated software stack is resident in the WTRU, and the UE is a trusted mobile phone meeting the specifications of the TCG Trusted Mobile Phone Reference Architecture specification. The MTM is responsible for creation, checking and verifying the state of the IKC and the UICC, and also for the secure storage of keys and data that the IKC handles for the GBAJJ, security association, and secure local key establishment procedures.
[0061] The Internal Key Center (IKC)
[0062] The IKC, in one implementation, is a part of the Terminal and is capable of communicating over-the-air employing the 3G air interface and ultimately with the BSF. In an alternative implementation, the IKC can be an entity separate from the Terminal. The IKC is a trusted component, whose integrity and trustworthiness is verifiable by the MTM in the WTRU. The MTM, in one implementation, is part of the Terminal (or WTRU). In implementations having both an MTM and an IKC as part of the Terminal (or
WTRU), wireless connectivity may be replaced by wired connectivity. The IKC has cryptographic capabilities to establish TLS type tunnels between itself and the UICC, as well as with the BSF. The tunnels are used to protect the integrity and confidentiality of the information being exchanged in the GBA_U procedure and the security association, and also during the establishment of a secure channel between the UICC and the Terminal. The IKC is capable of establishing a TLS-PSK tunnel with the BSF. The BSF is assumed to be capable of supporting such a tunnel with the IKC. During the Part 1 and Part 2 phase of our proposed version, the IKC performs functions required of the terminal for the execution of the prior-art GBA_U and Security Association procedures as well as functions required for the creation and usage of two TLS tunnels, one between the IKC and the UICC, and the other between the IKC and the BSF. During Part 3 of our technique, the IKC executes functions that are similar to functions performed by an external NAF key center. These functions include: 1) generation of the counter limit; 2) generation of one or more pairs of random numbers RANDx(s) and RANDy(s), each specific to a NAF and used to derive a NAF-specific Ks_local; 3) derivation of the Ks_local using the KDF; and 4) forwarding of the Ks_local to the Terminal, in the case where the IKC is an entity separate from the Terminal.
[0063] Figure 12a shows an example block diagram of a secure wireless communication system configured according to the above stated assumptions. The wireless communication system includes a WTRU 1200. The WTRU 1200 includes a terminal 1210, a modem 1220, and a radio (RF) unit 1230. The terminal 1210 includes a mobile trusted module (MTM) 1240 and an internal key center (IKC) 1250. The IKC unit 1250 is configured to communicate with an external UICC 1260. The RF unit 1230 is configured to comunicate with a bootstrap server function (BSF) 1270 over an air interface 1275. The BSF 1270 is in communication with an HLR/HSS 1280, and optionally other network application functions (NAFs) (not pictured).
[0064] The improved key derivation and security association (SA) using the IKC procedure is divided into three parts, as set forth below. [0065] The first part of the procedure (Part-1), uses an improved GBA_U process in accordance with a first embodiment as shown in Figure 12. One improvement over prior methods is that the process is now executed over two TLS-type channels under the control of the newly proposed entity IKC 1250 within the WTRU 1200. Referring to Figure 12, at step Sl, the IKC 1250 sends a request for the establishment of the TLS-PSK tunnel between IKC 1250 and the BSF 1270. The request message includes IKC 1250_ID as a payload. Next, the BSF 1270, at S2, retrieves the Pre-Shared Keys (Km and KUH) from the HSS/HLR. Km is used to establish a TLS-PSK tunnel between IKC 1250 and the BSF 1270, whereas KUH is used to establish a tunnel between UICC 1260 and IKC 1250. The TLS-PSK tunnel (Tm) between IKC 1250 and BSF 1270 is established at S3, where pre-shared secret (Km) based mutual authentication is employed. The BSF 1270, at S4, sends KUH over the tunnel TIB to the IKC 1250. The UICC 1260 and IKC 1250, at S5, establish a TLS-PSK tunnel (Tm), using pre-shared secret (KUH) based mutual authentication. The GBA_U takes place which leads to establishment of Ks at both the UICC 1260 and the BSF 1270. Finally, at the end of the GBAJJ procedure Ks = CK | | IK is established at the BSF 1270 (see S7a) and the UICC 1260 (see S7b). NAFJD is also constructed at the UICC 1260 as follows: NAFJd = FQDN of the NAF | | Ua security protocol identifier. In this procedure, the UICC 1260 is assumed to share a secret key KUH with the HLR/HSS 1280.
[0066] As an alternative, Figure 13 depicts steps for a modified GBAJJ where the UICC 1260 shares a pre-provisioned symmetric secret key Ksymjui directly with the IKC 1250 (see S4). Only those steps which differ from Figure 12 will now be described. At S2 only the shared key Km is provided to the BSF 1270. S4 of Figure 13 establishes a TLS-PSK tunnel using Ksym ui. S5 of Figure 13 is the same as S6 in Figure 12. Steps S6a and S6b in Figure 13 are the same as S7a and S7b in Figure 12. The alternative procedure in Figure 13
has a drawback, in that the requirement of the UICC 1260 and the IKC 1250 to directly share a pre-provisioned secret key Ksym_ui may unnecessarily create a strong 'binding' between a particular UICC 1260 and a particular IKC 1250, such that portability of the UICC 1260 to be hosted in different types of devices described above can become more difficult to implement or manage. [0067] In the procedure shown in Figure 12, the BSF 1270 is configured to collect, if necessary, a plurality of keys {KUH }, corresponding to the UICC 1260s, which the HLR/HSS 1280 may have knowledge of, as either having been associated, or expected to be associated with, a given IKC 1250. The BSF 1270 can send these multiple keys and the IKC 1250 can then perform a challenge-response-type key-validation procedure with the UICC 1260, until the right key KUH is identified. An embodiment of this procedure is depicted in Figure 14. Only those steps which differ from Figure 13 will be described, step S2 provides both Km multiple keys {KUH } to the BSF 1270. The IKC 1250 requests (S5) and then receives (S6) nonce | | hash (KUH ® nonce) from the UICC 1260. Each KUH is calculated (S7) to find the correct KUH to establish a TLS-PSK tunnel Tm with the UICC 1260.
[0068] As an alternative to the process described in Figure 14, we propose a key validation technique where the IKC 1250 does NOT receive all of the possible keys KUH from the BSF 1270. Rather, the IKC 1250 receives evidence the key KUH from the UICC 1260 (see Figure 15, steps S4 and S5), and passes it to the BSF 1270 (S6), which then performs the procedure to identify the correct key out of the possible set of keys {KUH}, as shown at S6 of Figure 15. The correct KUH is passed to the IKC 1250 (S7) for use in establishing the TLS-PSK tunnel with the UICC 1260. This method has an advantage over the method depicted in Figure 14, in that the BSF 1270 does not risk OTA disclosure of multiple candidate keys.
[0069] In the TLS-PSK tunnel establishment procedure depicted in
Figure 12b, the initial information transfer from the IKC 1250 to the BSF 1270 of the IKC 1250_ID is currently performed only on a physical-layer protection (that is, protected by UIA and UEA session keys). If, as described
earlier, such session keys are vulnerable to eavesdropping, the IKC 1250-ID will become vulnerable to eavesdropping as well, resulting in privacy disclosure.
[0070] An optional step may be employed in Figure 14 to protect the identity of the IKC 1250, wherein the IKC 1250 and the BSF 1270 use a public-key based encryption and decryption of the IKC 1250_ID, as well as other information exchanged during the TLS-PSK tunnel establishment process. In place of a certificate based approach, which may be cumbersome or vulnerable to security risk, it is proposed that the IKC 1250 and the BSF 1270 establish the respective public keys using a Diffie-Hellman (DH) key exchange procedure. In fact, the IKC 1250 may obtain and choose one from a fairly large number n of different public keys, which are broadcast from the network. The DH key exchange protocol can be used for this purpose. [0071] The communicants apply this protocol to compute a common index, such as a , into the public key set. In order to accomplish this, first, the network and the IKC 1250 agree on two values which are publicly known: a very large prime number P and a generator % of the multiplicative group p of p the field p . The network then selects the random number RANDi, computes gκAND< ≡ g modp , and sends gjMM%to the IKC 1250 ( l ≤ RANDi ≤ p ~ 2). The IKC 1250 then computes the random number FRESH, computes % FRESH = S mod ^ and sends S FRESH to the network ( 1 ≤ FRESH ≤ P ~ 2). Then, the network computes k ≡ s™™ mod P . Finally, the IKC 1250 computes ≡ g™m moάp
[0072] It is easily shown that k ≡ k' moάp . The IKC 1250 and network, both having calculated ^ ( " ≤ k < P ), can compute the secret index a of the public key by simply reducing k modulo n. That is, α ≡ ^tnodw . Using the public key ° , the public key corresponding to the index a , the IKC 1250
encrypts the message containing IKC 1250_ID and the network uses the secret key corresponding to a to decrypt that message.
[0073] The confidentiality of IKC 1250JD is achieved because the network is the sole possessor of RANDi and the IKC 1250 is the sole possessor of FRESH; only these two communication participants can compute ^. An attacker is missing both of these random values which are protected by the computational infeasibility of the discrete logarithm problem.
[0074] A message mechanism is implied with respect to the dissemination of the public key set. It could easily be part of the cell broadcast messaging structure. However, additional message mechanisms are required for the transmission of SMND. from the network to the IKC 1250 and the value
SFRESH from the IKC 1250 to the network. These mechanisms preferably include the network/IKC 1250 agreement process for the public values p and 8 defined above.
[0075] With regard to the network transferring multiple keys, designated KUH, to IKC 1250, an iterative mutual (challenge-response) authentication process can be used, one for each key, until a successful KUH is achieved. The UICC 1260 is rejected if the authentication fails for all keys. [0076] The above-described DH exchange of public keys may also be performed as a part of the TLS-PSK tunneling establishment process itself. In this case, the IKC 1250_ID will be included in the initial exchange messages from the IKC 1250 to the BSF 1270 in the TLS-PSK handshake process. It is noted here that the RFC 4279 for the TLS-PSK extension allows four different ciphersuites for DH-enabled TLS-PSK procedures, which are:
1. TLS_DHE_PSK_WITH_RC4_128_SHA
2. TLS-DHE-PSK-WITH-SDES-EDE-CBC-SHA
3. TLS_DHE_PSK-WITH_AES_128_CBC_SHA
4. TLS_DHE-PSK_WITH_AES_256_CBC_SHA
[0077] Due to the known cipher-strength issues of the RC4 algorithm, only the later 3 cipher-suites with 3DES, AES 128, or AES256, respectively, should be used.
[0078] Part-2: The security association between the NAP and the UE
[0079] Part-2 is a Security Association process which is superior to a process of the same name in the prior art through the use of the two (2) TLS- PSK tunnels to secure the exchange of the information between the UICC 1260 and the IKC 1250, and between the IKC 1250 and the BSF 1270. An additional improvement is that the UICC 1260 can establish keys with multiple NAFs in a bulk key-establishment mechanism, with the help of the IKC 1250 and the BSF 1270
[0080] Referring to Figure 16, the detailed steps of Part-2 are shown.
IKC 1250, at Sl, checks whether a current and valid Ks exists at the UICC 1260, if yes, the IKC 1250 retrieves the B-TIDs and NAFJDs (or some other identity of the NAFs with whom the UICC 1260 wants to establish security association) from the UICC 1260 over the already established tunnel (Tm). The UICC 1260 also derives Ks int/ext_NAF keys during Sl. If the Ks is not current or valid, GBA_U is initiated for the establishment of Ks. IKC 1250, at S2, forwards NAF_IDs and B-TID to the BSF 1270 over tunnel TIB. The BSF 1270, at S3, sends an authentication request to the desired NAFs (only one NAF is shown in Figure 16 for simplicity). The BSF 1270, at S4, receives authentication responses from the NAFs If the NAFs are authenticated, the BSF 1270 , at S5, derives NAF specific keys (Ks_int/ext_NAF). The BSF 1270, at S6, forwards the Ks_int/ext_NAF keys along with bootstrap time and key lifetime to the all the NAFs. At S7, each of the NAFs sends to the BSF 1270 an acknowledgement message indicating the receipt of the Ks_int/ext_NAF, key lifetime, and bootstrap time. The BSF 1270 aggregates these messages and, at S8, sends a bulk security association message to the IKC 1250 over the TLS-PSK tunnel TIB, which contains multiple MACNAFS, each corresponding to a particular NAF for which Ks_int/ext_NAF had been established in steps S5
through S7. For each of the MACNAF messages, MACNAF = HMAC-SHA- 256(Ks_ext_NAF | | Ks_int_NAF | | NAFJD | | GUSS ) is truncated to 16 octets for each NAF. The IKC 1250, at S9, forwards the bulk security association message received from the BSF 1270 during step S8 to the UICC 1260 over the TLS-PSK channel Tw. The UICC 1260, at SlO, computes, for each NAF, a MACUICC_SA that is specific to that NAF, such that MACUICCLSA = HMAC-SHA-256(Ks_ext_NAF | | Ks_int_NAF | | NAFJD | | GUSS) truncated to 16 octets. A bulk security association response message is created by the UICC 1260, at SIl, which includes all successes and/or failures of the security association between the UICC 1260 and all of the NAFs. A failure is detected when MACIKC does not match its corresponding MACUICC_SA for any of the NAFs. The failure is indicated by a string, for example, such as "security association failure" | | NAFJD. A success is detected when MACIKC matches its corresponding MACUICCLSA. The success response contains a message authentication code (MAC) of the ASCII-encoded string "Security Association Successful" using the key Ks_int/ext_NAF and the MAC algorithm HMAC-SHA-256 truncated to 16 octets. The Bulk Security Association Response message is sent over to the BSF 1270, at SIl, via the IKC 1250 over the Tm and TIB tunnels. The BSF 1270, at S12 sends to each of the NAFs, the failure or success status of the security association attempt specific to that NAF. All the NAFs which have received a success status, at S13, store the keys (Ks_int/ext_NAF), bootstrap time, and associated key lifetime.
[0081] Part-3: The key establishment between a terminal and a UICC
1260 (Ks Jocal)
[0082] The Part-3 is the process of local key establishment between the
UICC 1260 and the Terminal. The advantages of this part, compared with the prior art, are as follows: The use of the two TLS-PSK tunnels which secure the exchange of the information between the UICC 1260 and the IKC 1250, and between the IKC 1250 and the BSF 1270. Secondly, the UICC 1260 and the Terminal, with the help of the IKC 1250 and the BSF 1270, establish multiple
local keys, each specific to a different NAF, without the Terminal having to establish multiple OTA connections with the different external NAF key centers, as is required in the prior art.
[0083] Figure 17 shows the detailed steps of Part-3. The IKC 1250, at
Sl, checks whether a current and valid Ks exists on UICC 1260. If positive, the IKC 1250 retrieves the B-TID and one or more NAFJDs from the UICC 1260. When there is no current or valid Ks, a new GBA_U process is initiated to establish a Ks, after which the B-TID and one or more NAFJDs are retrieved by the IKC 1250 from the UICC 1260. All of the information exchange between the UICC 1260 and the IKC 1250 required for the above procedures is provided over the TLS-PSK tunnel Tm. The IKC 1250, at S2, sends an application request to the BSF 1270 for one or more keys KsJKC 1250 JvTAFs, each corresponding to the NAFJD of the NAF requested. The IKC 1250 also sends the B-TID, and one or more NAFJDs along with corresponding RANDy nonces over the TLS-PSK tunnel Tm. The BSF 1270 computes one or more IKC 1250 keys KsJKC 1250J1TAF(S), each specific for each of the NAFs requested, wherein: KsJKC 1250JS[AF = KDF ( Ks Jnt JSTAF, RANDy ). Then, the BSF 1270, at S3, sends an application response containing all of the KsJKC 1250JNTAF keys and their respective (NAF-specific) key lifetimes to the IKC 1250. The IKC 1250, at S4, generates the counter limit values (each specific to an associated one of the requested NAFs) and derives one or more local keys Ksjocal(s), where Ksjocal = KDF (KsJKC 1250 JMAF, B-TID, Terminal JD, ICCID, Terminal_appliJD, UICC_appliJD, RANDx, Counter Limit). It should be noted that in the case where the local key is a platform specific key, the UICC_appliJD and the Terminal_appliJD octet strings are set equal to the static ASCII-encoded string "platform". The IKC 1250, at S5, sends an application request message to the UICC 1260, over the tunnel Tm, requesting the UICC 1260 to create a Ksjocal specific to a NAFJD. The payload of this request contains the NAFJD, the Terminal JD, the Terminal_appliJD, the UICC_appliJD, RANDx, RANDy, and the Counter Limit value. The Terminal also includes a
MACiKC which is computed as MACIKC = HMAC-SHA-256(Ks_local, NAFJD I I TerminalJD | | ICCID | | Term_appli_ID | | UICC_appli_ID | | RANDx I I RANDy | | Counter Limit) truncated to 16 octets. It should be noted that in the case where this is a platform specific key, the UICC_appli_ID and the Teπninal_appli_ID octet strings are set to be equal to the static ASCII- encoded string "platform". The UICC 1260 retrieves the Ks_int_NAF and B- TID associated with the received NAFJD, initially derives KsJKC 1250_NAF according to KsJKC 1250_NAF = KDF (KsJnt_NAF, RANDy) and then derives Ksjocal, wherein Ksjocal = KDF (KsJKC 1250_NAF, B-TID, TerminalJD, ICCID, Terminal_appliJD, UICC_appliJD, RANDx, Counter Limit). The UICC 1260, at S6, verifies the MACIKC 1250 value received from the terminal by computing MACuicc = HMAC-SHA-256(KsJocal, NAFJD | | TerminalJD | | ICCID | | Teπn_appliJD | | UICC_appliJD | | RANDx | | RANDy I | Counter Limit) truncated to 16 octets, and comparing it to MACIKC. If the MACuicc does not equal MACIKC, the UICC 1260 terminates the key agreement procedure and returns a MAC verification failure message in response to the Ksjocal derivation request. If MACUICC=MACIKC, then the UICC 1260 stores Ksjocal and associated parameters (TerminalJD, TerminaLappliJD, UICC_appliJD and the Ksjocal Counter Limit). At S7 the UICC 1260 sends a Ksjocal derivation response containing a MAC of the ASCII-encoded string "verification successful" using the key Ksjocal and the MAC algorithm HMAC-SHA-256 truncated to 16 octets. The IKC 1250, at S8, stores the Ksjocal and Key Lifetime. For each of the NAFs for which a local key Ksjocal is requested, steps S4 to S8 are repeated.
[0084] In the methods described above, in an alternative embodiment the pre-shared keys KUH and the KIH are not used directly, but are used as pre- shared secrets, and the actual shared keys are derived from these pre-shared secrets. The derived shared keys can be updated, i.e., they become session keys. In this way, even if a session key derived from either KUH or Km is revealed, the secret itself may still be protected.
[0085] Referring to the TLS-PSK tunnels discussed above, other methods of authenticated encryption using pre-shared secrets can be used as an alternative. One alternative embodiment combines the use of the Extensible Authentication Protocol (EAP) over Remote Authentication Dial-In User Service (RADIUS). Such an alternate method can be applied to all three (3) parts of the new proposed protocols described further below. [0086] Additionally, in the procedures described above, TLS can be used without tunneling, i.e., TLS is used only for encryption and authentication, but not for authorization.
[0087] The requirement that permeates the methods described above, the pre-shared secret keys or session keys derived from pre-shared secret keys are used to protect the GBA_U, Security Association, and the Local Key generation processes are required only for the case where the local key Ksjocal has to be generated for the first time. If, under the protection of the mechanisms proposed herein, a local key Ks_local is generated and made securely present on both the UICC 1260 and the Terminal (even after power- off of the phone or removal of the UICC), and if the Ks_local is maintained (for management purposes) at the NAF Key Center, there is no need for the procedures proposed to be repeated at later times when any of the three (3) processes, that is, GBA_U, Security Association, or Local Key derivation process, has to take place again. This is because, in such cases, the already- generated and securely-stored local key Ks_local can be used, instead of the pre-shared secrets (or keys) proposed in this disclosure, to protect the integrity and confidentiality of the information flow in the original, unmodified processes (GBA_U, Security Association, and Local Key Derivation) inst, as well as in the NAF Key Center.
[0088] The new methods proposed above are also applicable, with slight modification, to the existing protocols of securitizing the channel between a UICC 1260-hosting device and a Remote Device. [0089] Use of the MTM to secure the IKC 1250
[0090] A mobile trusted module (MTM) may be used on the mobile phone (UE) to protect the integrity of the Internal Key Center (IKC 1250) and the data it handles and processes in order to execute the proposed methods (see Part-1, Part-2, and Part-3 described above) of enhanced GBA_U, security association, and local key establishment for secure channels between the UICC 1260 and the Terminal.
[0091] Figure 18 depicts how the MTM 1240 can be used for the modified GBAJJ process (Part-1) described in Section 4.3. The MTM 1240 is primarily used to verify the integrity of the IKC 1250 before the IKC 1250 proceeds with the GBAJlJ process. The MTM 1240 is also used to securely store, either within itself (under a secure, non-volatile NVRAM) or by protecting an encryption key that is used for encryption of the keys needed for the tunneling between the IKC 1250 and the BSF 1270 as well as between the IKC 1250 and the UICC 1260. The MTM 1240 is also used to generate random numbers to be used as nonces in the TLS-PSK tunnels. [0092] Similarly as described above for the Part 1 (GBAJJ) process, the
Part-2 (Security Association) and Part 3 (local key generation) steps proposed above can also be strengthened by using the MTM 1240 in a similar manner. The MTM 1240 is used to: verify the integrity of the IKC 1250 before each of the processes; secure, store and allow the IKC 1250 to retrieve keys and other sensitive material that the IKC 1250 either generates or receives from other entities such as the UICC 1260 and the BSF 1270; and generate random numbers to be used for nonces for each of the processes.
[0093] Figure 19 shows the use of the MTM 1240 with the Terminal and the IKC 1250. The MTM 1240 may also be used to verify the integrity of the Terminal when the IKC 1250 is separate from the Terminal, which is considered to be less trustworthy or secure than the IKC 1250. This enables the Terminal to securely retrieve and later use the local keys Ks Jocal derived between the UICC 1260 and the IKC 1250 and by the UICC 1260 and the Terminal. Referring to Figure 19, using the key Ks Jocal derived between the UICC 1260 and the IKC 1250 (see the end of Part-3), the IKC 1250 securely
stores the Ks_local either within the MTM 1240 or under cryptographic protection by the MTM 1240. Any platform or application specific keys derived from the Ks_local are also securely stored in the same way by the MTM 1240. Before the Terminal (separate from the IKC 1250) can use the Ks_local or any of the keys derived from it, the Terminal, at Sl, requests the IKC 1250 for use of the local key. The IKC 1250, at S2, asks the MTM 1240 to verify the integrity of the Terminal. The MTM 1240, at S3, verifies the integrity of the Terminal. Only after the Terminal's integrity is verified to the Terminal and the IKC 1250 by the MTM 1240, at S3 and S4, does the IKC 1250, at S5, authorize the MTM 1240 to release the keys requested by the Terminal to be used for communication between the Terminal and the UICC 1260. The local key(s) are released to the Terminal by the MTM 1240 at S6. The Terminal uses the local keys to establish secure channel(s) with the UICC 1260, at S7. [0094] Some of the benefits of the proposed solution are set forth below.
The steps S2, S3, and S4 of Figure 19 allow a Iralk' transfer and processing of the keys and key material between the IKC 1250 and the BSF 1270, where material for more than one NAF can be exchanged and processed to derive Ks_local keys specific to the NAFs, thereby reducing the number of OTA procedures that are required if the derivation of the Ks_local for multiple NAFs is performed according to the prior art. Secondly, the information exchanged between the UICC 1260 and the IKC 1250, and between the IKC 1250 and the BSF 1270, is now protected for both integrity and confidentiality, due to the use of the two TLS-PSK tunnels. This mitigates the privacy and potential security risks in the prior art due to problems described above. This benefit is applicable not only to the process of the local key establishment but also to the GBA_U and security association processes as well. Thirdly, the use of separate shared secrets Km and Km, neither of which are traceable to the existing subscriber secret K, isolates the process of the tunneling to the subscriber secrets shared by the UICC 1260 and the HLR/HSS 1280, which reduces the security risk as a potential breach of the Km and KIH keys will not reveal the subscriber secret. Fourthly, the use of the IKC 1250 adds security
benefits because IKC 1250 is a trusted entity whose trustworthiness is protected (verifiable and attestable) by the MTM 1240 on the WTRU 1200. Since the local keys (Ks_local) and key material are handled by the trusted IKC 1250, and also because the IKC 1250 can use the MTM 1240's secure storage capability to keep this information as well as the MTM 1240's protected capabilities such as the random number generator for the creation of the RANDx and RANDy, the overall processing security is enhanced. Finally, the use of the MTM 1240 to verify the integrity of the IKC 1250 (and of the terminal when the IKC 1250 and the terminal are separate entities), to securely store keys and key material, and to securely generate random numbers to be used as nonces, adds to the security and trustworthiness of the processes (Part-1 to Part-3) to establish the local keys and also allowing the Terminal to use the local keys generated by the IKC 1250 and the UICC 1260 only after the integrity of the local keys is verified by the MTM 1240. [0095] Although the features and elements of the present invention are described in the preferred embodiments in particular combinations, each feature or element can be used alone without the other features and elements of the preferred embodiments or in various combinations with or without other features and elements of the present invention. The methods or flow charts provided in the present invention may be implemented in a computer program, software, or firmware tangibly embodied in a computer-readable storage medium for execution by a general purpose computer or a processor. Examples of computer-readable storage mediums include a read only memory (ROM), a random access memory (RAM), a register, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD- ROM disks, and digital versatile disks (DVDs).
[0096] Suitable processors include, by way of example, a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a plurality of microprocessors, one or more microprocessors in association with a DSP core, a controller, a microcontroller,
Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) circuits, any other type of integrated circuit (IC), and/or a state machine.
[0097] A processor in association with software may be used to implement a radio frequency transceiver for use in a wireless transmit receive unit (WTRU), user equipment (UE), Terminal, ME, base station, radio network controller (RNC), or any host computer. The WTRU may be used in conjunction with modules, implemented in hardware and/or software, such as a camera, a video camera module, a videophone, a speakerphone, a vibration device, a speaker, a microphone, a television transceiver, a hands free headset, a keyboard, a Bluetooth® module, a frequency modulated (FM) radio unit, a liquid crystal display (LCD) display unit, an organic light-emitting diode (OLED) display unit, a digital music player, a media player, a video game player module, an Internet browser, and/or any wireless local area network (WLAN) module.
EMBODIMENTS
1. A method for establishing secure communication, the method comprising: a) requesting establishment of a TLS-PSK tunnel between an internal key center (IKC) and a bootstrapping server function (BSF); b) retrieving a plurality of pre-shared keys from a home subscriber system/home location register (HSS/HLR); c) establishing a TLS-PSK tunnel between the IKC and the BSF; d) transmitting, from the BSF, at least one of the plurality of pre-shared keys over the tunnel to the IKC; e) establishing a TLS-PSK tunnel between a UICC and the IKC; and f) establishing of at least one subscriber authentication key between UICC and BSF.
2. A method as in any one of the preceding embodiments, further comprising: sharing a pre-provisioned symmetric key directly with the IKC.
3. A method as in any one of the preceding embodiments, further comprising: transmitting multiple keys to the IKC; and validating with the UICC until the proper key is identified.
4. A method as in any one of the preceding embodiments, wherein validating includes: a challenge-response-type key validation.
5. A method as in any one of the preceding embodiments, further comprising: receiving evidence of a pre-shared key from the UICC; transmitting the evidence to the BSF; and identifying a correct key out of the plurality of pre-shared keys.
6. A method as in any one of the preceding embodiments, further comprising receiving a request message, wherein the request message includes an IKC identifier as a payload.
7. A method as in any one of the preceding embodiments, wherein a pre-shared key is used to establish TLS-PSK tunnel between the IKC and the BSF,
8. A method as in any one of the preceding embodiments, wherein a pre-shared key is used to establish a tunnel between the UICC and the IKC.
9. A method as in any one of the preceding embodiments, further comprising: constructing an NAF identifier, by the UICC.
10. A method as in any one of the preceding embodiments, wherein the IKC and the BSF use public-key based encryption and decryption for the IKC identifier.
11. A method as in any one of the preceding embodiments, further comprising: choosing from a plurality of different public keys, where in public keys are broadcast from the network.
12. A method as in any one of the preceding embodiments, wherein a Diffie-Hellman key exchange protocol is used.
13. A method of computing a common index into a public key set, the method comprising: agreeing on two values, by a network and the IKC, wherein the two values include a prime number P and a generator S • the network selecting a random number (RANDy; computing g™<* ≡ 8^' m°dp ; the network sending 8RAND- to the IKC ( l ≤ RAND' ≤ p ~ 2); the IKC computing a random number (FRESH), wherein*™™ 55 * modp ; sending *™s» to the network ( l ≤ FRESH ≤ p ~ 2); the network computing k ≡ gpRES" modp ; and the IKC computes k ≡ SRAN* modp .
14. A method as in any one of the preceding embodiments, further comprising: encrypting the message containing an IKC identifier.
15. A method as in any one of the preceding embodiments, further comprising: exchanging the public key during the TLS-PSK tunneling establishment process.
16. A method as in any one of the preceding embodiments, further comprising: a TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA ciphersuites for a DH-enabled TLS-PSK.
17. A method as in any one of the preceding embodiments, further comprising: a TLS_DHE_PSK_WITH_AES_128_CBC_SHA for a DH-enabled TLS-PSK.
18. A method as in any one of the preceding embodiments, further comprising: a TLS_DHE_PSK_WITH_AES_256_CBC_SHA for a DH-enabled TLS-PSK.
19. A method for security association, the method comprising: exchanging information between a UICC and an IKC and between the IKC and the BSF, wherein the UICC, IKC, and BSF use a TSL- PSK tunnel to secure the exchange.
20. A method as in any one of the preceding embodiments, further comprising: checking for a valid subscriber authentication key on the UICC.
21. A method as in any one of the preceding embodiments, further comprising: retrieving an identity data of the NAFs with whom the UICC wants to establish security association from UICC over an established tunnel
(TUI).
22. A method as in any one of the preceding embodiments, further comprising: the UICC deriving a plurality of NAF specific keys.
23. A method as in any one of the preceding embodiments, further comprising: initiating a general bootstrapping architecture with UICC-based enhancements (GBA_U) for establishing of the subscriber authentication key.
24. A method as in any one of the preceding embodiments, further comprising: transmitting the identity data from the IKC to the BSF over one of the plurality of tunnels.
25. A method as in any one of the preceding embodiments, further comprising: transmitting an authentication request to at least one NAF
26. A method as in any one of the preceding embodiments, further comprising:
receiving at least one authentication response from the NAF at the BSF.
27. A method as in any one of the preceding embodiments, further comprising: the BSF deriving a plurality of NAF specific keys.
28. A method as in any one of the preceding embodiments, further comprising: forwarding a plurality of NAF specific keys, a bootstrap time, and a key lifetime from the BSF to a plurality of NAFs.
29. A method as in any one of the preceding embodiments, further comprising: transmitting, from the NAF to the BSF, an acknowledgement message indicating the receipt of the NAF specific keys, the key lifetime, and the bootstrap time.
30. A method as in any one of the preceding embodiments, further comprising: transmitting a bulk security association message from the BSF to the IKC, where the bulk security association message contains a plurality of NAF message authentication codes (MACNAF), each corresponding to a particular NAF.
31. A method as in any one of the preceding embodiments, further comprising: the IKC forwarding the bulk security association message received from the BSF, to the UICC.
32. A method as in any one of the preceding embodiments, further comprising: computing a MACmcc_SAat the UICC that is specific to the NAF.
33. A method as in any one of the preceding embodiments, further comprising: creating a bulk security association response message by the UICC.
34. A method as in any one of the preceding embodiments, further comprising: detecting a failure in the session if the MACIKC to a corresponding MACmcc_SAfor the NAFs does not match.
35. A method as in any one of the preceding embodiments, further comprising: detecting a success if MAC1KC matched its corresponding
MACUICC_SA.
36. A method as in any one of the preceding embodiments, further comprising: transmitting a success response using the NAF specific key and a MAC algorithm.
37. A method as in any one of the preceding embodiments, further comprising: transmitting the bulk security association response message to the BSF via the IKC over a plurality of tunnels.
38. A method as in any one of the preceding embodiments, further comprising:
indicating, by the BSF to the NAF the failure or success status of the security association attempt.
39. A method as in any one of the preceding embodiments, further comprising: receiving a success status at the NAF; and storing the NAF specific keys, bootstrap time, and an associated key lifetime.
40. A method for establishing a key between a terminal and a UMTS Integrated Circuit Card (UICC), the method comprising: exchanging information in a secure manner using two TLS-PSK tunnels.
41. A method as in any one of the preceding embodiments, further comprising: identifying the presence, by the internal key center (IKC), of at least one valid subscriber authentication key on the UICC; and retrieving a bootstrapping transaction identifier and at least one network application function (NAF) identifier from the UICC.
42. A method as in any one of the preceding embodiments, further comprising: initiating a general bootstrapping architecture with UICC-based enhancements (GBAJLJ) process to establish the least one subscriber authentication key; and retrieving the bootstrapping transaction identifier and the least one NAF identifier from the UICC.
43. A method as in any one of the preceding embodiments, further comprising:
transmitting information exchange between the UICC and the IKC over a TLS-PSK tunnel.
44. A method as in any one of the preceding embodiments, further comprising: transmitting an application request from the IKC to the bootstrapping server function (BSF) for at least one IKC key, each corresponding to the NAF identifier of the NAF requested; and the IKC transmitting the bootstrapping transaction identifier, and at least one NAF identifier along with a plurality of corresponding random challenges generated by the ICK for Ks_IKC_NAF (RANDy) nonces.
45. A method as in any one of the preceding embodiments, further comprising: computing at least one IKC key, each specific for each of the NAFs requested.
46. A method as in any one of the preceding embodiments, further comprising: transmitting an application response containing the at least one IKC key and a key lifetime to the IKC.
47. A method as in any one of the preceding embodiments, further comprising: the IKC generating at least one counter limit value; and deriving at least one local key.
48. A method as in any one of the preceding embodiments, further comprising: the IKC transmitting an application request message to the UICC, over the tunnel TUI; and
requesting the UICC to create a local key specific to an NAF identifier wherein the request contains the NAF identifier, a terminal identifier, the terminal application identifier, the UICC application identifier, and the counter limit value.
49. A method as in any one of the preceding embodiments, wherein the terminal further comprises: computing a MACIKC
50. A method as in any one of the preceding embodiments, further comprising: the UICC retrieving the Ks_int_NAF and bootstrapping transaction identifier associated with the received NAF identifier.
51. A method as in any one of the preceding embodiments, further comprising: deriving IKC-NAF key based on the int_NAF key, and the RANDy.
52. A method as in any one of the preceding embodiments, further comprising: the UICC deriving a local key wherein the local key is determined as a function of the IKC-NAF key, the bootstrapping transaction identifier, the terminal identifier, integrated circuit card identification (ICCID), the terminal application identifier, the UICC application identifier, the RANDx, and the Counter Limit.
53. A method as in any one of the preceding embodiments, further comprising: the UICC verifying the MACIKC value received from the terminal.
54. A method as in any one of the preceding embodiments, further comprising:
UICC terminating the key agreement procedure; and returning a MAC verification failure message in response to the local key derivation request.
55. A method as in any one of the preceding embodiments, further comprising: the UICC storing the local key and associated parameters; and the UICC transmitting a local key derivation response containing a MAC of an ASCII-encoded string using the key local key and the MAC algorithm.
56. A method as in any one of the preceding embodiments, further comprising: the IKC storing the local key and the key lifetime.
57. A method as in any one of the preceding embodiments, further comprising: deriving actual shared keys from the local keys; and updating the derived shared keys.
58. A method as in any one of the preceding embodiments, further comprising authenticating and encrypting combines the extensible authentication protocol over remote authentication dial-in user service.
59. A method of communicating securely using an internal key center, the method comprising: securing the key using a mobile trusted module (MTM) on the mobile phone (UE).
60. A method as in any one of the preceding embodiments, further comprising: the IKC storing the local key within the MTM.
61. A method as in any one of the preceding embodiments, further comprising: storing any platform or application specific keys derived from the local key by the MTM.
62. A method as in any one of the preceding embodiments, further comprising: the terminal requesting the IKC to use the local key, prior to using the local key.
63. A method as in any one of the preceding embodiments, further comprising: the IKC requesting for the MTM to verify the integrity of the terminal.
64. A method as in any one of the preceding embodiments, further comprising: the MTM verifying the integrity of the terminal.
65. A method as in any one of the preceding embodiments, further comprising: the IKC authorizing the MTM to release a plurality of keys requested by the terminal to be used for the communication between itself and the UICC.
66. A method as in any one of the preceding embodiments, further comprising: releasing at least one local key from the MTM to the terminal.
67. A method as in any one of the preceding embodiments, further comprising: the terminal transmitting local keys to establish at least one secure channel with the UICC.
68. A method as in any one of the preceding embodiments performed by the UICC.
69. A method as in any one of the preceding embodiments performed by the BSF.
70. A method as in any one of the preceding embodiments performed by a wireless transmit/receive unit (WTRU).
71. A method as in any one of the preceding embodiments performed by a base station.
72. A method as in any one of the preceding embodiments performed by the IKC.