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

RISC的控制流完整性:用跳跃编程攻击RISC-V

Control-Flow Integrity at RISC: Attacking RISC-V by Jump-Oriented Programming

Olivier Gilles, Franck Viguier, Nikolai Kosmatov, Daniel Gracia Pérez

摘要:

RISC-V是最近为嵌入式实时系统开发的开放式指令集架构。为了在这些系统上实现持久的安全性并设计有效的对策,必须更好地了解新的和潜在的未来攻击的漏洞。本文证明了RISC-V对跳转导向编程是敏感的,这是一类复杂的代码重用攻击,能够绕过现有的保护。我们提供了对RISC-V系统可被此类攻击利用的攻击面的第一次分析,并展示了如何将它们链接在一起以构建全面的攻击。我们使用一个保守的假设,利用寄存器和指令模式,在一种方法,我们称之为保留寄存器。这种方法在一个易受攻击的RISC-V应用程序上实现,并成功应用于暴露AES 256秘密。

英文摘要:

RISC-V is an open instruction set architecture recently developed for embedded real-time systems. To achieve a lasting security on these systems and design efficient countermeasures, a better understanding of vulnerabilities to novel and potential future attacks is mandatory. This paper demonstrates that RISC-V is sensible to Jump-Oriented Programming, a class of complex code-reuse attacks, able to bypass existing protections. We provide a first analysis of RISC-V systems' attack surface exploitable by such attacks, and show how they can be chained together in order to build a full-fledged attack. We use a conservative hypothesis on exploited registers and instruction patterns, in an approach we called reserved registers. This approach is implemented on a vulnerable RISC-V application, and successfully applied to expose an AES256 secret.

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

↑