R5Detect:从标准 RISC-V Enclave 检测控制流攻击
R5Detect: Detecting Control-Flow Attacks from Standard RISC-V Enclaves
AI总结:
本文提出 R5Detect,通过内存保护影子栈与基于硬件性能计数器的启发式检测,在标准低功耗 RISC-V 设备上防御控制流攻击,平均开销低于 5%。
摘要:
如今,嵌入式和物联网(IoT)设备无处不在,基于这些设备形成的若干僵尸网络(例如 Mirai、Ripple20)的兴起引发了对此类设备安全性的担忧。尤其是低功耗设备,往往缺乏对现代系统安全措施的支持,例如栈完整性、不可执行位(Non-eXecutable bits)或强加密机制。在本工作中,我们提出 R5Detect,这是一款安全监控软件,可在未经修改的 RISC-V 标准架构上检测并阻止控制流攻击。通过以新颖方式组合不同保护技术,它能够运行在可能缺乏适当安全特性的嵌入式和低功耗 IoT 设备上。R5Detect 实现了一个受内存保护的影子栈以防止运行时修改,同时实现了基于硬件性能计数器(Hardware Performance Counters)的启发式检测,用于发现控制流完整性违规。我们的结果表明,常规软件可以受到保护,抵御不同程度的控制流篡改,且平均性能开销低于 5%。我们在标准低功耗 RISC-V 设备上实现并评估了 R5Detect,结果表明此类安全特性只需极少硬件支持即可得到有效使用。
英文摘要:
Embedded and Internet-of-Things (IoT) devices are ubiquitous today, and the uprising of several botnets based on them (e.g., Mirai, Ripple20) raises issues about the security of such devices. Especially low-power devices often lack support for modern system security measures, such as stack integrity, Non-eXecutable bits or strong cryptography. In this work, we present R5Detect, a security monitoring software that detects and prevents control-flow attacks on unmodified RISC-V standard architectures. With a novel combination of different protection techniques, it can run on embedded and low-power IoT devices, which may lack proper security features. R5Detect implements a memory-protected shadow stack to prevent runtime modifications, as well as a heuristics detection based on Hardware Performance Counters to detect control-flow integrity violations. Our results indicate that regular software can be protected against different degrees of control-flow manipulations with an average performance overhead of below 5 %. We implement and evaluate R5Detect on standard low-power RISC-V devices and show that such security features can be effectively used with minimal hardware support.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。