ARM Morello上的安全回滚与丢弃
Secure Rewind and Discard on ARM Morello
AI总结:
本文将基于MPK的安全域回滚与丢弃机制SDRaD移植到CHERI架构,提出CHERI-SDRaD原型,在Nginx基准中仅造成2.2%的性能下降,并克服了原有MPK方案的局限。
摘要:
C和C++等内存不安全编程语言是系统编程、嵌入式系统和性能关键型应用的首选语言。这些语言的广泛使用使得内存相关攻击的风险非常高。虽然已有众所周知的检测机制,但它们并未解决软件弹性问题。早期方法提出将隔离域的安全域回滚与丢弃(SDRaD)作为一种方法,以基于硬件强制的内存保护密钥(MPK)增强x86架构上遭受运行时攻击的软件的弹性。在本工作中,SDRaD被适配为与能力硬件增强RISC指令(CHERI)架构协同工作,以实现更轻量和更高性能。本论文获得的结果表明,CHERI-SDRaD这一利用CHERI架构固有内存安全属性的原型适配方案,相比早先在基于Intel的架构上使用原始SDRaD原型获得的结果,带来了性能下降更小的解决方案(在Nginx基准测试中为2.2%)。对CHERI的适配还解决了基于MPK的方法所固有的限制。
英文摘要:
Memory-unsafe programming languages such as C and C++ are the preferred languages for systems programming, embedded systems, and performance-critical applications. The widespread use of these languages makes the risk of memory-related attacks very high. There are well-known detection mechanisms, but they do not address software resilience. An earlier approach proposes the Secure Domain Rewind and Discard (SDRaD) of isolated domains as a method to enhance the resilience of software targeted by runtime attacks on x86 architecture, based on hardware-enforced Memory Protection Key (MPK). In this work, SDRaD has been adapted to work with the Capability Hardware Enhanced RISC Instructions (CHERI) architecture to be more lightweight and performant. The results obtained in this thesis show that CHERI-SDRaD, the prototype adaption that leverages the memory-safety properties inherent to the CHERI architecture, results in a solution with less performance degradation (2.2% in Nginx benchmarks) compared to earlier results obtained with the original SDRaD prototype on an Intel-based architecture. The adaption to CHERI additionally allowed limitations inherent to the MPK-based approach to be resolved.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。