与Sirius的飞地感知划分和安全共享
Enclave-Aware Compartmentalization and Secure Sharing with Sirius
摘要:
硬件辅助的可信执行环境(TEE)是许多现代应用程序的关键构建块。然而,它们具有单向隔离模型,该模型在TEE与其外部世界之间引入了语义间隙。这种信息的缺乏导致对启用TEE的应用程序的攻击不断增加,这些攻击利用与主机OS、应用程序或其他飞地的各种不安全交互。我们介绍Sirius,第一个划分框架,通过控制主内核对象(例如线程,进程,地址空间,文件,套接字,管道)在安全和正常的世界中,在TEE辅助应用程序中实现强大的隔离和安全共享。Sirius用一种原则性的方法取代了当前TEE系统中的ad-hoc交互,这种方法增加了强大的地址空间间和地址空间内隔离,并有效地消除了各种攻击。我们在ARM平台上评估了Sirius,发现它是轻量级的($\approx 15K$ LoC),只增加了$\approx 10.8\%$开销,以在httpd等应用程序上启用TEE支持,并通过$0.05\%-5.6\%$提高了现有启用TEE的应用程序(如Darknet ML框架和ARM的LibDDSSec)的性能。
英文摘要:
Hardware-assisted trusted execution environments (TEEs) are critical building blocks of many modern applications. However, they have a one-way isolation model that introduces a semantic gap between a TEE and its outside world. This lack of information causes an ever-increasing set of attacks on TEE-enabled applications that exploit various insecure interactions with the host OSs, applications, or other enclaves. We introduce Sirius, the first compartmentalization framework that achieves strong isolation and secure sharing in TEE-assisted applications by controlling the dataflows within primary kernel objects (e.g. threads, processes, address spaces, files, sockets, pipes) in both the secure and normal worlds. Sirius replaces ad-hoc interactions in current TEE systems with a principled approach that adds strong inter- and intra-address space isolation and effectively eliminates a wide range of attacks. We evaluate Sirius on ARM platforms and find that it is lightweight ($\approx 15K$ LoC) and only adds $\approx 10.8\%$ overhead to enable TEE support on applications such as httpd, and improves the performance of existing TEE-enabled applications such as the Darknet ML framework and ARM's LibDDSSec by $0.05\%-5.6\%$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。