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.
Systematic Prevention of On-Core Timing Channels by Full Temporal Partitioning
UNSW Sydney, Australia(新南威尔士大学);Department of Electrical, Electronic and Information Engineering (DEI), University of Bologna, Bologna, Italy(博洛尼亚大学电气、电子与信息工程学院)
PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities
Ericsson Security Research(爱立信安全研究);DistriNet, KU Leuven(鲁汶大学 DistriNet 研究中心);University of Waterloo(滑铁卢大学);University of Cambridge(剑桥大学);KTH Royal Institute of Technology(瑞典皇家理工学院);Ericsson Product Security(爱立信产品安全)