Method and device for generating a safety function

The method generates a singularized security function for devices, enhancing their security level to meet service provider requirements, addressing the incompatibility issue and reducing replacement costs.

FR3147924A1Inactive Publication Date: 2024-10-18ORANGE SA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
FR2023003746
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing electronic devices, such as mobile phones and IoT devices, often lack the necessary security levels required by service providers, making it costly to replace entire fleets to meet new security needs, and there is a need to enhance the security of these devices to support higher-security services.

Method used

A method and system for generating a singularized security function by selecting and configuring cryptographic components based on a device's functional capabilities and required security level, allowing devices to meet the security demands of services without full replacement.

Benefits of technology

Enhances the security level of existing devices to support higher-security services by adding cryptographic components, ensuring compatibility and reducing the need for fleet replacements, while making mass cyber-attacks more difficult.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention relates to a method for generating a first security function (G), implemented in a network comprising a plurality of client devices (1201, 1202, 1300, 1400, 1500), said security function (G) being intended to secure a service implemented in at least one of said client devices, the method comprising: - the determination (E3) of a set of families of configurable security functions; - the registration (E4) of the set of families of configurable security functions; - the reception (E6) by a client device of a request to secure a service in order to guarantee a level of security associated with said service; - the obtaining (E8) of said first security function (G) from at least one of said registered configurable security functions, from a level of security to be guaranteed and from functional capacity parameters of said client device.-the transmission (E9) of said first safety function (G) to said customer device. Figure for the abbreviation: Fig. 1.,
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method and device for generating a safety function Technical field

[0001] The present invention relates to the generation of security functions intended to secure a service provided by a service provider and used by a client terminal. Prior art

[0002] The multiplicity of electronic terminals such as mobile phones, smart devices, "IOTs", Secure Elements such as SIM cards or Trusted Execution Environments, also called TEEs, the acronym for "Trusted Execution Environment", whose capabilities are sometimes limited, leads to devices on the market that are incompatible with the level of security requirements required by service providers. As a result, they cannot achieve high levels of assurance such as the level of assurance for bank cards. The renewal of fleets comprising thousands of devices that do not have the security levels required to meet new security needs is too costly to be implemented.There is therefore a need to raise the security level of certain devices to enable these devices to use services requiring a higher level of security than that available in these devices. Statement of the invention

[0003] The present invention relates to strengthening the security level of an existing or so-called "legacy" device by a specific particularization of the device requiring a specific security level. The present invention relates in particular, according to a first aspect, to the generation of a singularization function and, according to a second aspect, to the deployment of a singularization function.

[0004] For this purpose, the present invention relates to a method for generating a first security function, implemented in a network comprising a plurality of client devices, said security function being intended to secure a service implemented in at least one of said client devices, the method comprising, - obtaining, a set of families of configurable security functions, - recording, the set of families of configurable security functions, - receiving, from a client device, a request for securing a service in order to guarantee a security level associated with said service, - obtaining said first security function, from at least one of said recorded configurable security functions, from a security level to guarantee and functional capacity parameters of said client device, -the transmission of said first security function to said client device.

[0005] The present invention can advantageously resolve this security incompatibility between the security level required by a service and the level of service offered by the device that wishes to benefit from the service, by the addition of cryptographic components or scrambling functions specific to each instance or variation made available to a user. The present invention can resolve this incompatibility by functionally singulating the security services made available to a user's device.

[0006] According to certain embodiments, the method comprises - the transmission, to an operator of said network, of a request for a first security function to guarantee a level of security during the implementation of said service, - the reception of the first security function determined from at least one functional capacity of the client device and the security level to be guaranteed to implement the service.

[0007] According to certain embodiments, said first security function is obtained by: - the selection of one or more functions from one or more families of configurable security functions, the selection being made according to the level of security to be guaranteed and the functional capacities of said client terminal, - the configuration of at least one of said selected configurable safety functions in order to obtain said first safety function.

[0008] According to certain embodiments, the method comprises, prior to the request for a security function, the installation in said client device of a service provided by a service provider, said service being associated with said security level to be guaranteed, said security level being higher than a security level available in said client device.

[0009] According to certain embodiments, said first security function is obtained by - the combination of at least two security functions selected from at least one family of functions satisfying the level of security to be guaranteed and the functional capabilities of the client device, and - the setting of said combination of selected functions.

[0010] According to certain embodiments, the method comprises: - transmitting a second security function (V) to said service provider, said first function and said second security function collaborating together to encode or decode communications between said client device and said service provider when implementing said service.

[0011] According to certain embodiments, the method comprises: - the transmission of an identifier of said client device to said service provider allowing an association of said second security function with said client device.

[0012] According to certain embodiments, the first and second security functions are transmitted respectively to said client device and to said service provider - in the form of software code of said function, - in the form of a set of information allowing said client device and said service provider to construct said function, said set of information comprising: - an identifier of said transmitted security function, - a list comprising jamming functions used for said first and second security functions, and the order in which they are used.

[0013] According to certain embodiments, the security function is obtained by composing several mathematical functions on the inputs and / or outputs of a security function in order to scramble them and create a functional variation of said security function.

[0014] According to certain embodiments, a family of configurable security functions comprises a set of cryptographic functions of identical complexity and structure, a family being able to be chosen from: - a family of byte-to-byte permutations or - a family consisting of a round of a Feistel scheme made more complex by a hashing algorithm. - A family consisting of arithmetic operations modulo 65537.

[0015] The invention also relates to a terminal in a communication network, comprising an infrastructure operator, said terminal comprising one or more processors configured together or separately to: - transmit, to an operator of said network, a request for a first security function to guarantee a level of security when implementing a service, - receive the first security function determined from at least one functional capacity of the terminal and the security level to be guaranteed to implement the service.

[0016] The invention also relates to a computer program comprising instructions for executing the steps of the method according to the invention when said program is executed by a computer.

[0017] The invention also relates to a computer-readable recording medium on which is recorded a computer program comprising instructions for the execution of the steps of the method according to the invention. Brief description of the drawings

[0018] [Fig. 1] [Fig.l] shows an embodiment of a system implementing embodiments of the present invention.

