Pip-MPU: Formal Verification of an MPU-Based Separationkernel for Constrained Devices

Nicolas Dejon, Chrystel Gaber, G. Grimaud
{"title":"Pip-MPU: Formal Verification of an MPU-Based Separationkernel for Constrained Devices","authors":"Nicolas Dejon, Chrystel Gaber, G. Grimaud","doi":"10.5121/ijesa.2023.13201","DOIUrl":null,"url":null,"abstract":"Pip-MPU is a minimalist separation kernel for constrained devices (scarce memory and power resources).In this work, we demonstrate high-assurance of Pip-MPU’s isolation property through formal verification.Pip-MPU offers user-defined on-demand multiple isolation levels guarded by the Memory Protection Unit (MPU).Pip-MPU derives from the Pip protokernel, with a full code refactoring to adapt to the constrained environment and targets equivalent security properties.The proofs verify that the memory blocks loaded in the MPU adhere to the global partition tree model.We provide the basis of the MPU formalisation and the demonstration of the formal verification strategy on two representative kernel services.The publicly released proofs have been implemented and checked using the Coq Proof Assistant for three kernel services, representing around 10000 lines of proof.To our knowledge, this is the first formal verification of an MPU-based separation kernel.The verification process helped discover a critical isolation-related bug.","PeriodicalId":425068,"journal":{"name":"International Journal of Embedded Systems and Applications","volume":"123 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Embedded Systems and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5121/ijesa.2023.13201","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Pip-MPU is a minimalist separation kernel for constrained devices (scarce memory and power resources).In this work, we demonstrate high-assurance of Pip-MPU’s isolation property through formal verification.Pip-MPU offers user-defined on-demand multiple isolation levels guarded by the Memory Protection Unit (MPU).Pip-MPU derives from the Pip protokernel, with a full code refactoring to adapt to the constrained environment and targets equivalent security properties.The proofs verify that the memory blocks loaded in the MPU adhere to the global partition tree model.We provide the basis of the MPU formalisation and the demonstration of the formal verification strategy on two representative kernel services.The publicly released proofs have been implemented and checked using the Coq Proof Assistant for three kernel services, representing around 10000 lines of proof.To our knowledge, this is the first formal verification of an MPU-based separation kernel.The verification process helped discover a critical isolation-related bug.
Pip-MPU:一个基于mpu分离内核的约束设备的正式验证
Pip-MPU是一个用于受限设备(稀缺内存和电源资源)的极简分离内核。在这项工作中,我们通过形式化验证证明了Pip-MPU的隔离性是高保证的。Pip-MPU提供用户自定义的按需多个隔离级别,由内存保护单元(MPU)保护。Pip- mpu源自Pip原内核,具有完整的代码重构以适应受约束的环境和目标等效的安全属性。证明了加载在MPU中的内存块遵循全局分区树模型。给出了MPU形式化的基础,并在两个具有代表性的内核服务上演示了形式化验证策略。公开发布的证明已经使用Coq Proof Assistant对三个内核服务进行了实现和检查,代表了大约10000行证明。据我们所知,这是第一个基于mpu的分离内核的正式验证。验证过程帮助发现了一个与隔离相关的关键错误。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信