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

使用系统突变发现Android安全静态分析工具中的缺陷

Discovering Flaws in Security-Focused Static Analysis Tools for Android using Systematic Mutation

Richard Bonett, Kaushal Kafle, Kevin Moran, Adwait Nadkarni, Denys Poshyvanyk

摘要:

移动应用安全是近十年来安全研究的主要领域之一。已经提出了许多应用程序分析工具来响应恶意,好奇或易受攻击的应用程序。然而,现有的工具,特别是静态分析工具,用分析的可靠性换取精确度和性能,因此是可靠的。不幸的是,这些工具设计中的具体错误选择或缺陷通常不为人知或没有很好的记录,导致研究人员,开发人员和用户之间的错误信心。本文提出了基于突变的可靠性评估($μ$ SE)框架,该框架利用突变分析的良好实践,系统地评估Android静态分析工具,以发现、记录和修复缺陷。我们将$μ$ SE实现为一个半自动化框架,并将其应用于一组突出的Android静态分析工具,这些工具可以检测应用程序中的私有数据泄漏。作为对主要工具之一的深入分析的结果,我们发现了13个未记录的缺陷。更重要的是,我们发现所有13个缺陷都传播到继承有缺陷工具的工具。我们与工具开发人员合作成功修复了其中一个缺陷。我们的研究结果激发了对系统发现和记录可靠工具中不可靠选择的迫切需求,并展示了利用突变测试实现这一目标的机会。

英文摘要:

Mobile application security has been one of the major areas of security research in the last decade. Numerous application analysis tools have been proposed in response to malicious, curious, or vulnerable apps. However, existing tools, and specifically, static analysis tools, trade soundness of the analysis for precision and performance, and are hence soundy. Unfortunately, the specific unsound choices or flaws in the design of these tools are often not known or well-documented, leading to a misplaced confidence among researchers, developers, and users. This paper proposes the Mutation-based soundness evaluation ($μ$SE) framework, which systematically evaluates Android static analysis tools to discover, document, and fix, flaws, by leveraging the well-founded practice of mutation analysis. We implement $μ$SE as a semi-automated framework, and apply it to a set of prominent Android static analysis tools that detect private data leaks in apps. As the result of an in-depth analysis of one of the major tools, we discover 13 undocumented flaws. More importantly, we discover that all 13 flaws propagate to tools that inherit the flawed tool. We successfully fix one of the flaws in cooperation with the tool developers. Our results motivate the urgent need for systematic discovery and documentation of unsound choices in soundy tools, and demonstrate the opportunities in leveraging mutation testing in achieving this goal.

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

↑