主权项 |
1. A data processing method implemented in an electronic apparatus for securing a microcircuit card against fault generation attacks comprising the following steps performed by a microprocessor of the microcircuit card during a same execution of a computer program by the microprocessor:
verifying a criterion indicative of normal running of the method to detect a fault generation attack on the microcircuit card; updating an error flag when the verifying step result is negative, thereby detecting a fault generation attack on the microcircuit card; testing the error flag; and a processing executed when the step of testing the error flag indicates the verifying step result is negative and a fault generation attack is detected on the microcircuit card, wherein the processing step is separated from the verifying step by an intermediate step of non-null duration performed prior to testing the error flag, wherein a first action is performed when the verifying step result is positive and prior to testing the error flag, wherein the intermediate step includes performing at least one second action having a same first external signature observable by an observer external to the microcircuit card as the first action, wherein a third action is performed after testing the error flag when the verifying step result is positive and wherein the processing step includes performing at least one fourth action having a same second external signature observable by the observer external to the microcircuit card as the third action, wherein said third and fourth actions comprise writing data in a physical memory and wherein said fourth action comprises the writing of at least one of:
blocking data preventing any subsequent use of the electronic apparatus, anddata representative of a detected anomaly when the verifying step result is negative, said data representative of the detected anomaly enabling an analysis of a problem encountered by said electronic apparatus, wherein the same first external signature is a same electrical consumption signature or a same electromagnetic radiation signature of the electronic apparatus generated by the first action and by the second action and the same second external signature is a same electrical consumption signature or a same electromagnetic radiation signature of the electronic apparatus generated by the third action and by the fourth action. |