[0019] [Fig.2] [Fig.2] represents an embodiment of a method according to the present invention.

[0020] [Fig.3] [Fig.3] represents a first embodiment of an implementation of a service for deploying a security function,

[0021] [Fig.4] [Fig.4] represents a second embodiment of an implementation of a security function deployment service,

[0022] [Fig.5] [Fig.5] represents a third embodiment of an implementation of a security function deployment service. Description of the embodiments

[0023] Other characteristics and advantages of the present invention will emerge from the description given below, with reference to the accompanying drawings which illustrate an exemplary embodiment thereof without any limiting character.

[0024] The present invention is described in a system comprising an infrastructure operator and a service provider as illustrated in [Fig.l]. The infrastructure operator 100 may typically be an operator of a communication network or IT service having to manage network and / or IT equipment. The infrastructure operator 100 has infrastructure equipment 101 for managing the system, preferably in the form of IT equipment such as servers and databases as well as various network equipment.

[0025] Several client devices 1201, 1202, 1300, 1400 are connected to the network deployed by the infrastructure provider, respectively through the access gateways 120, 130 and 140 provided by the infrastructure provider. The access gateways are generally connected to one or more client devices through a local network of the LAN type, wired or wireless. They allow the connection between the local network and the network of the infrastructure operator 100. A client device 1500 is connected to the network directly, without going through a gateway.

[0026] Two service providers 1100 and 1200 are also connected to the operator's network. This connection is either made directly or via one or more communication operators, as implemented on the Internet. In this specific case, the service providers 1100 and 1200 are then connected to the operator's network by implementing VPN techniques or more common accesses such as SSL, HTTPS, or any other techniques known to those skilled in the art for the in Internet interactions. A plurality of service providers may coexist and provide services. A service provider is typically, in the context of the present invention, a payment service or an identity provider, a service for delivering goods, content or services, such services requiring implementations of robust security protocols.

[0027] The client devices 1201, 1202, 1300, 1400 and 1500 may be devices comprising significant capabilities that allow them to install and use one or more services provided by the service providers. In certain cases and according to the present invention, one or more of these client devices have limited capabilities that do not allow them to install one or more services provided by the service provider(s) according to security levels required by these providers. Indeed, some of these client devices, such as SIM cards, connected object type equipment, security element type elements, cannot support advanced cryptographic functions or do not offer reinforced security services such as secure storage.Consequently, they could not, without the present invention, achieve high levels of assurance in the sense of common criteria or according to the European CyberSecurityAct Directive, such as the level of security of bank cards for example.

[0028] The present invention may allow such client devices not having sufficient security levels to achieve security levels allowing them to use services provided by service operators and requiring security levels which were not originally achieved by these devices or available in these devices, since these allow the addition of additional functions or software. Advantageously, this may make it possible to avoid replacing client devices with new devices in order to be able to implement these services requiring high security functions to operate.

[0029] The client devices may comprise one or more components that implement the service. A component is for example a SIM card, a trusted execution environment (TEE), embedded IoT (internet of things) software, an application from a store, but may also be a dedicated storage, computing and execution environment or space within a virtual infrastructure commonly called Cloud, containers, Virtual Machines (VM), micro services, etc. In the remainder of the description, we refer to a client device but we can also understand a component of the client device or one or more components of the client device.

[0030] Throughout the description, the security function may be dedicated to the client device or to a component of the client device. Thus, when referring to a security function for a client device, it may be a security function for a component of the client device. Similarly, when we talk about a security function for a component of the client device, it may be a security function for a client device.

[0031] The infrastructure operator also accesses a singulation service 102 which singulates a security function for one or more client terminals, according to the embodiments of the present invention. The singulation service may be a component of the infrastructure operator 100 or may be separate from it. Typically, the singulation service is a software module also comprising storage means, for example a server.

[0032] To this end, the embodiments described below propose a singularization of a security function which particularizes the result of the calculations of the security function which will be deployed in the client device or a component thereof to allow the latter to implement a service with a security level required by the application. In addition to the possibility for a component to implement a service which it could not access, the present disclosure makes it very difficult to automate attacks on the components implementing this function. Indeed, its non-uniform and implementation-specific nature makes it complicated to automate mass cyber-attacks.

[0033] It is possible to single out a function already existing in a client device by making it more secure to meet a security need greater than that which it could provide but also to provide a singled out security function to a client device, for example an IoT type device, initially devoid of security functions, so as to allow it to implement a service requiring a level of security.

[0034] The network infrastructure operator 100 collaborates with the singulation service 102 in order to provide the client devices and the service providers with security functions enabling, as mentioned previously, them to implement a service in the client device, by adapting the security level of the client device to make it capable of implementing said service according to the security level required by said service.

[0035] [Fig. 2] represents an embodiment of the generation of a singularized security function. The infrastructure operator can establish, as new client terminals are added, a list of client terminals present behind the access gateways or connected directly to the operator's network. To this end, it can set up mechanisms for interrogating the gateways or terminals or obtain the information when the new terminals are connected.

[0036] During step E1, the operator associates one or more functional capabilities with the client devices by collecting their functional capabilities. This data, relating identifiers of client devices and their respective functional capabilities, may be stored in servers of the network infrastructure and updated regularly or when a client device is added or removed.

[0037] The identifiers of the client devices may for example be a MAC address, an IP address, a serial number, an identifier relating to services such as an IMSI (international mobile subscriber identity), an MSISDN (number which uniquely identifies a subscription on a GSM or UMTS mobile network) or an email address for communications services, or a technical contract number for services for the delivery of goods or content...

[0038] This step E1 is an optional step in the sense that the infrastructure operator can have this information in different ways, spontaneously without having to request it from the client terminals, for the needs of the present invention.

[0039] The functional capabilities may include, but are not limited to, their possible possession of integrated cryptographic or arithmetic libraries and if so, which ones, their available memory space, their operating system and its version.

[0040] Functional capabilities can be used to determine either the nature or the complexity of security functions that these devices can implement. In other words, functional capabilities are related to the security level of the singularized function that will be implemented in the client device to the extent that they can be used to determine the maximum security level that the device can implement.

