针对污点分析方法导致程序数据流泄密的问题,提出了一种基于可执行代码的反污点分析方案。通过开发过程中植入标记或保护过程中输入关键代码地址两种方式实现对关键代码的定位。设计了去污点的反污点分析保护方法,用于保护程序中的敏感数据,提高程序的抵抗污点分析能力。同时,为了满足保护方法的多样性,分别针对数值替代、数值匹配和栈操作设计了3种不同的反污点分析保护方法。实验结果表明,提出的方法可以有效的增强反污点分析能力且不会造成较大的性能损耗。
To address the problem of data flow leak caused by taint analysis,a method for binary code anti-Taint analysis was proposed. The core code was located by implanting tags during development or typing the address after development. To protect the sensitive data and improve the ability of resisting taint analysis, the anti-taint analysis was designed by bleaching the taint. Besides, for the variety of protective methods, three kinds of anti-taint analysis methods were proposed respectively for data substitution, data match and stack operation. The results showed that the proposed methods can effectively improve the ability of resisting taint analysis and would not result a large performance loss.