Identification of applications

By using a shared software platform in electronic systems to identify and encrypt applications with random numbers, the shortcomings of electronic systems and equipment in software application security and digital asset storage are solved, and effective protection and attack defense of digital assets are achieved.

CN118690344APending Publication Date: 2024-09-24STMICROELECTRONICS INT NV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410326913.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-03-20
Filing Date
2024-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing electronic systems and devices have shortcomings in the security of software applications and storage of digital assets. In particular, it is difficult to prevent software applications from accessing unintended digital assets and prevent attacks during updates, such as pirated applications pretending to be installed applications to access digital assets.

Method used

Each application is identified by a random number through the shared software platform and stored encrypted in the executable code. The platform generates and stores the exported random number, which is used to sign and encrypt digital assets, and verifies the random number match when the application is updated. , ensuring only authorized access.

Benefits of technology

It effectively protects digital assets, prevents unauthorized access and attacks, ensures the security of software applications and data integrity, and prevents pirated applications from accessing sensitive data during updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690344A_ABST
    Figure CN118690344A_ABST
Patent Text Reader

Abstract

The invention relates to identification of applications. The system includes at least one first application and a shared software platform. The shareware platform identifies a first random number to each first application. The first random number is stored in the executable code of the first application in an encrypted manner. The first application is also identified by a second number representing the first random number. The second number is stored in a first portion of memory accessible only by the shareable software platform.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority claim

[0002] This application claims priority to French Patent Application No. 2302751 filed on March 23, 2023, the entire contents of which are incorporated herein by reference to the maximum extent permitted by law. Technical Field

[0003] The present disclosure relates generally to electronic systems and devices, and in particular to the security of such electronic systems and devices. The present specification relates more particularly to the protection of data or digital assets used by applications implemented by electronic systems or devices. Background Art

[0004] Electronic systems and devices are currently in use that are configured to perform a number of different functions, which themselves are implemented by software applications.

[0005] It would be desirable to be able to at least partially improve certain aspects of software systems and architectures. More specifically, it would be desirable to be able to at least partially improve certain aspects of the security of software applications.

[0006] There is a need for electronic systems and devices that are configured to implement multiple software applications in a secure manner.

[0007] There is also a need to overcome all or part of the disadvantages of known electronic systems configured to implement one or more software applications.

[0008] There is also a need to overcome all or some of the disadvantages of methods for storing and restoring digital assets for software applications. Summary of the invention

[0009] Embodiments provide an electronic system in which applications are reliably identified by a shared software platform.

[0010] An embodiment provides a method for booting such a system.

[0011] Embodiments provide methods for storing digital assets in system memory and restoring digital assets from system memory.

[0012] An embodiment provides a system comprising at least one first application and a shared software platform, wherein each application is identified by the software platform by a first random number, the first random number is stored in an encrypted manner in an executable code of the first application, and a second number representing the first random number is stored in a first portion of a memory accessible only by the platform.

[0013] According to one embodiment, a second number representing the first random number is generated by the software platform.

[0014] According to one embodiment, the first random number is generated by a first manufacturer of an original device of the first application.

[0015] According to one embodiment, the first random number is modified during an update of the first application.

[0016] According to one embodiment, the executable code of the first application is stored in a second portion of the memory, the second portion of the memory being inaccessible to a second manufacturer of an original device for a second application implemented by the platform.

[0017] According to one embodiment, the system is a secure operating system embedded in a secure element.

[0018] Another embodiment provides a method of booting the previously described system, the method comprising the following consecutive steps: sending encrypted executable code to a platform by a first application; extracting a first random number by the platform; generating a second number by the platform; and storing the second number.

[0019] According to one embodiment, the method further comprises the following consecutive steps: decrypting, by the platform, the encrypted executable code using a first decryption key; and storing the decrypted executable code.

[0020] According to one embodiment, the decrypted executable code is stored in the second memory portion.

[0021] According to one embodiment, the second OEM is not aware of the key.

[0022] Another embodiment provides a method for storing at least one first digital asset of a first application of the previously described system, wherein the platform stores the at least one digital asset and associates it with a second digital asset.

[0023] According to one embodiment, the platform uses the second number to sign and / or encrypt at least one first digital asset.

