Confidential Computing (CC) has received increasing attention in recent years as a mechanism to protect user data from untrusted operating systems (OSes). Existing CC solutions hide confidential memory from the OS and/or encrypt it to achieve confidentiality. In doing so, they render OS memory optimization unusable or complicate the trusted computing base (TCB) required for optimization. This paper presents our results toward overcoming these limitations, synthesized in a CC design named Blindfold. Like many other CC solutions, Blindfold relies on a small trusted software component running at a higher privilege level than the kernel, called Guardian. It features three techniques that can enhance existing CC solutions. First, instead of nesting page tables, Guardian mediates how the OS accesses memory and handles exceptions by switching page and interrupt tables. Second, Blindfold employs a lightweight capability system to regulate the kernel semantic access to user memory, unifying case-by-case approaches in previous work. Finally, Blindfold provides carefully designed secure ABI for confidential memory management without encryption. We report an implementation of Blindfold that works on ARMv8-A/Linux. Using Blindfold prototype, we are able to evaluate the cost of enabling confidential memory management by the untrusted Linux kernel. We show Blindfold has a smaller runtime TCB than related systems and enjoys competitive performance. More importantly, we show that the Linux kernel, including all of its memory optimizations except memory compression, can function properly for confidential memory. This requires only about 400 lines of kernel modifications.
Agora: Trust Less and Open More in Verification for Confidential Computing
Indiana University Bloomington(印第安纳大学布鲁明顿分校);The Pennsylvania State University(宾夕法尼亚州立大学);Yale University(耶鲁大学);Duke University(杜克大学);Hong Kong University of Science and Technology(香港科技大学);Nanyang Technological University(南洋理工大学)
More Granular, Less Trust: Enforcing Intra-Process Isolation with Arm CCA in an Untrusted Management Environment
Huazhong University of Science and Technology(华中科技大学);JinYinHu Laboratory(金银湖实验室);George Mason University(乔治梅森大学);Peking University(北京大学);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)
Azure Research, Microsoft(微软 Azure 研究院);Imperial College London(伦敦帝国理工学院);University of California, Irvine(加州大学尔湾分校);SPARC, Indian Institute of Science(印度科学院 SPARC)