[0041] When the functional capabilities are not sufficient to support the level of security required by the service, it is possible either: - to ask the service provider to reduce the required security level, - not to authorize the client device to use the requested service, - to distribute the singularized service function, partly on the client device, by providing it with a singularized service function compatible with its functional capabilities and partly on at least one other device located between the client device and the service provider, for example one or more gateways such as gateways 120, 130 or 140 (or other devices present in the network), the two or more singularized functions making it possible in combination to guarantee the required level of security.

[0042] The infrastructure operator can also obtain required security levels for each service from the service provider, step E2. These security levels can be obtained in different ways.

[0043] According to some embodiments, service providers may transmit to the infrastructure operator the security levels associated with the services it provides. They can be transmitted when a service is deployed or recorded in a database.

[0044] According to certain embodiments, these security levels may also meet standardized security criteria. For example, an application relating to a banking function may be systematically associated with a high security level. The server may, for example, obtain a function code (e.g., banking function code) and associate a known security level for this function code.

[0045] According to certain embodiments, the infrastructure server can request from the service provider a level of security required for its operation when the client terminal requests from the infrastructure operator the installation of a specific function, for example following the non-installation of the service on the client terminal due to a lack of sufficient security level.

[0046] According to certain embodiments, the client device can also transmit the security level of the service it wishes to install to the infrastructure operator.

[0047] According to certain embodiments, the operator monitors market needs and determines that for a given piece of equipment, it must have a high level of security. For example, if the infrastructure operator decides to position the SIM card as a support for a digital identity card, this requires high-level elDAS and CSPN certification. 80% of the SIM cards on the market have a sufficient level, the remaining 20% ​​must then receive processing to make their security level compatible with this high level.

[0048] The infrastructure operator obtains a set of families of configurable security functions, step E3.

[0049] A family of functions can be described as a set of mathematical functions of identical complexity and structure. Examples include, but are not limited to, the family of byte-to-byte or bit-to-bit permutations, the family consisting of a round of a Feistel scheme made more complex by a SHA-1 type algorithm, the family consisting of arithmetic operations modulo 65537, but also any mathematical function known to those skilled in the art in the field of mathematics, such as arithmetic operations in the ring W65537^,+,x).

[0050] The function families are recorded by the network operator 100, step E4. They can be recorded in servers of the infrastructure 101.

[0051] They constitute in some way a database or a catalogue of a set of families of configurable security functions intended to be individualised.

[0052] These steps E1 to E4 are steps which are implemented by the network operator and which can be carried out independently of the following steps, upstream of these, for establishing a catalog or a database of security functions.

[0053] The network operator can therefore advantageously provide a security service for service providers and give access to services requiring a higher level of security than that which they have natively, to client terminals present in its network. Thus, the service providers can transmit a subscription request to the service, not shown in [Fig.2], in order to benefit from this security service, also called singularization. A service contract can then be concluded between the service providers 1100, 1200, and the network infrastructure operator 100.

[0054] During a step E5, a client terminal, for example the terminal 1201, wishes to benefit from a service offered by one of the service providers 1100 or 1200. It then installs the service on the terminal, in the form of software code, for example an application code. However, during installation, the service provider may alert the client terminal 1201 that it does not have the required security level to implement said service. It is also possible, without the intervention of the service provider, that the application cannot be installed because the security level of the terminal 1201 is not sufficient. The service is in fact associated with a security level to be guaranteed in order to be able to function. The application requests, for example, a secure storage space on the client terminal to function while the client terminal does not have secure storage functions.The client terminal 1201 therefore transmits a request for a singular security function, this request aiming to install a singular security function or to reinforce an existing security function, in order to guarantee a level of security of said service that it wishes to install or that it has installed in order to be able to use it, step E6.

[0055] This request may include several parameters. It may include in particular an identifier of the client terminal 1201 which makes it possible to associate the singularized security function which will be generated with the terminal which requested it. The identifier may already be included in one of the fields of the exchanged messages (this is the case for example of a MAC address) or may be specifically transmitted.This terminal identifier may allow remote communication with this terminal, this identifier being able to be, in a non-exhaustive manner, an identifier relating to the operating system of the terminal and allowing remote communications via the means of the terminal provider, a communication address on the Internet or on a telecommunications network, an identifier linked for example to a security component and to the operators of the underlying infrastructure such as a SIM card and the IMSI (international mobile subscriber identity) / MSISDN relating (number which uniquely identifies a subscription on a GSM or UMTS mobile network), an identifier within a dedicated instance within another security element such as the TEEs. (English acronym for "Trusted Execution Environment", specified by the GlobalPlatform consortium). It may also include the security service to be strengthened, for example, mutual authentication Application Service Provider, remote application authentication, integrity and proof of origin of exchanges between the application and the service provider, but also parameters specific to the required security service. It may also include the level of security to be guaranteed for the application that the client terminal 1201 wishes to install. This level of security to be guaranteed may be expressed in different forms, for example on a scale of 1 to 10. In certain embodiments, these security levels may correspond to the levels defined in the European CyberSecurity Act Directive which defines the following three levels: Basic, Substantial and Strong.

[0056] The functions used to secure are more or less complex, for example permutation functions are more complex than XOR functions. Permutation families are therefore preferred when the required security level is high. We can therefore have a selection of the family of functions or families of functions by comparing the required security level and the complexity in terms of function of the families and by selecting the family or families whose functions have a level of complexity allowing this level of security to be obtained. In other words, a family is selected according to the required security level and the complexity of the functions it contains.

[0057] In some embodiments, the request may also include parameters relating to the functional capacity of the client device. In other embodiments, if the infrastructure operator does not have the functional capacities of the client device, then following receipt of the request, it may request them, step E7.

[0058] The infrastructure operator then generates the singular security function dedicated to the client terminal 1201 for the use of the requested service, step E8.

[0059] According to the embodiments of the present invention, the same singularized security function can therefore be generated for terminals having identical functional capacities and wishing to install the same service.

[0060] In a security-enhanced implementation, the infrastructure operator could guarantee the uniqueness of this singularized function for the requesting user or terminal, thus leading to implicit authentication of said terminal or user. According to certain embodiments, the generated singularized function could therefore be unique.

