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

你要打给谁?分析Android应用程序中的Web请求

Who you gonna call? Analyzing Web Requests in Android Applications

Marianna Rapoport, Philippe Suter, Erik Wittern, Ondřej Lhoták, Julian Dolby

摘要:

依赖于无处不在的互联网连接,移动设备上的应用程序在执行期间频繁地执行Web请求。它们获取数据供用户交互、调用远程功能或发送用户生成的内容或元数据。这些请求共同揭示了移动应用程序开发的常见做法,例如使用了哪些外部服务以及如何使用,并且它们指出了可能的负面影响,例如安全和隐私侵犯,或对电池寿命的影响。在本文中,我们评估了不同的方法来分析Android应用程序发出的Web请求。我们首先展示从运行20个随机选择的Android应用程序中收集的动态数据,并观察它们的网络活动。接下来,我们介绍一个静态分析工具Stringoid,它分析Android应用程序中的字符串连接,以估计构造的URL字符串。我们使用Stringoid从30,000个Android应用程序中提取URL,并将其性能与更简单的常量提取分析进行比较。最后,我们提出了一个动态和静态分析提取URL时的优势和局限性的讨论,因为我们比较了从相同的20个应用程序中提取的数据与动态收集的数据。

英文摘要:

Relying on ubiquitous Internet connectivity, applications on mobile devices frequently perform web requests during their execution. They fetch data for users to interact with, invoke remote functionalities, or send user-generated content or meta-data. These requests collectively reveal common practices of mobile application development, like what external services are used and how, and they point to possible negative effects like security and privacy violations, or impacts on battery life. In this paper, we assess different ways to analyze what web requests Android applications make. We start by presenting dynamic data collected from running 20 randomly selected Android applications and observing their network activity. Next, we present a static analysis tool, Stringoid, that analyzes string concatenations in Android applications to estimate constructed URL strings. Using Stringoid, we extract URLs from 30, 000 Android applications, and compare the performance with a simpler constant extraction analysis. Finally, we present a discussion of the advantages and limitations of dynamic and static analyses when extracting URLs, as we compare the data extracted by Stringoid from the same 20 applications with the dynamically collected data.

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

↑