VMSL: A Separation Logic for Mechanised Robust Safety of Virtual Machines Communicating above FF-A

Author:

Liu Zongyuan1ORCID,Stepanenko Sergei1ORCID,Pichon-Pharabod Jean1ORCID,Timany Amin1ORCID,Askarov Aslan1ORCID,Birkedal Lars1ORCID

Affiliation:

1. Aarhus University, Denmark

Abstract

Thin hypervisors make it possible to isolate key security components like keychains, fingerprint readers, and digital wallets from the easily-compromised operating system. To work together, virtual machines running on top of the hypervisor can make hypercalls to the hypervisor to share pages between each other in a controlled way. However, the design of such hypercall ABIs remains a delicate balancing task between conflicting needs for expressivity, performance, and security. In particular, it raises the question of what makes the specification of a hypervisor, and of its hypercall ABIs, good enough for the virtual machines. In this paper, we validate the expressivity and security of the design of the hypercall ABIs of Arm's FF-A. We formalise a substantial fragment of FF-A as a machine with a simplified ISA in which hypercalls are steps of the machine. We then develop VMSL, a novel separation logic, which we prove sound with respect to the machine execution model, and use it to reason modularly about virtual machines which communicate through the hypercall ABIs, demonstrating the hypercall ABIs' expressivity. Moreover, we use the logic to prove robust safety of communicating virtual machines, that is, the guarantee that even if some of the virtual machines are compromised and execute unknown code, they cannot break the safety properties of other virtual machines running known code. This demonstrates the intended security guarantees of the hypercall ABIs. All the results in the paper have been formalised in Coq using the Iris framework.

Funder

Villum Fonden

Google

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference54 articles.

1. Foundational proof-carrying code

2. Position paper: the science of deep specification

3. Arm. 2021. Morello project. https://www.morello-project.org/ Arm. 2021. Morello project. https://www.morello-project.org/

4. Arm Ltd.. 2022. Arm Firmware Framework for Arm A-profile version 1.1 - DEN0077A. https://documentation-service.arm.com/static/624d5f52dc9d4f0e74a54e5f Arm Ltd.. 2022. Arm Firmware Framework for Arm A-profile version 1.1 - DEN0077A. https://documentation-service.arm.com/static/624d5f52dc9d4f0e74a54e5f

5. Isla: Integrating Full-Scale ISA Semantics and Axiomatic Concurrency Models

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. An Axiomatic Basis for Computer Programming on the Relaxed Arm-A Architecture: The AxSL Logic;Proceedings of the ACM on Programming Languages;2024-01-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3