[0061] The singularized security function is obtained from at least one of said configurable security functions recorded, during step E4, from said security level to be guaranteed and from functional capacity parameters of said device. client. The singularized security function can be obtained from an automatic or random generation of functions selected from a family of functions meeting the security requirements of the service and the functional capacity of the client device.

[0062] According to certain embodiments, the security function may consist of adding security to a function already existing in the client device, to reinforce, or even raise, the existing security level so as to guarantee the security level required by the service to be installed on the client service for its implementation.

[0063] The safety function can be obtained by composing several mathematical functions on the inputs and / or outputs of a safety function in order to scramble them and create a functional variation of said safety function.

[0064] According to certain embodiments, the security function may also be a function which is composed entirely by the singularization service, also from the function catalog, for example when the client device does not already have a security function or does not have a security function whose level can be raised sufficiently to reach the level of security to be guaranteed for the implementation of the service.

[0065] The security functions that can be singled out are of different natures, we can cite for example: - encryption-type security functions, - security functions such as authentication or integrity - electronic signature type security functions.

[0066] An encryption-type security function can be singled out from a plurality of bijections. The dedicated security function can be obtained from an automatic or random generation of bijections selected from a family of functions, each of said generated functions then being chained upstream or downstream of the encryption function to be singled out. The automatic generation of a bijection can be based on the one hand on the generation of a cryptographic parameter, such as a key, and on the other hand on the random generation of a configuration parameter, for example a set of byte permutations or hash functions.

[0067] A security function of the authentication or integrity type can be singled out from the same families of functions as those used for the singled out of symmetric encryption functions, supplemented by families of non-bijective functions, families of one-way functions, each of said generated functions then being chained upstream or downstream of the authentication or integrity function to be singled out. This singled out can be obtained from an automatic or random generation of one-way functions or selective encryption functions. data in a family of functions.

[0068] An electronic signature type security function can be obtained from secret key-based functions.

[0069] According to some embodiments, the singulation service may include a singulation strategy manager and a singulation logic manager.

[0070] The singularization strategy manager is a module, preferably software, having a set of rules allowing it to define a singularization logic based on a required security level and the functional capabilities of the different client devices present.

[0071] The singularization logic manager is a module, preferably software, which generates a singularized function from a singularization logic. It constitutes this singularized function by selecting functions from a database of functions, as determined during the previous step E3.

[0072] A complete singularization function is made up of N functions selected and configured by the automatic generator from among P families of functions available in the database.

[0073] The automatic scrambling function generator selects an implementation of a function from a code base organized by function family and allows creating a scrambling function from a function family and a setting of one or more configuration parameters and one or more cryptographic parameters. An example of a function family is the XOR function family. This family consists of a configuration parameter (the position of the incoming data bytes where to apply the XOR) and a cryptographic parameter (the value with which to perform the XOR). Similarly, in arithmetic in the ring (Z / nZ, +,) x defines the set of possible arithmetic operations modulo n.A scrambling function that can be generated from this family is the function that performs a multiplication (configuration parameter) of an input x with a value Kl (cryptographic parameter) modulo n (configuration parameter). In a family, we can have functions that have the same behavior (e.g., swapping bit 1 and bit 4) but a different code because a particular coding technique was used.

[0074] Examples of obtaining a singularized function

[0075] In this example, during step E3, two families of functions are determined, namely the XOR and the permutation. In this example, the family of permutations is considered to be more complex than the family of XOR.

[0076] Each family has 3 codes corresponding to functions of these families. For example, the XOR family has the following functions: XI- a javacardv3.1 code allowing to make an XOR between the first n bytes of the message (configuration parameter) and a value v (cryptographic parameter), X2- a C code allowing to make an XOR of all the first bytes of the message (configuration parameter) and a value v (cryptographic parameter), X3- a javacardv3.1 code functionally equivalent to the XI code but using a defensive development technique, such as adding instructions to obfuscate the power consumption patterns.

[0077] The permutation family has the following codes: PI- the C code of a permutation for an input vector of size 10 and which permutes the bytes a (configuration parameter <=10) and 4, P2- the javaCard v3.1 code obfuscated with a permutation for a vector of size 10 and which performs permutations following an order in input parameter (configuration parameter), P3 - a code functionally equivalent to the P2 code but making use of the permutation function embedded in the javaCard v2.1 OS

[0078] In this example, the security level required by the service is high, for example at level 8 on a scale from 0 (lowest level) to 10 (highest level) or at the strong level of the European CyberSecurity Act Directive, and the functional capabilities of the client device that requested the installation of the service (for example a smart card) support javacard 3.1.

[0079] The strategy manager creates a singularization logic indicating to favor high complexity functions with obfuscation and developed for javacard 3.1.

[0080] The singularization logic manager performs a search in the catalog based on the determined logic, and receives a list of functions to use: X3, PI and XL From there, the manager chooses in which order to compose them, if it combines them to create a new function and how it parameters them to create the singularized function. It can also check that it is unique for the target. For example, in the case of the X3 function described above, n and v are to be parameterized. For the PI function, it will be necessary to parameterize a.

[0081] According to certain embodiments, obtaining the singularized security function comprises parameterizing at least one of the selected configurable security functions according to the level of security to be guaranteed and functional capacity parameters obtained from the client device 1201 in order to obtain a first singularized security function.

[0082] According to certain embodiments - the first singularized security function is obtained by - the combination of at least two safety functions selected from at least a family of functions satisfying the level of security to be guaranteed and the functional capabilities of the client device, and - setting the combination of selected functions.

[0083] The singularized security function is then transmitted to the client device 1201 to be implemented during or with the use of the service concerned, step E9.

[0084] The security function can be transmitted in different forms to the client device 1201: - in the form of software code of said function, - in the form of a set of information enabling the client device 1201 and said service provider to construct said function, the set of information comprising: - an identifier of the security function transmitted, - an LBA list.

