arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.13506cs.CR
收藏

PolyScope:多策略访问控制分析,用于对Android作用域存储进行分类

PolyScope: Multi-Policy Access Control Analysis to Triage Android Scoped Storage

Yu-Tsung Lee, Haining Chen, William Enck, Hayawardh Vijayakumar, Ninghui Li, Zhiyun Qian, Giuseppe Petracca, Trent Jaeger

摘要:

Android的文件系统访问控制是其系统完整性的关键方面。它结合了强制访问控制(如SELinux)和自主访问控制(如Unix权限),以及专门的访问控制(如Android权限),以保护OEM和Android服务免受第三方应用程序的影响。然而,当OEM引入差异化功能时,由于无法正确重新配置这种复杂的策略组合,他们通常会产生漏洞。为了解决这个问题,我们引入了POLYSCOPE工具,它可以对Android文件系统访问控制策略进行分类,以识别攻击操作-授权操作,这些操作可能会被对手利用来提升他们的权限。POLYSCOPE有三个显着的优势,比以前的分析:它允许独立的扩展和分析的个别政策模型,了解的灵活性不受信任的各方在修改访问控制策略,并可以识别系统配置允许的攻击操作。我们通过检查作用域存储对Android的影响来证明POLYSCOPE的有效性,揭示它将外部存储资源上可能的攻击操作数量减少了50%以上。然而,由于OEM仅部分采用了范围存储,我们还发现了两个以前未知的漏洞,展示了POLYSCOPE如何评估所有应用程序都符合范围存储的理想场景,这可以将OEM系统上访问攻击操作的不受信任方的数量减少65%以上。因此,POLYSCOPE可以帮助Android OEM评估复杂的访问控制策略,以确定需要进一步检查的攻击操作。

英文摘要:

Android's filesystem access control is a crucial aspect of its system integrity. It utilizes a combination of mandatory access controls, such as SELinux, and discretionary access controls, like Unix permissions, along with specialized access controls such as Android permissions to safeguard OEM and Android services from third-party applications. However, when OEMs introduce differentiating features, they often create vulnerabilities due to their inability to properly reconfigure this complex policy combination. To address this, we introduce the POLYSCOPE tool, which triages Android filesystem access control policies to identify attack operations - authorized operations that may be exploited by adversaries to elevate their privileges. POLYSCOPE has three significant advantages over prior analyses: it allows for the independent extension and analysis of individual policy models, understands the flexibility untrusted parties have in modifying access control policies, and can identify attack operations that system configurations permit. We demonstrate the effectiveness of POLYSCOPE by examining the impact of Scoped Storage on Android, revealing that it reduces the number of attack operations possible on external storage resources by over 50%. However, because OEMs only partially adopt Scoped Storage, we also uncover two previously unknown vulnerabilities, demonstrating how POLYSCOPE can assess an ideal scenario where all apps comply with Scoped Storage, which can reduce the number of untrusted parties accessing attack operations by over 65% on OEM systems. POLYSCOPE thus helps Android OEMs evaluate complex access control policies to pinpoint the attack operations that require further examination.

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

↑