Scanclave:在不可信环境中保护应用程序的完整性
Scanclave: Verifying Application Runtime Integrity in Untrusted Environments
摘要:
托管在云环境中的数据可能会受到来自更高权限对手的攻击,例如恶意或受损的云提供商。为了即使在存在这样的对手的情况下也提供机密性和完整性,已经开发了许多可信执行环境(TEE)。TEE旨在保护其环境中的数据和代码免受高特权对手的攻击,例如恶意操作系统或虚拟机管理程序。虽然存在在加载时证明TEE的完整性的机制,但不存在在运行时证明其完整性的机制。此外,还存在讨论验证程序和系统组件的运行时完整性的机制的工作。然而,这些核查机制本身并不能抵御来自高特权对手的攻击。因此,需要将TEE的保护机制与应用程序运行时完整性验证的能力相结合。在本文中,我们提出了Scanclave,一个轻量级的设计,实现了三个设计目标:可信度的验证,一个最小的可信软件栈和可能性,从TEE访问应用程序的内存。在实现了我们的目标,我们能够验证应用程序的运行时完整性,即使在存在高特权的对手。我们避免讨论哪些属性定义应用程序的运行时完整性,因为不同的应用程序将需要不同的验证方法。相反,我们将展示如何Scanclave使远程验证程序来确定应用程序的运行时完整性。然后,我们对设计的不同步骤进行安全性分析。此外,我们还讨论了可能用于实现Scanclave的不同安全区实现。
英文摘要:
Data hosted in a cloud environment can be subject to attacks from a higher privileged adversary, such as a malicious or compromised cloud provider. To provide confidentiality and integrity even in the presence of such an adversary, a number of Trusted Execution Environments (TEEs) have been developed. A TEE aims to protect data and code within its environment against high privileged adversaries, such as a malicious operating system or hypervisor. While mechanisms exist to attest a TEE's integrity at load time, there are no mechanisms to attest its integrity at runtime. Additionally, work also exists that discusses mechanisms to verify the runtime integrity of programs and system components. However, those verification mechanisms are themselves not protected against attacks from a high privileged adversary. It is therefore desirable to combine the protection mechanisms of TEEs with the ability of application runtime integrity verification. In this paper, we present Scanclave, a lightweight design which achieves three design goals: Trustworthiness of the verifier, a minimal trusted software stack and the possibility to access an application's memory from a TEE. Having achieved our goals, we are able to verify the runtime integrity of applications even in the presence of a high privileged adversary. We refrain from discussing which properties define the runtime integrity of an application, as different applications will require different verification methods. Instead, we show how Scanclave enables a remote verifier to determine the runtime integrity of an application. Afterwards, we perform a security analysis for the different steps of our design. Additionally, we discuss different enclave implementations that might be used for the implementation of Scanclave.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。