WO2003012650A2 - Procede pour proteger un logiciel a l'aide de 'dissociation temporelle' contre son utilisation non autorisee - Google Patents
Procede pour proteger un logiciel a l'aide de 'dissociation temporelle' contre son utilisation non autorisee Download PDFInfo
- Publication number
- WO2003012650A2 WO2003012650A2 PCT/FR2002/002339 FR0202339W WO03012650A2 WO 2003012650 A2 WO2003012650 A2 WO 2003012650A2 FR 0202339 W FR0202339 W FR 0202339W WO 03012650 A2 WO03012650 A2 WO 03012650A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- execution
- unit
- protected software
- software
- protected
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 118
- 238000010494 dissociation reaction Methods 0.000 title description 13
- 230000005593 dissociations Effects 0.000 title description 13
- 230000002123 temporal effect Effects 0.000 title description 12
- 238000012545 processing Methods 0.000 claims abstract description 265
- 230000001419 dependent effect Effects 0.000 claims description 96
- 238000001514 detection method Methods 0.000 claims description 67
- 238000005259 measurement Methods 0.000 claims description 60
- 238000012986 modification Methods 0.000 claims description 55
- 230000004048 modification Effects 0.000 claims description 55
- 238000003860 storage Methods 0.000 claims description 47
- 230000001960 triggered effect Effects 0.000 claims description 30
- 238000009826 distribution Methods 0.000 claims description 21
- 238000011084 recovery Methods 0.000 claims description 21
- 238000010276 construction Methods 0.000 claims description 15
- 238000011144 upstream manufacturing Methods 0.000 claims description 13
- 230000001131 transforming effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 4
- 229940083753 renown Drugs 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 4
- 238000012546 transfer Methods 0.000 description 58
- 238000012544 monitoring process Methods 0.000 description 11
- 230000006872 improvement Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000011282 treatment Methods 0.000 description 9
- 230000014509 gene expression Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 238000009877 rendering Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012163 sequencing technique Methods 0.000 description 3
- 230000004069 differentiation Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 210000000720 eyelash Anatomy 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
- G06F21/123—Restricting unauthorised execution of programs by using dedicated hardware, e.g. dongles, smart cards, cryptographic processors, global positioning systems [GPS] devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/14—Protection against unauthorised use of memory or access to memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
- G06F21/125—Restricting unauthorised execution of programs by manipulating the program code, e.g. source code, compiled code, interpreted code, machine code
Definitions
- the present invention relates to the technical field of data processing systems in the general sense and it relates, more specifically, to the means for protecting, against its unauthorized use, software running on said data processing systems.
- the object of the invention relates, more particularly, to the means for protecting software against its unauthorized use, from a processing and storage unit, such a unit being commonly embodied by a smart card or by a hardware key on USB port.
- a processing and storage unit such a unit being commonly embodied by a smart card or by a hardware key on USB port.
- the main drawback concerns the unauthorized use of software by users who have not paid license fees.
- This unlawful use of software causes obvious damage to software publishers, software distributors and / or any person integrating such software into products.
- various solutions have been proposed in the state of the art to protect software.
- a protection solution which consists in implementing a material protection system, such as a physical element called a protection key or "dongle" in English terminology.
- a protection key should guarantee the execution of the software only in the presence of the key.
- a malicious person or hacker can, using specialized tools, such as disassemblers, remove the control key control instructions. It then becomes possible to make illegal copies corresponding to modified versions of software that no longer have any protection.
- this solution cannot be generalized to all software, since it is difficult to connect more than two protection keys on the same system.
- the object of the invention is precisely to remedy the drawbacks stated above by proposing a method for protecting software against its non-use authorized, from an ad hoc processing and storage unit, insofar as the presence of such a unit is necessary for the software to be fully functional.
- the object of the invention relates to a method for protecting, from at least one blank unit comprising at least processing means and storage means, vulnerable software against its unauthorized use, said vulnerable software running on a data processing system.
- the method according to the invention consists: - in a protection phase: • to create protected software:
- a first part of execution is executed in the data processing system and a second part of execution is executed in a unit, obtained from the blank unit after loading of information ,> the second execution part performs at least the functionality of at least one chosen algorithmic processing,
- step commands are defined so that during the execution of the protected software, each step command is executed by the first execution part and triggers, in the unit, execution by means of the second part of execution, of a step,
- a scheduling of the stage commands is chosen from all the schedules allowing the execution of the protected software, - and by producing:
- a first object part of the protected software from the source of the protected software, this first object part being such that during the execution of the protected software, a first execution part appears which is executed in the data processing system and at least a portion of which takes into account that the step commands are executed according to the chosen scheduling,> and a second object part of the protected software, this second object part being such that, after loading into the blank unit and during from the execution of the protected software, the second execution part appears by means of which the steps triggered by the first execution part are executed, • and to load the second object part into the blank unit, with a view to obtain the unit, and in a use phase during which the protected software is executed:
- the method according to the invention consists: - in the protection phase:
- this first object part being such that during the execution of the protected software, at least a portion of the first part of execution also takes into account that at least one variable or at least one copy of variable resides in unit,
- this second object part being such that, after loading into the unit and during the execution of the protected software, the second execution part appears by means of which at least one variable chosen , or at least one copy of the chosen variable also resides in the unit,
- the method according to the invention consists:
- operating means allowing the unit to execute the elementary functions of said game, the execution of these elementary functions being triggered by the execution in the data processing system of elementary commands,
- elementary commands are integrated into the source of the protected software, so that during the execution of the protected software, each elementary command is executed by the first part of execution and triggers in the unit , execution by means of the second part of execution, of an elementary function,
- this first object part being such that during the execution of the protected software, at least a portion of the first execution part also executes the elementary commands according to the chosen scheduling,> and the second object part of the protected software also containing the operating means, this second object part being such that, after loading into the unit and during the execution of the protected software, the second part of execution appears by means of which are also executed the elementary functions triggered by the first part of execution,
- the method according to the invention consists:
- detection means to be implemented in the unit and making it possible to detect that at least one characteristic of software execution does not meet at least one associated criterion
- the second object part of the protected software containing the operating means also using the detection means and the coercion means, this second object part being such that, after loading into the unit and during the protected software execution, at least one software execution characteristic is monitored and non-compliance with a criterion results in information to the data processing system and / or in a modification of the execution of the protected software, - and in the use phase: "in the presence of the unit :
- the method according to the invention consists: - in the protection phase:
- the method according to the invention consists:
- the method according to the invention consists: -> in the protection phase:
- the method according to the invention consists of: -.> In the protection phase: • to be defined:
- the method according to the invention consists: -> in the protection phase: • to be defined:
- a desired sequence for the execution of the instructions - as detection means, means making it possible to detect that the sequence of the instructions does not correspond to that desired
- the method according to the invention consists: -> in the protection phase: • to be defined:
- detection means means making it possible, during the execution of an instruction, for each operand, when the flag field requires it, to check the equality between the identification field generated corresponding to the register used by this operand, and the expected identification field of the origin of this operand,
- the method according to the invention consists:
- a triggering command an elementary command or an instruction command, - as a dependent function, an elementary function or an instruction, - as a setpoint, at least one argument for a triggering command, corresponding at least in part to the information transmitted by the data processing system to the unit, in order to trigger the execution of the corresponding dependent function , - a method of renaming the setpoints making it possible to rename the setpoints in order to obtain triggering commands with renowned setpoints,
- the second object part of the protected software containing the operating means also implementing the recovery means, this second object part being such that, after loading into the unit and during the execution of the protected software, the identity of the dependent functions whose execution is triggered by the first part of execution is restored by means of the second part of execution, and the dependent functions are executed by means of the second part of execution, - and in the use phase:
- the method according to the invention consists: -> in the protection phase: • to define for at least one dependent function, a family of dependent functions that are algorithmically equivalent, but triggered by triggering commands, including the renowned setpoints are different,
- the method according to the invention consists: -> in the protection phase, in defining, for at least one dependent function, a family of algorithmically equivalent dependent functions:
- the method according to the invention consists: - in the protection phase:
- the method according to the invention consists of: -. in the protection phase:
- this second object part being such that, after loading into the unit and during the execution of the protected software, the second execution part appears by means of which the functionality of minus a conditional connection chosen is executed, -> and in the use phase: • in the presence of the unit and whenever a portion of the first part of execution requires it, to execute the functionality of at least one conditional connection in the unit, so that this part is executed correctly and therefore the protected software is fully functional,
- the method according to the invention consists, in the protection phase, of modifying the protected software:
- the method according to the invention thus makes it possible to protect the use of software by the implementation of a processing and storage unit which has the particularity of containing part of the software being executed. It follows that any version derived from the software attempting to operate without the processing and storage unit requires recreating the part of the software contained in the processing and storage unit during execution, on pain of this version derived from the software is not fully functional.
- the fîg. 10 and 11 are functional block diagrams illustrating the various representations of software respectively unprotected and protected by the method according to the invention.
- the fîg. 20 to 22 illustrate, by way of examples, various embodiments of a device for implementing the method according to the invention.
- the fîg. 30 and 31 are functional block diagrams explaining the general principle of the method according to the invention.
- the fîg. 40 to 43 are diagrams illustrating the protection method according to the invention implementing the principle of protection by variable.
- the fîg. 50 to 54 are diagrams illustrating the protection method according to the invention implementing the principle of protection by temporal dissociation.
- the fîg. 60 to 64 are diagrams illustrating the protection method according to the invention implementing the principle of protection by elementary functions.
- the fîg. 70 to 74 are diagrams illustrating the protection method according to the invention implementing the principle of protection by detection and coercion.
- the fîg. 80 to 85 are diagrams illustrating the protection method according to the invention implementing the principle of protection by renaming.
- the fîg. 90 to 92 are diagrams illustrating the protection method according to the invention implementing the principle of protection by conditional branching.
- the fig. 100 is a diagram illustrating the different phases of implementation of the subject of the invention.
- the fig. 110 illustrates an exemplary embodiment of a system allowing the implementation of the stage of construction of the protection phase according to the invention.
- the fig. 120 illustrates an exemplary embodiment of a pre-personalization unit used in the protection method according to the invention.
- the fig. 130 illustrates an embodiment of a system allowing the implementation of the tool-making stage of the protection phase according to the invention.
- the fig. 140 illustrates an embodiment of a system allowing the implementation of the protection method according to the invention.
- the fig. 150 illustrates an embodiment of a personalization unit used in the protection method according to the invention.
- the following definitions will be used:
- a data processing system 3 is a system capable of executing a program.
- a processing and storage unit is a unit capable of:
- a unit 6 is a processing and storage unit implementing the method according to the invention.
- a blank unit 60 is a unit which does not implement the method according to the invention, but which can receive information transforming it into a unit 6.
- a pre-personalized unit 66 is a blank unit 60 having received part of the information allowing it, after receiving additional information, to be transformed into a unit 6.
- Loading information into a blank unit 60 or a prepersonalized unit 66 corresponds to a transfer of information in the unit blank 60 or the pre-personalized unit 66, and a storage of said transferred information.
- the transfer may include a change in information format.
- a variable, data or function contained in the data processing system 3 will be indicated by a capital letter, while a variable, data or function contained in unit 6 will be indicated by a small letter.
- Protected software is software that has been protected by at least one protection principle implemented by the process according to the invention.
- Virtual software is software that has not been protected by any protection principle implemented by the process according to the invention.
- a source representation of software is understood as a representation which, after transformation, gives an object representation.
- a source representation can be presented at different levels, from an abstract conceptual level to a level executable directly by a data processing system or a processing and storage unit.
- An object representation of a software corresponds to a level of representation which after transfer to a distribution and then loading into a data processing system or a processing and storage unit, can be executed. It can be, for example, a binary code, an interpreted code, etc.
- a distribution is a physical or virtual medium containing the object representation, this distribution must be made available to the user to enable him to use the software.
- a dynamic representation corresponds to the execution of the software from its distribution.
- a portion of software corresponds to any part of software and may, for example, correspond to one or more instructions, consecutive or not, and / or to one or more functional blocks consecutive or not, and / or to one or more functions, and / or one or more subroutines, and / or one or more modules.
- a portion of software can also correspond to all of this software.
- the fîg. 10 and 11 illustrate the various representations respectively of vulnerable software 2v in the general sense, and of protected software 2p according to the method according to the invention.
- the fig. 10 illustrates various representations of vulnerable 2v software appearing during its life cycle. Vulnerable 2v software can thus appear under one of the following representations:
- This distribution can be commonly presented in the form of a physical distribution means such as a CDROM or in the form of files distributed across a network (GSM, Internet, etc.),
- the fig. 11 illustrates various representations of 2p protected software appearing during its life cycle. Protected 2p software can thus appear under one of the following representations:
- a 2ps source representation comprising a first source part intended for the data processing system 3 and a second source part intended for the unit 6, a part of these source parts possibly commonly be contained in common files,
- a 2po object representation comprising a first 2pos object part intended for the data processing system 3 and a second 2pou object part intended for the unit 6, • a 2pd distribution comprising:
- this first 2pds distribution part being intended for the data processing system 3 and which can commonly be in the form of a physical distribution means such as a CDROM, or in the form of files distributed over a network (GSM, Internet, ...), and a second distribution part 2pdu in the form:
- This dynamic representation 2pe comprises a first execution part 2pes which is executed in the data processing system 3 and a second execution part 2peu which is executed in the unit 6.
- the implementation of the method according to the invention in accordance with the dynamic representation of the fig. 11, uses an lp device comprising a data processing system 3 connected by a link 5 to a unit 6.
- the system data processing device 3 is of all types and comprises, in a conventional manner, at least one processor 4.
- the data processing system 3 can be a computer or be part, for example, of various machines, devices, fixed or mobile products , or vehicles in the general sense.
- the link 5 can be made in any possible way, such as for example by a serial line, a USB bus, a radio link, an optical link, a network link or a direct electrical connection on a circuit of the data processing system 3 , etc.
- the unit 6 can possibly be physically inside the same integrated circuit as the processor 4 of the data processing system 3. In this case, the unit 6 can be considered as a co-processor with respect to processor 4 of the data processing system 3 and the link 5 is internal to the integrated circuit.
- the protection device lp comprises, as a data processing system 3, a computer and, as a unit 6, a smart card 7 and its interface 8 commonly called a card reader.
- the computer 3 is connected to the unit 6 by a link 5.
- the first part of execution 2pes which is executed in the computer 3 and the second part of execution 2peu which is executed in the smart card 7 and its interface 8, both must be functional so that the protected software 2p is fully functional.
- the lp protection device equips a product 9 in the general sense, comprising various members 10 adapted to the function or functions assumed by such a product 9.
- the lp protection device comprises, on the one hand, a data processing system 3 embedded in the product 9 and, on the other hand, a unit 6 associated with the product 9.
- the protected software 2p must be fully functional.
- the first part of execution 2pes which is executed in the data processing system 3 and the second part of execution 2peu which is executed in the unit 6, must all two be functional.
- This 2p protected software therefore indirectly protects against unauthorized use, product 9 or one of its functionalities.
- the product 9 can be an installation, a system, a machine, a toy, a household appliance, a telephone, etc.
- the protection device lp includes several computers, as well as part of a communication network.
- the data processing system 3 is a first computer connected by a network type link 5, to a unit 6 constituted by a second computer.
- the second computer 6 is used as a license server for 2p protected software.
- the first part of execution 2pes which is executed in the first computer 3 and the second part of execution 2peu which is executed in the second computer 6, both must be functional so that the protected 2p software is fully functional.
- the fig. 30 makes it possible to explain more precisely, the protection method according to the invention.
- vulnerable software 2v is considered to be completely executed in a data processing system 3.
- the data processing system 3 comprises transfer means 12 connected by the link 5, to transfer means 13 forming part of the unit 6 making it possible to communicate between them, the first part of execution 2pes and the second part of execution 2peu of the protected software 2p.
- the transfer means 12, 13 are of software and / or hardware nature and are capable of ensuring and, if necessary, optimizing the communication of data between the data processing system 3 and the unit 6. These transfer means 12, 13 are adapted to allow protected software 2p to be available which is preferably independent of the type of link 5 used. These transfer means 12, 13 are not part of the object of the invention and are not described more precisely because they are well known to those skilled in the art.
- the first part of the 2p protected software includes commands. During the execution of the protected software 2p, the execution of these commands by the first part of execution 2pes allows the communication between the first part of execution 2pes and the second part of execution 2peu. In the following description, these commands are represented by IN, OUT or TRIG.
- the unit 6 comprises protection means 14.
- the protection means 14 comprise storage means 15 and processing means 16.
- a unit 6 physically present and comprising protection means 14 adapted to the execution of the second execution part 2peu of the protected software 2p is always considered to be present, • a unit 6 physically present but comprising protection means 14 unsuitable, that is to say not allowing the correct implementation of the second part of execution 2peu of the protected software 2p is considered as present, when it functions correctly, and as absent when it does not function correctly , • and a unit 6 physically absent is always considered to be absent.
- the transfer means 13 are broken down into two parts, one of which is located on the interface 8 and the other of which is located on the smart card 7.
- the absence of the smart card 7 is considered to be equivalent to the absence of the unit 6.
- the protection means 14 are not accessible and therefore do not allow the execution of the second execution part 2peu of the protected software, so that the protected software 2p is not completely functional.
- the protection method aims to implement a protection principle, known as "temporal dissociation", a description of which is given in relation to FIGS. 50 to 54.
- temporary dissociation a protection principle, known as "temporal dissociation”
- it is chosen, in the source of the vulnerable software 2vs, at least one algorithmic processing using at least one operand and rendering at least one result. It is also chosen at least a portion of the source of the vulnerable software 2vs containing at least one chosen algorithmic processing.
- At least a selected portion of the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software.
- This modification is such that in particular:
- the second execution part 2peu which is executed in the unit 6, performs at least the functionality of at least one chosen algorithmic processing
- step 1 the provision of the operand (s) for unit 6,
- step 2 the realization in unit 6 of the functionality of the chosen algorithmic processing using this or these operands,
- step 3 possibly, the provision by the unit 6 for the data processing system 3, of the result of the chosen algorithmic processing,
- stage commands are defined to trigger the execution of the stages
- the fig. 50 illustrates an example of execution of vulnerable 2v software. In this example, it appears, during the execution of the vulnerable software 2v, in the data processing system 3, at a given instant, the calculation of Z - F (X, Y) corresponding to the assignment to a variable Z, of the result of an algorithmic processing represented by a function F and using operands X and Y.
- the fig. 51 illustrates an example of implementation of the invention for which the algorithmic processing chosen in FIG. 50 is deported to unit 6.
- the algorithmic processing chosen in FIG. 50 is deported to unit 6.
- step 1 • at time ti, step 1, namely the execution of a step command CEi triggering the transfer of data X and Y from the data processing system 3 to storage areas respectively x and y located in the storage means 15 of the unit 6, this step command CEi being represented by OUT (x, X), OUT (y, Y),
- step 2 namely the execution of a step command CE 2 , triggering in unit 6, the execution by means of the second execution part 2peu, of the function f, this function f being algorithmically equivalent to the function F and this step command CE 2 being represented by TRIG (f). More specifically, the execution of the step command CE 2 leads to the execution of the function f which uses the content of the storage areas x and y and returns its result in a storage area z of the unit 6 ,
- step 3 namely the execution of a step command CE 3 triggering the transfer of the result of the function f, contained in the storage area z of the unit 6 to the data processing system 3 in order to assign it to the variable Z, this step command CE 3 being represented by IN (z).
- steps 1 to 3 are carried out successively. It should be noted that two improvements can be made:
- the first improvement concerns the case where several treatments algorithms are transferred to unit 6 and at least the result of an algorithmic processing is used by another algorithmic processing.
- the second improvement aims to opt for a relevant scheduling of the stage commands among all the scheduling allowing the execution of the protected software 2p.
- the fîg. 52 and 53 illustrate the principle of such an embodiment.
- the fig. 52 shows an example of execution of vulnerable 2v software. In this example, it appears, during the execution of the vulnerable software 2v, in the data processing system 3, the execution of two algorithmic processing leading to the determination of Z and Z ', such that Z - F ( X, Y) and Z ' ⁇ - F' (X ',
- the fig. 53 illustrates an example of implementation of the method according to the invention for which the two algorithmic treatments chosen in FIG. 52 are deported to unit 6.
- the step commands CEi to CE 3 are not executed consecutively insofar as step commands CE'i to CE ' 3 , as well as other portions of code are interleaved.
- the following scheduling is thus carried out: CEi, portion of interleaved code, CE 2 , portion of interleaved code, CE'i, portion of interleaved code, CE ! 2 , portion of interleaved code, CE ' 3 , portion of interleaved code, CE 3 .
- the fig. 54 illustrates an example of an attempt to execute the protected software 2p, while the unit 6 is absent.
- the first 2pes execution part of the protected software 2p is executed in the data processing system 3:
- the protection method aims to implement a protection principle known as "variable”, a description of which is given in relation to FIGS. 40 to 43.
- variable For the implementation of the principle of protection by variable, it is chosen in the source of the vulnerable software 2vs at least one variable which during the execution of the vulnerable software 2v, partially defines the state of this one.
- state of a software it must be understood all the information, at a given time, necessary for the complete execution of this software, so that the absence of such a chosen variable harms the complete execution of this software.
- At least a selected portion of the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software. This modification is such that during the execution of the protected software 2p, at least a portion of the first part of execution 2pes which is executed in the data processing system 3, takes into account that at least one chosen variable or at least one copy of the chosen variable resides in unit 6.
- the fig. 40 illustrates an example of execution of a vulnerable software 2v. In this example, it appears during the execution of the vulnerable software 2v in the data processing system 3: • at time ti, the assignment of the data X to the variable Ni, represented by
- the fig. 41 illustrates an example of a first embodiment of the invention for which the variable resides in unit 6.
- the execution in the data processing system 3 of the first part d 2 pes execution of the protected software 2p, and in the presence of the unit 6, it appears: • at time ti, the execution of a transfer command triggering the transfer of the data X from the data processing system 3 to the variable i located in the storage means 15 of the unit 6, this transfer command being represented by OUT (v ⁇ , X) and corresponding ultimately to the assignment of the data X to the variable i, • to at time t 2 , the execution of a transfer command triggering the transfer of the value of the variable i residing in the unit 6 to the data processing system 3 in order to assign it to the variable Y, this transfer command being represented by I ⁇ (v ⁇ ) and correspon
- the fig. 42 illustrates an example of a second embodiment of the invention for which a copy of the variable resides in the unit 6.
- the fig. 43 illustrates an example of an attempt to execute the protected software 2p, while the unit 6 is absent.
- the first 2pes execution part of the protected software 2p is executed in the data processing system 3:
- the protection method aims to implement a protection principle, known as "elementary functions", a description of which is given in relation to the figures. 60 to 64.
- the source of the vulnerable software 2vs at least one algorithmic processing using at least one operand and rendering at least one result. It is also chosen at least a portion of the source of the vulnerable software 2vs containing at least one chosen algorithmic processing.
- At least a selected portion of the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software.
- This modification is such that in particular:
- 2peu which is executed in unit 6, performs at least the functionality of at least one chosen algorithmic processing
- each chosen algorithmic processing is broken down so that during the execution of the protected software 2p, each chosen algorithmic processing is executed, by means of the second execution part 2peu, using elementary functions.
- each chosen algorithmic processing is broken down into elementary functions fe bombard(with n varying from 1 to N), namely:
- the first part of execution 2pes of the protected software 2p which is executed in the data processing system 3, executes elementary commands CFE n (with n varying from 1 to N), triggering in unit 6, the execution by means of the second execution part 2peu, of each of the elementary functions fe n previously defined.
- the fig. 60 illustrates an example of execution of vulnerable 2v software.
- Z - F (X, Y) corresponding to the assignment to a variable Z of the result of an algorithmic processing represented by a function F and using operands X and Y.
- the fig. 61 illustrates an example of implementation of the invention for which the algorithmic processing chosen in FIG. 60 is deported to unit 6.
- the algorithmic processing chosen in FIG. 60 is deported to unit 6.
- the execution of these elementary commands leads to the execution in unit 6, of the elementary functions fe 3 to f ⁇ -i which use the content of the storage areas x, y and render the result in a storage area z of the unit 6, • and at time tjy, the execution of an elementary command CFE N triggering in unit 6, the execution by means of the second part of execution 2peu, of the elementary function f ⁇ ensuring the transfer of the result of the algorithmic processing, contained in the storage area z of unit 6 towards the system of data processing 3, in order to assign it to the variable Z, this elementary command CFEN being represented by IN (z).
- the first improvement concerns the case where several algorithmic treatments are deported to unit 6 and at least the result of an algorithmic processing is used by another algorithmic processing.
- the second improvement aims to opt for a relevant scheduling of elementary orders among all the scheduling allowing the execution of the protected software 2p.
- a scheduling of elementary commands which temporally dissociates the execution of elementary functions, by interposing, between these portions of code executed in the data processing system 3 and including or not elementary commands used for the determination of other data.
- the fîg. 62 and 63 illustrate the principle of such an embodiment.
- the fig. 62 shows an example of execution of vulnerable 2v software. In this example, it appears during the execution of the vulnerable software 2v, in the data processing system 3, the execution of two algorithmic processing leading to the determination of Z and Z ', such that Z ⁇ - F ( X, Y) and Z ' ⁇ -F ? (X ', Y').
- the fig. 63 illustrates an example of implementation of the method according to the invention for which the two algorithmic treatments chosen in FIG. 62 are deported to unit 6.
- the elementary commands CFEi to CFE N are not executed consecutively, insofar as the elementary commands
- CFE'i to CFE ' M are interspersed.
- the following scheduling is thus carried out: CFEi, portion of interleaved code, CFE'i, CFE 2 , portion of interleaved code, CFE ' 2 , CFE' 3 , portion of interleaved code,
- the fig. 64 illustrates an example of an attempt to execute the protected software 2p, while the unit 6 is absent.
- the unit 6 is absent.
- the protection method aims to implement a protection principle, known as “detection and coercion", a description of which is given in relation to the figures. 70 to 74.
- • detection means 17 to be implemented in the unit 6 and making it possible to detect that at least one software execution characteristic does not meet at least one associated criterion
- • and coercion means 18 to be implemented in unit 6 and making it possible to inform the data processing system 3 and / or to modify the execution of software, when at least one criterion is not met.
- operating means are also constructed making it possible to transform a virgin unit 60 into a unit 6 using at least the detection means 17 and the coercion means 18 .
- the fig. 70 illustrates the means necessary for the implementation of this principle of protection by detection and coercion.
- the unit 6 comprises the detection means 17 and the coercion means 18 belonging to the processing means 16.
- the coercion means 18 are informed of the non-compliance with a criterion by the detection means 17. More precisely, the detection means 17 use information coming from the transfer means 13 and / or the storage means 15 and / or the processing means 16, in order to monitor one or more performance characteristics of software. At least one criterion to be respected is attached to each software execution characteristic.
- the detection means 17 inform the coercion means 18.
- These coercion means 18 are adapted to modify, de the appropriate way, the state of the unit 6. For the implementation of the principle of protection by detection and coercion, it is also chosen:
- At least one execution characteristic of software to be monitored among the execution characteristics liable to be monitored,
- At least a selected portion of the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software.
- This modification is such as in particular when running the 2p protected software:
- the first type of software execution characteristic corresponds to a variable for measuring the execution of software and the second type corresponds to a usage profile for software. These two types of characteristics can be used independently or in combination.
- At least one measurement variable used to quantify the use of said functionality at least one threshold associated with the measurement variable corresponding to a limit of use of said functionality,
- the source of the vulnerable software 2vs is then modified, so as to obtain the source of the protected software 2ps, this modification being such that, during the execution of the protected software 2p, the second part of execution 2peu:
- the detection means 17 inform the means of coercion 18 which take a suitable decision to inform the data processing system 3 and / or modify the processing carried out by the processing means 16 making it possible to modify the operation of the portion of the protected software 2p, so that the operation of the software protected 2p is changed.
- a measurement variable For the implementation of a first preferred variant embodiment of the principle of protection by detection and coercion using, as a characteristic, a measurement variable, it is defined: • for at least one measurement variable, several associated thresholds,
- the source of the vulnerable software 2vs is then modified, so as to obtain the source of the protected software 2ps, this modification being such that, during the execution of the protected software 2p, the second part of execution 2peu: • updates the variable of measurement according to the use of said functionality,
- the unit 6 informs the data processing system 3 directing the protected software 2p to no longer use this functionality . If the 2p protected software continues to use this functionality, the second threshold may be exceeded. In the event that the second threshold is exceeded, the coercion means 18 can render the chosen functionality inoperative and / or render the protected software 2p inoperative.
- reloading means are defined making it possible to credit at least one additional use for at least one software functionality monitored by a measurement variable.
- Operating means are also constructed using, in addition to detection means 17, coercion means 18 and updating means, reloading means.
- At least one measurement variable serving to limit the use of at least one functionality of the software and to which at least one additional use must be able to be credited.
- the source of the vulnerable software 2vs is then modified, so as to obtain the source of the protected software 2ps, this modification being such that, in a phase known as reloading, at least one additional use of at least one functionality corresponding to a variable of selected measure can be credited.
- at least one chosen measurement variable and / or at least one associated threshold is updated, so as to allow at least one additional use of the corresponding functionality. In other words, it is possible, in the reloading phase, to credit additional uses of at least one feature of the protected software 2p.
- a software usage profile For the implementation of the principle of protection by detection and coercion using, as a characteristic, a software usage profile, it is defined as a criterion to be respected for this usage profile, at least one performance trait of software. It is also chosen, in the source of the vulnerable 2vs software:
- the source of the vulnerable software 2vs is then modified, so as to obtain the source of the protected software 2ps, this modification being such that, during the execution of the protected software 2p, the second part of execution 2peu respects all the features of selected execution.
- the unit 6 itself monitors the way in which the second execution part 2peu is executed and can inform the data processing system 3 and / or modify the operation of the protected software 2p, in the case where at least one performance line is not respected.
- the data processing system 3 is informed thereof and / or the operation of the portion of the protected software 2p is modified, so that the operation of the protected software 2p is modified.
- monitoring different execution traits such as for example monitoring the presence of instructions comprising a marker or monitoring the execution sequence for at least part of the instructions.
- the monitoring of the execution sequence for at least part of the instructions it is defined: • a set of instructions including the instructions are likely to be executed in unit 6,
- Detection means 17 making it possible to detect that the sequence of instructions does not correspond to that desired
- • and coercion means 18 making it possible to inform the data processing system 3 and / or to modify the execution of software when the sequence of instructions does not correspond to that desired. It is also constructed operating means allowing, at unit 6, to also execute the instructions of the instruction set, the execution of these instructions being triggered by the execution in the data processing system 3 of instruction commands.
- the source of the vulnerable 2vs software is then modified so as to obtain the source of the protected 2ps software, this modification is such that, during the execution of the protected software 2p:
- the fig. 71 illustrates an example of implementation of the principle of protection by detection and coercion using, as an execution trait to respect the monitoring of the execution sequence of at least part of the instructions, in the case where the sequence desired is respected.
- the instructions each include a part defining the functionality of the instruction and a part making it possible to check the desired sequence for the execution of the instructions.
- the CI instruction commands are represented by TRIG (ij) and the desired sequence for the execution of the instructions is i Vietnamese, i n + ⁇ and i fashion + 2 - Execution in unit 6 , from instruction i suitsgives the result a and the execution of the instruction i n + ⁇ gives the result b.
- the instruction i citi +2 uses as operand, the results a and b of instructions i n and i hinge + ⁇ and its execution gives the result c.
- the fig. 72 illustrates an example of implementation of the principle of protection by detection and coercion using, as an execution trait to be observed, monitoring the execution sequence of at least part of the instructions, in the case where the desired sequence is not respected.
- the desired sequence for the execution of the instructions is always i Stahl, i n + ⁇ and i n + 2-
- the sequence of execution of the instructions is modified by replacing the instruction i n by the instruction i ' n , so that the sequence actually executed is i' n? in + i and i n + 2-
- the execution of the instruction i ' compensates the result a, that is to say the same result as the execution of the instruction ivra.
- the detection means 17 detect that the instruction i ' n does not correspond to the instruction desired to generate the result used as the operand of the instruction i n + 2 .
- the detection means 17 inform the coercion means 18 which consequently modify the operation of the instruction i Vietnamese +2 , so that the execution of the instruction i Vietnamese +2 gives the result c ′ which may be different Dec.
- the execution of the instruction i ' alsogives a result a 1 different from the result a of the instruction i Vietnamese, it is clear that the result of the instruction i Vietnamese +2 can also be different from c .
- the fîg. 73 and 74 illustrate a preferred embodiment of the principle of protection by detection and coercion using, as an execution trait to be observed, monitoring of the execution sequence of at least part of the instructions.
- a set of instructions is defined, at least certain instructions of which work on registers and use at least one operand in order to render a result.
- a part PF defining the functionality of the instruction
- a part PE defining the desired sequence for the execution of the instructions.
- the PF part corresponds to the operation code known to those skilled in the art.
- the PE part defining the desired sequence includes bit fields corresponding to:
- the instruction set comprises N registers belonging to the processing means 16, each register being named R v , with v varying from 1 to V.
- R v For each register R v , two fields are defined, namely:
- This CIG V generated identification field is automatically updated with the content of the identification field of the Cil instruction that generated the CF V functional field.
- This CIG V generated identification field is neither accessible nor modifiable by any instruction and is used only for the detection means 17.
- the detection means 17 perform the following operations for each operand k:
- the detection means 17 consider that the sequence of execution of the instructions is not respected.
- the coercion means 18 make it possible to modify the result of the instructions when the detection means 17 have informed them of a chain of instructions that has not been observed.
- a preferred embodiment consists in modifying the functional part
- the protection method aims to implement a protection principle, known as "renaming”, a description of which is given in relation to the figures. 80 to 85.
- this set of dependent functions can be finite or infinite
- a set of triggering commands for these dependent functions are capable of being executed in the data processing system 3 and of triggering in unit 6, the execution of corresponding dependent functions,
- a setpoint corresponding at least in part to the information transmitted by the first 2pes execution part, to the second 2peu execution part, in order to trigger the execution of the corresponding dependent function, this setpoint in the form of at least one argument of the triggering command,
- a method for renaming the instructions intended to be implemented when the vulnerable software is modified such a method making it possible to rename the instructions in order to obtain triggering commands with renowned instructions making it possible to conceal the identity of the corresponding dependent functions, • and recovery means 20 intended to be implemented in the unit 6 during the use phase and making it possible to find the initial setpoint, from the renamed setpoint, in order to find the dependent function to be executed.
- operating means are also constructed making it possible to transform a blank unit 60 into a unit 6 using at least the recovery means 20.
- the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software.
- This modification is such that in particular:
- 2peu which is executed in unit 6, performs at least the functionality of at least one chosen algorithmic processing
- each chosen algorithmic processing is broken down so that during the execution of the protected software 2p, each chosen algorithmic processing is executed, by means of the second execution part 2peu, using dependent functions.
- each chosen algorithmic processing is broken down into dependent functions fd Anlagen(with n varying from 1 to N), namely:
- the second execution part 2peu executes the dependent functions fdminister
- the principle of protection by renaming consists in renaming the instructions of the triggering commands, so as to obtain triggering commands with renowned instructions whose execution in the data processing system 3, triggers in the unit 6 , the execution of the dependent functions which would have been triggered by the triggering commands with instructions not renamed, without however that the examination of the protected software 2p does not make it possible to determine the identity of the dependent functions executed.
- the fig. 80 illustrates an example of execution of a vulnerable 2v software. In this example, it appears during the execution of the vulnerable software 2v in the data processing system 3, at a given instant, the calculation of Z ⁇ - F (X, Y) corresponding to the assignment to a variable Z of the result of an algorithmic processing represented by a function F and using the operands X and Y.
- the fîg. 81 and 82 illustrate an example of implementation of the invention.
- the fig. 81 illustrates the partial implementation of the invention. In this example, during the execution in the data processing system 3 of the first part of execution 2pes of the protected software 2p and in the presence of the unit 6, it appears:
- the first argument of the triggering commands OUT and the argument of the triggering commands TRIG and IN is chosen as a setpoint.
- the setpoints thus chosen are renamed by the setpoint renaming method.
- the instructions for triggering commands CDi to CD N namely x, y, fd 3 , fd -i, z are renamed so as to obtain respectively R (x), R (y), R (fd 3 ).
- the fig. 82 illustrates the full implementation of the invention.
- the first part of execution 2pes of the protected software 2p and in the presence of the unit 6, it appears:
- this triggering command with a setpoint renamed CDCR N being represented by IN (R (z) ).
- the first improvement concerns the case where several algorithmic treatments are deported to unit 6 and at least the result of an algorithmic processing is used by another algorithmic processing.
- the second improvement aims to opt for a relevant scheduling of triggering commands with renowned instructions among all the scheduling allowing the execution of the protected software 2p.
- the fîg. 83 and 84 illustrate the principle of such an embodiment.
- the fig. 83 shows an example of execution of vulnerable 2v software. In this example, it appears, during the execution of the vulnerable software 2v, in the data processing system 3, the execution of two algorithmic processing leading to the determination of Z and Z ', such that Z - F ( X, Y) and Z ' ⁇ - F' (X ',
- the fig. 84 illustrates an example of implementation of the method according to the invention for which the two algorithmic treatments chosen in FIG. 83 are deported to unit 6. According to such an example, during the execution in the data processing system 3 of the first part of execution 2pes of the protected software 2p and in the presence of unit 6, it appears , as explained above, the execution of triggering commands with renamed setpoints CDCRi to CDCR N corresponding to the determination of Z and the execution of triggering commands with renamed setpoints CDCR'i to CDCR ' M corresponding to the determination of Z'.
- the triggering commands with renamed setpoints CDCRi to CDCR N are not executed consecutively, insofar as the triggering commands with renamed setpoints CDCR'i to CDCR ' M and other portions of code are interleaved.
- the following scheduling is thus carried out: CDCRi, portion of interleaved code, CDCR'i, CDCR2, portion of interleaved code, CDCR ' 2 , CDCR' 3 , portion of interleaved code, CDCR ', CDCR 3 , CDCR 4 , ..., CDCR N , CDCR'M
- the fig. 85 illustrates an example of an attempt to execute the protected software 2p, while the unit 6 is absent.
- the execution of a triggering command with a renamed setpoint cannot trigger restoring the setpoint or executing the corresponding dependent function, due to the absence of unit 6.
- the value to be assigned to variable Z cannot therefore be determined correctly.
- a dependent function a family of dependent functions algorithmically equivalent but triggered by triggering commands with different renamed setpoints.
- this algorithmic processing is broken down into dependent functions which for at least one of them is replaced by a dependent function of the same family instead of keeping several occurrences of the same dependent function.
- triggering commands with renamed setpoints are modified to take account of the replacement of dependent functions by dependent functions of the same family.
- two dependent functions of the same family have different instructions and therefore triggering commands with different renamed instructions and, it is not possible, on examination of the protected software 2p, to detect that the functions called dependents are algorithmically equivalent.
- the recovery means 20 are means implementing a decryption method making it possible to decipher the renamed instructions and thus restore the identity of the dependent functions to be executed in the unit 6. These recovery means are implemented in the unit 6 and can be of software or hardware nature. These recovery means 20 are requested in the use phase U each time a triggering command with a renamed setpoint is executed in the data processing system 3 with the aim of triggering in unit 6, the execution of 'a dependent function.
- the protection method aims to implement a protection principle known as "conditional branching", the description of which is made in relation to FIGS. 90 to 92.
- conditional branching For the implementation of the principle of protection by conditional branching, it is chosen in the source of the vulnerable 2vs software, at least one conditional branching BC. It is also chosen at least a portion of the source of the vulnerable software 2vs containing at least one conditional branch BC chosen. At least a selected portion of the source of the vulnerable 2vs software is then modified, so as to obtain the source of the protected 2ps software. This modification is such as in particular when running the 2p protected software:
- At least a portion of the first execution part 2pes, which is executed in the data processing system 3, takes into account that the functionality of at least one conditional branching BC chosen is executed in unit 6,
- the second execution part 2peu which is executed in the unit 6, executes at least the functionality of at least one conditional connection BC chosen and makes available to the data processing system 3, information allowing the first part of 2pes execution, to continue its execution at the chosen location.
- the fig. 90 illustrates an example of execution of vulnerable 2v software.
- a conditional connection BC indicating to the vulnerable software 2v the place where to continue its unfolding, namely one of the three possible places Bi, B2 or B 3 .
- the conditional branch BC takes the decision to continue executing the software at location Bi, B2 or B 3 .
- the fig. 91 illustrates an example of implementation of the invention for which the conditional branch chosen to be deported to the unit 6, corresponds to the conditional branch BC.
- the conditional branch chosen to be deported to the unit 6 corresponds to the conditional branch BC.
- conditional branching command CBCi triggering in unit 6, the execution by means of the second execution part 2peu, of the remote conditional branching bc algorithmically equivalent to the conditional branching BC, this conditional branching command CBCi being represented by TRIG (bc),
- conditional branch commands executed in the data processing system 3 trigger the execution of the corresponding remote conditional branches in unit 6.
- the fig. 92 illustrates an attempt to execute the protected software 2p, while the unit 6 is absent.
- the execution of the conditional branching command CBCi cannot trigger the execution of the remote conditional branching bc, given the absence of unit 6,
- the object of the invention aims to deport in unit 6, a conditional connection.
- a preferred embodiment of the invention can consist in deporting in unit 6, a series of conditional branches whose overall functionality is equivalent to all of the functionalities of the conditional branches which have been deported.
- the execution of the global functionality of this series of deported conditional connections results in the provision, for the data processing system 3, of information allowing the first part of execution 2pes of the protected software 2p to continue its execution at the chosen location.
- the protection method according to the invention is implemented using the principle of protection by temporal dissociation, possibly associated with one or more other protection principles.
- the principle of protection by temporal dissociation is advantageously supplemented by the principle of protection by variable and / or the principle protection by elementary functions and / or the principle of protection by conditional connection.
- the principle of protection by temporal dissociation is supplemented by the principle of protection by variable, supplemented by the principle of protection by elementary functions, supplemented by the principle of protection by detection and coercion, supplemented by the principle of protection by renaming, supplemented by the principle of protection by conditional connection.
- the protection phase P can be broken down into two protection sub-phases Pi and P2.
- the first known as the upstream protection sub-phase Pi, is implemented independently of the vulnerable software 2v to be protected.
- the second, called downstream protection sub-phase P 2 is dependent on the vulnerable software 2v to be protected.
- the upstream protection sub-phases Pi and downstream P2 can be advantageously carried out by two different people or two different teams.
- the upstream protection sub-phase Pi can be carried out by a person or a company ensuring the development of software protection systems
- the downstream protection sub-phase P 2 can be carried out by a person or a company ensuring the development of software to be protected.
- the upstream protection sub-phases Pi and downstream P 2 can also be carried out by the same person or the same team.
- the upstream protection sub-phase Pi involves several stages Su, ..., Su for each of which different tasks or works are to be carried out.
- the first stage of this upstream protection sub-phase Pi is called "definition stage Su”. During this Su definition stage:
- unit 6 the type of unit 6.
- the protection method according to the invention implements the principle of protection by detection and coercion, it is also defined: - at least one software execution characteristic, capable of being monitored at least in part in unit 6, - at least one criterion to be respected for at least one characteristic of software execution,
- detection means 17 to be implemented in unit 6 and making it possible to detect that at least one characteristic of software execution does not meet at least one associated criterion
- - and coercion means 18 to be implemented in the unit 6 and making it possible to inform the data processing system 3 and / or to modify the execution of a software, when at least one criterion is not not respected, • and in the case where the protection method according to the invention implements the principle of protection by detection and coercion using as a characteristic a variable for measuring the execution of the software, it is also defined:
- the protection method according to the invention implements a first preferred variant embodiment of the principle of protection by detection and coercion using as a characteristic a variable for measuring the execution of the software, it is also defined: - for at least one measurement variable, several associated thresholds,
- the protection method according to the invention implements a second preferred alternative embodiment of the principle of protection by detection and coercion using as a characteristic a variable for measuring the execution of the software, it is also defined means of reload making it possible to credit at least one additional use for at least one software functionality monitored by a measurement variable,
- detection means 17 means making it possible to detect that the sequence of instructions does not correspond to that desired
- - as detection means 17, means making it possible, during the execution of an instruction, for each operand, when the flag field CDk requires it, to check the equality between the identification field generated CIG V corresponding to the register used by this operand, and the intended identification field ClPk of the origin of this operand, - and as means of coercion 18, means making it possible to modify the result of the instructions, if at least one of the equalities controlled is false, and in the case where the protection method according to the invention implements the principle of protection by renaming, it is also defined: - as a triggering command, an elementary command or an instruction command , - as a dependent function, an elementary function or an instruction, 1
- the protection method according to the invention implements a variant of the principle of protection by renaming, it is also defined for at least one dependent function, a family of dependent functions algorithmically equivalent, but triggered by commands triggers whose famous instructions are different,
- the protection method according to the invention implements a preferred variant of the principle of protection by renaming, it is also defined: - as a method for renaming the instructions, an encryption method for encrypting the instructions , - And as recovery means 20, means implementing a decryption method to decrypt the renowned setpoints and thus restore the identity of the dependent functions to be executed in the unit 6.
- the definition stage Su is followed by a stage called "construction stage S1 2 ".
- the transfer means 12, 13 and possibly the operating means corresponding to the definitions of the definition stage Su are constructed.
- this construction stage S12 there is therefore: • construction of the transfer means 12, 13 allowing, during the use phase U, the transfer of data between the data processing system 3 and l 'unit 6,
- the construction of the operating means is carried out in a conventional manner, by means of a program development unit taking into account the definitions intervened at the definition stage Su. Such a unit is described in the rest of the description in FIG. 110.
- the construction stage S 12 can be followed by a stage called "pre-personalization stage S 1 3".
- pre-personalization stage S 1 3 at least part of the transfer means 13 and / or the operating means are loaded into at least one blank unit 60 in order to obtain at least one pre-personalized unit 66 It should be noted that part of the operating resources, once transferred to a pre-personalized unit 66, is no longer directly accessible from outside this pre-personalized unit 66.
- the transfer of the operation in a blank unit 60 can be achieved by means of a suitable pre-personalization unit, which is described in the following description in FIG. 120.
- a pre-personalized unit 66 consisting of a smart card 7 and its reader 8
- the pre-personalization only concerns the smart card 7.
- a stage called "tool making stage S 14 " During this stage of making tools S 14 are made tools making it possible to assist in the generation of protected software or to automate the protection of software. Such tools allow: • to help choose or choose automatically in the vulnerable software
- conditional branch (es) whose functionality is likely to be transferred to unit 6,
- each tool can take various forms, such as preprocessor, assembler, compiler, etc.
- the upstream protection sub-phase Pi is followed by a downstream protection sub-phase P 2 dependent on the vulnerable software 2v to be protected.
- This downstream protection sub-phase P2 also involves several stages.
- the first stage corresponding to the implementation of the principle of protection by temporal dissociation is called "creation stage S 21 ".
- This creation stage S21 the choices made at the definition stage Su are used. Using these choices and possibly tools built at the stage of making S ⁇ 4 tools, the 2p protected software is created:
- a first part of execution 2pes is executed in the data processing system 3 and a second part of execution 2peu is executed in a unit 6, obtained from the blank unit 60 after loading information,
- the second execution part 2peu executes at least the functionality of at least one chosen algorithmic processing
- step commands are defined so that during the execution of the protected software 2p, each step command is executed by the first part of execution 2pes and triggers, in the unit 6, execution by means of the second execution part 2 bit, of a step,
- a scheduling of the stage commands is chosen from all the schedules allowing the execution of the protected software 2p, • and by producing:
- this first part object 2pos being such that when the protected software 2p is executed, a first part of execution 2pes appears which is executed in the data processing system 3 and of which at least a portion takes taking into account that the stage commands are executed according to the scheduling chosen,
- this second object part 2pou being such that, after loading into the blank unit
- the second execution part 2peu appears by means of which the steps triggered by the first execution part 2pes are executed.
- a "modification stage S 22" is implemented.
- the definitions used at the definition stage Su are used.
- the protected software 2p is modified to allow the implementation of the protection principles according to one of the arrangements defined above.
- the 2p protected software is modified: • by choosing at least one variable used in at least one chosen algorithmic processing, which during the execution of the 2p protected software, partially defines the state of the protected software 2p,
- this second object part 2pou being such that, after loading into the unit 6 and during the execution of the protected software 2p, the second execution part 2peu appears by means of which at least one chosen variable, or at least one copy of chosen variable also resides in unit 6.
- elementary commands are integrated into the source of the protected software 2ps, so that during the execution of the protected software 2p, each elementary command is executed by the first part of execution 2pes and triggers in unit 6, the execution by means of the second execution part 2peu, of an elementary function,
- this first part object 2pos being such that during the execution of the protected software 2p, at least a portion of the first part of execution 2pes also executes the elementary commands according to the scheduling chosen, - and the second object part 2pou of the protected software 2p also containing the operating means, this second object part 2pou being such that, after loading into the unit 6 and during the execution of the protected software 2p, the second execution part 2peu by means of which the elementary functions triggered by the first execution part 2pes are also executed.
- the protected 2p protection is modified: • by choosing at least one software execution characteristic to be monitored, from among the execution characteristics likely to be monitored,
- the protected software 2p • and by producing the second object part 2pou of the protected software 2p containing the operating means also implementing the detection means 17 and the coercion means 18, this second object part 2pou being such that, after loading into the unit 6 and during the execution of the protected software 2p, at least one characteristic of software execution is monitored and non-compliance with a criterion leads to information from the data processing system 3 and / or to a modification of the protected software 2p.
- the protected software 2p is modified:
- the protected software 2p is modified:
- the protected software 2p is modified: • by choosing in the source of the protected software 2ps, at least a chosen measurement variable making it possible to limit the use of a functionality to which at least one additional use must be able to be credited,
- the protected software 2p is modified: • by choosing at least one profile as an execution characteristic of software to monitor software usage,
- this first part object 2pos being such that during the execution of the protected software
- the protected software 2p is modified: • by choosing, in the source of the protected software 2ps at least one series of selected conditional connections,
- the first object part 2pos of the protected software 2p this first object part 2pos being such that during the execution of the protected software 2p, the functionality of at least one selected series of conditional connections is executed in the unit 6, -
- the second object part 2pou of the protected software 2p this second object part 2pou being such that, after loading into the unit 6 and during the execution of the protected software 2p, the second execution part 2peu appears by means of which the overall functionality of at least one selected series of conditional branches is performed.
- the protection principles according to the invention can be applied directly during the development of new software without requiring the prior production of intermediate protected software.
- the stages of creation S 2 ⁇ and of modification S 22 can be carried out concomitantly so as to obtain the protected software 2p directly.
- the downstream protection sub-phase P 2 it is implemented after the creation stage S 21 of the protected software 2p, and possibly after the modification stage S 22 , a stage called "personalization stage S23".
- the second object part 2pou possibly containing the operating means is loaded into at least one blank unit 60, with a view to obtaining at least one unit 6, or part of the second object part 2pou possibly containing the operating means is loaded into at least one pre-personalized unit 66, in order to obtain at least one unit 6.
- the loading of this personalization information makes it possible to make operational at least one unit 6. It is note that part of this information, once transferred to a unit 6, is not directly accessible from outside this unit 6.
- the transfer of personalization information to a blank unit 60 or a pre-personalized unit 66 can be produced by means of a suitable personalization unit which is described in the following description in FIG. 150.
- a suitable personalization unit which is described in the following description in FIG. 150.
- the personalization only concerns the smart card 7.
- FIGS. 110, 120, 130, 140 and 150 illustrates an exemplary embodiment of a system 25 making it possible to implement the construction stage S 12 taking into account the definitions intervened at the definition stage Su and during which the means are constructed transfer 12, 13 and possibly, the operating means intended for the unit 6.
- a system 25 includes a program development unit or workstation conventionally in the form of a computer comprising a central unit, a screen, peripherals of the keyboard-mouse type, and comprising, in particular, the following programs: file editors, assemblers, preprocessors, compilers, interpreters, debuggers and link editors.
- the fig. 120 illustrates an exemplary embodiment of a pre-personalization unit 30 making it possible to at least partially load the transfer means 13 and / or the operating means in at least one blank unit 60 in order to obtain at least one pre-unit -personalized 66.
- This prepersonalization unit 30 includes a reading and writing means 31 making it possible to electrically prepersonalize a blank unit 60, so as to obtain a pre-personalized unit 66 in which the transfer means 13 and / or operating have been loaded.
- the pre-personalization unit 30 can also include means for physical personalization 32 of the blank unit 60 which can be, for example, in the form of a printer. In the case where the unit 6 is constituted by a smart card 7 and its reader 8, the pre-personalization generally relates only to the smart card 7.
- the fig. 130 illustrates an exemplary embodiment of a system 35 making it possible to make the tools making it possible to help generate protected software or to automate software protection.
- a system 35 comprises a program development unit or workstation conventionally in the form of a computer comprising a central unit, a screen, peripherals of the keyboard-mouse type, and comprising, in particular, the following programs: file editors, assemblers, pre-processors, compilers, interpreters, debuggers and linkers.
- the fig. 140 illustrates an exemplary embodiment of a system 40 making it possible to directly create 2p protected software or to modify vulnerable 2v software in order to obtain 2p protected software.
- a system 40 includes a program development unit or workstation conventionally in the form of a computer comprising a central unit, a screen, peripherals of the keyboard-mouse type, and comprising, in particular, the following programs: publishers files, assemblers, pre-processors, compilers, interpreters, debuggers and linkers, as well as tools to help generate protected software or automate software protection.
- the fig. 150 illustrates an exemplary embodiment of a personalization unit 45 making it possible to load the second object part 2pou in at least one blank unit 60 with a view to obtaining at least one unit 6 or part of the second object part 2pou in at least a pre-personalized unit 66 in order to obtain at least one unit 6.
- This personalization unit 45 comprises a reading and writing means 46 making it possible to electrically personalize at least one blank unit 60 or at least one pre-personalized unit 66, so as to obtain at least one unit 6.
- a unit 6 includes the information necessary for the execution of the protected software 2p.
- the personalization unit 45 can also include physical personalization means 47 for at least one unit 6 which can be, for example, in the form of a printer.
- the personalization generally relates only to the smart card 7.
- the protection method of the invention can be implemented with the following improvements:
- the part of the second object part 2pou necessary to transform the pre-personalized unit 66 into a unit 6 can be contained in a unit of processing and storage used by the personalization unit 45 in order to limit access to this part of the second object part 2pou.
- this part of the second object part 2pou can be distributed in several processing and storage units so that this part of the second object part 2pou is accessible only during the joint use of these processing and storage units.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims
Priority Applications (12)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
HU0400223A HUP0400223A2 (en) | 2001-07-31 | 2002-07-04 | Method for protecting a software using a so-called temporal dissociation principle against its unauthorised use |
KR10-2004-7000805A KR20040031778A (ko) | 2001-07-31 | 2002-07-04 | 소위 임시 분할 원리를 사용하여 소프트웨어를 불법사용으로부터 보호하는 방법 |
BR0211371-6A BR0211371A (pt) | 2001-07-31 | 2002-07-04 | Processo para proteger um software vulnerável contra o seu uso não autorizado; sistema para a implementação do processo; unidade pré-personalizada; unidade que permite executar um software protegido e impedir sua utilização não autorizada; conjunto de unidades; conjunto de distribuição de um software protegido; unidade de processamento e de memorização e conjunto de unidades de processamento e de memorização |
MXPA04000594A MXPA04000594A (es) | 2001-07-31 | 2002-07-04 | Metodo para proteger un software con la ayuda de un principio llamado de "disociacion temporal" contra su uso no autorizado. |
JP2003517759A JP3949108B2 (ja) | 2001-07-31 | 2002-07-04 | 「一時的分離」原理により不正使用に対してソフトウェアを保護する方法 |
IL15995402A IL159954A0 (en) | 2001-07-31 | 2002-07-04 | Method to protect software against unauthorised use with a temporal dissociation principle |
CA002454092A CA2454092A1 (fr) | 2001-07-31 | 2002-07-04 | Procede pour proteger un logiciel a l'aide d'un principe dit de "dissociation temporelle" contre son utilisation non autorisee |
EP02760379A EP1412862A2 (fr) | 2001-07-31 | 2002-07-04 | Procede pour proteger un logiciel a l'aide de "dissociation temporelle" contre son utilisation non autorisee |
ZA2004/00349A ZA200400349B (en) | 2001-07-31 | 2004-01-16 | Method for protecting a software using a so called temporal dissociation principle against its unauthorised use |
TNP2004000014A TNSN04014A1 (fr) | 2001-07-31 | 2004-01-19 | Procede pour proteger un logiciel a l'aide d'un principe dit de "dissociation temporelle" contre son utilisation non autorisee |
NO20040227A NO20040227L (no) | 2001-07-31 | 2004-01-19 | Fremgangsmate for a beskytte en programvare, ved anvendelse av et sakalt temporalt dissosiasjons-prinsipp, mot uautorisert bruk av den |
HR20040047A HRP20040047A2 (en) | 2001-07-31 | 2004-01-19 | Method for protecting a software using a so-called temporal dissociation principle against its unauthorised use |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR01/10247 | 2001-07-31 | ||
FR0110247A FR2828304B1 (fr) | 2001-07-31 | 2001-07-31 | Procede pour proteger un logiciel a l'aide d'un principe dit de "dissociation temporelle" contre son utilisation non autorisee |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2003012650A2 true WO2003012650A2 (fr) | 2003-02-13 |
WO2003012650A3 WO2003012650A3 (fr) | 2003-12-24 |
Family
ID=8866122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/FR2002/002339 WO2003012650A2 (fr) | 2001-07-31 | 2002-07-04 | Procede pour proteger un logiciel a l'aide de 'dissociation temporelle' contre son utilisation non autorisee |
Country Status (18)
Country | Link |
---|---|
EP (1) | EP1412862A2 (fr) |
JP (1) | JP3949108B2 (fr) |
KR (1) | KR20040031778A (fr) |
CN (1) | CN100451910C (fr) |
BR (1) | BR0211371A (fr) |
CA (1) | CA2454092A1 (fr) |
FR (1) | FR2828304B1 (fr) |
HR (1) | HRP20040047A2 (fr) |
HU (1) | HUP0400223A2 (fr) |
IL (1) | IL159954A0 (fr) |
MA (1) | MA26125A1 (fr) |
MX (1) | MXPA04000594A (fr) |
NO (1) | NO20040227L (fr) |
PL (1) | PL367424A1 (fr) |
TN (1) | TNSN04014A1 (fr) |
WO (1) | WO2003012650A2 (fr) |
YU (1) | YU5504A (fr) |
ZA (1) | ZA200400349B (fr) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011006000B4 (de) * | 2011-03-23 | 2015-01-15 | Infineon Technologies Ag | Signaturaktualisierung durch Codetransformation |
KR101217668B1 (ko) * | 2011-05-12 | 2013-01-02 | 주식회사 안랩 | 악성 프로그램 후킹 방지 장치 및 방법 |
US11595201B2 (en) * | 2020-02-21 | 2023-02-28 | Cyber Armor Ltd. | System and method for generation of a disposable software module for cryptographic material protection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2634917A1 (fr) * | 1988-08-01 | 1990-02-02 | Pionchon Philippe | Procede et dispositif de protection d'un logiciel, en particulier contre les copies non autorisees |
US5754646A (en) * | 1995-07-19 | 1998-05-19 | Cable Television Laboratories, Inc. | Method for protecting publicly distributed software |
WO1999001815A1 (fr) * | 1997-06-09 | 1999-01-14 | Intertrust, Incorporated | Techniques d'obscurcissement pour augmenter la securite de logiciels |
WO1999066387A1 (fr) * | 1998-06-12 | 1999-12-23 | Gemplus | Procede de controle de l'execution d'un produit logiciel |
-
2001
- 2001-07-31 FR FR0110247A patent/FR2828304B1/fr not_active Expired - Lifetime
-
2002
- 2002-07-04 KR KR10-2004-7000805A patent/KR20040031778A/ko not_active Withdrawn
- 2002-07-04 IL IL15995402A patent/IL159954A0/xx unknown
- 2002-07-04 CN CNB028146859A patent/CN100451910C/zh not_active Expired - Fee Related
- 2002-07-04 YU YU5504A patent/YU5504A/sh unknown
- 2002-07-04 PL PL02367424A patent/PL367424A1/xx not_active Application Discontinuation
- 2002-07-04 WO PCT/FR2002/002339 patent/WO2003012650A2/fr active Application Filing
- 2002-07-04 JP JP2003517759A patent/JP3949108B2/ja not_active Expired - Fee Related
- 2002-07-04 MX MXPA04000594A patent/MXPA04000594A/es unknown
- 2002-07-04 EP EP02760379A patent/EP1412862A2/fr not_active Withdrawn
- 2002-07-04 HU HU0400223A patent/HUP0400223A2/hu unknown
- 2002-07-04 CA CA002454092A patent/CA2454092A1/fr not_active Abandoned
- 2002-07-04 BR BR0211371-6A patent/BR0211371A/pt not_active IP Right Cessation
-
2004
- 2004-01-16 ZA ZA2004/00349A patent/ZA200400349B/en unknown
- 2004-01-19 TN TNP2004000014A patent/TNSN04014A1/fr unknown
- 2004-01-19 NO NO20040227A patent/NO20040227L/no not_active Application Discontinuation
- 2004-01-19 HR HR20040047A patent/HRP20040047A2/xx not_active Application Discontinuation
- 2004-01-19 MA MA27491A patent/MA26125A1/fr unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2634917A1 (fr) * | 1988-08-01 | 1990-02-02 | Pionchon Philippe | Procede et dispositif de protection d'un logiciel, en particulier contre les copies non autorisees |
US5754646A (en) * | 1995-07-19 | 1998-05-19 | Cable Television Laboratories, Inc. | Method for protecting publicly distributed software |
WO1999001815A1 (fr) * | 1997-06-09 | 1999-01-14 | Intertrust, Incorporated | Techniques d'obscurcissement pour augmenter la securite de logiciels |
WO1999066387A1 (fr) * | 1998-06-12 | 1999-12-23 | Gemplus | Procede de controle de l'execution d'un produit logiciel |
Also Published As
Publication number | Publication date |
---|---|
EP1412862A2 (fr) | 2004-04-28 |
WO2003012650A3 (fr) | 2003-12-24 |
HUP0400223A2 (en) | 2004-08-30 |
KR20040031778A (ko) | 2004-04-13 |
JP3949108B2 (ja) | 2007-07-25 |
MA26125A1 (fr) | 2004-04-01 |
NO20040227L (no) | 2004-03-30 |
CN100451910C (zh) | 2009-01-14 |
PL367424A1 (en) | 2005-02-21 |
FR2828304B1 (fr) | 2010-09-03 |
MXPA04000594A (es) | 2005-02-17 |
CN1552010A (zh) | 2004-12-01 |
YU5504A (sh) | 2006-05-25 |
BR0211371A (pt) | 2004-09-28 |
TNSN04014A1 (fr) | 2006-06-01 |
CA2454092A1 (fr) | 2003-02-13 |
JP2004537807A (ja) | 2004-12-16 |
IL159954A0 (en) | 2004-06-20 |
FR2828304A1 (fr) | 2003-02-07 |
ZA200400349B (en) | 2005-03-30 |
HRP20040047A2 (en) | 2004-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1004100B1 (fr) | Dispositif portable electronique pour systeme de communication securisee, et procede d'initialisation de ses parametres | |
EP1238340B1 (fr) | Dispositif informatique pour l'application de donnees accreditives a un logiciel ou a un service | |
WO2004107283A1 (fr) | Methode de generation d’une cle de securite | |
EP1412837A2 (fr) | Procede pour proteger un logiciel a l'aide de "renommage" contre son utilisation non autorisee de diluant | |
WO2003012650A2 (fr) | Procede pour proteger un logiciel a l'aide de 'dissociation temporelle' contre son utilisation non autorisee | |
WO2003012649A2 (fr) | Procede pour proteger un logiciel a l'aide de 'variables' contre son utilisation non autorisee | |
WO2003012374A2 (fr) | Procede pour proteger un logiciel a l'aide de 'branchement conditionnel' contre son utilisation non autorisee | |
EP1412838B1 (fr) | Procede pour proteger un logiciel a l'aide de "detection et coercition" contre son utilisation non autorisee | |
WO2003012605A2 (fr) | Procede pour proteger un logiciel a l'aide de 'fonctions elementaires' contre son utilisation non autorisee | |
CH716295A2 (fr) | Procédé de signature multiple d'une transaction destinée à une blockchain, au moyen de clés cryptographiques distribuées parmi les noeuds d'un réseau pair-à-pair. | |
WO2008084154A2 (fr) | Traitement de donnee relative a un service numerique | |
EP1185914B1 (fr) | Procede pour securiser un logiciel d'utilisation a partir d'une unite de traitement et de memorisation d'un secret et systeme en faisant application | |
WO2022238636A1 (fr) | Procédé pour l'exécution d'un programme charge dans la mémoire non volatile d'un microcontrôleur en circuit intégré | |
EP3923169A1 (fr) | Démarrage sécurisé d'un circuit électronique | |
EP1185913B1 (fr) | Procede pour securiser l'utilisation d'un logiciel a partir d'une unite de traitement et de memorisation d'un secret et systyme en faisant application | |
CH716284A2 (fr) | Procédé de traitement distribué, au sein d'un réseau blockchain et sous enclaves, de données informatiques chiffrées avec une clé fragmentée. | |
WO2009081028A2 (fr) | Plateforme et dispositif de gestion et de contrôle des droits d'usage associés à un objet multimédia | |
WO2008084155A2 (fr) | Traitement de donnee relative a un reseau de donnees | |
WO2002003338A1 (fr) | Procede et systeme pour limiter la possibilite de transformation de donnees destinees a constituer, notamment, des jetons de pre-paiement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: P-55/04 Country of ref document: YU |
|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG US UZ VN YU ZA ZM ZW Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BY BZ CA CH CN CO CR CU CZ DE DM DZ EC EE ES FI GB GD GE GH HR HU ID IL IN IS JP KE KG KP KR LC LK LR LS LT LU LV MA MD MG MN MW MX MZ NO NZ OM PH PL PT RU SD SE SG SI SK SL TJ TM TN TR TZ UA UG US UZ VN YU ZA ZM |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): GH GM KE LS MW MZ SD SL SZ UG ZM ZW AM AZ BY KG KZ RU TJ TM AT BE BG CH CY CZ DK EE ES FI FR GB GR IE IT LU MC PT SE SK TR BF BJ CF CG CI GA GN GQ GW ML MR NE SN TD TG Kind code of ref document: A2 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR IE IT LU MC NL PT SE SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2236/DELNP/2003 Country of ref document: IN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2003517759 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: DZP2003000325 Country of ref document: DZ |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2004/00349 Country of ref document: ZA Ref document number: 2454092 Country of ref document: CA Ref document number: 200400349 Country of ref document: ZA |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020047000805 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: P20040047A Country of ref document: HR Ref document number: 159954 Country of ref document: IL |
|
WWE | Wipo information: entry into national phase |
Ref document number: 20028146859 Country of ref document: CN Ref document number: PA/a/2004/000594 Country of ref document: MX |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2002760379 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2002325999 Country of ref document: AU |
|
WWP | Wipo information: published in national office |
Ref document number: 2002760379 Country of ref document: EP |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |