SPEAR-V: Secure and Practical Enclave Architecture for RISC-V

被引:2
|
作者
Schrammel, David [1 ]
Waser, Moritz [1 ]
Lamster, Lukas [1 ]
Unterguggenberger, Martin [1 ]
Mangard, Stefan [1 ]
机构
[1] Graz Univ Technol, Graz, Austria
关键词
RISC-V; enclave; isolation; memory protection; memory tagging; ATTACKS;
D O I
10.1145/3579856.3595784
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Trusted Execution Environments (TEEs) and enclaves have become increasingly popular and are used from embedded devices to cloud servers. Today, many enclave architectures exist for different ISAs. However, some suffer from performance issues and controlled-channel attacks, while others only support constrained use cases for embedded devices or impose unrealistic constraints on the software. Modern cloud applications require a more flexible architecture that is both secure against such attacks and not constrained by, e.g., a limited number of physical memory ranges. In this paper, we present SPEAR-V, a RISC-V-based enclave that provides a fast and flexible architecture for trusted computing that is compatible with current and future use cases while also aiming at mitigating controlled-channel attacks. With a single hardware primitive, our novel architecture enables two-way sandboxing. Enclaves are protected from hosts and vice versa. Furthermore, we show how shared memory and arbitrary nesting can be achieved without additional performance overheads. Our evaluation shows that, with minimal hardware changes, a flexible, performant, and secure enclave architecture can be constructed, imposing zero overhead on unprotected applications and an average overhead of 1% for protected applications.
引用
收藏
页码:457 / 468
页数:12
相关论文
共 50 条
  • [1] A RISC-V Extension to Minimize Privileges of Enclave Runtimes
    Kalani, Neelu S.
    Bugnion, Edouard
    PROCEEDINGS OF THE 2023 6TH WORKSHOP ON SYSTEM SOFTWARE FOR TRUSTED EXECUTION, SYSTEX 2023, 2023, : 4 - 9
  • [2] HECTOR-V: A Heterogeneous CPU Architecture for a Secure RISC-V Execution Environment
    Nasahl, Pascal
    Schilling, Robert
    Werner, Mario
    Mangard, Stefan
    ASIA CCS'21: PROCEEDINGS OF THE 2021 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2021, : 187 - 199
  • [3] Design and implementation of secure boot architecture on RISC-V using FPGA
    Loo, Tung Lun
    Ishak, Mohamad Khairi
    Ammar, Khalid
    MICROPROCESSORS AND MICROSYSTEMS, 2023, 101
  • [4] Efficient Cryptography on the RISC-V Architecture
    Stoffelen, Ko
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 : 323 - 340
  • [5] Secure Services for Standard RISC-V Architectures
    Bove, Davide
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY, ARES 2022, 2022,
  • [6] Design and Implementation of a Secure RISC-V Microprocessor
    Stangherlin, Kleber
    Sachdev, Manoj
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2022, 30 (11) : 1705 - 1715
  • [7] Parallel Verification in RISC-V Secure Boot
    Saiki, Akihiro
    Omori, Yu
    Kimura, Keiji
    2023 IEEE 16TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP, MCSOC, 2023, : 568 - 575
  • [8] Lightweight Secure-Boot Architecture for RISC-V System-on-Chip
    Haj-Yahya, Jawad
    Wong, Ming Ming
    Pudi, Vikramkumar
    Bhasin, Shivam
    Chattopadhyay, Anupam
    PROCEEDINGS OF THE 2019 20TH INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED), 2019, : 216 - 223
  • [9] Survey on RISC-V System Architecture Research
    Liu C.
    Wu Y.-J.
    Wu J.-Z.
    Zhao C.
    Ruan Jian Xue Bao/Journal of Software, 2021, 32 (12): : 3992 - 4024
  • [10] Securing a RISC-V architecture: A dynamic approach
    Pillement, S.
    Real, M. Mendez
    Pottier, J.
    Nieddu, T.
    Le Gal, B.
    Faucou, S.
    Bechennec, J. L.
    Briday, M.
    Girbal, S.
    Le Rhun, J.
    Gilles, O.
    Perez, D. Gracia
    Sintzoff, A.
    Coulon, J. R.
    2023 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2023,