[0024] According to one embodiment, at least one first digital asset is stored in a third portion of the memory.

[0025] Another embodiment provides a method implemented by the previously described system for recovering at least one second digital asset associated with a third number through a third application identified by a fourth random number, wherein the platform verifies a match between the third and fourth numbers.

[0026] According to one embodiment, if the match is verified, the platform sends the at least one second asset to the third application.

[0027] According to one embodiment, if the match is not verified, the platform sends an error to the third application. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The foregoing features and advantages, as well as other features and advantages, will be described in detail in the remainder of the disclosure of specific embodiments given by way of illustration and not limitation, with reference to the accompanying drawings, in which:

[0029] Figure 1 The diagram is shown very schematically in the form of a box. Figures 2 to 4 Examples of electronic devices of embodiments of the present invention;

[0030] Figure 2 An embodiment of an electronic system is shown very schematically in block form;

[0031] Figure 3 Shows the instructions guide Figure 2 A block diagram of an implementation mode of the system method; and

[0032] Figure 4 A first block diagram illustrating an implementation mode of a method for storing digital assets and a second block diagram illustrating an implementation mode of a method for recovering digital assets are shown. DETAILED DESCRIPTION

[0033] In the various drawings, the same features are represented by the same reference numerals. In particular, common structural and / or functional features in various embodiments may have the same reference numerals and may be provided with the same structure, size and material properties.

[0034] For clarity, only the steps and elements necessary for understanding the embodiments are described and illustrated in detail.

[0035] Unless otherwise stated, when referring to two elements being connected together, this means a direct connection without any intermediate elements except conductors, and when referring to two elements being coupled together, this means the two elements may be connected or they may be coupled via one or more other elements.

[0036] In the following description, when referring to terms defining absolute positions (such as terms “front”, “back”, “top”, “bottom”, “left”, “right”, etc.) or relative positions (such as terms “up”, “down”, “above”, “below”, etc.) or terms defining directions (such as terms “horizontal”, “vertical”, etc.), unless otherwise specified, reference is made to the direction of the drawing.

[0037] Unless otherwise stated, the expressions "about", "approximately", "substantially" and "in the order of" mean plus or minus 10%, preferably plus or minus 5%.

[0038] The embodiments described hereinafter relate to the securing of software applications and, more specifically, to the securing of digital assets of such software applications. More precisely, the purpose is to prevent a software application from accessing digital assets that are not intended for its use, such as digital assets of another software application, or digital assets of an old version of the same software application. The embodiments described hereinafter are particularly capable of overcoming attacks by replacing applications, in which a pirated application replaces an already installed application, disguising itself as the latter during an update, in order to access the digital assets of the application.

[0039] The embodiments described below more specifically relate to a system including a software platform configured to implement one or more software applications. Each software application is identified by the platform via a random number, which is stored in an encrypted manner, for example, in its executable code or in an element separate from its executable code, to facilitate its protection and its use.

[0040] Figure 1 is very schematically shown configured to implement about Figures 2 to 4 A block diagram of an example architecture of an electronic device 100 of an embodiment is described.

[0041] The electronic device 100 includes a processor 101 (CPU), which is configured to implement various data processing operations for data stored in a memory and / or provided by other circuits of the device 100. The processor 101 may also be configured to implement Figure 2 Describes the software architecture type of software architecture.

[0042] The electronic device 100 also includes different types of memory 102 (MEM), including, for example, non-volatile memory, volatile memory and / or ROM. Each memory 102 can be configured to store different types of data and can include access rules. In particular, one or more memories 102 can include a portion that can only be accessed by one or more circuits of the electronic device and / or only by one or more software programs implemented by the device 100.

[0043] The electronic device 100 also includes a security element 103 (SE) configured to process critical and / or secret data. The security element 103 may include its own (one or more) processors, its own one or more memories, etc. The security element 103 may also be configured to implement a combination of Figure 2 Describes the software architecture type of software architecture.

[0044] In the remainder of this disclosure, features referred to as critical data and secret data refer to data having content that is not intended to be made public and, therefore, access to it is restricted to certain specific persons and / or circuits.

