首页> 外国专利> DEVICE FOR OBFUSCATING APPLICATION CODE AND METHOD FOR SAME

DEVICE FOR OBFUSCATING APPLICATION CODE AND METHOD FOR SAME

机译:混淆应用程序代码的装置和方法

摘要

The present invention relates to an apparatus for tamper protection of an application and a method thereof. An apparatus for tamper protection of an application according to the present invention includes: an input unit that receives codes to be used in an application; a code separator that separates the inputted code into sensitive codes requiring application tamper protection and general codes including calling codes for calling the sensitive codes; a code converter that converts the sensitive code into the format of a native code; an encoder that encrypts the sensitive codes and inserts the address of a sensitive code connector storing the address information of the sensitive codes; a controller that separates the calling codes from the general code and registers the calling codes on a management server, and adds a calling code loading routine for requesting the calling codes and a vector table loading routine for requesting a vector table including vector information of the called sensitive codes; and a code combiner that creates an application by combining the obfuscated general codes with the sensitive codes. According to the present invention, it is possible to compensate vulnerability to reverse engineering of a managed code by converting a sensitive code in the codes of an application into a native code and performing encryption of a code protection scheme based of self modification on the converted sensitive code. Accordingly, it is possible to increase security against forgery of an application. Further, since the control flow is changed by a dynamic vector and a calling code for calling a sensitive code converted into a native code and a vector table connecting the calling code are separately managed to be dynamically loaded when an application is executed, it is possible to enhance reverse engineering analysis resistance.
机译:用于篡改保护的设备及其方法技术领域本发明涉及一种用于篡改保护的设备及其方法。根据本发明的用于应用程序的篡改保护的设备包括:输入单元,其接收要在应用程序中使用的代码。代码分离器将输入的代码分为需要应用程序篡改保护的敏感代码和包括用于调用敏感代码的调用代码在内的通用代码;将敏感代码转换为本地代码格式的代码转换器;编码器,其对敏感代码进行加密并插入存储有敏感代码的地址信息的敏感代码连接器的地址;控制器,其将调用代码与通用代码分离,并将调用代码注册在管理服务器上,并添加用于请求调用代码的调用代码加载例程和用于请求包括被调用者的矢量信息的矢量表的矢量表加载例程敏感代码;以及通过将混淆的通用代码与敏感代码进行组合来创建应用程序的代码组合器。根据本发明,可以通过将应用程序的代码中的敏感代码转换为本地代码,并对转换后的敏感代码进行自我修改,对代码保护方案进行加密,从而补偿对托管代码进行逆向工程的脆弱性。码。因此,可以提高防止伪造应用程序的安全性。此外,由于控制流由动态矢量改变,并且用于调用转换为本地代码的敏感代码的调用代码和连接该调用代码的矢量表被分别管理以在执行应用程序时被动态加载。增强逆向工程分析的抵抗力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号