METHOD FOR THE SECURITY OF AN ELECTRONIC OPERATION WITH A CHIP CARD
20180183597 ยท 2018-06-28
Assignee
Inventors
Cpc classification
H04L9/3226
ELECTRICITY
G06Q20/389
PHYSICS
G07F7/082
PHYSICS
G07F7/084
PHYSICS
G06F21/55
PHYSICS
H04L9/0894
ELECTRICITY
G06Q20/341
PHYSICS
International classification
H04L9/32
ELECTRICITY
Abstract
A method for assisting in improving the security of an electronic operation carried out via a chip card. The method comprises comparing a cryptographic nonce received last by the chip card with at least one reference cryptographic nonce stored on the chip card, in order to quantify their degree of similarity by a last similarity data. If the last similarity data or global similarity data coming from the last similarity data satisfies a predefined condition, a countermeasure is taken in order to increase the security of the electronic operation.
Claims
1. A method for assisting in improving the security of an electronic operation with a chip card, said chip card comprising a memory that stores reference cryptographic nonces, with the method comprising the steps of: (a) receiving a last cryptographic nonce intended for determining a securing cryptogram for said electronic operation; (b) determining a last similarity data on the basis of the result of at least one comparison between said cryptographic nonce and one of said reference cryptographic nonces stored in said memory; (c) storing said last similarity data in said memory; (d) checking if said last similarity data satisfies a predefined condition; and (e) taking a countermeasure if said last similarity data satisfies said predefined condition.
2. The method according to claim 1, further comprising storing said last cryptographic nonce in said memory.
3. The method according to claim 2, wherein at least one of the reference cryptographic nonces is a cryptographic nonce received during an electronic operation prior to said electronic operation.
4. The method according to claim 1, wherein at least one of the reference cryptographic nonces is fixed.
5. The method according to claim 1, further comprising a sending of information to a verification entity.
6. The method according to claim 1, wherein the step (b) comprises: comparing said last cryptographic nonce with a first reference cryptographic nonce in such a way as to obtain a first intermediate similarity data; comparing said last cryptographic nonce with a second reference cryptographic nonce in such a way as to obtain a second intermediate similarity data; and comparing said first and second intermediate similarity data in such a way as to choose from it the last similarity data.
7. The method according to claim 1, wherein the last cryptographic nonce comprises first elements located at positions in the last cryptographic nonce, the reference cryptographic nonce comprises second elements located at positions in the reference cryptographic nonce, with each position in the last cryptographic nonce having an equivalent position in the reference cryptographic nonce and the comparison comprises comparing each first element with the second element located in the equivalent position.
8. The method according to claim 7, wherein an element is a byte, a nibble, or a bit.
9. The method according to claim 1, wherein the step (d) comprises comparing the last similarity data and a preceding global similarity data stored in said memory during a preceding carrying out of said method in order to determine a last global similarity data.
10. The method according to claim 1, wherein said countermeasure prevents the continuation of said electronic operation.
11. The method according to claim 1, wherein said electronic operation is compliant with the EMV protocol.
12. The method according to claim 1, comprising, if said last similarity data does not satisfy said predefined condition, determining a securing cryptogram based on said last cryptographic nonce and on said key and sending said securing cryptogram to a verification entity.
13. A computer system for assisting in improving the security of an electronic operation, the system comprising: a chip card comprising a memory that stores reference cryptographic nonces and first computer execution means configured to: receive a last cryptographic nonce intended for determining a securing cryptogram for said electronic operation; determine a last similarity data on the basis of the result of at least one comparison between said cryptographic nonce and one of said reference cryptographic nonces stored in said memory; and store said last similarity data in said memory.
14. The computer system according to claim 13, further comprising second computer execution means configured to: check if said last similarity data satisfies a predefined condition; and take a countermeasure if said last similarity data satisifies said predefined condition.
15. A non-transitory computer-readable medium having computer-executable instructions stored thereon that, in response to execution by one or more processors of a computing device, cause the computing device to assist in improving the security of an electronic operation with a chip card, said chip card comprising a memory that stores reference cryptographic nonces, by: (a) receiving a last cryptographic nonce intended for determining a securing cryptogram for said electronic operation; (b) determining a last similarity data on the basis of the result of at least one comparison between said cryptographic nonce and one of said reference cryptographic nonces stored in said memory; (c) storing said last similarity data in said memory; (d) checking if said last similarity data satisfies a predefined condition; and (e) taking a countermeasure if said last similarity data satisfies said predefined condition.
Description
DESCRIPTION OF THE DRAWINGS
[0048] The foregoing aspects and many of the attendant advantages of the claimed subject matter will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
DETAILED DESCRIPTION
[0055] The detailed description set forth below in connection with the appended drawing, where like numerals reference like elements, is intended as a description of various embodiments of the disclosed subject matter and is not intended to represent the only embodiments. Each embodiment described in this disclosure is provided merely as an example or illustration and should not be construed as preferred or advantageous over other embodiments. The illustrative examples provided herein are not intended to be exhaustive or to limit the claimed subject matter to the precise forms disclosed.
[0056] This invention is described with particular embodiments and with reference to figures but the invention is not limited by the latter. The drawings or figures described are only diagrams and are not limiting.
[0057] In the context of this document, the terms first, second or last are used only to differentiate the various elements and do not imply any order between these elements.
[0058] In the figures, identical or similar elements can bear the same references.
[0059]
[0060] When the chip card 1 is connected to the reader 2 to carry out an electronic operation, the latter can take place online or offline. If it takes place online, this means that the reader 2 is in communication with the verification entity 3 when the chip card 1 is in communication with the reader 2. As such, a securing cryptogram and a cryptographic nonce can be sent directly to the verification entity 3. The verification entity 3 can directly verify the securing cryptogram by using the cryptographic nonce as a base and if the verification is successful, the verification entity 3 can authorise the electronic operation. If the electronic operation takes place offline, the reader 2 itself applies determined verification criteria in order to decide if the electronic operation in progress is authorised. An electronic operation online is therefore more secure than an electronic operation offline.
[0061]
[0062] If the last similarity data 51 does not satisfy the predefined condition (no), the electronic operation continues. This includes in particular that the chip card 1 uses the last cryptographic nonce 41 and a key 71 stored in its memory 11 in order to determine a securing cryptogram 61. The chip card 1 then sends the securing cryptogram 61 to the reader 2. Afterwards, the reader 2 sends the securing cryptogram 61 to the verification entity 3.
[0063] If the last similarity data 51 satisfies the predefined condition (yes), the computer system 100 takes 107 a countermeasure. The countermeasure can be, for example, that the electronic operation has to be carried out online. The countermeasure can be, for example, that the electronic operation is refused, which prevents the following steps of the electronic operation. The countermeasure can be, for example, that the currently executed application and relative to the electronic operation is blocked. In this case, only a specific command can unblock the application. The countermeasure can be, for example, that all contactless electronic operations between the reader 2 and the chip card 1 become prohibited, only electronic operations with contact remain authorised. The countermeasure can be, for example, to block the chip card 1 reversibly or irreversibly. The countermeasure can be, for example, to erase the memory 11 of the chip card 1. If the verification 106 is at least partially carried out by the verification entity 3, the countermeasure 107 comprises, preferably, the sending of information from the verification entity 3 to the chip card 1.
[0064] Preferably, the countermeasure 107 can be configured in the customisation phase.
[0065] In an embodiment of the invention, the verification 106 is carried out by the chip card 1. Preferably, in such a case, the countermeasure 107 can be configured in the customisation phase.
[0066] In an embodiment of the invention, the verification and the countermeasure 107 are implemented by the chip card 1. Preferably, in such a case, the countermeasure 107 can be configured in the customisation phase.
[0067] In an embodiment of the invention, the predefined condition is that last similarity data 51 is below a certain threshold or is above a certain threshold.
[0068] In an embodiment of the invention, the predefined condition is that resulting data determined from the last similarity data 51 is below a certain threshold or is above a certain threshold.
[0069]
[0070] In an embodiment of the invention, the database 300 comprises eight rows in such a way as to store information relating to eight electronic operations. It is possible to define a criterion for the last similarity data 51 in such a way that only the electronic operations of which the last similarity data 51 corresponds to this criterion, i.e. the most doubtful electronic operations, have information stored in the database 300. In the framework of the EMV protocol, the number of rows of the database 300 and possibly the criterion can be configured in the customisation phase via an EMV command and a proprietary DGI.
[0071]
[0072] During a first comparison 103a, the last cryptographic nonce 41 is compared to a first reference cryptographic nonce 40a. This results in a first intermediate similarity data 52a. During a second comparison 103b, the last cryptographic nonce 41 is compared to a second reference cryptographic nonce 40b. This results in a second intermediate similarity data 52b. During a third comparison 103c, the last cryptographic nonce 41 is compared to a third reference cryptographic nonce 40c. This results in a third intermediate similarity data 52c. During a fourth comparison 103d, the last cryptographic nonce 41 is compared to a fourth reference cryptographic nonce 40d. This results in a fourth intermediate similarity data 52d.
[0073] The intermediate similarity data 52a, 52b, 52c, 52d are then compared 104 and the one that corresponds to the greatest similarity between any of the reference cryptographic nonces 40a, 40b, 40c, 40d and the last cryptographic nonce 41 is chosen to be the last similarity data 51.
[0074] In an embodiment of the invention, the first reference cryptographic nonce 40a is a fixed piece of data, for example a fixed number. It can be 00 00 00 00 for example.
[0075] In an embodiment of the invention, the second reference cryptographic nonce 40b is a fixed piece of data, for example a fixed number. It can be FF FF FF FF for example.
[0076] In an embodiment of the invention, the third reference cryptographic nonce 40c is a cryptographic nonce received during a prior electronic operation. To use the example shown in
[0077] In an embodiment of the invention, the fourth reference cryptographic nonce 40d is a cryptographic nonce received during another prior electronic operation. To use the example shown in
[0078]
[0079] It is possible, while still remaining within the scope of the invention, to carry out the comparison 103 in a similar manner if the elements of the cryptographic nonces 40, 41 are nibbles, bits etc. and regardless of the number of these elements.
[0080]
[0081] The byte located at the position 82 of the reference cryptographic nonce 40 is compared to the byte located at the position 92 of the last cryptographic nonce 41. If these bytes are different, one is added to the similarity data 51. If they are equal, nothing is added to the similarity data 51.
[0082] The byte located at the position 83 of the reference cryptographic nonce 40 is compared to the byte located at the position 93 of the last cryptographic nonce 41. If these bytes are different, one is added to the similarity data 51. If they are equal, nothing is added to the similarity data 51.
[0083] The byte located at the position 84 of the reference cryptographic nonce 40 is compared to the byte located at the position 94 of the last cryptographic nonce 41. If these bytes are different, one is added to the similarity data 51. If they are equal, nothing is added to the similarity data 51.
[0084] In summary, if the four bytes are different, the similarity data 51 (or intermediate similarity data 52) for this comparison 103 is equal to four; and if the four bytes are equal, the similarity data 51 (or intermediate similarity data 52) for this comparison 103 is equal to zero. For example, if the last cryptographic nonce 41 is 17 00 C8 D3 and the reference cryptographic nonce 40 is 17 FF C8 D3, the similarity data 51 (or intermediate similarity data 52) is equal to one.
[0085]
[0086]
[0087] Generally, regardless of the way in which the comparison 103 is carried out, the similarity data 51 is preferably determined using the number of different elements between the last cryptographic nonce 41 and the reference cryptographic nonce 40 to which it is compared.
[0088] In an embodiment of the invention, the verification 106 comprises a first portion carried out by the chip card 1 and shown in
[0089] During this first portion of the verification 106, a global similarity data 50 is determined in the following way. The global similarity data 50 is preferably the worst similarity data obtained during all of the determinations 102. The last similarity data 51 is compared 105 with a global similarity data 50p of a preceding electronic operation that was stored in the memory 11. This global similarity data 50p of a preceding electronic operation can be called preceding global similarity data. The global similarity data 50 is chosen between the last similarity data 51 and the preceding global similarity data 50p based on a determined global criterion. This global similarity data 50 chosen can be called last global similarity data. Preferably, the one which is chosen is the one that corresponds to the greatest degree of similarity. For example, the smallest of the last similarity data 51 and the preceding global similarity data 50p is chosen. Preferably, the information of the database 300 concerning the electronic operation which corresponds to the global similarity data 50 chosen in stored in order to be able to be read easily. As such, according to this example, the verification 106 can include determining if the min (the preceding global similarity data 50p; the last similarity data 51)<threshold, which is a way of checking if the last similarity data satisfies the predefined condition.
[0090] In a first embodiment of the invention, the verification 106 is carried out by the chip card 1 and the taking of the countermeasure 107 is carried out by the chip card 1. Preferably, it is furthermore possible, that the verification entity 3 request the last similarity data 51 from the chip card 1, for example via a read record command or requests the last global similarity data 50 from the chip card 1, for example via a get data command. For example, the verification entity 3 can make this request if the ATC numbers that it has received are not consecutive. The verification entity 3 can then process the similarity data received and possibly decide to take a second countermeasure.
[0091] In a second embodiment of the invention, the verification 106 comprises the following steps. The verification entity 3 requests the last similarity data 51 the chip card 1, for example via a read record command or, if the steps shown in
[0092] Generally, if the chip card 1 receives a get data command from the verification entity 3, at least one portion of the information contained in the database 300 can be sent to the verification entity 3 so that the fraudulent reader and/or the fraudulent merchant can be determined.
[0093] In other terms, the invention relates to a method for assisting in improving the security of an electronic operation carried out via a chip card 1. The method comprises comparing 103 a cryptographic nonce 41 received last by the chip card 1 with at least one reference cryptographic nonce 40 stored on the chip card 1, in order to quantify their degree of similarity by a last similarity data 51. If the last similarity data 51 or global similarity data 50 coming from the last similarity data 51 satisfies a predefined condition, a countermeasure 107 is taken in order to increase the security of the electronic operation.
[0094] This invention has been described in relation with specific embodiments, which have a purely illustrative value and must not be considered as being limiting. Generally, this invention is not limited to the examples shown and/or described hereinabove. The use of the verbs comprise or include or any other alternative, as well as the conjugations thereof, cannot in any way exclude the presence of elements other than those mentioned. Use of the indefinite article a or an, or of the definite article the, for introducing an element does not exclude the presence of a plurality of these elements. The reference numbers in the claims do not limit their scope.
[0095] The principles, representative embodiments, and modes of operation of the present disclosure have been described in the foregoing description. However, aspects of the present disclosure which are intended to be protected are not to be construed as limited to the particular embodiments disclosed. Further, the embodiments described herein are to be regarded as illustrative rather than restrictive. It will be appreciated that variations and changes may be made by others, and equivalents employed, without departing from the spirit of the present disclosure. Accordingly, it is expressly intended that all such variations, changes, and equivalents fall within the spirit and scope of the present disclosure, as claimed.