arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2211.02179cs.CR
收藏

支持RISC-V物理内存保护

Verifying RISC-V Physical Memory Protection

Kevin Cheang, Cameron Rasmussen, Dayeol Lee, David W. Kohlbrenner, Krste Asanović, Sanjit A. Seshia

摘要:

我们正式验证了RISC-V中物理内存保护(PMP)的开源硬件实现,这是用于安全关键系统(例如Keystone可信执行环境)中内存隔离的标准功能。PMP提供了每个硬件线程的机器模式控制寄存器,它指定了物理内存区域的访问权限。我们首先形式化的PMP规则的功能属性的基础上RISC-V ISA手册。然后,我们使用LIME工具将Chisel编写的PMP硬件模块的开源实现翻译为UCLID 5形式化验证语言。在UCLID 5中对硬件的形式化规约进行了编码,并对硬件的功能正确性进行了验证。这是验证Keystone框架的初步努力,其中可信计算基础(TCB)依赖PMP提供完整性和机密性等安全保证。

英文摘要:

We formally verify an open-source hardware implementation of physical memory protection (PMP) in RISC-V, which is a standard feature used for memory isolation in security critical systems such as the Keystone trusted execution environment. PMP provides per-hardware-thread machine-mode control registers that specify the access privileges for physical memory regions. We first formalize the functional property of the PMP rules based on the RISC-V ISA manual. Then, we use the LIME tool to translate an open-source implementation of the PMP hardware module written in Chisel to the UCLID5 formal verification language. We encode the formal specification in UCLID5 and verify the functional correctness of the hardware. This is an initial effort towards verifying the Keystone framework, where the trusted computing base (TCB) relies on PMP to provide security guarantees such as integrity and confidentiality.

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

↑