[0085] The identifier of the transmitted singularized function can make it possible to distinguish one among several singularized security functions. Indeed, the service provider or the terminal can have several singularized functions for a specific use, and can therefore use an identifier to distinguish them and know which singularized function to select to carry out the processing. This can also be useful for managing the life cycle of the function (installation / update / uninstallation).

[0086] According to certain embodiments, the infrastructure operator can transmit to the service provider or to the client device, a code comprising several scrambling functions, replacing the transmission of the code of the singularized function. For each singularized function transmitted to the client device, the infrastructure provider transmits to the service provider the means of reconstructing the dual function of that instantiated on the equipment by indicating in the LBA list which scrambling functions are to be activated, in what order and whether they intervene before or after the security function to be singularized (e.g. AES). The identifier of the singularized function makes it possible to make the link with the dual function in the equipment. It can also be envisaged to do the same on the client device if the latter has the available memory capacity.

[0087] The security function can then be integrated into the code of the service deployed in the client terminal.

[0088] As mentioned previously, the function can secure an already existing function or can constitute a function in its own right.

[0089] According to some embodiments, the security function may be integrated into an application, code unit, present on the client device, such as for example an applet on a smart card in the client device. The applet code may be transmitted by the client device to the operator who modifies the applet code by integrating the singularized security function and transmits the applet code back to the client device. The security function may be an applet itself transmitted by the service operator to the client device. In some embodiments, the service includes APIs allowing it to consume the singularized security function in the applet deployed in the device or component.

[0090] A second singularized security function, dual to that installed in the client device, may be transmitted to the service provider that provides the requested service. The first singularized function and said second singularized function collaborate together to encode, decode or verify the security services instantiated between said client device and said service provider during the implementation of the service.

[0091] In certain embodiments, the code of the dual function is not necessarily transmitted as such to the service provider but to a server of the infrastructure that the service provider can query through an interface. The service provider can ask the server to check the value returned by the singularized function in the client terminal. This advantageously makes it possible to limit the distribution of the singularized functions.

[0092] The first and second security functions may, for example, be encryption and decryption functions. They may be symmetrical functions, the service provider and the client device use the same function to encrypt and decrypt, or asymmetrical functions, and in the latter case, the service provider and the client device each receive a singularized security function for decrypting the messages of the other and a singularized security function for encrypting the messages. These first and second functions may also be designed identically in the sense that the two entities carry out the same processing to ensure, for example, that the integrity of a message is maintained.

[0093] The embodiments described below detail examples where several individual security functions work together to secure on-demand services.

[0094] According to certain embodiments, the infrastructure operator records the singularized security functions associated with the client terminal identifier and the service. It can record the functions as such, for example in the form of software code, or information making it possible to obtain these functions, in the same manner as the information transmitted to the client device and the service provider described previously.

[0095] Once the singularized security function(s) have been transmitted to the client device and the service provider, additional steps for activating the service may be considered. In this respect, activation may use challenge / response (in English "challenge / response") to activate the service. The service provider can create a given challenge for which it knows the expected response. It transmits this challenge, the singularized function is applied to this challenge message and returns a response that the service provider verifies. If the verification shows that the response is indeed the expected response, then the service is activated.

[0096] Once activated, the service can be used by the client device because it meets the security level expected for the implementation of the service by the service provider.

[0097] In Figures 3, 4 and 5, the following abbreviations are used: - FS: service provider - 01: infrastructure operator - SG: singularization service - Infra: network infrastructure - Client: client device

[0098] [Fig. 3] represents a first embodiment of an implementation of a security function deployment service. It represents the exchanges between the devices of the system.

[0099] A first optional step may comprise a request REQ_1 from the client device. This request may comprise a request from the client device for a singularized security function. This device may wish to implement a service provided by one of the service providers, but does not have the level of security required by the service provider for the implementation of the service.

[0100] More generally, the infrastructure operator may not generate a single security function for a client terminal following a request such as the request REQ_1 but may generate one or more security functions for each or more of the client terminals present in the operator's network, without waiting for a request. Indeed, the infrastructure operator may advantageously have knowledge of all the client terminals, and generate the security functions for these terminals connected to the network. The operator may generate these security functions using a singularization service, responsible for generating the security functions. The singularization service, illustrated as being a device or module different from the infrastructure operator, for reasons of clarity, may be integrated into it, as mentioned with reference to [Fig.l].The infrastructure operator can offer a singularization service to all service providers and all client devices. This service can be implemented on demand, or following the establishment of a contract between the service provider who wishes to use the singularization service. Thus, advantageously, client terminals that could not benefit from the service because they did not have the level of security required by the service, can raise their . security level and thus implement the service. This service can also be implemented when purchasing the client device or when manufacturing the client device.

[0101] The infrastructure operator therefore requests from the singling out service one or more security functions G for each of the client devices, request REQ_2. This can be done, as mentioned previously, following a request from the client device but more generally automatically by the infrastructure operator, for example when said client device is connected to the network. The singling out service can generate a security function as described with reference to [Fig.2]. The security function(s) G or the parameters making it possible to create or determine or obtain this security function or this plurality of security functions G, are transmitted by the singling out device to the operator in a REP_2 message. The infrastructure operator transmits to the client devices the information relating to this or these first security functions, in a TR_SG1 message. The singling out service records the function(s) G..

[0102] In addition to the at least one security function determined for each client device, the singularization service can determine one or more singularized security functions V capable of collaborating with the security function(s) transmitted to the client device. By collaborating, we mean decoding data generated by the at least one first security function or encoding data intended for the at least one first security function. The singularization service records the function(s) V. In other words, the first security function and the second security function collaborate together to encode, decode or verify the security service to be secured between the client device and the service provider during the implementation of the service.

[0103] The infrastructure operator transmits to the service provider the singularized security function(s) V enabling it to collaborate with the functions G in the message TR_SG2. In addition to the information relating to the singularized security functions V, the infrastructure operator may transmit an identifier of the client device to which the function G is transmitted. This identifier may be an identifier, different from or identical to, the identifier that the infrastructure operator uses to communicate or identify the client terminal in the network. This identifier may be an identifier generated for the communications implemented between the service provider and the client terminal during the implementation of the service.This identifier can also be a set of data allowing the user device and the component to be identified, for example an IP address, an application identifier such as the AID, a standardized identifier of applications that can be installed on a smart card (AID, English acronym for “application identifier”).