[0045] The electronic device 100 may further include an interface circuit 104 (IN / OUT) configured to transmit data to the outside of the device 100 and / or receive data originating from the outside of the device 100. The interface circuit 104 may also be configured to implement a data display system, such as a screen.

[0046] The electronic device 100 also includes different circuits 105 (FCT1) and 106 (FCT2) configured to perform different functions. As an example, the circuit 105 may include a measurement circuit, a data conversion circuit, a circuit for controlling an electrical or electromechanical device, or the like.

[0047] The electronic device 100 also includes one or more data buses 107 configured to transmit data between its various components.

[0048] Figure 2 An embodiment of a software architecture or software system 200 is shown very schematically in block form.

[0049] The architecture or system 200 includes: a shared and secure software platform 201 (platform); one or more secure software applications 202 (services); one or more memories 203 (MEMs); and at least one secure operating system 204 (secure OS).

[0050] The shared software platform 201 is software for implementing (one or more) applications 202. More specifically, the platform 201 is configured to communicate with the application, and more specifically, to receive data from it and to transmit data to it. According to one embodiment, the platform 201 is configured to manage the storage of data used by (one or more) software applications 202. According to one example, the software platform 201 is designed by an original equipment manufacturer (OEM) or manufacturer different from the electronic device (such as a processor or secure element) that implements it.

[0051] The entity referred to herein as the original equipment manufacturer or simply the manufacturer is the initial designer of a component such as a circuit, device, or software.

[0052] The security software application 202 (service) is a security software configured to implement one or more functions. The application 202 may also be referred to as a software service, or simply a service. According to an embodiment, the application 202 is implemented based on its executable code and may use digital assets (assets).

[0053] The feature referred to here as executable code refers to the collection of data and instructions that constitute the (one or more) programs implemented by the application. When the application is updated, its executable code is modified. Without the executable code, the application 202 cannot operate.

[0054] In addition, the features referred to herein as digital assets refer to one or more data used during and by the operation of an application. These data may be collected, generated, and / or processed by the application. A digital asset may be a data element temporarily stored by an application or more permanently stored by an application. An application 202 does not necessarily require a digital asset to operate. When an application is updated, the digital asset is not modified. Digital assets are generally considered to be critical and / or secret data elements.

[0055] According to one embodiment, each software application 202 may be designed by a different manufacturer than the software platform 201 and different than the manufacturer of the electronic device, such as the processor or secure element that implements them. Similarly, different applications may have different manufacturers.

[0056] Each application 202 is configured to communicate with the platform 201 , and more generally, is configured to be implemented or executed by the platform 201 .

[0057] One or more memories 203 represent access to different memories of the device implementing system 200. Among these memories, there is at least a portion of memory whose access is strictly reserved to platform 201, and at least a portion of memory used for storage of digital assets of application 202. Platform 201 is configured to manage memory access. Application 202 cannot directly access memory 203.

[0058] Secure operating system 204 is, for example, an operating system of an electronic device such as a processor or a secure element implementing system 200. Operating system 204 is configured to communicate with platform 201, but also with memory 203 and applications 202 according to an example not shown.

[0059] According to an embodiment, each application 202 is configured to be identified by the platform 201 via a random number Rand. The random number Rand is stored in an encrypted manner, for example, in the executable code of each application, or in an element separated from its executable code, to facilitate its protection and use. According to an example, the random number Rand is generated by the manufacturer of the application 202. Figure 3 and Figure 4 The implementation pattern of the method described is used to describe the use of this random number.

[0060] Figure 3 is shown for guiding the combination Figure 1 The electronic device 100 of the type described is implemented in conjunction with Figure 2 A block diagram of an implementation mode of a method 300 of a system or architecture of the type described as system 200 .

[0061] The initialization method 300 or boot method is a method for booting a device and a system. The method must be implemented before any implementation of applications of the system.

[0062] In step 301 (BOOT START), the device and system boot up. Each application presents its executable code to the shared software platform. According to one embodiment, the executable code of each application is encrypted. Step 301 is followed by two steps 302 (E(rand)→rand) and 303 (image payload decryption).

[0063] In step 302, the platform extracts a random number Rand that can identify the application from the executable code of the application. According to one embodiment, the random number Rand is encrypted like the executable code of the application. The platform is configured to decrypt the random number.

