SyzTrust:面向物联网设备可信操作系统的状态感知模糊测试
SyzTrust: State-aware Fuzzing on Trusted OS Designed for IoT Devices
AI总结:
针对物联网可信操作系统闭源、反馈难及有状态工作流复杂的问题,提出 SyzTrust 硬件辅助状态感知模糊测试框架,显著提升覆盖率并发现 70 个漏洞。
摘要:
嵌入物联网设备中的可信执行环境(TEE)在硬件层面为保护物联网应用安全提供了一种可部署的解决方案。按照设计,在 TEE 中,可信操作系统(Trusted OS)是核心组件。它使 TEE 能够采用基于安全性的设计技术,例如数据加密和身份认证。一旦可信操作系统被利用,TEE 就无法再确保安全性。然而,面向物联网设备的可信操作系统几乎没有接受过安全分析,这在多个方面都具有挑战性:(1)可信操作系统是闭源的,并且其环境不利于发送测试用例和收集反馈。(2)可信操作系统具有复杂的数据结构,并要求有状态工作流,这限制了现有漏洞检测工具。为应对这些挑战,我们提出了 SyzTrust,这是首个用于审查资源受限可信操作系统安全性的状态感知模糊测试框架。SyzTrust 采用硬件辅助框架,既能够直接在物联网设备上对可信操作系统进行模糊测试,也能够以非侵入方式跟踪状态和代码覆盖率。SyzTrust 利用复合反馈来引导模糊测试器有效探索更多状态并提高代码覆盖率。我们在来自三大厂商 Samsung、Tsinglink Cloud 和 Ali Cloud 的可信操作系统上评估了 SyzTrust。这些系统运行在 Cortex M23/33 MCU 上,这类 MCU 为嵌入式 TEE 提供必要的抽象。我们在它们的可信操作系统中发现了 70 个此前未知的漏洞,迄今已获得 10 个新的 CVE。此外,与基线相比,SyzTrust 展现出显著提升,包括代码覆盖率提高 66%、状态覆盖率提高 651%,漏洞发现能力提升 31%。我们向厂商报告了所有发现的新漏洞,并将 SyzTrust 开源。
英文摘要:
Trusted Execution Environments (TEEs) embedded in IoT devices provide a deployable solution to secure IoT applications at the hardware level. By design, in TEEs, the Trusted Operating System (Trusted OS) is the primary component. It enables the TEE to use security-based design techniques, such as data encryption and identity authentication. Once a Trusted OS has been exploited, the TEE can no longer ensure security. However, Trusted OSes for IoT devices have received little security analysis, which is challenging from several perspectives: (1) Trusted OSes are closed-source and have an unfavorable environment for sending test cases and collecting feedback. (2) Trusted OSes have complex data structures and require a stateful workflow, which limits existing vulnerability detection tools. To address the challenges, we present SyzTrust, the first state-aware fuzzing framework for vetting the security of resource-limited Trusted OSes. SyzTrust adopts a hardware-assisted framework to enable fuzzing Trusted OSes directly on IoT devices as well as tracking state and code coverage non-invasively. SyzTrust utilizes composite feedback to guide the fuzzer to effectively explore more states as well as to increase the code coverage. We evaluate SyzTrust on Trusted OSes from three major vendors: Samsung, Tsinglink Cloud, and Ali Cloud. These systems run on Cortex M23/33 MCUs, which provide the necessary abstraction for embedded TEEs. We discovered 70 previously unknown vulnerabilities in their Trusted OSes, receiving 10 new CVEs so far. Furthermore, compared to the baseline, SyzTrust has demonstrated significant improvements, including 66% higher code coverage, 651% higher state coverage, and 31% improved vulnerability-finding capability. We report all discovered new vulnerabilities to vendors and open source SyzTrust.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。