Invention Grant
- Patent Title: Integrity of on demand code decryption
-
Application No.: US16336120Application Date: 2017-09-29
-
Publication No.: US11244075B2Publication Date: 2022-02-08
- Inventor: Eric Piret , Wyseur Brecht , Laurent Dore
- Applicant: NAGRAVISION SA
- Applicant Address: CH Cheseaux-sur-Lausanne
- Assignee: NAGRAVISION SA
- Current Assignee: NAGRAVISION SA
- Current Assignee Address: CH Cheseaux-sur-Lausanne
- Agency: Hoyng Rokh Monegier B.V.
- Agent David P. Owen
- Priority: EP16191975 20160930
- International Application: PCT/EP2017/074842 WO 20170929
- International Announcement: WO2018/060459 WO 20180405
- Main IPC: G06F11/30
- IPC: G06F11/30 ; G06F12/14 ; G06F21/64 ; G06F21/14 ; G06F21/51 ; G06F21/54 ; G06F21/60

Abstract:
A system and a method for monitoring the integrity of code are provided. Dummy code is provided in an on demand decryption area of an object file while runtime code is provided elsewhere (and may be in the same object file or another object file). A compensation area is also provided which is initially blank. During execution, checksums can be calculated based on the result of an exclusive or (XOR) operation between contents of the on demand code decryption area and a compensation area such as a compensation area. As the runtime code populates the on demand code decryption area with the runtime code (potentially with the exception of areas masked to maintain integrity of relocation instructions allowed to remain in the dummy code) the compensation area is populated with the result of an XOR operation between the dummy code and the runtime code. As a result, the checksums will be the same throughout execution as long as integrity of the code has not been compromised.
Public/Granted literature
- US20200019730A1 INTEGRITY OF ON DEMAND CODE DECRYPTION Public/Granted day:2020-01-16
Information query