首页> 外文会议>IEEE/ACM International Workshop on Automation of Software Test >Graph-Aided Directed Testing of Android Applications for Checking Runtime Privacy Behaviours
【24h】

Graph-Aided Directed Testing of Android Applications for Checking Runtime Privacy Behaviours

机译:图形 - Android应用程序的指导测试检查运行时隐私行为

获取原文

摘要

While automated testing of mobile applications is very useful for checking run-time behaviours and specifications, its capability in discovering issues in apps is often limited in practice due to long testing time. A common practice is to randomly and exhaustively explore the whole app test space, which takes a lot of time and resource to achieve good coverage and reach targeted parts of the apps.In this paper, we present MAMBA1, a directed testing system for checking privacy in Android apps. MAMBA performs path searches of user events in control-flow graphs of callbacks generated from static analysis of app bytecode. Based on the paths found, it builds test cases comprised of user events that can trigger the executions of the apps and quickly direct the apps' activity transitions from the starting activity towards target activities of interest, revealing potential accesses to privacy-sensitive data in the apps. MAMBA's backend testing engine then simulates the executions of the apps following the generated test cases to check actual runtime behavior of the apps that may leak users' private data. We evaluated MAMBA against another automated testing approach that exhaustively searches for target activities in 24 apps, and found that our graph-aided directed testing achieves the same coverage of target activities 6.1 times faster on average, including the time required for bytecode analysis and test case generation. By instrumenting privacy access/leak detectors during testing, we were able to verify from test logs that almost half of target activities accessed user privacy data, and 26.7% of target activities leaked privacy data to the network.
机译:虽然移动应用程序的自动化测试对于检查运行时行为和规范非常有用,但其在发现应用中的问题时的能力通常在实践中往往是有限的,因此由于长时间的测试时间而受到限制。一个常见的做法是随机和彻底地探索整个应用程序测试空间,这需要很多时间和资源来实现应用程序的良好覆盖范围和到达目标部分。本文介绍了MAMBA1,指示了用于检查隐私的指示测试系统在Android应用程序中。 Mamba在从App字节码的静态分析中生成的回调的控制流程图中执行路径搜索。基于找到的路径,它构建了由用户事件组成的测试用例,该用户事件可以触发应用程序的执行,并快速将应用程序的活动转换从起始活动转向目标活动活动,揭示潜在访问隐私敏感数据应用。然后,Mamba的后续测试引擎在生成的测试用例后模拟应用程序的执行,以检查可能泄漏用户私有数据的应用的实际运行时行为。我们评估了MAMBA对另一个自动化测试方法,以便在24个应用中彻底搜索目标活动,发现我们的图形辅助定向测试实现了目标活动的相同覆盖率,平均更快,包括字节码分析和测试用例所需的时间一代。通过在测试期间进行隐私访问/泄漏探测器进行识别,我们能够从测试日志中验证几乎一半的目标活动访问用户隐私数据,26.7%的目标活动将隐私数据泄露给网络。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号