arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.04719cs.CRcs.SE
收藏

STELLA:用于密封泄漏检测的稀疏污点分析

STELLA: Sparse Taint Analysis for Enclave Leakage Detection

Yang Chen, Jianfeng Jiang, Shoumeng Yan, Hui Xu

摘要:

英特尔SGX(Software Guard Extension,软件防护扩展)是一种很有前途的TEE(trusted execution environment,可信执行环境)技术,可保护在用户空间中运行的程序不被主机操作系统恶意访问。虽然它提供了硬件访问控制和内存加密,但实际效果还取决于软件的质量。特别地,在飞地内运行的代码片段的不正确实现仍然可能由于指针的无效使用而泄漏私有数据。本文首次尝试研究飞地代码的隐私泄露问题,并提出了一种新的静态稀疏污点分析方法来检测它们。我们首先总结了泄漏代码的五种常见模式。基于这些模式,我们的方法进行正向分析,以识别所有的污点汇,然后采用向后的方法来检测泄漏。最后,我们对几个开源飞地程序进行了实验,在13个项目中发现了78个以前未知的漏洞。

英文摘要:

Intel SGX (Software Guard Extension) is a promising TEE (trusted execution environment) technique that can protect programs running in user space from being maliciously accessed by the host operating system. Although it provides hardware access control and memory encryption, the actual effectiveness also depends on the quality of the software. In particular, improper implementation of a code snippet running inside the enclave may still leak private data due to the invalid use of pointers. This paper serves as a first attempt to study the privacy leakage issues of enclave code and proposes a novel static sparse taint analysis approach to detect them. We first summarize five common patterns of leakage code. Based on these patterns, our approach performs forward analysis to recognize all taint sinks and then employs a backward approach to detect leakages. Finally, we have conducted experiments with several open-source enclave programs and found 78 vulnerabilities previously unknown in 13 projects.

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

↑