[0104] As mentioned previously, information relating to these security functions may be transmitted - in the form of software code of the function, - in the form of a set of information enabling the client device and the service provider to construct the function, the set of information possibly including: - an identifier of the security function transmitted, - an LBA list, - secure access to a server including the code of the transmitted security function.

[0105] It may be noted that the form in which the information transmitted to the client device relating to this or these first security functions in the message TR_SG1 may be different from the form in which the information transmitted to the client service provider relating to this or these second security functions, in the message TR_SG2.

[0106] Optionally, the infrastructure operator can transmit to the client device a message giving it rights to use the singularization service, in the OPEN message. This message can for example be transmitted following a request for use, for example the request REQ_1, or following a subscription to the singularization service itself following a service request to the service provider. The infrastructure operator can for example distribute to the service provider a token that can be verified by the user equipment and manifesting the right to consume the singularized function. It is indeed envisaged that the steps of [Fig. 3] comprise, prior to the steps indicated in [Fig. 3], one or more steps comprising: - a request from the client device to the service provider for an implementation (or use) of a service, - a response from said service provider indicating to said terminal that it does not have the level of security required for the implementation of the requested service or - a response from said service provider indicating to said terminal that it must request activation of the singularization service from the infrastructure operator to implement the requested application.

[0107] Activation steps ECH_1 and ECH_2 may be implemented allowing the use of the singularized function G and the inverse function V. The activation steps ECH_1 and ECH_2 may consist of carrying out a first successful exchange between the service provider and the client device. They may be done in a different order than what is illustrated in [Fig.3] (ECH_2 before ECH_1). This activation may use a “challenge-response” type mechanism. The service provider can create a given challenge for which it knows the expected response. It transmits this challenge, the singularized function is applied to this challenge message and returns a response that the service provider verifies. If the verification shows that the response is indeed the expected response, then the service is activated.

[0108] In some embodiments, the singularization service determines two singularized functions G1 and V2 for the client device and G2 and VI for the service provider. Advantageously, this makes it possible to strengthen security by differently scrambling the messages going from the client terminal to the service provider and the messages going from the service provider to the client terminal.

[0109] Advantageously, the functions G and V are bijections and can be used in mirror, that is to say that V can be used to encrypt or scramble and G to decrypt, decrypt or unscramble.

[0110] The G and V functions may be safety functions in themselves, may be jamming functions added before a safety function and / or after a safety function.

[0111] Thus, according to certain embodiments, G and V comprise one or more jamming functions and a function jammed by that or these jamming functions, the function possibly existing in the device.

[0112] According to some embodiments, G and V may be security functions entirely created by the singulation service.

[0113] [Fig.4] represents a second embodiment of an implementation of a security function deployment service. It represents the exchanges between the devices of the system.

[0114] The messages REQ_1, REQ_2, REP_2, TR_SG1, TR_SG2 may be identical to those described with respect to [Fig.3]. Thus, once the function(s) G and V have been deployed, the service provider would like additional singularization or customization of its service, namely a dedicated singularization. For this purpose, it requests a singularization function per service or for all of its services. This singularization or customization is combined with the singularization function linked to the component and described previously. This has the advantage of further strengthening the security of the services. According to [Fig.3], a different singularization is dedicated to each client device that uses the services of a service provider. According to [Fig.4]: - A client device A that uses a service B1 from a service provider FS1 may benefit from a different singularized function than when it uses a service B2 from a service provider FS2, or - A client device A that uses an SI service from a service provider FS1 can benefit from a different singularized function than when it uses an SI service' from the same service provider FS1.

[0115] The service provider transmits a dedicated secure function request REQ_3 for itself.

[0116] According to certain embodiments, this dedicated secure function request can be dedicated to one or more, or even all, of the services offered by the service provider. Thus, the service provider can transmit a dedicated REQ_3 request for each of its services, it can thus transfer as many requests as there are services it offers. It can also transmit a REQ_3 request for all of its services.

[0117] The infrastructure operator transmits a singularization request, for the service provider or for a particular service of the service provider, to the singularization service. The singularization service then determines a third singularization function G' and a fourth singularization function V'. The singularization service records the functions G' and V'.

[0118] The third singularization function G' is transmitted to the device, message TR_SG3 and the fourth singularization function V' is transmitted to the service provider, message TR_SG4.

[0119] The messages TR_SG3 and TR_SG4 may include the fourth singularization function in the form: - software code of the function, - a set of information enabling the client device and the service provider to construct the function, said set of information possibly including: - an identifier of the security function transmitted, - an LBA list, - secure access to a server including the code of the transmitted security function.

[0120] Thus, the service provider and the client device have both client device-specific singularization functions, G and G', and service provider-specific singularization functions, V and V'. The two functions are combined to provide a new singularized security function. The two functions G and G' can be combined simply by applying them one after the other (function G is applied to the result of function G', or vice versa) and similarly for functions V and V', to make encoding and decoding (or encryption / decryption) possible.

[0121] We can thus have as security function:

[0122] [MATH. 1] v" - VoV or v" -

[0123] [MATH. 2] G = GoG'or G = GoG'

[0124] As mentioned previously, when the client component or device does not have sufficient functional capabilities to guarantee the security level, then the security function can be distributed over several entities on a path between the client device and the service provider, respecting conditions pre-established by the infrastructure operator and the service provider. According to certain embodiments, it can then be envisaged that the functions G and G' are distributed, one on the client device, G for example and the other, G', on a gateway located between the client device and the service provider. In this embodiment, the functional capabilities of the client device are not sufficient to implement the level of security to be guaranteed but sufficient to implement a function G whose security level is lower. The level of security to be guaranteed, which guarantees the combination of the functions G and G' is then guaranteed by distributing G and G', if the 'access gateway has the functional capabilities to implement the function G'.

[0125] Following the deployment of the security functions to the device and the provider, the infrastructure operator can transmit to the client device a message giving it rights to use the singularization service, in the OPEN message.

