arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.04214cs.CR
收藏

使用 FPGA 构建您自己的可信执行环境

Building Your Own Trusted Execution Environments Using FPGA

Md Armanuzzaman, Ahmad-Reza Sadeghi, Ziming Zhao

AI总结:

本文提出 BYOTee,利用商用 FPGA 按需构建具有可定制硬件 TCB 的多个安全飞地,并支持软硬件栈远程证明,实验验证了其安全与性能。

摘要:

近年来,得益于 Intel SGX 和 Arm TrustZone 等新的硬件安全特性,我们见证了在商用设备上使用硬件辅助的可信执行环境(TEE)或飞地来保护敏感代码和数据的空前增长。尽管专有 TEE 带来了许多好处,但它们因缺乏透明度、存在漏洞以及各种限制而受到批评。例如,现有 TEE 仅提供静态且固定的硬件可信计算基(TCB),无法针对不同应用进行定制。现有 TEE 与富执行环境(REE)分时共享处理器核心,这使得执行效率较低,并且容易受到缓存侧信道攻击。此外,TrustZone 缺乏对多个 TEE、远程证明和内存加密的硬件支持。在本文中,我们提出了 BYOTee(Build Your Own Trusted Execution Environments,构建您自己的可信执行环境),这是一种易于使用的基础设施,通过利用商用现场可编程门阵列(FPGA)设备来构建多个同等安全的飞地。BYOTee 在 FPGA 中按需创建具有定制硬件 TCB 的飞地,这些 TCB 包括软核 CPU、块 RAM 和外设连接。此外,BYOTee 提供了相应机制,可向远程验证者证明定制飞地的硬件和软件栈完整性,包括比特流、固件、安全敏感应用(SSA)及其输入和输出。我们针对 Xilinx 片上系统(SoC)FPGA 实现了一个 BYOTee 系统。在低端 Zynq-7000 系统上针对四个 SSA 和 12 个基准测试应用进行的评估,证明了 BYOTee 框架的用途、安全性、有效性和性能。

英文摘要:

In recent years, we have witnessed unprecedented growth in using hardware-assisted Trusted Execution Environments (TEE) or enclaves to protect sensitive code and data on commodity devices thanks to new hardware security features, such as Intel SGX and Arm TrustZone. Even though the proprietary TEEs bring many benefits, they have been criticized for lack of transparency, vulnerabilities, and various restrictions. For example, existing TEEs only provide a static and fixed hardware Trusted Computing Base (TCB), which cannot be customized for different applications. Existing TEEs time-share a processor core with the Rich Execution Environment (REE), making execution less efficient and vulnerable to cache side-channel attacks. Moreover, TrustZone lacks hardware support for multiple TEEs, remote attestation, and memory encryption. In this paper, we present BYOTee (Build Your Own Trusted Execution Environments), which is an easy-to-use infrastructure for building multiple equally secure enclaves by utilizing commodity Field Programmable Gate Arrays (FPGA) devices. BYOTee creates enclaves with customized hardware TCBs, which include softcore CPUs, block RAMs, and peripheral connections, in FPGA on demand. Additionally, BYOTee provides mechanisms to attest the integrity of the customized enclaves' hardware and software stacks, including bitstream, firmware, and the Security-Sensitive Applications (SSA) along with their inputs and outputs to remote verifiers. We implement a BYOTee system for the Xilinx System-on-Chip (SoC) FPGA. The evaluations on the low-end Zynq-7000 system for four SSAs and 12 benchmark applications demonstrate the usage, security, effectiveness, and performance of the BYOTee framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