arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.02698cs.CR
收藏

就地加密的执行完整性

Execution Integrity with In-Place Encryption

Dean Sullivan, Orlando Arias, David Gens, Lucas Davi, Ahmad-Reza Sadeghi, Yier Jin

摘要:

指令集随机化(ISR)最初是为了对抗代码注入攻击而提出的。然而,ISR似乎已经失去了吸引力,因为代码注入攻击变得不那么有吸引力,因为保护机制,如数据执行预防(DEP)以及代码重用攻击变得更加普遍。在本文中,我们表明,ISR可以扩展到也防止代码重用攻击,同时提供类似的软件多样性,控制流的完整性和信息隐藏的安全保证。我们提出了Scylla方案,该方案部署了一种新的就地代码加密技术来隐藏随机二进制的代码布局,并将控制流限制在良性执行路径。这使我们能够i)隐式地将控制流目标限制为基本块条目,而无需提取控制流图,ii)在合法的基本块内实现执行完整性,以及iii)在对程序的恶意读访问下隐藏底层代码布局。我们的分析表明,Scylla能够防止最先进的攻击,如即时返回导向编程(JIT-ROP)和抗崩溃导向编程(CROP)。我们广泛评估我们的原型实现的锡拉,并显示可行的性能开销。我们还详细介绍了如何通过专用硬件支持显著降低此开销。

英文摘要:

Instruction set randomization (ISR) was initially proposed with the main goal of countering code-injection attacks. However, ISR seems to have lost its appeal since code-injection attacks became less attractive because protection mechanisms such as data execution prevention (DEP) as well as code-reuse attacks became more prevalent. In this paper, we show that ISR can be extended to also protect against code-reuse attacks while at the same time offering security guarantees similar to those of software diversity, control-flow integrity, and information hiding. We present Scylla, a scheme that deploys a new technique for in-place code encryption to hide the code layout of a randomized binary, and restricts the control flow to a benign execution path. This allows us to i) implicitly restrict control-flow targets to basic block entries without requiring the extraction of a control-flow graph, ii) achieve execution integrity within legitimate basic blocks, and iii) hide the underlying code layout under malicious read access to the program. Our analysis demonstrates that Scylla is capable of preventing state-of-the-art attacks such as just-in-time return-oriented programming (JIT-ROP) and crash-resistant oriented programming (CROP). We extensively evaluate our prototype implementation of Scylla and show feasible performance overhead. We also provide details on how this overhead can be significantly reduced with dedicated hardware support.

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

↑