Ringmaster: 如何从TrustZone TEEs中 juggl 高吞吐量的主机操作系统系统调用
Ringmaster: How to juggle high-throughput host OS system calls from TrustZone TEEs
AI总结:
Ringmaster通过异步访问Linux io_uring实现安全时间敏感处理与丰富操作系统服务的平衡,降低开销并提升无人机数据处理效率。
摘要:
许多安全关键系统需要及时处理传感器输入以避免潜在的安全隐患。此外,为了支持有用的应用功能,这些系统越来越多地拥有一个丰富的操作系统(OS),但这也可能带来潜在的安全漏洞。因此,如果恶意方获得监督权限,他们可以通过拒绝服务来对时间敏感的程序造成现实损害。许多过去的方法完全隔离了时间敏感的程序,通过虚拟机;然而,这阻止了程序访问有用的操作系统服务。我们介绍了Ringmaster,一种新的框架,使围栏或TEE(可信执行环境)能够通过Linux的io_uring异步访问丰富的、但可能不信任的操作系统服务。当未受信任的操作系统拒绝服务时,围栏继续在Ringmaster的最小ARM TrustZone内核上运行,并能够访问小型、关键的设备驱动程序。这种方法在需要安全、时间敏感的处理与丰富操作系统服务的便利性之间取得了平衡。此外,Ringmaster支持大型未修改的程序作为围栏,相比现有系统提供了更低的开销。我们展示了Ringmaster如何帮助我们构建一个工作高度安全的系统,且工程量最小。在与无人机的实验中,Ringmaster在Raspberry Pi4b上实现了接近1GiB/s的数据进入围栏,与非围栏任务相比,吞吐量开销为0-3%。
英文摘要:
Many safety-critical systems require timely processing of sensor inputs to avoid potential safety hazards. Additionally, to support useful application features, such systems increasingly have a large rich operating system (OS) at the cost of potential security bugs. Thus, if a malicious party gains supervisor privileges, they could cause real-world damage by denying service to time-sensitive programs. Many past approaches to this problem completely isolate time-sensitive programs with a hypervisor; however, this prevents the programs from accessing useful OS services. We introduce Ringmaster, a novel framework that enables enclaves or TEEs (Trusted Execution Environments) to asynchronously access rich, but potentially untrusted, OS services via Linux's io_uring. When service is denied by the untrusted OS, enclaves continue to operate on Ringmaster's minimal ARM TrustZone kernel with access to small, critical device drivers. This approach balances the need for secure, time-sensitive processing with the convenience of rich OS services. Additionally, Ringmaster supports large unmodified programs as enclaves, offering lower overhead compared to existing systems. We demonstrate how Ringmaster helps us build a working highly-secure system with minimal engineering. In our experiments with an unmanned aerial vehicle, Ringmaster achieved nearly 1GiB/sec of data into enclave on a Raspberry Pi4b, 0-3% throughput overhead compared to non-enclave tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。