首页> 外文会议>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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号