首页> 外国专利> Method and apparatus for verifying the integrity of software code during execution and apparatus for generating such software code

Method and apparatus for verifying the integrity of software code during execution and apparatus for generating such software code

机译:用于在执行期间验证软件代码的完整性的方法和设备以及用于生成这种软件代码的设备

摘要

Self-modifying software code comprising a number of modules that each may be modified to be in a plurality of states during execution. In order to verify the integrity of such code, the different states of the code are calculated. For each state a checksum, e.g. a hash value, is generated for at least part of the code. During execution the state of the code is changed, modifying a module, and an integrity check is performed using the checksum for the state of the code. The checksum may be stored in a look-up table or it may be embedded in the integrity verification function. A state variable indicating the state of the modules may be used to look-up the checksum in the table. Possible states of a module is encrypted and decrypted. Also provided is an apparatus for generating protected software code.
机译:包含多个模块的自修改软件代码,每个模块在执行过程中都可以修改为多种状态。为了验证这种代码的完整性,计算了代码的不同状态。对于每个状态,校验和,例如至少为部分代码生成一个哈希值。在执行期间,将更改代码的状态,修改模块,并使用代码状态的校验和执行完整性检查。校验和可以存储在查找表中,也可以嵌入完整性验证功能中。指示模块状态的状态变量可用于在表中查找校验和。模块的可能状态被加密和解密。还提供了一种用于生成受保护的软件代码的设备。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号