arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.09532cs.CR
收藏

LightEMU:可信应用的硬件辅助模糊测试

LightEMU: Hardware Assisted Fuzzing of Trusted Applications

Haoqi Shan, Sravani Nissankararao, Yujia Liu, Moyao Huang, Shuo Wang, Yier Jin, Dean Sullivan

AI总结:

本文提出LightEMU,一种利用ARM CoreSight的硬件辅助模糊测试框架,通过将可信应用与TEE解耦实现高效反馈驱动测试,并在多个TEE上验证了其快速发现漏洞的能力和10倍加速效果。

摘要:

可信执行环境(TEE)因其提供的机密性和完整性保证而被部署在许多CPU设计中。ARM TrustZone是一种广泛部署在智能手机、物联网设备和笔记本上的TEE。具体来说,TrustZone用于将代码执行和数据分离到两个世界:普通世界和安全世界。然而,这种分离本质上阻止了依赖于覆盖率引导反馈的传统模糊测试方法,因此现有的模糊测试研究极为有限。在本文中,我们提出了一种原生的通用方法,利用ARM CoreSight对可信应用(TAs)执行高效且可扩展的反馈驱动模糊测试。我们提出了LightEMU,一种新颖的模糊测试框架,通过将TAs与所依赖的TEE解耦来对它们进行模糊测试。我们认为LightEMU是一种有前景的第一阶段方法,能够在投入精力进行整个系统TEE评估之前快速发现TA漏洞,这恰恰是因为大多数公开披露的TrustZone漏洞位于TA代码本身。我们实现了LightEMU并将其适配到Teegris、Trusty、OP-TEE和QSEE,评估了8个真实世界的TAs,同时触发了3个独特的崩溃,并在使用最先进的TrustZone模糊测试框架对TAs进行模糊测试时实现了x10的时间加速。

英文摘要:

Trusted Execution Environments (TEEs) are deployed in many CPU designs because of the confidentiality and integrity guarantees they provide. ARM TrustZone is a TEE extensively deployed on smart phones, IoT devices, and notebooks. Specifically, TrustZone is used to separate code execution and data into two worlds, normal world and secure world. However, this separation inherently prevents traditional fuzzing approaches which rely upon coverage-guided feedback and existing fuzzing research is, therefore, extremely limited. In this paper, we present a native and generic method to perform efficient and scalable feedback-driven fuzzing on Trusted Applications (TAs) using ARM CoreSight. We propose LightEMU, a novel fuzzing framework that allows us to fuzz TAs by decoupling them from relied TEE. We argue that LightEMU is a promising first-stage approach for rapidly discovering TA vulnerabilities prior to investing effort in whole system TEE evaluation precisely because the majority of publicly disclosed TrustZone bugs reside in the TA code itself. We implement LightEMU and adapt it to Teegris, Trusty, OP-TEE and QSEE and evaluate 8 real-world TAs while triggering 3 unique crashes and achieving x10 time speedup when fuzzing TAs using the state-of-the-art TrustZone fuzzing framework.

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

↑