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

Aster:用 Arm CCA 修复 Android TEE 生态系统

Aster: Fixing the Android TEE Ecosystem with Arm CCA

Mark Kuhne, Supraja Sridhara, Andrin Bertschi, Nicolas Dutly, Srdjan Capkun, Shweta Shinde

AI总结:

针对Android中TrustZone与可信hypervisor缺乏相互隔离的问题,提出Aster,通过重新利用Arm CCA硬件机制实现沙箱化服务抽象与双向隔离,并解决安全接口等挑战,有效保护安全敏感服务。

摘要:

Android 生态系统依赖于 TrustZone(如 OP-TEE、QTEE、Trusty)或可信 hypervisor(如 pKVM、Gunyah)来将安全敏感服务与恶意应用及 Android 漏洞隔离。TrustZone 允许任何 secure world 代码访问运行 Android 的 normal world。类似地,可信 hypervisor 对运行于一个 VM 中的 Android 和其他 VM 中的安全服务具有完全访问权限。本文论证了相互隔离的必要性,即 Android、hypervisor 与 secure world 之间彼此隔离。随后,我们提出一种沙箱化服务抽象,使沙箱化执行无法访问任何其他沙箱、Android、hypervisor 或 secure world 内存。我们提出 Aster,在实现上述目标的同时,确保沙箱化执行仍可与 Android 通信,以安全地获取输入并提供输出。我们的核心洞察是利用 Arm Confidential Computing Architecture (CCA) 提供的硬件隔离。然而,由于 CCA 并不满足我们的沙箱与相互隔离需求,Aster 对其硬件强制机制进行重新利用以达成目标,并解决安全接口、virtio 以及中断防护等挑战。我们实现了 Aster 以验证其可行性并评估其兼容性。我们选取三个案例研究,包括一个当前已部署于 Android 手机且仅用可信 hypervisor 不足以保障安全的案例,证明它们可由 Aster 保护。

英文摘要:

The Android ecosystem relies on either TrustZone (e.g., OP-TEE, QTEE, Trusty) or trusted hypervisors (pKVM, Gunyah) to isolate security-sensitive services from malicious apps and Android bugs. TrustZone allows any secure world code to access the normal world that runs Android. Similarly, a trusted hypervisor has full access to Android running in one VM and security services in other VMs. In this paper, we motivate the need for mutual isolation, wherein Android, hypervisors, and the secure world are isolated from each other. Then, we propose a sandboxed service abstraction, such that a sandboxed execution cannot access any other sandbox, Android, hypervisor, or secure world memory. We present Aster which achieves these goals while ensuring that sandboxed execution can still communicate with Android to get inputs and provide outputs securely. Our main insight is to leverage the hardware isolation offered by Arm Confidential Computing Architecture (CCA). However, since CCA does not satisfy our sandboxing and mutual isolation requirements, Aster repurposes its hardware enforcement to meet its goals while addressing challenges such as secure interfaces, virtio, and protection against interrupts. We implement Aster to demonstrate its feasibility and assess its compatibility. We take three case studies, including one currently deployed on Android phones and insufficiently secured using a trusted hypervisor, to demonstrate that they can be protected by Aster.

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

↑