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

HardScope:使用硬件辅助的运行时间范围实施来阻止DOP

HardScope: Thwarting DOP with Hardware-assisted Run-time Scope Enforcement

Thomas Nyman, Ghada Dessouky, Shaza Zeitouni, Aaro Lehikoinen, Andrew Paverd, N. Asokan, Ahmad-Reza Sadeghi

摘要:

存储器不安全程序设计语言的广泛使用(例如,C和C++)使许多系统容易受到内存损坏攻击。已经提出了各种防御来减轻利用存储器错误来劫持运行时间处的代码的控制流的攻击,例如,(细粒度)随机化或控制流完整性。然而,最近在面向数据编程(DOP)方面的工作表明,即使在这些最先进的防御措施存在的情况下,也存在高度表达性(图灵完备)的攻击。虽然已经证明了多个真实世界的DOP攻击,但还没有有效的防御。我们提出了运行时间范围实施(RSE),一种新的方法,旨在通过实施编译时内存安全约束(例如,可变可见性规则)。我们提出了HardScope,这是一种用于新RISC-V开放指令集架构的硬件辅助RSE的概念验证实现。我们讨论了我们的系统的实证评估HardScope表明,它可以减轻所有目前已知的DOP攻击,并在嵌入式基准测试的3.2%的真实世界的性能开销。

英文摘要:

Widespread use of memory unsafe programming languages (e.g., C and C++) leaves many systems vulnerable to memory corruption attacks. A variety of defenses have been proposed to mitigate attacks that exploit memory errors to hijack the control flow of the code at run-time, e.g., (fine-grained) randomization or Control Flow Integrity. However, recent work on data-oriented programming (DOP) demonstrated highly expressive (Turing-complete) attacks, even in the presence of these state-of-the-art defenses. Although multiple real-world DOP attacks have been demonstrated, no efficient defenses are yet available. We propose run-time scope enforcement (RSE), a novel approach designed to efficiently mitigate all currently known DOP attacks by enforcing compile-time memory safety constraints (e.g., variable visibility rules) at run-time. We present HardScope, a proof-of-concept implementation of hardware-assisted RSE for the new RISC-V open instruction set architecture. We discuss our systematic empirical evaluation of HardScope which demonstrates that it can mitigate all currently known DOP attacks, and has a real-world performance overhead of 3.2% in embedded benchmarks.

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

↑