arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.00763cs.CRcs.SE
收藏

跨语言混淆

Translingual Obfuscation

Pei Wang, Shuai Wang, Jiang Ming, Yufei Jiang, Dinghao Wu

摘要:

程序混淆是一种重要的软件保护技术,它可以防止攻击者泄露软件的编程逻辑和设计。我们介绍了一种新的软件混淆方案,使程序模糊的“误用”某些程序设计语言的独特功能。跨语言混淆将程序的一部分从其原始语言翻译成具有不同编程范式和执行模型的另一种语言,从而增加程序复杂性并阻碍逆向工程。本文研究了用逻辑程序设计语言Prolog进行双语混淆的可行性和有效性。我们在一个名为BABEL的工具中实现了双语混淆,该工具可以有选择地将C函数转换为Prolog谓词。通过利用Prolog语言的两个重要特性,即,由于BABEL的统一性和回溯性,它混淆了C程序的数据布局和控制流,使它们更难进行逆向工程。我们的实验表明,BABEL提供了有效的和隐形的软件混淆,而成本只有适度相比,市场上最流行的商业混淆。利用BABEL验证了语义混淆的可行性,认为语义混淆是软件混淆的一个新方向。

英文摘要:

Program obfuscation is an important software protection technique that prevents attackers from revealing the programming logic and design of the software. We introduce translingual obfuscation, a new software obfuscation scheme which makes programs obscure by "misusing" the unique features of certain programming languages. Translingual obfuscation translates part of a program from its original language to another language which has a different programming paradigm and execution model, thus increasing program complexity and impeding reverse engineering. In this paper, we investigate the feasibility and effectiveness of translingual obfuscation with Prolog, a logic programming language. We implement translingual obfuscation in a tool called BABEL, which can selectively translate C functions into Prolog predicates. By leveraging two important features of the Prolog language, i.e., unification and backtracking, BABEL obfuscates both the data layout and control flow of C programs, making them much more difficult to reverse engineer. Our experiments show that BABEL provides effective and stealthy software obfuscation, while the cost is only modest compared to one of the most popular commercial obfuscators on the market. With BABEL, we verified the feasibility of translingual obfuscation, which we consider to be a promising new direction for software obfuscation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