ReZone:解除TrustZone和TEE的防护
ReZone: Disarming TrustZone with TEE Privilege Reduction
摘要:
在TrustZone辅助的TEE中,受信任的OS可以不受限制地访问安全和正常世界内存。不幸的是,这种架构限制为攻击者打开了一条探索通道,这些攻击者已经展示了如何利用一系列漏洞来劫持受信任的操作系统并获得对系统的完全控制,目标是(i)丰富的执行环境(REE),(ii)所有受信任的应用程序(TA),以及(iii)安全监视器。在本文中,我们提出了ReZone。ReZone设计背后的主要新颖性依赖于利用商业现货(COTS)平台上可用的TrustZone不可知硬件原语来限制受信任操作系统的权限。通过ReZone,单片TEE被重新构造并划分为多个名为区域的沙箱域,这些区域只能访问私有资源。我们已经为i.MX 8 MQuad EVK完全实现了ReZone,并将其与Android操作系统和OP-TEE集成。我们使用微基准测试和真实世界的应用程序对ReZone进行了广泛的评估。ReZone可以以可接受的性能开销支持受DRM保护的视频编码等流行应用。我们调查了80个CVE漏洞报告,估计ReZone可以缓解其中的86.84%。
英文摘要:
In TrustZone-assisted TEEs, the trusted OS has unrestricted access to both secure and normal world memory. Unfortunately, this architectural limitation has opened an aisle of exploration for attackers, which have demonstrated how to leverage a chain of exploits to hijack the trusted OS and gain full control of the system, targeting (i) the rich execution environment (REE), (ii) all trusted applications (TAs), and (iii) the secure monitor. In this paper, we propose ReZone. The main novelty behind ReZone design relies on leveraging TrustZone-agnostic hardware primitives available on commercially off-the-shelf (COTS) platforms to restrict the privileges of the trusted OS. With ReZone, a monolithic TEE is restructured and partitioned into multiple sandboxed domains named zones, which have only access to private resources. We have fully implemented ReZone for the i.MX 8MQuad EVK and integrated it with Android OS and OP-TEE. We extensively evaluated ReZone using microbenchmarks and real-world applications. ReZone can sustain popular applications like DRM-protected video encoding with acceptable performance overheads. We have surveyed 80 CVE vulnerability reports and estimate that ReZone could mitigate 86.84% of them.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。