论文标题

复合飞地:迈向分解可信赖的执行

Composite Enclaves: Towards Disaggregated Trusted Execution

论文作者

Schneider, Moritz, Dhar, Aritra, Puddu, Ivan, Kostiainen, Kari, Capkun, Srdjan

论文摘要

不断上升的计算需求迫使从CPU转移到异质专业硬件,通过分解基础架构可以在现代数据中心中获得该硬件。另一方面,可信赖的执行环境(TEE)是硬件安全性最新的最新进展之一,只能保护CPU中限制的代码,从而限制TEES对少数应用程序的潜力和适用性。我们观察到TEES硬件可信计算基础(TCB)在设计时固定,实际上,这导致使用不受信任的软件在TEE中使用外围设备。基于此观察,我们使用可配置的硬件和软件TCB提出了\ emph {Composite finlaves},从而使Enclaves访问多个计算和IO资源。最后,我们提出了两个复合飞地的案例研究:i)基于与模拟外围设备和传感器相连的RISC-V Keystone的FPGA平台,以及II)一个大型加速器。这些案例研究展示了一个灵活但小的TCB(IO外围设备和驱动程序的2.5 kloc),开销低(仅用于上下文开关的220个额外的周期),从而证明了我们的方法的可行性,并表明它可以与广泛的专用硬件一起使用。

The ever-rising computation demand is forcing the move from the CPU to heterogeneous specialized hardware, which is readily available across modern datacenters through disaggregated infrastructure. On the other hand, trusted execution environments (TEEs), one of the most promising recent developments in hardware security, can only protect code confined in the CPU, limiting TEEs' potential and applicability to a handful of applications. We observe that the TEEs' hardware trusted computing base (TCB) is fixed at design time, which in practice leads to using untrusted software to employ peripherals in TEEs. Based on this observation, we propose \emph{composite enclaves} with a configurable hardware and software TCB, allowing enclaves access to multiple computing and IO resources. Finally, we present two case studies of composite enclaves: i) an FPGA platform based on RISC-V Keystone connected to emulated peripherals and sensors, and ii) a large-scale accelerator. These case studies showcase a flexible but small TCB (2.5 KLoC for IO peripherals and drivers), with a low-performance overhead (only around 220 additional cycles for a context switch), thus demonstrating the feasibility of our approach and showing that it can work with a wide range of specialized hardware.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源