The present invention relates to a method for provisioning a first communication device with a set of at least one credential required for accessing to a wireless network by using a second communication device, and is applicable to the field of the Internet of Things.
The 3GPP telecom industry is working on the definition of the Next Generation System corresponding to fifth generation (5G) wireless network. One of the key market drivers for 5G is massive deployment of Internet of Things (IoT) devices. As defined in recommendation ITU-T Y.2060, Internet of Things refers to a global infrastructure for the information society, enabling advanced services by interconnecting physical and virtual things based on existing and evolving interoperable information and communication technologies. Further, the expression IoT device refers to a piece of equipment with communication capabilities and optionally capacity of data capture, sensing, data storage, sensing and/or data processing.
Industry trends today is for the IoT device to have the ability to initially connect to the 5G network without prior subscription stored in the device, that is to say with no bootstrap subscription or any other subscription pre-provisioned in the IoT device. This is explained by the fact that the device manufacturers want to minimize stickiness with telecom operators.
In this description, a subscription refers to an agreement to receive or be given access to electronic services such as exchanging data over a telecommunication network. The subscription is materialized by the attribution of one or several credentials to a subscriber and/or to a device associated to this subscriber.
An IoT device is said activated when it comprises a set of at least one credential usable to set up a data connection with a wireless network. On the contrary, an IoT device is referred as non-activated when it does not comprises a set of at least one credential usable to set up a data connection with a wireless network.
Manual provisioning is a solution that can be considered for an IoT device that has not been yet activated. However, this option is not user friendly, time consuming, and the security level may not be the highest. Indeed, the credentials required for the activation need to be communicated to the user of the IoT device or employee in charge of provisioning the IoT devices in manufacturing premises, who will then be able to carry out the manual provisioning, for example by inserting a physical element containing the subscription such as an UICC within the IoT device.
A technology to securely and remotely provision an IoT device with a set of at least one credential is therefore needed.
The invention relates to a method for provisioning a first communication device with a set of at least one credential required for accessing to a wireless network by using a second communication device provisioned with a cryptographic key K also known by the wireless network, the first communication device being associated with a certificate comprising a public key PK, said certificate being stored with an associated private key PrK in said first communication device, the method comprising the following steps:
According to an example, K′ is generated using a derivation function F′ memorized by the second communication device.
According to an example, K″ is generated using a derivation function F″ memorized by the first communication device.
According to an example, F′ is an HMAC-SHA-256 function.
According to an example, F″ is an HMAC-SHA-256 function.
In one embodiment, the registration request is signed using key PrK.
The registration request is for example transmitted with a SessionID generated by the first communication device and certificate comprising public key PK.
According to one aspect of the invention, the method comprises a step for establishing a local communication link between the first and the second communication devices.
The communication link is established using for example Bluetooth Low Energy technology.
According to one aspect of the invention, the method can also comprise a step of verifying the state of the first communication device, the registration request being send if this state shows that the first communication device is activated.
In one embodiment, a subscription identifier IMSI′ is transmitted to the first communication device by the second communication device, the subscription identifier being provided by the wireless network together with R2, the subscription identifier being also ciphered using the public key PK.
The invention also relates to a second communication device configured to establish a data connection with a first communication device and to implement the method according to any of the preceding claims.
The invention also relates to a first communication device configured to be provisioned with a set of at least one credential required for accessing to a wireless network by using a second communication device provisioned with a cryptographic key K also known by the wireless network, the first communication device being associated with a certificate comprising a public key PK, said certificate being stored with an associated private key PrK in said first communication device, the first communication device being further configured to:
Additional features and advantages of the invention will be more clearly understandable after reading a detailed description of one preferred embodiment of the invention, given as an indicative and non-limitative example, in conjunction with the following drawings:
In this example, the system comprises a first communication device 101 which can be an IoT device that needs to be activated. The system also comprises a second communication device 102, for example a smartphone.
The second communication device is already provisioned with credentials, including a cryptographic key K, allowing it to establish a data connection with a wireless network 100. The skilled person will easily understand that the second communication device can also be provisioned with other needed data such a subscriber identifier of IMSI (International Mobile Subscriber Identifier) type. The wireless network comprises a computing unit 120, for example a server, adapted to generate credentials. According to the invention, the credentials are not transmitted to the first communication device 101. Instead, a set of parameters is transmitted 111 by the network 100 to the second communication device 102 for it to calculate an intermediate key K′ derived from the key K known by the second communication device 102 and the wireless network 100. Then, this intermediate key K′ is transmitted with one or several of the aforementioned parameters to the first communication device 101 for it to derive a second key K″. This second key is a credential that can then be used by the first communication device 101 to establish a direct connection 112 with the wireless network 100, that is to say with at least one computing unit 120 of the wireless network 100. The set of at least one credential comprise key K″ but can also comprise additional data, for example an identifier of the subscriber allocated by the network operator.
In this description, the invention is mainly described in the context of a first communication device benefiting of a local wireless connection established with a second communication device to set up an initial access to a wireless network for provisioning purposes. However, the local connection between the first 101 and the second 102 device can be of wired type. For example, a USB cable can be used for that purpose.
According to this example, a first communication device 201 needs to be activated in order to access to a wireless network. For that purpose, it uses a connection established with a second communication device 202. The second communication device 202 is adapted to establish a connection with a server 200 of a wireless network.
This activation of a subscription can be performed by implementing the steps described below.
Initially, a manual pairing between the first 201 and the second 202 wireless devices can be implemented. Then, a local connection 210 between the first 201 and second communication devices 202 can be established. As an example, this local connection is wireless and a technology such as Bluetooth Low Energy (BLE) can be implemented. This technology is particularly efficient for power saving. A pairing code can be configured by the user on its second wireless 202 device and then used by the second communication device 202 for establishing the local connection with the first communication device 201. The skilled person will understand that alternatives technologies such as WiFi can also be considered for establishing this radio link, depending on the capabilities of the two devices. Wired connection can also be considered, for example using a USB cable (Universal Serial Bus).
Then, the second communication device 202 acquires 211 from the first device 201 an information indicating if it is activated or non-activated. This can be done by requesting the first communication device 201 to read and transmit the value of an internal parameter STATE stored in its memory. This parameter can be configured in two states, for example STATE=ACTIVATED or STATE=DEACTIVATED. STATE parameter can be of Boolean data type.
If the first communication device 201 is not activated, it requests 212 for registration. As an example, the registration request is transmitted with a random session identifier SessionID and a certificate of the first communication device 201.
The certificate is stored in the first communication device 201 by its manufacturer. In a preferred embodiment, this certificate comprises a public key PK. The associated private key PrK is kept secret and memorized in the first communication device 201.
The session identifier SessionID is for example a sequence number managed by the first communication device 201. In a particular embodiment, this sequence number is incremented at the time of establishing a new communication session with the network. Such a communication session can be established through the second communication device 102 or directly with the wireless network 100. The first SessionID generated may be randomly produced by the first communication device 101, 201.
In one embodiment, the registration request message 212 can be advantageously signed using key PrK.
The second communication device 202 knows the address of the server 200 of the wireless network that is in charge of activating wireless devices by creating subscriptions and generating the associated credentials. It is therefore able to route 213 the request message to a targeted server 200 in the wireless network.
The server 200 then verifies if the certificate is valid. It also verifies the session identifier and the signature of the registration request. For example, the server 200 verifies that the received SessionID is greater than what it has already received or has not been used if any.
The server 200 is also responsible of generating two random numbers R1 and R2 which can be of integer type, for example. These are used to derive two session keys referred respectively as K′ and K″.
As an example, K′ is derived from K and R1 by applying a key derivation function F′. K″ is derived from K′ and R2 by applying a key derivation function F″:
K′=F′(K,R1)
K″=F″(K′,R2)
F′ and F″ are for example two HMAC-SHA-256 functions.
A subscriber identifier IMSI′ can also be generated for the first communication device if needed. According to a preferred embodiment, this identifier is an International Mobile Subscriber Identifier (IMSI). In that case, the value of the subscriber identifier is also generated or chosen among available IMSIs by the wireless network server and associated with K″.
Once the set of at least one credential associated to the new registration is available, the server 200 sends a response 214 to the registration request 213. In this example, this response comprises the random numbers R1, R2 and optionally the session identifier SessionID and the subscription identifier IMSI′, and can be noted:
Response(R1,Ciph_PK[SessionID,IMSI′,R2])
The notation Ciph_PK[SessionID, IMSI′, R2] is employed to show that SessionID, IMSI′ and R2 are transmitted enciphered using the public key PK of the certificate received by the server 200. This allows the sending of the three parameters SessionID, IMSI′ and R2 to the first communication device 201 through the second communication device 202 while keeping them safe from being read in clear by said second communication device 202.
To enforce security of the local data connection established between the first communication device 201 and the second communication device 202, a cryptographic protocol such as Transport Layer Security (TLS) can be used. In that case, a TLS handshake 215, that is to say a message exchange between the two wireless devices 201, 202 is carried out to set up this secure channel. This message exchange is not detailed here as the skilled person is able to find those information related to these cryptographic protocols belonging to the state-of-the-art.
After receiving the response 214, the second communication device 202 is capable of determining key K′ from R1 and K. For that purpose, it uses the derivation function F′ as follow:
K′=F′(K,R1)
Then, K′ as well as the ciphered data R2 and optionally SessionID, IMSI′ are routed 216 to the second communication device 202.
Once the routed data 216 is received by the first communication device 201, it is then able to decipher SessionID, IMSI′ and R2 using its private key PrK.
The first communication device 201 is then capable of determining K″ using the already mentioned expression:
K″=F″(K′,R2)
The functions F′ and F″ are respectively known and memorized by the second 202 and first 201 communication devices.
At this stage, the first communication device 201 is provisioned with the credentials K″ and IMSI′ associated to the new subscription and can therefore be considered as activated. According to an embodiment, an activation notification 217, 218 is sent to the network server 200 via the second communication device 200.
According to an embodiment, a record of subscription comprising credentials IMSI and K used by the second communication device 201 to permit the activation of the first communication device is memorized by the wireless network.
Then the network sends an acknowledgment 219, 220 to the first communication device 201 via the second communication device 202 in order to indicate that the credentials associated to the new subscription can now be used for the first communication device 201 to be authenticated and to communicate directly 221 on the wireless network 200. At this stage, the first communication device 201 is considered as activated.
The invention can be advantageously used when the activation of a communication device shall be directly controlled by an operator, for example on industrial premises. For example, a car subscription can be activated by a sales person just before delivering to a customer a new connected car.
This new technology for providing to a wireless device a set of at least one credential associated to a subscription induces numerous advantages. In particular, on the server side:
Regarding the security aspects, one fundamental advantage is that the cryptographic keys K′ and K″ are not sent out of the wireless network. On the contrary, those kept by the network and the first and second communication devices 201, 202 are able to calculate them locally between the server and the primary device.
Additionally, the second communication device 202 does not know the IMSI′ nor the secret key K″ attributed to the first communication device 201. This guaranties the anonymity of the first communication device 201.
Another advantage is that there is no need to issue a physical Universal Integrated Circuit Card (UICC) provisioned with the needed credentials for it to be inserted into the secondary device.
Further, there is no need for a bootstrap subscription pre-configured in the wireless device to activate if an embedded UICC (eUICC) is used, resulting in lower overhead costs.
Number | Date | Country | Kind |
---|---|---|---|
16306046.0 | Aug 2016 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/057517 | 3/30/2017 | WO | 00 |