hottub.patents
US 12,554,841 B2#3315720 Most CitedActiveUnited States (USPTO)Utility

Electronic system and methods for dynamic activation of countermeasures

0Forward Citations (#3315720 Global)
0.0/yrCitation Velocity (#3315720 Global)
0.00Citation PageRank (#3315720 Global)
12Prior Art Cited
8Claims (4 Indep. · 4 Dep.)
0Drawings / Sheets

Abstract

Provided is a method for configuring an electronic system for a secure execution of a code comprising a plurality of functions. The electronic system is configured for applying during an execution of a function a security countermeasure configuration among a plurality of security countermeasure configurations. The method is performed by said electronic system comprising a hardware processor, security hardware registers configured for storing start addresses of functions among said plurality of functions and associated security countermeasure configurations to be applied during an execution of said functions. A detection system is configured to detect an attack on said electronic system during an execution of a function among said plurality of functions.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.

Claims (8 — 4 Independent, 4 Dependent)

  1. Claim 1Independent Claim

    A method for configuring an electronic system for a secure execution of a code comprising a plurality of functions, said electronic system being configured for applying during an execution of a function a security countermeasure configuration among a plurality of security countermeasure configurations, said method being performed by said electronic system comprising a hardware processor, security hardware registers configured for storing start addresses of functions among said plurality of functions and associated security countermeasure configurations to be applied during an execution of said functions, and a detection system configured to detect an attack on said electronic system during an execution of a function among said plurality of functions, and comprising: detecting, by said detection system, an attack on said electronic system during an execution of a first function, selecting, based on said detected attack, a security countermeasure configuration to be applied during an exe

  2. Claim 2Independent Claim

    A method for executing a code comprising a plurality of functions by an electronic system configured for a secure execution of said code and for applying during an execution of a function a security countermeasure configuration among a plurality of security countermeasure configurations and comprising a hardware processor and security hardware registers storing, for at least one function among said plurality of functions, a function start address and an associated security countermeasure configuration to be applied during an execution of said at least one function, said method being performed by said electronic system and comprising, when code execution is switched from a first function to a second function: determining (S 4) if one of the security hardware registers stores a second function start address, when one of the security hardware registers stores the second function start address and an associated security countermeasure configuration, applying (S 41) said stored security cou

  3. Claim 3Depends on #2

    The method of claim 2, wherein applying said predetermined security countermeasure configuration comprises deactivating all activated countermeasures.

  4. Claim 4Depends on #2

    The method of claim 2, wherein said electronic system comprises a processor secure status hardware register (psr_sec) storing a start address of a function being executed and a current security countermeasure configuration, and wherein: determining if one of the security hardware registers stores a second function start address comprises comparing the second function start address stored in said processor secure status hardware register (psr_sec) to the function start addresses stored in the security hardware registers (break(i)_sec), and applying a security countermeasure configuration associated to the second function start address before executing said second function comprises activating security countermeasures required in the security countermeasure configuration associated to the second function start address and inactivated in the current security countermeasure configuration.

  5. Claim 5Depends on #4

    The method of claim 4, comprising: when code execution is switched from a first function to a second function, saving the content of the processor secure status hardware register (psr_sec) storing the start address of the first function being executed and updating the processor secure status hardware register (psr_sec) with the start address of the second function, and at the end of the execution of the second function and when execution goes back to the first function, reloading the saved content.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the step of determining if one of the security hardware registers stores a second function start address and/or the step of saving the content and of reloading the saved content are performed by a dedicated hardware circuit.

  7. Claim 7Independent Claim

    A computer program product directly loadable into the memory of at least one computer, comprising software code instructions for configuring a secure execution of a code comprising a plurality of functions, applying during an execution of a function a security countermeasure configuration among a plurality of security countermeasure configurations, said at least one computer comprising a hardware processor, security hardware registers configured for storing start addresses of functions among said plurality of functions and associated security countermeasure configurations to be applied during an execution of said functions, determining when code execution is switched from a first function to a second function: determining (S 4) if one of the security hardware registers stores a second function start address, when one of the security hardware registers stores the second function start address and an associated security countermeasure configuration, applying (S 41) said stored security c

  8. Claim 8Independent Claim

    An electronic system comprising a hardware processor, security hardware registers and a detection system configured for configuring a secure execution of a code comprising a plurality of functions, applying during an execution of a function a security countermeasure configuration among a plurality of security countermeasure configurations, determining when code execution is switched from a first function to a second function: determining (S 4) if one of the security hardware registers stores a second function start address, when one of the security hardware registers stores the second function start address and an associated security countermeasure configuration, applying (S 41) said stored security countermeasure configuration before executing said second function, when no security hardware register stores the second function start address, applying (S 42) a predetermined security countermeasure configuration before executing said second function; and a detection system configured to

Technical Overview & Description

FIELD OF THE INVENTION The present invention relates to the field of securing software execution on an electronic device against attacks, and more particularly to a method for a dynamic activation of countermeasures. BACKGROUND OF THE INVENTION Software execution on an electronic device may be subject to various attacks that enable an attacker to modify maliciously the software code execution on the electronic device or to gain knowledge of sensitive data stored on the secure device, such as secret cryptographic keys or banking information. Various countermeasures have been designed in order to prevent or resist such attacks. One major drawback of such countermeasure is usually their heavy cost that slows down the execution code on a protected electronic device when such countermeasures are activated. In order to avoid a permanent activation of multiple countermeasures, each designed against a different type of attacks, at a very high cost, methods have been proposed in order to activate such countermeasures only when specific code parts, which require a high level of protection, are executed. Such methods usually requires to manually modify the software code to be protected in order to add activation and deactivation commands of each needed countermeasure, at the beginning and the end of each code part to be protected by some countermeasure. Such methods are very cumbersome for the code designers. They may also have a noticeable impact on the code size. In addition, even though their cost in terms of execution time is less than the one of methods implying a permanent activation of the countermeasure, they still induce an overhead that does not take into account the execution environment of the protected electronic device and will remain the same even when the device is not the target of any attack. Consequently there is a need for a software secure execution method on an electronic device which enables to protect only code parts that suffer from attacks, with a min

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (12)

PatentTitleYearCitations

Non-Patent Literature (1)

  • International Search Report (PCT/ISA/210) and Written Opinion (PCT/ISA/237) mailed on Apr. 16, 2021, by the European Patent Office as the International Searching Authority for current International Application No. PCT/EP2020/052559- [13 pages].