On demand code decryption
AssigneeNagravision S.A.
InventorsLaurent DORE, Eric PIRET, Belaidi YASSER, Brecht WYSEUR
Life of this patent
Estimating the term…
Abstract
A system and a method for protecting code are provided. Extraction of code to be protected takes place during an object-to-object transformation and that code is replaced with fake binary code. The extracted code to be protected may then be encrypted or otherwise obscured and stored in a separate region of an object file. A prior source-to-source file transformation can be provided to isolate and mark the code to be protected, and to inject additional source code to handle later decryption.
Claims15
A method for protecting code, comprising carrying out an object-to-object file transformation, the object-to-object transformation comprising:
- identifying code to be protected within an input object file for encryption;
- extracting the identified code to be protected;
- replacing the identified code to be protected within the input object file with a fake code to generate a first output object file;
- and
- injecting the code to be protected into a second output object file.
A system for protecting code, the system comprising a processor arranged to carry out an object-to-object file transformation, the object-to-object transformation comprising:
- identifying code to be protected within an input object file for encryption;
- extracting the identified code to be protected;
- replacing the identified code to be protected within the input object file with a fake code to generate a first output object file;
- and
- injecting the code to be protected into a second output object file.
Dependencies are inferred from the claim text.