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

ROPfuscator:基于 ROP 的鲁棒混淆

ROPfuscator: Robust Obfuscation with ROP

Giulio De Pasquale, Fukutomo Nakanishi, Daniele Ferla, Lorenzo Cavallaro

AI总结:

本文提出 ROPfuscator,一种基于 LLVM 的编译器驱动 ROP 混淆框架,结合不透明谓词与指令隐藏技术抵御 MATE 攻击,并引入统一威胁模型全面评估其代码覆盖率、开销、正确性、鲁棒性与实用性。

摘要:

软件混淆在保护软件知识产权免受逆向工程攻击方面发挥着至关重要的作用。虽然一些混淆技术源于混淆与逆向工程的军备竞赛,但其他技术则源自不同的研究领域,例如二进制软件利用。面向返回的编程(ROP)作为一种针对内存错误漏洞的最有效利用技术而广受欢迎。ROP 干扰了我们对进程控制流的自然感知,这启发我们将 ROP 重新用作一种鲁棒且有效的软件混淆形式。尽管先前的工作已经探索了 ROP 作为混淆技术的有效性,但不断发展的逆向工程研究使得有必要进行原则性推理,以理解基于 ROP 的机制在应对终端人(MATE)攻击时的优势和局限性。为此,我们提出了 ROPfuscator,这是一种基于 ROP 的编译器驱动混淆过程,适用于 LLVM 支持的任何编程语言。我们引入了不透明谓词和常量,以及一种新颖的指令隐藏技术,以抵御复杂的 MATE 攻击。更重要的是,我们引入了一个现实且统一的威胁模型来全面评估 ROPfuscator,并针对基于 ROP 的混淆技术提供了原则性推理,以应对代码覆盖率、产生的开销、正确性、鲁棒性和实用性方面的挑战。

英文摘要:

Software obfuscation plays a crucial role in protecting intellectual property in software from reverse engineering attempts. While some obfuscation techniques originate from the obfuscation-reverse engineering arms race, others stem from different research areas, such as binary software exploitation. Return-oriented programming (ROP) gained popularity as one of the most effective exploitation techniques for memory error vulnerabilities. ROP interferes with our natural perception of a process control flow, inspiring us to repurpose ROP as a robust and effective form of software obfuscation. Although previous work already explores ROP's effectiveness as an obfuscation technique, evolving reverse engineering research raises the need for principled reasoning to understand the strengths and limitations of ROP-based mechanisms against man-at-the-end (MATE) attacks. To this end, we present ROPfuscator, a compiler-driven obfuscation pass based on ROP for any programming language supported by LLVM. We incorporate opaque predicates and constants and a novel instruction hiding technique to withstand sophisticated MATE attacks. More importantly, we introduce a realistic and unified threat model to thoroughly evaluate ROPfuscator and provide principled reasoning on ROP-based obfuscation techniques that answer to code coverage, incurred overhead, correctness, robustness, and practicality challenges.

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

↑