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

通过全系统静态分析发现Tizen安全漏洞

Finding Tizen security bugs through whole-system static analysis

Daniel Song, Jisheng Zhao, Michael Burke, Dragoş Sbîrlea, Dan Wallach, Vivek Sarkar

摘要:

Tizen是一个新的基于Linux的开源平台,用于消费设备,包括智能手机,电视,汽车和可穿戴设备。虽然Tizen提供了内核级的强制策略执行,但它有大量的库,这些库是用C和C++混合实现的,它们可以进行自己的安全检查。在这项研究中,我们描述了一个静态分析引擎的设计和工程,驱动应用程序的完整信息流分析和完整的库堆栈的控制流分析。我们将这些静态分析实现为LLVM的扩展,这要求我们改进LLVM的本地分析功能,以获得更高的精度和可扩展性,包括棘手的问题,如C++继承与C函数指针使用的共存。通过我们的工具,我们在Tizen系统中发现了几个意想不到的行为,包括没有内联安全检查的系统库路径。我们展示了我们的工具如何帮助Tizen应用商店验证重要的应用属性,以及帮助Tizen开发过程避免意外引入微妙的漏洞。

英文摘要:

Tizen is a new Linux-based open source platform for consumer devices including smartphones, televisions, vehicles, and wearables. While Tizen provides kernel-level mandatory policy enforcement, it has a large collection of libraries, implemented in a mix of C and C++, which make their own security checks. In this research, we describe the design and engineering of a static analysis engine which drives a full information flow analysis for apps and a control flow analysis for the full library stack. We implemented these static analyses as extensions to LLVM, requiring us to improve LLVM's native analysis features to get greater precision and scalability, including knotty issues like the coexistence of C++ inheritance with C function pointer use. With our tools, we found several unexpected behaviors in the Tizen system, including paths through the system libraries that did not have inline security checks. We show how our tools can help the Tizen app store to verify important app properties as well as helping the Tizen development process avoid the accidental introduction of subtle vulnerabilities.

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

↑