[0126] The activation steps ECH_1 and ECH_2 can be implemented allowing the use of the singularized function G and the inverse function V. The activation steps ECH_1 and ECH_2 can consist of carrying out a first successful exchange between the service provider and the client device. They can be done in a different order from what is illustrated in [Fig.3] (ECH_2 before ECH_1). This activation can use a “challenge-response” type mechanism. The service provider can create a given challenge for which it knows the expected response. It transmits this challenge, the singularized function is applied to this challenge message and returns a response that the service provider verifies. If the verification shows that the response is indeed the expected response, then the service is activated.

[0127] [Fig.5] represents a third embodiment of an implementation of a security function deployment service. It represents the exchanges between the devices of the system.

[0128] In this embodiment, the infrastructure operator requests from the singulation service several EG security functions for each of the client devices, request REQ_2'. This request may be identical to the request REQ_2 in which the infrastructure operator specifies that it requests several security functions for a single client terminal. This plurality of EG security functions is a set of configurable security functions.

[0129] In addition to the set of security functions determined for each client device, the singularization service can determine a set of EV singularized security functions capable of collaborating with the security function(s) transmitted to the client device. By collaborating we mean, decoding, decrypting, unscrambling data generated by the at least one first security function or encoding, encrypting, scramble data intended for at least one first security function. These sets of EG and EV security functions are registered in the singulation service.

[0130] The set of singularized security functions EG is transmitted to the client device in a TR_SEG message.

[0131] The service provider transmits a REQ_PERS request for a dedicated secure function, for itself or for one of its services.

[0132] According to certain embodiments, this dedicated secure function request can be dedicated to one or more, or even all, of the services offered by the service provider. Thus, the service provider can transmit a dedicated REQ_PERS request and for each of its services, it can thus transfer as many requests as there are services it offers. It can also transmit a REQ_PERS request for all of its services.

[0133] The infrastructure operator transmits a singulation request for the service provider, or for a particular service of the service provider, to the singulation service, REQ_RAF. The singulation service then determines the parameters PG' for generating a security function G' to the client device for the use of the service or for the service provider. This security function is generated from the function set EG. The singulation service generates the corresponding security function V' capable of collaborating with the function G', as explained previously for the functions G' and V' (or G and V) from the function set EV.

[0134] The singularization service also records the PG' parameters and the V' function.

[0135] The singularization service transmits, to the infrastructure operator, the function V' in a TR_V' message and the function G' in a TR_G' message.

[0136] The infrastructure operator transmits the functions G' and V' respectively to the client device and to the service provider in a respective message TR2_G' and TR2_V'.

[0137] The message TR2_G' can include the singularization function in the form of: - the software code of G', - specifications enabling the service provider to reconstruct G', - secure access to a server including G's code.

[0138] The TR2_V' message can include the singularization function in the form: - V's software code, - specifications enabling the service provider to reconstruct V', - secure access to a server including V's code.

[0139] Optionally, the infrastructure operator may transmit to the client device a message giving him rights to use the singularization service, in the OPEN message.

[0140] Activation steps ECH_1 and ECH_2 can be implemented allowing the use of the singularized function G' and the inverse function V'.

[0141] The activation steps ECH_1 and ECH_2 may consist of carrying out a first successful exchange between the service provider and the client device. They may be done in a different order than what is illustrated in [Fig.3] (ECH_2 before ECH_1). This activation may use a mechanism of the type "challenge-response". The service provider can create a given challenge for which it knows the expected response. It transmits this challenge, the singularized function is applied to this challenge message and returns a response that the service provider verifies. If the verification shows that the response is indeed the expected response, then the service is activated.

[0142] In the preceding embodiments, an optional step is envisaged in which the service provider can transmit to the infrastructure operator a security level required by one or more of its services, for example in the form of a contract. The contract can include indications relating to the security levels required for the services or applications but also the manner in which the dual singularization functions are made available to the service provider, either by means of a server provided by the infrastructure operator that the service provider can query through an interface and without necessarily having access to the code, or by the transmission or deployment of a code. The contract can also determine the manner in which the singularized function is deployed on the component and where potential G' or G' ' functions can be deployed.The contract may also specify what happens when the functional capabilities of the device are not sufficient to guarantee the required level of service, as indicated above. The service may specify that it wishes either: . - ask the service provider to lower the required security level, - not authorize the client device to use the requested service, - distribute the singularized service function, partly on the client device, by providing it with a singularized service function compatible with its functional capabilities and partly on another device located between the client device and the service provider, for example a gateway such as gateways 120, 130 or 140, the two singularized functions making it possible in combination to guarantee the required level of security.

[0143] According to certain embodiments, the methods described above and their variants as described are implemented in the form of a computer program comprising instructions for executing the steps of the method according to embodiments of the invention when said program is executed by a computer. According to certain embodiments, these programs are recorded on a recording medium readable by a computer.

[0144] Throughout the description, the term “obtain” can be understood to mean determining, creating, or receiving.

[0145] The present invention also relates to a method for deploying a security function for at least one client device connected to a communication network, said security function being intended to secure a service implemented in said client device, the method being implemented by a device of an infrastructure operator of said communication network, and comprising: - the generation of at least one first security function for said at least one client device from a security level required by said service, and functional capabilities of said client device, - the deployment of said at least one first security function in said at least one client device to guarantee the implementation of said service.

[0146] According to certain embodiments, the method comprises: - generating at least one second security function, said first security function and said second security function collaborating together to encode, decode or verify data of the service to be secured between said client device and a service provider providing said service during the implementation of the service - the deployment of said at least one second security function in said service on a server of said service provider.

[0147] According to certain embodiments, the method comprises: - a request by a service provider to obtain a security function dedicated to one or all of the services it provides, - the generation of a third security function (G') for said client device, - the generation of a fourth security function (V') for said service provider, - said first and third security functions being capable of encoding, decoding or verifying, in said client device, in combination, the services of said service provider having transmitted the request to obtain a dedicated security function and said second and fourth security functions being capable of decoding, encoding or verifying, in said service provider, in combination, data received from the service implemented in said device.

