EP3008481A1 - Procédé et dispositif d'élaboration automatique d'un modèle de comportement d'un appareil fournissant une interface cryptographique - Google Patents
Procédé et dispositif d'élaboration automatique d'un modèle de comportement d'un appareil fournissant une interface cryptographiqueInfo
- Publication number
- EP3008481A1 EP3008481A1 EP14729344.3A EP14729344A EP3008481A1 EP 3008481 A1 EP3008481 A1 EP 3008481A1 EP 14729344 A EP14729344 A EP 14729344A EP 3008481 A1 EP3008481 A1 EP 3008481A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- providing
- cryptographic interface
- tests
- test
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09C—CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- G09C1/00—Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31719—Security aspects, e.g. preventing unauthorised access during test
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/26—Testing cryptographic entity, e.g. testing integrity of encryption key or encryption algorithm
Definitions
- the present invention relates to a method for automatically generating, using a programmable device, a behavior model of a device providing a cryptographic interface.
- the invention also relates to a programmable device for automatically generating a behavior model of a device providing an associated cryptographic interface and an associated computer program.
- the invention lies in the field of devices providing cryptographic interfaces, and finds a particular application in the field of validation reliability and robustness to possible attacks devices providing a cryptographic interface.
- devices providing a cryptographic interface are commonly used in many areas, such as the banking field, and more generally in any application requiring a guarantee of confidentiality of data to which the device allows access.
- Such devices with cryptographic interface generally offer at least one of the following features: cryptographic key generation, encryption and decryption, key sharing securely between multiple devices.
- These functionalities are provided by a public interface, according to a cryptographic interface standard, such as for example a PKCS ("public key cryptography standards”) standard.
- PKCS public key cryptography standards
- a security audit can be carried out by experts, who set up ad-hoc security tests. Such a security audit is expensive and its effectiveness is largely dependent on the expert who sets it up.
- the invention proposes, according to a first aspect, a method for automatically generating, using a programmable device, a behavior model of a apparatus providing a cryptographic interface.
- the method of the invention comprises the following steps, implemented by a processor of the programmable device:
- the method of the invention makes it possible to automatically develop a model of behavior of a device providing a cryptographic interface, this model being particularly reliable thanks to the use of a calculation of the first implicants.
- the method according to the invention may have one or more of the features below.
- the deletion step includes the substeps of:
- a first implementer labeled as relevant is maintained in the set of first memorized implants.
- said model is constructed as a conjunction of the set of stored first implants.
- obtaining a set of tests to be executed by the apparatus providing a cryptographic interface includes a parameterization of a level of reliability.
- the invention proposes a programmable device for automatically generating a behavior model of a device providing a cryptographic interface.
- This device comprises:
- the device according to the invention comprises means for implementing all the characteristics of the method for automatically generating a behavior model of an apparatus providing a cryptographic interface according to the invention briefly recalled above.
- the invention relates to a computer program comprising instructions for implementing the steps of a method for automatically generating a behavior model of an apparatus providing a cryptographic interface as briefly described herein. above, when executing the program by a processor of a programmable device.
- FIG 1 is a diagram showing the functional blocks of a programmable device capable of implementing the invention
- FIG. 2 is a block diagram of a test system of an apparatus providing a cryptographic interface
- FIG. 3 is a flowchart of a method for automatically generating a behavior model of a device providing a cryptographic interface
- FIGS. 4 to 6 illustrate an example of tests implemented and results obtained
- FIG. 7 illustrates the steps implemented for the deletion of irrelevant first implants.
- FIG. 1 illustrates the main blocks of a device capable of implementing the method of automatically generating a behavior model of an apparatus providing a cryptographic interface according to the invention.
- a programmable device 10 capable of implementing the invention, typically a computer, comprises a screen 12, a means 14 for inputting commands from an operator, for example a keyboard, optionally an additional pointing means 16, such as a mouse , for selecting graphic elements displayed on the screen 12, a central processing unit 18, or CPU, able to execute computer program instructions when the device 10 is powered up.
- the device 10 also comprises information storage means 20, for example registers, capable of storing executable code instructions for the implementation of programs comprising code instructions able to implement the method according to the invention. .
- the various functional blocks of the device 10 described above are connected via a communication bus 22.
- a test system of an apparatus providing a cryptographic interface comprises a programmable device 10, to which is connected an apparatus providing a cryptographic interface 30.
- the connection is made directly via a wired link or remotely, for via a communication network.
- the device 10 is able to send requests 32 in a format defined by an API programming interface 34 of the apparatus providing a cryptographic interface 30, and to receive responses 36.
- This exchange of requests and responses allows, as explained in more detail below, to run a set of tests to the apparatus providing a cryptographic interface 30 and to collect a set of test results. These results are processed by the programmable device 10 to obtain a logical formula of a Boolean function representative of the behavior of the cryptographic interface apparatus.
- FIG. 3 represents the main steps implemented in a method for automatically generating a behavior model of a device providing a cryptographic interface, implemented by a processor 18 of a programmable device 10.
- the method is applied for the automatic development of a behavior model of a device providing a given cryptographic interface.
- a set of tests of the apparatus 30 is obtained.
- This set of tests can be obtained automatically according to the standard implemented by the API of the device providing a cryptographic interface to be tested, and can be parameterized by an operator. Indeed, depending on the setting, the set of tests to be performed is more or less complete. The more complete a set of tests, the higher the reliability level of the behavior model obtained, at the cost of a higher computation time. Thus, a compromise between computing time and reliability level is selectable by an operator.
- An operator can then set the test level according to the number of attributes tested, corresponding to a given level of reliability.
- each command is parameterized by a set of input bit attributes, and the result of each command, after execution by the apparatus 30, is also binary.
- a set of four tests TestT4 Test4 is obtained to test the C_Wrap command according to the standard PKCS # 1 1, which is used to encrypt a cryptographic key K1 ("cipher key ") using a cryptographic key K2 (" wrapped_key ").
- the attribute for the cryptographic key K1 is CKA WRAP
- the attributes for the cryptographic key K2 are CKA_WRAP, CKAJJNWRAP, CKA_SENSITIVE and CKA EXTRACTABLE.
- step 42 the device 10 sends test execution commands to the apparatus providing a cryptographic interface 30, and receives a response including the result of each test performed by that apparatus.
- Each result is stored in a memory zone 20 of the programmable device 10, for example in the form of an array containing the Boolean result of each test executed.
- next calculation step 46 the first implants of the truth table obtained in the preceding step are calculated, in order to obtain the elements making it possible to calculate the simplest logical formula representative of the behavior of the apparatus providing a cryptographic interface.
- the known method of Quine-Mc Cluskey is for example used.
- the implementation of the method of calculating the first implicants is that described in EP0568424 B1, here incorporated by reference, using a tree representation of a binary decision diagram associated with a truth table, and intermediate elements. standardized, thus reducing memory space consumption when calculating prime implicants.
- a logical atom is associated with each attribute, for example W1 is associated with CKA_WRAP for K1 (key that encodes), W2 with CKA_WRAP for K2 (key that is encrypted), U with CKAJJNWRAP, S for CKA_SENSITIVE and E for CKA EXTRACTABLE.
- step 46 For the case of the example illustrated in FIGS. 4 to 6, the following first implicants are obtained at the end of step 46, where represents the logical "NO": V ⁇ (, ⁇ W 2 , -i U, E.
- This removal step aims to filter the first implants obtained earlier that are not relevant to the behavior of the cryptographic interface device but that result from the set of tests selected in step 40.
- step 48 according to one embodiment of the invention is described with reference to FIG. 7.
- a logical formula for describing the set of tests executed is constructed, independently of the result of each of the tests.
- a logic formula involvement denoted F (k) is constructed in step 64.
- the logical formula of implication is constructed in the following way. To the left of this formula is the conjunction of FD and all prime implicants except l k whose relevance is sought. To the right of the logical formula of implication is the first implicant k, whose relevance is sought to be estimated.
- the validity test step 66 is then followed by the storage step 68 of the first implying l k .
- the first implants calculated during the previous step of calculating the first implicants 46 are already stored, for example in a table, and step 68 does not require any additional action.
- step 66 is followed by a step 70 of deleting the first implicant l k of the first implants stored at the end of the step of calculating prime implicants 46.
- step 70 consists of erasing the element l k of this table.
- step 48 of removing irrelevant first implants a reduced set of relevant first implants is retained.
- this restricted set makes it possible to speed up the calculations later and to make the result more reliable, while avoiding the use of irrelevant first implicants which are only a consequence of the set of selected tests.
- the remaining first implicant set is used in the next build step 50 to construct a model of the apparatus providing a processed cryptographic interface.
- the model is expressed as a conjunction of the relevant first implants stored.
- the model is given by W Y / ⁇ E.
- the model is stored in an appropriate format, for example saved in a text file.
- the record uses the cryptographic interface standard, so as to be easily re-usable.
- the model is for example registered in the form: CKA_WRAP (cipher_key) && CKA EXTRACTABLE (wrapped_key).
- the model thus recorded can then be used at a later stage of use for validation of the apparatus providing a crytographic interface 30.
- ⁇ - ⁇ ⁇ ⁇ can examine all possible sequences of commands to find out if a sequence exists that compromises the security policy.Each sequence obtained corresponds to a state of the model. of device behavior obtained by the method described above, and the security policy defines acceptable or authorized states and unauthorized states
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Stored Programmes (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR1355374A FR3006784B1 (fr) | 2013-06-11 | 2013-06-11 | Procede et dispositif d'elaboration automatique d'un modele de comportement d'un appareil fournissant une interface cryptographique |
| PCT/EP2014/062126 WO2014198771A1 (fr) | 2013-06-11 | 2014-06-11 | Procédé et dispositif d'élaboration automatique d'un modèle de comportement d'un appareil fournissant une interface cryptographique |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP3008481A1 true EP3008481A1 (fr) | 2016-04-20 |
Family
ID=50473364
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP14729344.3A Withdrawn EP3008481A1 (fr) | 2013-06-11 | 2014-06-11 | Procédé et dispositif d'élaboration automatique d'un modèle de comportement d'un appareil fournissant une interface cryptographique |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20160111025A1 (fr) |
| EP (1) | EP3008481A1 (fr) |
| FR (1) | FR3006784B1 (fr) |
| WO (1) | WO2014198771A1 (fr) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0507535A2 (fr) * | 1991-03-28 | 1992-10-07 | Genrad, Inc. | Un système pour déterminer le fonctionnement d'un circuit intégré et un processeur pour ce système |
| US5434794A (en) * | 1992-04-28 | 1995-07-18 | Bull S. A. | Method for automatically producing an implicit representation of the prime implicants of a function |
| US5649163A (en) * | 1992-10-29 | 1997-07-15 | Altera Corporation | Method of programming an asynchronous load storage device using a representation of a clear/preset storage device |
| US20130019216A1 (en) * | 2011-07-11 | 2013-01-17 | The Board Of Trustees Of The University Of Illinos | Integration of data mining and static analysis for hardware design verification |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5502648A (en) * | 1989-11-20 | 1996-03-26 | Massachusetts Institute Of Technology | Data processing method of generating integrated circuits using prime implicants |
-
2013
- 2013-06-11 FR FR1355374A patent/FR3006784B1/fr active Active
-
2014
- 2014-06-11 US US14/897,090 patent/US20160111025A1/en not_active Abandoned
- 2014-06-11 WO PCT/EP2014/062126 patent/WO2014198771A1/fr not_active Ceased
- 2014-06-11 EP EP14729344.3A patent/EP3008481A1/fr not_active Withdrawn
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0507535A2 (fr) * | 1991-03-28 | 1992-10-07 | Genrad, Inc. | Un système pour déterminer le fonctionnement d'un circuit intégré et un processeur pour ce système |
| US5434794A (en) * | 1992-04-28 | 1995-07-18 | Bull S. A. | Method for automatically producing an implicit representation of the prime implicants of a function |
| US5649163A (en) * | 1992-10-29 | 1997-07-15 | Altera Corporation | Method of programming an asynchronous load storage device using a representation of a clear/preset storage device |
| US20130019216A1 (en) * | 2011-07-11 | 2013-01-17 | The Board Of Trustees Of The University Of Illinos | Integration of data mining and static analysis for hardware design verification |
Non-Patent Citations (3)
| Title |
|---|
| JULIEN BOTELLA ET AL: "Model-Based Testing of Cryptographic Components -- Lessons Learned from Experience", SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON, IEEE, 18 March 2013 (2013-03-18), pages 192 - 201, XP032444372, ISBN: 978-1-4673-5961-0, DOI: 10.1109/ICST.2013.42 * |
| See also references of WO2014198771A1 * |
| U.G. NAWATHE ET AL: "Implementation of an 8-Core, 64-Thread, Power-Efficient SPARC Server on a Chip", IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 43, no. 1, 1 January 2008 (2008-01-01), USA, pages 6 - 20, XP055730029, ISSN: 0018-9200, DOI: 10.1109/JSSC.2007.910967 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20160111025A1 (en) | 2016-04-21 |
| FR3006784A1 (fr) | 2014-12-12 |
| FR3006784B1 (fr) | 2015-07-03 |
| WO2014198771A1 (fr) | 2014-12-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3241137B1 (fr) | Procede mis en oeuvre dans un document d'identite et document d'identite associe | |
| WO2012152607A1 (fr) | Dispositif et procede de generation de cles a securite renforcee pour algorithme de chiffrement pleinement homomorphique | |
| FR3107416A1 (fr) | Tokenisation aléatoire efficace dans un environnement dématérialisé | |
| WO2019106186A1 (fr) | Plate-forme de tracabilite securisee de donnees | |
| EP2705644A1 (fr) | Procede de detection d'intrusions sur un ensemble de ressources virtuelles | |
| CN107317814A (zh) | 与应用透明的密文搜索方法、网关装置、网关设备和系统 | |
| WO2012140339A1 (fr) | Procédé et système de sécurisation d'un logiciel | |
| WO2003042812A2 (fr) | Securisation d'un generateur pseudo-aleatoire | |
| CN114944938A (zh) | 异常行为检测方法、装置、计算机设备和存储介质 | |
| EP3008481A1 (fr) | Procédé et dispositif d'élaboration automatique d'un modèle de comportement d'un appareil fournissant une interface cryptographique | |
| WO2020136266A1 (fr) | Procédé et système de maintenance assistée par ordinateur | |
| CN113434861A (zh) | 一种WebShell检测方法及其系统 | |
| CN106470108B (zh) | 一种生成目标事件的口令的方法及装置 | |
| FR3068498B1 (fr) | Procedes de partage et d'utilisation d'un secret | |
| FR3098939A1 (fr) | Dispositif et Procédé pour l’analyse de performances d’une application web | |
| EP3842970B1 (fr) | Procédé de vérification du mot de passe d'un dongle, programme d'ordinateur, dongle et terminal utilisateur associés | |
| WO2019122241A1 (fr) | Procédé de construction automatique de scénarios d'attaques informatiques, produit programme d'ordinateur et système de construction associés | |
| EP2889855B1 (fr) | Procédé de conception d'une architecture reconfigurable de traitement d'un ensemble d'opérations multi-niveau de sécurité | |
| WO2017103526A1 (fr) | Procede d'elaboration d'un mot challenge, dispositif electronique, peripherique de consigne et systeme mettant en oeuvre ledit procede | |
| WO2004032329A2 (fr) | Logiciel et procede d'authentification de celui-ci. | |
| EP3153961A1 (fr) | Procédé et système de sauvegarde répartie dynamique | |
| CN113987520A (zh) | 渗透测试信息收集方法、装置、设备、介质和程序产品 | |
| CN115913543A (zh) | 数据加密方法、装置、存储介质及电子设备 | |
| EP4078416A1 (fr) | Procédé de contrôle d'un système électronique par compteurs de performance bas niveaux et comprenant au moins un ensemble d'applicatif(s) logiciels non maîtrisés s'exécutant sur un processeur et un dispositif de contrôle | |
| EP2462718A1 (fr) | Procede de generation de demi-cles cryptographiques et systeme associe |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| 17P | Request for examination filed |
Effective date: 20151211 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| AX | Request for extension of the european patent |
Extension state: BA ME |
|
| DAX | Request for extension of the european patent (deleted) | ||
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Free format text: PREVIOUS MAIN CLASS: G01R0031317000 Ipc: G09C0001000000 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: G09C 1/00 20060101AFI20170308BHEP Ipc: G01R 31/317 20060101ALI20170308BHEP |
|
| 17Q | First examination report despatched |
Effective date: 20170322 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
| 18D | Application deemed to be withdrawn |
Effective date: 20231024 |