[0064] In step 304 (rand→rand2), after step 302, according to one example, a derivation function can be applied to the random number Rand obtained in step 303. According to one example, a derivation function is a function configured to provide a new secret data element based on a first secret data element, such as a new random number based on a first random number. According to one example, the derivation function is a pseudo-random function. Therefore, the platform provides a derived random number Rand2 based on the previously obtained decrypted random number Rand. In fact, each electronic device that implements the boot method 300 includes a derivation function that is configured to provide a random number different from a random number provided by a derivation function of other devices. Therefore, according to one example, the derivation function is a physically unclonable function (PUF).

[0065] In step 305 (storage), after step 304, the platform stores the derived random number Rand2 in a portion of the device's memory accessible only by the platform. This derived random number Rand2 is used to verify the match between the random number extracted from the executable code of the first application and the random number of the second application that has been received by the platform. The advantage of using a random number is that it forms a data element with a quasi-unique value and is difficult to trace back through a cryptographic process or function.

[0066] The random number Rand is known only by the device implementing the method 300 and is never stored in decrypted form during the implementation of steps 301 to 304. The derived random number Rand2 may be shared with other devices, for example directly or in an encrypted manner.

[0067] In step 303, after step 301, the encrypted executable code of the application is decrypted and / or verified. According to an embodiment, the executable code is decrypted by the platform using a decryption key that is known only to the manufacturer of the application and the platform or a device implementing the platform. In particular, the decryption key is not known to other application manufacturers.

[0068] At step 306 (Storage), the decrypted executable code of the application is stored by the platform in a portion of memory that is only accessible to the manufacturer of the application and the platform or the device implementing the platform. In particular, the memory portion is not known to other application manufacturers.

[0069] Steps 302 to 306 are implemented for each application included in the system.

[0070] Figure 4 Included are two block diagrams (A) and (B) showing implementation modes of a digital asset storage method 400 and a digital asset recovery method 450. These methods are configured to be implemented by Figure 2 Description of the system 200 of the type of system Figure 1 The electronic device 100 is described as being implemented in an electronic device of the type described herein.

[0071] Methods 400 and 450 must be combined in Figure 3 The implementation of the described method 300 is then realized. Therefore, the random number of the identification of each application of the system has been derived and stored by the shared software platform. In other words, Figure 3 The derived random numbers Rand2 have been stored by the shareware platform, for example by combining Figure 3 Steps of the type described in step 305 are stored in volatile memory. According to an alternative embodiment, Figure 3 The derived random number Rand2 can be stored in non-volatile memory, which has the advantage of obtaining the random number in time and avoiding a potentially time-consuming decryption operation at each boot.

[0072] In step 401 (Assets), combined Figure 2 An application of the type one of the described applications 202 wants to store digital assets in memory. According to one example, the digital assets in question are key and / or secret data provided to the application by an external device or function, or key and / or secret data generated by the application.

[0073] In step 402 (Send), after step 401, the application sends the digital asset to be stored to the platform. According to one example, the platform can encrypt the digital asset by using the derived random number associated with the application as an encryption key. According to another example, the platform can sign the digital asset by using the derived random number.

