This application is based on and hereby claims priority to German Application No. 10352538.6 filed on Nov. 11, 2003 and German Application No. 10358987.2 filed on Dec. 16, 2003, the contents of which are hereby incorporated by reference.
1. Field of the Invention
The invention relates to a method for safeguarding data traffic between a first terminal and a first network and a second terminal and a second network. The invention also relates to a corresponding first and a corresponding second terminal, with which such a method can be implemented.
2. Description of the Related Art
Users of mobile telephones today have to be able to access not just a mobile radio network but also further networks, e.g. the internet, via a suitable access network. In the case of internet access it is particularly desirable for the transmitted data to be displayed not on the mobile telephone but on a further terminal, e.g. a laptop.
Methods are known with which a first terminal in the form of a mobile telephone, containing a SIM or USIM module (SIM=Subscriber Identity Module; USIM=Universal Subscriber Identity Module), connects via a local interface to a second terminal in the form of a laptop, the laptop allowing access to a further network, e.g. a WLAN network and/or the internet. The second terminal is hereby authenticated to the further network via an authentication protocol, with keys being used in the protocol, which go back to the SIM or USIM module. Suitable authentication protocols that can be used are for example the following: EAP-SIM (EAP=Extensible Authentication Protocol; SIM=Subscriber Identity Module; see, H. Haverinen et al. “EAP SIM Authentication”, internet draft, draft-haverinen-pppext-eap-sim-12, Oct. 2003; www.ieff.org/internet-drafts/draft-haverinen-pppext-eap-sim-12.txt) or EAP-AKA (EAP=Extensible Authentication Protocol; AKA=Authentication Key Agreement; see, J. Arkko et al., “EAP AKAAuthentication”, internet draft, draft-arkko-pppext-eap-aka-11, Oct. 2003; www.ieff.org/internet-drafts/draft-arkko-pppext-eap-sim-11.txt). The protocol EAP-SIM is hereby used for GSM mobile telephones and the protocol EAP-AKA is used for UMTS mobile telephones.
The authentication protocols EAP-SIM and EAP-AKA require both communication with the network and involvement of the SIM or USIM module in the authentication. This means that both the second terminal and the first terminal are involved in the execution of the authentication protocol. An exchange of data is therefore required between the second terminal and the first terminal via a local interface, e.g. a Bluetooth interface. Authentication data is thereby transmitted via this interface by a suitable profile for the purposes of authentication. Bluetooth profiles in particular, e.g. the Bluetooth SIM Access Profile (see, “SIM access via ‘SIM Access Profile’ and Bluetooth link”, contribution S3-030436 to the 3GPP meeting SA3#29, San Francisco, 15-18 Jul. 2003; ftp.3gpp.org/TSG_SA/WG3 Security/TSGS3 29 SanFran/Docs/ZIP/S3-030436.zip; revised text of version 0.95VD_d, attachment att2), are known as suitable profiles from the known art. First session keys, which are actually used for communication between the mobile telephone and the corresponding mobile radio network, are transmitted via the local interface. These first session keys are then used to calculate new session keys in the second terminal, with which new session keys the authentication operates via the authentication protocol. It can be problematic here for the first session keys to be known in the second terminal. This means that an attacker, who gains control of the second terminal, also has access to the first session keys and can impersonate the user of the first terminal, for example making calls at the user's expense in the first network.
An aspect of the invention is therefore to create a method for safeguarding data traffic between a first terminal and a first network and a second terminal and a second network that satisfies more stringent security requirements. The method is intended in particular to protect against the attack described above.
With this method a first terminal is used, which can communicate with the aid of one or more first session keys in a first network as is a second terminal, which can communicate with the aid of one or more second session keys in a second network. In the method the first terminal is connected to the second terminal via a local interface. The first session key(s) is/are determined in the first terminal and the second session key(s) is/are derived from the first session keys. The second session key(s) is/are transmitted via the local interface by a security protocol to the second terminal. The second terminal is finally authenticated to the second network via an authentication protocol with the aid of the second session key(s) and/or with the aid of keys derived from the second session key(s). The method is based on the idea that the first session key(s) is/are not available to the second terminal. Therefore functions that are actually executed by the second terminal are moved to the first terminal. In particular the second session key(s) is/are derived from the first session keys in the first terminal. Therefore an attacker, who gains control of the second terminal, is no longer able to access the first session keys and cannot therefore access the first network.
In a preferred variant the authentication protocol is configured such that the keys derived from the second session key(s) are generated as part of the protocol and used to protect the messages of the authentication protocol and/or to protect communication in the second network.
In one embodiment the first network is a GSM network and the first session key(s) is/are hereby generated in a SIM module on the first terminal. In this instance the authentication protocol is preferably the protocol EAP-SIM (EAP=Extensible Authentication Protocol; SIM=Subscriber Identity Module). In an alternative embodiment the first network is a UMTS network and the first session key(s) is/are generated in a USIM module (USIM=Universal Subscriber Identity Module) on the first terminal. In this instance the authentication protocol is preferably EAP-AKA (EAP=Extensible Authentication Protocol; AKA=Authentication Key Agreement).
The local interface between the first and second terminals is preferably configured via a wireless interface. A Bluetooth and/or infrared interface in particular is an option.
The second network, which communicates with the second terminal in the method, is preferably a local network, in particular a LAN and/or WLAN network. The local network can in turn be connected to further networks, e.g. the internet.
In a further preferred variant of the invention the security protocol, with which information is exchanged between the first and second terminals, is configured as follows:—a first signaling message from the second terminal is sent to the first terminal, the first signaling message initiating the derivation of the second session key(s) from the first session keys in the first terminal;
in response to the first signaling message a second signaling message is sent from the first terminal to the second terminal, with the second session key(s) being transmitted with the second signaling message.
The second session key(s) is/are hereby transmitted in a simple manner from the first terminal to the second terminal. In a preferred variant parameters from the authentication protocol are transmitted with the first signaling message. The security protocol is preferably an extended Bluetooth SIM Access Profile protocol, containing the first and second signaling messages. The precise specifications and requirements for such an extended protocol are defined in the special description.
In addition to a data traffic safeguarding method, the invention may be implemented in a terminal, which is configured such that it can be used as the first or second terminal in the above-described method. The first terminal preferably determines the first session key(s) and derives the second session key(s) from the first session keys.
These and other objects and advantages of the present invention will become more apparent and more readily appreciated from the following description of the preferred embodiments, taken in conjunction with the accompanying drawing of which:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the scenario in
The invention is described in detail below with reference to two exemplary embodiments. In the first exemplary embodiment the first terminal is a GSM mobile telephone with a SIM module and in the second exemplary embodiment it is a UMTS mobile telephone with a USIM module.
In the first exemplary embodiment the EAP-SIM protocol (see, Haverinen et al.) an authentication protocol for authentication to the WLAN network is used. It is assumed that the SIM module of the mobile telephone is only involved in a so-called full authentication (see, Haverinen et al., clause 3) and not a so-called re-authentication (see, Haverinen et al., clause 4.3). The exact message flow of the authentication process is described in clause 3 of Haverinen et al. (see in particular
The mobile telephone 1 receives from the laptop 4 the protocol identity (EAP-SIM), two or three GSM challenges RAND and the parameters “Identity”, “NONCE_MT”, “Version List” and “Selected Version”. The parameters “Identity”, “NONCE_MT”, “Version List” and “Selected Version” are described in more detail in Haverinen et al. The mobile telephone forwards each of the received RANDs one after the other to its SIM module. The next RAND can only be forwarded to the SIM module, when the module has given its response to the previous RAND.
The following functions are executed for each RAND on the SIM module: Execution of the GSM algorithms A3/A8, as described in GSM Technical Specification GSM 03.20 (ETSI TS 100 929): “Digital cellular telecommunication system (Phase 2+); Security related network functions”, European Telecommunications Standards Institute, July 1999, i.e. derivation of a response SRES and a GSM session key Kc. The parameters SRES and Kc are transferred from the SIM to the mobile telephone. Thus at the end of the communication with the SIM the mobile telephone has two or three responses SRES and two or three session keys Kc, depending on the number of RANDs received. The session keys Kc represent the first session keys.
The mobile telephone then calculates the EAP-SIM master key MK—as described in Haverinen et al., clause 4.6—according to the following formula (MK hereby represents a second session key):
In the above formula “|” means concatenation. Identity refers to the peer identity of the string without the zero characters at the end. It is the identity of the AT_IDENTITY attribute of the last EAP-Response/SIM/Start Packet or if no AT_IDENTITY was used, the identity of the EAP-Response/Identity Packet. The identity string is used without change and includes the possible identity decoration. The notation n*Kc refers to the n concatenated Kc values. The Kc keys are used in the same sequence as the RAND challenges in the AT_RAND attribute. NONCE_MT refers to the NONCE_MT values (not the AT_NONCE_MT attribute, just the NONCE value). The “Version List” typically comprises 2-byte version numbers of the AT_VERSION_LIST in the same sequence as in the attribute. The “Selected Version” is a 2-byte version of AT_SELECTED_VERSION. The network byte order is used, just as in the attributes. The hash function SHA-1 is specified in Federal Information Processing Standard (FIPS) Publication 180-1, “Secure Hash Standard”, National Institute of Standards and Technology, US Department of Commerce, Apr. 17, 1995. If a number of EAP/SIM/Start Loops are used in an EAP/SIM exchange, the parameters NONCE_MT, “Version List” and “Selected Version” from the last EAP/SIM/Start Loop are used and the earlier EAP/SIM/Start Loops are ignored.
The laptop then calculates all further keys from MK, in particular so-called session keys. The laptop also carries out the check “verifies AT_MAC” shown in
An extended Bluetooth SIM Access Profile is used to transmit the parameters required to calculate the master key in the mobile telephone 1. The message “TRANSFER_APDU_REQ” used in the existing SIM Access Profile is extended to include the parameters “AuthProt”, “EAP-Id”, “NONCE_MAT”, “Version List” and “Selected Version”. Transmission of the EAP-Id is optional, if the mobile telephone can derive the EAP-Id from its own data. Two or three GSM challenges RAND also have to be transmitted. Transmission of these challenges is already considered in “SIM access via ‘SIM Access Profile’ and Bluetooth link.”
The parameters used in the extended Bluetooth SIM Access Profile are described in more detail below:
Parameter: AuthProt
This parameter indicates the authentication protocol used.
Parameter: EAP-Id
This parameter contains the EAP identity of the user (permanent identity or pseudonym identity as set out in Haverinen et al., clause 4.6) used to derive the master key.
Parameter: “NONCE_MT”
This parameter contains the NONCE_MT value of the EAP peer (as set out in Haverinen et al., clause 4.6) used to derive the master key.
Parameter: “Version List”
This parameter contains the Version List (as set out in Haverinen et al., clause 4.6) used to derive the master key.
Parameter: “Selected Version”
This parameter contains the Selected Version of the EAP peer (as set out in Haverinen et al., clause 4.6) used to derive the master key.
The message “TRANSFER_APDU_RESP” is contained in the current specification of the SIM Access Profile (see “SIM access via ‘SIM Access Profile’ and Bluetooth link,” clause 5.2). This message should be extended to include the parameter “MK”. Two or three GSM responses SRES also have to be transmitted. Transmission of the GSM responses is already considered in “SIM access via ‘SIM Access Profile’ and Bluetooth link.”
Parameter: MK
This parameter contains the master key calculated in the mobile telephone according to Haverinen et al., clause 4.6.
When using a UMTS mobile telephone the EAP-AKA protocol it is known to use the authentication protocol for authentication in the WLAN network 6 (see, J. Arkko et al.). Authentication here takes place as in J. Arkko et al., clause 3 (see the figure in particular). It is assumed that the USIM module and the mobile telephone are only involved in a full authentication (see document [2], clause 3) and not a re-authentication (see J. Arkko et al., clause 4.2). The mobile telephone executes the following functions, the parameters below being described in more detail in J. Arkko et al.:
The mobile telephone receives the protocol identity (EAP-AKA), the AKA challenge RAND|AUTN and the parameter “Identity” from the laptop and forwards RAND and AUTN to the USIM module. The parameter “Identity” here refers to the identity used by the user in EAP, as described in more detail in J. Arkko et al., clause 4.5.
The following functions are executed on the USIM:
Execution of the UMTS algorithms f1 to f5 and f5*, as described in 3GPP Technical Specification 3GPP TS 33.102 V5.3.0: “Technical Specification Group Services and System Aspects; 3G Security; Security Architecture (release 5)”, 3rd Generation Partnership Project, September 2003; ftp.3gpp.org/Specs/latest/Rel-5/33_series/, in particular verification of AUTN and MAC and derivation of the response RES and the AKA session keys CK and IK, which represent the first session keys. The parameters RES, CK and IK are transferred from the USIM module to the mobile telephone.
The mobile telephone then calculates the EAP-AKA master key MK—as described in J. Arkko et al., clause 4.5—according to the following formula (MK hereby represents a second session key):
MK=SHA1(Identity|IK|CK)
and sends MK and RES to the laptop.
In the above formula “|” means concatenation. Identity refers to the peer identity string without the zero characters at the end. This identity is the identity of the AT_IDENTITY attribute of the last EAP-Response/AKA-Identity Packet or, if the AT_IDENTITY was not used, the identity of the EAP-Response/ldentity Packet. The identity string is used without change and only includes the possible identity decoration. The hash function SHA-1 is specified in FIPS Publication 180-1.
The laptop then calculates all further keys from MK, in particular the session keys mentioned in clause 3 of J. Arkko et al. The key derivation for calculating MK from CK and IK is sufficient to prevent the laptop being able to draw conclusions relating to CK and IK.
To transmit the parameters required to calculate the master key in the mobile telephone, an extended Bluetooth SIM Access protocol is used, with which the parameters are transmitted via the local Bluetooth interface. The parameters used in the extended Bluetooth SIM Access Profile are described in more detail below:
The message “TRANSFER_APDU_REQ” is contained in.the current specification of the SIM Access Profile, see “SIM access via ‘SIM Access Profile’ and Bluetooth link,” clause 5.2. This message should be extended to include the parameters “AuthProt” and “EAP-Id”. The transmission of EAP-Id is optional, if the mobile telephone can derive EAP-Id from its own data. The AKA challenge RAND|AUTN also has to be transmitted. Transmission of the AKA challenge is already considered in “SIM access via ‘SIM Access Profile’ and Bluetooth link.”
Parameter: AuthProt
This parameter indicates the authentication protocol used.
Parameter: EAP-ld
This parameter contains the EAP identity of the user (permanent identity or pseudonym identity as set out in J. Arkko et al., clause 4.5) used to derive the master key.
The message “TRANSFER_APDU_RESP” is contained in the current specification of the SIM Access Profile, see “SIM access via ‘SIM Access Profile’ and Bluetooth link,” clause 5.2. This message should be extended to include the parameter “MK”. The AKA response RES also has to be transmitted. Transmission of the AKA response is already considered in “SIM access via ‘SIM Access Profile’ and Bluetooth link.”
Parameter: MK
This parameter contains the master key calculated in the mobile telephone according to J. Arkko et al., clause 4.5.
The invention has been described in detail with particular reference to preferred embodiments thereof and examples, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention covered by the claims which may include the phrase “at least one of A, B and C” as an alternative expression that means one or more of A, B and C may be used, contrary to the holding in Superguide v. DIRECTV, 69 USPQ2d 1865 (Fed. Cir. 2004).
Number | Date | Country | Kind |
---|---|---|---|
103 52 538.6 | Nov 2003 | DE | national |
103 58 987.2 | Dec 2003 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP04/52909 | 11/10/2004 | WO | 5/11/2006 |