Program execution device
A program execution device capable of protecting a program against unauthorized analysis and alteration is provided. The program execution device includes an execution unit, a first protection unit, and a second protection unit. The execution unit executes a first program and a second program, and is connected with an external device that is capable of controlling the execution. The first protection unit disconnects the execution unit from the external device while the execution unit is executing the first program. The second protection unit protects the first program while the execution unit is executing the second program.
1. An information processing device comprising:
a storage operable to store a first set of program instructions including one or more program instructions for detecting a tampering of a second set of program instructions; and
a controller operable to (i) read the one or more program instructions of the first set of program instructions from the storage, (ii) judge whether or not at least part of the second set of program instructions is tampered with, by executing the one or more program instructions of the first set of program instructions in a secure processing mode, so as to execute, when it is judged that the second set of program instructions has not been tampered with, one or more program instructions of the second set of program instructions,
wherein, in the secure processing mode, the controller is operable to perform processing with a high level of security so that data of the storage cannot be accessed from outside.
2. The information processing device of claim 1 ,
wherein the first set of program instructions include one or more program instructions for detecting a tampering by using a stored digital signature for the second set of program instructions.
3. The information processing device of claim 1 ,
wherein, in the secure processing mode, the controller is operable to perform processing with a high level of security so that data of the storage cannot be accessed from an external device.
4. The information processing device of claim 1 ,
wherein the information processing device operates in one of a plurality of operation modes that include the secure processing mode and a normal mode,
in the normal mode, the controller is operable to perform processing with a lower level of security than the high level of security, and
the controller changes the operation mode of the information processing device to the secure processing mode and judges in the secure processing mode.
5. The information processing device comprising:
a storage operable to store a first set of program instructions including one or more program instructions for detecting a tampering, and a second set of program instructions; and
a controller operable to (i) read the one or more program instructions of the first set of program instructions from the storage, (ii) judge whether or not at least part of the second set of program instructions is tampered with, by executing the one or more program instructions of the first set of program instructions in a secure processing mode, and (iii) execute, when it is judged that the second set of program instructions has not been tampered with, one or more program instructions of the second set of program instructions,
wherein, in the secure processing mode, the controller is operable to perform processing with a high level of security so that data of the storage cannot be accessed from outside.
6. The information processing device of claim 5 ,
wherein the first set of program instructions include one or more program instructions for detecting a tampering by using a stored digital signature for the second set of program instructions.
7. The information processing device of claim 5 ,
wherein, in the secure processing mode, the controller is operable to perform processing with a high level of security so that data of the storage cannot be accessed from an external device.
8. The information processing device of claim 5 ,
wherein the information processing device operates in one of a plurality of operation modes that include the secure processing mode and a normal mode,
in the normal mode, the controller is operable to perform processing with a lower level of security than the high level of security, and
the controller changes the operation mode of the information processing device to the secure processing mode and judges in the secure processing mode.