Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX

被引:71
|
作者
Shen, Youren [1 ]
Tian, Hongliang [2 ]
Chen, Yu [1 ,3 ]
Chen, Kang [1 ]
Wang, Runji [1 ,2 ]
Xu, Yi [1 ,2 ,4 ]
Xia, Yubin [5 ]
Yan, Shoumeng [2 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] Ant Financial Serv Grp, Hangzhou, Peoples R China
[3] Peng Cheng Lab, Shenzhen, Peoples R China
[4] Purdue Univ, W Lafayette, IN 47907 USA
[5] Shanghai Jiao Tong Univ, Shanghai, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
Intel SGX; library OS; multitasking; Software Fault Isolation; Intel MPX;
D O I
10.1145/3373376.3378469
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Intel Software Guard Extensions (SGX) enables user-level code to create private memory regions called enclaves, whose code and data are protected by the CPU from software and hardware attacks outside the enclaves. Recent work introduces library operating systems (LibOSes) to SGX so that legacy applications can run inside enclaves with few or even no modifications. As virtually any non-trivial application demands multiple processes, it is essential for LibOSes to support multitasking. However, none of the existing SGX LibOSes support multitasking both securely and efficiently. This paper presents Occlum, a system that enables secure and efficient multitasking on SGX. We implement the LibOS processes as SFI-Isolated Processes (SIPs). SFI is a software instrumentation technique for sandboxing untrusted modules (called domains). We design a novel SFI scheme named MPX-based, Multi-Domain SFI (MMDSFI) and leverage MMDSFI to enforce the isolation of SIPs. We also design an independent verifier to ensure the security guarantees of MMDSFI. With SIPs safely sharing the single address space of an enclave, the LibOS can implement multitasking efficiently. The Occlum LibOS outperforms the state-of-the-art SGX LibOS on multitasking-heavy workloads by up to 6, 600x on micro-benchmarks and up to 500x on application benchmarks.
引用
收藏
页码:955 / 970
页数:16
相关论文
共 50 条
  • [41] Efficient and Secure Delegation of Group Exponentiation to a Single Server
    Cavallo, Bren
    Di Crescenzo, Giovanni
    Kahrobaei, Delaram
    Shpilrain, Vladimir
    [J]. RADIO FREQUENCY IDENTIFICATION: SECURITY AND PRIVACY ISSUES, RFIDSEC 2015, 2015, 9440 : 156 - 173
  • [42] Efficient and secure outsourcing of bilinear pairings with single server
    Dong, Min
    Ren, Yanli
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2018, 61 (03)
  • [43] Efficient and secure outsourcing of bilinear pairings with single server
    Min DONG
    Yanli REN
    [J]. Science China(Information Sciences), 2018, 61 (03) : 240 - 242
  • [44] Efficient and secure outsourcing of bilinear pairings with single server
    Min Dong
    Yanli Ren
    [J]. Science China Information Sciences, 2018, 61
  • [45] Efficient Algorithm for Secure Outsourcing of Modular Exponentiation with Single Server
    Ren, Yanli
    Dong, Min
    Qian, Zhenxing
    Zhang, Xinpeng
    Feng, Guorui
    [J]. IEEE TRANSACTIONS ON CLOUD COMPUTING, 2021, 9 (01) : 145 - 154
  • [46] Efficient and Secure Delegation of Exponentiation in General Groups to a Single Malicious Server
    Di Crescenzo, Giovanni
    Khodjaeva, Matluba
    Kahrobaei, Delaram
    Shpilrain, Vladimir
    [J]. MATHEMATICS IN COMPUTER SCIENCE, 2020, 14 (03) : 641 - 656
  • [47] Efficient, Adaptively Secure, and Composable Oblivious Transfer with a Single, Global CRS
    Choi, Seung Geol
    Katz, Jonathan
    Wee, Hoeteck
    Zhou, Hong-Sheng
    [J]. PUBLIC-KEY CRYPTOGRAPHY - PKC 2013, 2013, 7778 : 73 - 88
  • [48] Efficient quantum secure direct communication scheme based on single photons
    Zhao Ning
    Jiang Ying-Hua
    Zhou Xian-Tao
    [J]. ACTA PHYSICA SINICA, 2022, 71 (15)
  • [49] AN EFFICIENT PROTOCOL FOR QUANTUM SECURE DIALOGUE WITH AUTHENTICATION BY USING SINGLE PHOTONS
    Naseri, Mosayeb
    [J]. INTERNATIONAL JOURNAL OF QUANTUM INFORMATION, 2011, 9 (7-8) : 1677 - 1684
  • [50] Efficient and Secure Delegation of Exponentiation in General Groups to a Single Malicious Server
    Giovanni Di Crescenzo
    Matluba Khodjaeva
    Delaram Kahrobaei
    Vladimir Shpilrain
    [J]. Mathematics in Computer Science, 2020, 14 : 641 - 656