[0074] In step 403 (Store), after step 402, the platform stores the digital asset in the same directory as the derived random number (i.e., Figure 3 According to an example, the memory portion is accessible only by the shared software platform. According to a variant, the memory portion is accessible only by the shared software platform and the manufacturer of the application.

[0075] In step 451 (want to access), combined with Figure 2 An application of the type one of the described applications 202 desires to access a digital asset stored in memory, for example to be able to perform some of its functionality.

[0076] At step 452 (Req), following step 451, the application sends a request to the shareware platform indicating that it wants to recover the digital asset associated with its random number.

[0077] In step 453 (Verif), after step 452, the platform verifies the match between the derived random number of the application that has made the request and the derived random number that it has stored in the memory portion. To do this, the platform uses Figure 3 The random number of the random number of the application of the random number rand2 type is derived. According to the first example, the derived random number can be simply compared with all the derived random numbers stored by the platform. According to the second example, the received derived random number can be compared with the random number of the memory portion associated with the digital asset and / or the digital asset stored by the application requesting access. According to the third example, if the derived random number is used to sign or encrypt the digital asset, the received random number is used to verify whether it is effectively used to sign or encrypt the digital asset. The above three examples, or two of the three examples, can be implemented to step 453 continuously or simultaneously. If step 453 results in success (output Y of step 453), step 454 (access) is executed, otherwise (output N of step 453) step 455 (error) is executed.

[0078] At step 454, the platform discovers the digital assets associated with the application's random number. The platform provides these assets to the application.

[0079] At step 455, the platform does not find the digital asset associated with the random number of the application. Therefore, the platform does not provide the asset to the application. According to an example, the platform may provide an error data element to the application.

[0080] According to one example, an application can change the random number during an update of its executable code. This enables the platform to not provide digital assets stored by a previous version of the application to the new version of the application. According to a specific example, this enables the platform to prevent attacks through application replacement.

[0081] In addition, according to one example, if the platform detects that the application associated with the first random number has changed the random number to the second random number, the possibility of suppressing the stored digital assets can be envisioned. Similarly, according to one example, if the platform detects that the application associated with the first random number has changed the random number to the second random number, the new version of the application can be uninstalled and the more secure old version can be reinstalled.

[0082] Various embodiments and variations have been described. Those skilled in the art will appreciate that certain features of these various embodiments and variations may be combined, and those skilled in the art will recognize other variations.

[0083] Finally, based on the functional indications given above, the actual implementation of the described embodiments and variants is within the capabilities of a person skilled in the art.

Claims

1. A system comprising: First application; as well as Shareware platforms; wherein the first application is identified by the shared software platform using a first random number and a second number; wherein the first random number is stored in an executable code of the first application in an encrypted manner; as well as Wherein the second number represents the first random number and is stored in a first portion of a memory accessible only by the shared software platform.

2. The system of claim 1, wherein the second number is generated by the software platform. 3 . The system of claim 1 , wherein the first random number is generated by a first original equipment manufacturer of the first application.

4. The system of claim 3, wherein the executable code of the first application is stored in a second portion of the memory that is not accessible to a second original equipment manufacturer of a second application implemented by the shared software platform. The system of claim 1 , wherein the first random number is modified during an update of the first application.

6. The system of claim 1, wherein the system is a secure operating system embedded in a secure element.

7. A method of guiding a system, The system comprises: First application; as well as Shareware platforms; wherein the first application is identified by the shared software platform using a first random number and a second number; The method comprises: The first application sends the encrypted executable code to the shared software platform; Extracting, by the sharing platform, a first random number stored in an encrypted manner from the executable code of the first application; generating, by the platform, the second number representing the first random number; and The second number is stored in a first portion of memory accessible only by the shared software platform.

8. The method according to claim 7, further comprising the following consecutive steps: decrypting the encrypted executable code by the shared software platform using a first decryption key; and The decrypted executable code is stored.

9. The method according to claim 8, further comprising: modifying the first random number during an update of the first application; as well as The decrypted executable code is stored in a second memory portion.

10. The method according to claim 9, wherein the first random number is generated by a first original equipment manufacturer of the first application; and A second original equipment manufacturer of a second application implemented by the shared software platform is unaware of the first decryption key.

11. A method of storing at least one first digital asset of a first application of a system, The system comprises: First application; as well as Shareware platforms; wherein the first application is identified by the shared software platform using a first random number and a second number; The method comprises: storing the at least one digital asset by the shared software platform; as well as The at least one digital asset is associated with the second number.

12. The method of claim 11, further comprising signing, by the shared software platform, the at least one first digital asset using the second number.

13. The method of claim 11, further comprising encrypting, by the shared software platform, the at least one first digital asset using the second number.

14. The method of claim 11, further comprising storing the at least one first digital asset in a portion of a memory.

15. A method for recovering at least one digital asset associated with a third number through a third application identified by a fourth random number, the method being implemented by a system, the system comprising: the third application; as well as Shareware platforms; wherein the third application is identified by the shared software platform using the fourth random number and the third number; The method includes verifying, by the shared software platform, that the third random number matches the fourth random number.

16. The method according to claim 15, further comprising: When the match is verified, the at least one digital asset is transferred by the shared software platform to the third application.

17. The method according to claim 16, further comprising: When the match is not verified, an error message is transmitted by the shared software platform to the third application.