一种基于白盒密码的Java源码防篡改方法

TAMPER-PROOF METHOD FOR JAVA SOURCE CODE BASED ON WHITEBOX CIPHER

  • 摘要: 针对Java编写的软件容易被逆向工程盗版的问题,提出一种Java虚拟机层面的防篡改方法,被加密的字节码文件在执行前通过动态解密进行还原。综合考虑传统密码算法的密钥安全问题,选用白盒密码作为加解密算法,并针对白盒密码表的缺陷,对表的导入导出逻辑进行修改,进一步提高该方法的安全防护能力。实验证明,其能在不影响软件原有功能的基础上更加有效地阻止源码篡改。

     

    Abstract: Aimed at the problem that software written in Java is easy to be pirated by reverse engineering, a tamper-proof method at the Java virtual machine level is proposed. The encrypted bytecode file was restored by dynamic decryption before execution. Considering the key security issues of traditional cryptographic algorithms, white box ciphers were selected as encryption and decryption algorithms, and the logic of table import and export was modified for the defects of white box cipher tables, so that this solution could achieve a higher security level. Experiments have proved that it can more effectively prevent source code tampering without affecting the original functions of the software.

     

/

返回文章
返回