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

Android框架面向上下文感知系统服务调用的符号执行及其应用开发生成

Context-aware System Service Call-oriented Symbolic Execution of Android Framework with Application to Exploit Generation

Lannan Luo, Qiang Zeng, Chen Cao, Kai Chen, Jian Liu, Limin Liu, Neng Gao, Min Yang, Xinyu Xing, Peng Liu

摘要:

Android Framework是存在于每个Android系统中的软件层,用于管理所有Android应用程序的资源。Android Framework中的漏洞可能导致严重的黑客攻击,例如破坏用户数据和泄露私人信息。由于Android碎片化,数千万Android设备未打补丁,Android Framework中的漏洞肯定会吸引攻击者利用它们。到目前为止,需要大量的手工工作来制作这样的漏洞。据我们所知,目前还没有关于自动生成利用Android Framework漏洞的攻击的研究。我们通过应用Android框架的符号执行来发现bug并生成漏洞,从而朝着这个目标迈出了第一步。这项任务提出了若干挑战。(1)应用程序的信息通过多个复杂的步骤流向Android Framework,因此很难识别符号输入。(2)Android框架有一个复杂的初始化阶段,这加剧了状态空间爆炸问题。(3)将符号执行器构建为Android系统内部的一个层的简单设计不会很好地工作:不仅实现必须确保与Android系统的兼容性,而且每当Android更新时都需要维护它。我们提出了新的想法和技术来解决这些挑战,并建立了第一个系统的Android框架的符号执行。它从根本上改变了Android系统上漏洞利用生成的最新技术,并已被应用于构建查找漏洞的新技术。

英文摘要:

Android Framework is a layer of software that exists in every Android system managing resources of all Android apps. A vulnerability in Android Framework can lead to severe hacks, such as destroying user data and leaking private information. With tens of millions of Android devices unpatched due to Android fragmentation, vulnerabilities in Android Framework certainly attract attackers to exploit them. So far, enormous manual effort is needed to craft such exploits. To our knowledge, no research has been done on automatic generation of exploits that take advantage of Android Framework vulnerabilities. We make a first step towards this goal by applying symbolic execution of Android Framework to finding bugs and generating exploits. Several challenges have been raised by the task. (1) The information of an app flows to Android Framework in multiple intricate steps, making it difficult to identify symbolic inputs. (2) Android Framework has a complex initialization phase, which exacerbates the state space explosion problem. (3) A straightforward design that builds the symbolic executor as a layer inside the Android system will not work well: not only does the implementation have to ensure the compatibility with the Android system, but it needs to be maintained whenever Android gets updated. We present novel ideas and techniques to resolve the challenges, and have built the first system for symbolic execution of Android Framework. It fundamentally changes the state of the art in exploit generation on the Android system, and has been applied to constructing new techniques for finding vulnerabilities.

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

↑