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

基于线程的控制流混淆

Thread-Based Obfuscation through Control-Flow Mangling

Rasha Salah Omar, Ahmed El-Mahdy, Erven Rohou

摘要:

随着云计算和远程执行的日益普及,程序安全变得尤为重要。代码混淆被提出来使攻击者对程序的理解更加复杂。在本文中,我们利用多核处理,大大增加了程序的复杂性,使逆向工程更加复杂。我们提出了一种新的方法,自动分区任何串行线程成任意数量的并行线程,在基本块级别。该方法生成新的控制流图,保持块的串行后继关系,并保证一个基本块是活动的时间使用警卫。该方法为m个线程和n个基本块生成m^n个不同的组合,显著地使执行状态复杂化。给出了算法的正确性证明,并在LLVM编译框架中实现了该算法。

英文摘要:

The increasing use of cloud computing and remote execution have made program security especially important. Code obfuscation has been proposed to make the understanding of programs more complicated to attackers. In this paper, we exploit multi-core processing to substantially increase the complexity of programs, making reverse engineering more complicated. We propose a novel method that automatically partitions any serial thread into an arbitrary number of parallel threads, at the basic-block level. The method generates new control-flow graphs, preserving the blocks' serial successor relations and guaranteeing that one basic-block is active at a time using guards. The method generates m^n different combinations for m threads and n basic-blocks, significantly complicating the execution state. We provide a correctness proof for the algorithm and implement the algorithm in the LLVM compilation framework.

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

↑