首页> 外文会议>European symposium on research in computer security >Stay in Your Cage! A Sound Sandbox for Third-Party Libraries on Android
【24h】

Stay in Your Cage! A Sound Sandbox for Third-Party Libraries on Android

机译:留在你的笼子里! Android上的第三方库的声音沙箱

获取原文

摘要

Third-party libraries are widely used in Android application development. While they extend functionality, third-party libraries are likely to pose a threat to users. Firstly, third-party libraries enjoy the same permissions as the applications; therefore libraries are over-privileged. Secondly, third-party libraries and applications share the same internal file space, so that applications' files are exposed to third-party libraries. To solve these problems, a considerable amount of effort has been made. Unfortunately, the requirement for a modified Android framework makes their methods impractical. In this paper, a developer-friendly tool called LibCage is proposed, to prohibit permission abuse of third-party libraries and protect user privacy without modifying the Android framework or libraries' bytecode. At its core, LibCage builds a sandbox for each third-party library in order to ensure that each library is subject to a separate permission set assigned by developers. Moreover, each library is allocated an isolated file space and has no access to other space. Importantly, LibCage works on Java reflection as well as dynamic code execution, and can defeat several possible attacks. We test on real-world third-party libraries, and the results show that LibCage is capable of enforcing a flexible policy on third-party libraries at run time with a modest performance overhead.
机译:第三方库广泛用于Android应用程序开发。虽然它们扩展功能,但第三方图书馆可能对用户构成威胁。首先,第三方库享有与应用程序相同的权限;因此图书馆是过度特权的。其次,第三方库和应用程序共享相同的内部文件空间,以便将应用程序的文件暴露给第三方库。为了解决这些问题,已经进行了相当大的努力。不幸的是,修改的Android框架的要求使其方法不切实际。在本文中,提出了一种名为Libcage的开发人员友好的工具,以禁止许可滥用第三方库并保护用户隐私,而无需修改Android框架或库的字节码。在其核心,Libcage为每个第三方库构建一个沙箱,以确保每个库都受开发人员分配的单独权限集。此外,每个库都分配了一个孤立的文件空间,并且无法访问其他空间。重要的是,Libcage在Java反射和动态代码执行上工作,并且可以打败几种可能的攻击。我们在现实世界第三方库进行测试,结果表明,Libcage能够在运行时对第三方库进行灵活的策略,具有适度的性能开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号