arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1812.00920cs.CR
收藏

SEAndroid政策演变的历史分析

An Historical Analysis of the SEAndroid Policy Evolution

Bumjin Im, Ang Chen, Dan Wallach

摘要:

Android在2013年采用了SELinux的强制访问控制(MAC)机制。从那时起,数十亿Android设备已经从强制访问控制安全策略中受益。这些政策以各种规则的形式表达,由Google维护,并由Android OEM扩展。多年来,这些规则变得非常复杂,因此很难正确理解或配置这些策略。在本文中,我们对SEAndroid存储库进行了测量研究,以了解这些政策的演变。我们提出了一个新的度量标准来衡量的复杂性的政策,通过扩展策略规则,其抽象功能,如宏和组,到原始的“盒子”,然后我们用它来表明,SEAndroid的政策的复杂性一直呈指数级增长随着时间的推移。通过逐个快照地分析Git提交,我们还能够分析策略规则的“年龄”、变化趋势和贡献者组成。我们还研究了Android历史上的标志性事件,例如Android媒体设施中的“Stagefright”漏洞,指出这些事件如何导致MAC策略的变化。Android强制性政策的日益复杂性表明,我们最终将达到理解这些政策的能力极限,需要新的工具和技术。

英文摘要:

Android adopted SELinux's mandatory access control (MAC) mechanisms in 2013. Since then, billions of Android devices have benefited from mandatory access control security policies. These policies are expressed in a variety of rules, maintained by Google and extended by Android OEMs. Over the years, the rules have grown to be quite complex, making it challenging to properly understand or configure these policies. In this paper, we perform a measurement study on the SEAndroid repository to understand the evolution of these policies. We propose a new metric to measure the complexity of the policy by expanding policy rules, with their abstraction features such as macros and groups, into primitive "boxes", which we then use to show that the complexity of the SEAndroid policies has been growing exponentially over time. By analyzing the Git commits, snapshot by snapshot, we are also able to analyze the "age" of policy rules, the trend of changes, and the contributor composition. We also look at hallmark events in Android's history, such as the "Stagefright" vulnerability in Android's media facilities, pointing out how these events led to changes in the MAC policies. The growing complexity of Android's mandatory policies suggests that we will eventually hit the limits of our ability to understand these policies, requiring new tools and techniques.

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

↑