[0148] According to certain embodiments, the method comprises: - generating a plurality of first security functions (EG) for said at least one device from said security level, and said functional capabilities, - the deployment of said plurality of first security functions in said at least one device, - obtaining a plurality of second security functions (EV) capable of decoding, encoding or decrypting data encoded, decoded or decrypted by said first functions, - a request by a service provider for configuring said plurality of first and second security functions, - obtaining a plurality of parameters (PG') for - obtaining a third safety function (G') from said plurality of first safety functions and - obtaining a fourth safety function (V') from said plurality of second safety functions, - the deployment of said third security function (G') in said device, - the deployment of said fourth security function (V') in said service at said service provider having transmitted the configuration request.

[0149] According to some embodiments, the deployment of the fourth security function comprises: - the transmission of an identifier of said device to said service provider, - the transmission of said fourth safety function (V') as one or other of: - the software code encoding said fourth security function, - parameters of the fourth security function allowing the service provider to create said fourth security function, - secure access to a server of said communication network comprising the code of said fourth security function.

[0150] According to certain embodiments, the method comprises: - receiving, from a service provider, a request for singularization of a security function intended to be used by said service of said service provider and said device, said security function being dedicated for said device when using said service, said request comprising said level of security to be guaranteed.

[0151] According to certain embodiments, said security functions are chosen from one or the other or a combination - an encryption function, - an authentication function, - an integrity function.

[0152] According to certain embodiments, the generation of at least one first security function (G) for said at least one client device from a security level required by said service, and functional capabilities of said client device, includes: - determining a set of families of configurable security functions, - recording all of the families of configurable security functions, - generating said first security function, from at least one of said recorded configurable security functions, from the security level required by said service and from functional capacity parameters of said client device and - generating said second security function, from at least one of said recorded configurable security functions, from the security level required by said service and from functional capacity parameters of said client device.

[0153] According to certain embodiments, said first safety function, respectively said second safety function, is obtained by: - the selection of one or more functions from one or more families of configurable security functions, the selection being made according to the level of security to be guaranteed and the functional capacities of said client terminal, - the parameterization of at least one of said selected configurable safety functions in order to obtain said first safety function, respectively said second safety function.

[0154] According to certain embodiments, said security function is obtained by composing several mathematical functions on the inputs and / or outputs of a security function in order to scramble them and create a functional variation of said security function.

[0155] According to certain embodiments, said security level is obtained from said service provider.

[0156] The invention also relates to a device for deploying a security function for at least one client device connected to the device through a communication network, said security function being intended to secure a service implemented in said client device, the deployment device comprising one or more processors configured together or separately to: - generating at least one first security function (G) for said at least one client device from a security level required by said service, and functional capabilities of said client device, - deploying said at least one first security function in said at least one client device to ensure the implementation of said service.

Claims

Claims

1. Method for generating a first security function (G), implemented in a network comprising a plurality of client devices (1201, 1202, 1300, 1400, 1500), said security function (G) being intended to secure a service implemented in at least one of said client devices, the method comprising, - obtaining (E3), a set of families of configurable security functions, - recording (E4), the set of families of configurable security functions, - receiving (E6), from a client device, a request for securing a service in order to guarantee a security level associated with said service, - obtaining (E8) said first security function (G), from at least one of said recorded configurable security functions, from a security level to be guaranteed and from functional capacity parameters of said client device,- the transmission (E9) of said first security function (G) to said client device.,

2. Method for securing a service used in a client device in a network, comprising - the transmission (E6), to an operator of said network, of a request for a first security function (G) to guarantee a level of security during the implementation of said service, - the reception (E9) of the first security function (G) determined (E8) from at least one functional capacity of the client device and the level of security to be guaranteed to implement the service.

3. Method according to one of claims 1 or 2 in which said first security function (G) is obtained by: - the selection of one or more functions from one or more families of configurable security functions, the selection being made according to the level of security to be guaranteed and the functional capacities of said client terminal, - the parameterization of at least one of said selected configurable security functions in order to obtain said first security function.

4. Method according to one of the preceding claims comprising, prea- possibly to the request for a security function, the installation in said client device of a service provided by a service provider, said service being associated with said level of security to be guaranteed, said level of security being higher than a level of security available in said client device.

5. Method according to one of the preceding claims wherein - said first security function is obtained by - the combination of at least two security functions selected from at least one family of functions satisfying the level of security to be guaranteed and the functional capabilities of the client device, and - the parameterization of said combination of selected functions.

6. Method according to one of the preceding claims comprising - transmitting a second security function (V) to said service provider, said first function and said second security function collaborating together to encode or decode communications between said client device and said service provider when implementing said service.

7. Method according to claim 6 comprising: - transmitting an identifier of said client device to said service provider allowing an association of said second security function with said client device.

8. Method according to one of the preceding claims in which said first and second security functions are transmitted respectively to said client device and to said service provider - in the form of software code of said function, - in the form of a set of information allowing said client device and said service provider to construct said function, said set of information comprising: - an identifier of said transmitted security function, - a list comprising scrambling functions used for said first and second security functions, and the order in which they are used.

9. Method according to one of claims 1 or 2 in which said security function is obtained by composing several mathematical functions on the inputs and / or outputs of a security function in order to scramble them and create a functional variation of said security function.

10. Method according to one of claims 1, 3 to 8 in which a family of parameterizable security functions comprises a set of cryptographic functions of identical complexity and structure, a family which can be chosen from: - a family of byte-to-byte permutations or - a family consisting of a round of a Feistel scheme made more complex by a hashing algorithm. - A family consisting of arithmetic operations modulo 65537.

11. Computer program comprising instructions for executing the steps of the method according to one of claims 1 to 10 when said program is executed by a computer.

12. A computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the method according to one of claims 1 to 10.

13. Terminal in a communication network, comprising an infrastructure operator, said terminal comprising one or more processors configured together or separately to: - transmit, to an operator of said network, a request for a first security function to guarantee a level of security when implementing a service, - receive the first security function determined from at least one functional capacity of the terminal and the level of security to be guaranteed to implement the service.

Citation Information

Patent Citations

  • Pluggable cipher suite negotiation

    US20180351921A1