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

BabelView:评估代码注入攻击对移动Web视图的影响

BabelView: Evaluating the Impact of Code Injection Attacks in Mobile Webviews

Claudio Rizzo, Lorenzo Cavallaro, Johannes Kinder

摘要:

Webview在移动应用程序中嵌入了一个成熟的浏览器,并允许应用程序向JavaScript代码公开自定义接口。这是一种构建所谓的混合应用程序的流行技术,但它绕过了浏览器的通常安全模型:注入Webview的任何恶意JavaScript代码都可以访问接口,并可以使用它来操纵设备或泄露敏感数据。在本文中,我们提出了一种方法,系统地评估可能的影响代码注入攻击对Webviews使用静态信息流分析。我们的关键想法是,通过使用可能的攻击者行为模型(BabelView)来检测应用程序,我们可以使有关JavaScript语义的推理变得不必要。我们对来自不同Android市场的11,648个应用程序进行了评估,在1,663个应用程序中发现了2,677个漏洞。总的来说,这些被报告为易受攻击的应用程序在全球安装量超过8.35亿。我们手动验证了66个应用程序的随机样本,并估计我们的全自动分析在66%的召回率下达到了90%的准确率。

英文摘要:

A Webview embeds a full-fledged browser in a mobile application and allows the application to expose a custom interface to JavaScript code. This is a popular technique to build so-called hybrid applications, but it circumvents the usual security model of the browser: any malicious JavaScript code injected into the Webview gains access to the interface and can use it to manipulate the device or exfiltrate sensitive data. In this paper, we present an approach to systematically evaluate the possible impact of code injection attacks against Webviews using static information flow analysis. Our key idea is that we can make reasoning about JavaScript semantics unnecessary by instrumenting the application with a model of possible attacker behavior -- the BabelView. We evaluate our approach on 11,648 apps from various Android marketplaces, finding 2,677 vulnerabilities in 1,663 apps. Taken together, the apps reported as vulnerable have over 835 million installations worldwide. We manually validated a random sample of 66 apps and estimate that our fully automated analysis achieves a precision of 90% at a recall of 66%.

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

↑