Android Multi-Level System Permission Management Approach

Yang Luo, Qixun Zhang, Qingni Shen, Hongzhi Liu, Zhonghai WuarXiv 2017

Published in the Journal of Software in 2015, this research addresses the critical tension between system flexibility and security in the Android ecosystem. The authors propose a dual-layered framework that combines low-level mandatory access control with high-level dynamic permission management to mitigate root exploits and provide granular control over application behavior.

The Security Challenge

In 2015, Android security faced two primary vulnerabilities:

  1. The Rooting Paradox: Exploits could grant applications root privileges, allowing them to bypass standard security measures entirely.
  2. Static Permissions: Android's "all-or-nothing" install-time permission model prevented users from revoking specific access (e.g., SMS or Location) without uninstalling the app.

Existing workarounds like app repackaging or hooking often broke digital signatures or required root access themselves, creating a circular dependency that undermined security.

Methodology: A Dual-Layered Defense

1. Low-Level: MLS-based User Mapping

To prevent unauthorized privilege escalation, the researchers analyzed the 52 distinct Linux users within the Android OS (such as root, system, and radio). They established a Relational Tree based on source code definitions and file ownership to map the hierarchy of these users.

Relational tree of Linux user permissions

This tree was then used to generate Multi-Level Security (MLS) labels in SELinux. By assigning specific security levels (e.g., s0, s1, s2) to different users, the system ensures that even if a process gains root status, it remains confined by mandatory access controls. This prevents compromised processes from tampering with core system files or escalating their reach beyond their assigned security domain.

2. High-Level: Dynamic Permission Management

The framework also introduces a dynamic management layer within the Android Framework. This architecture utilizes standard security components:

  • PEP (Policy Enforcement Point): Intercepts API calls at the framework level.
  • PDP (Policy Decision Point): Evaluates these calls against a centralized policy database.
  • PAP/PIP: Manage policy administration and information.

By placing checkpoints directly in the Java framework (e.g., SmsManager.java), the system can intercept sensitive calls in real-time without requiring kernel modifications.

Experimental Evaluation

The system was tested on UT4412 development boards and Google Nexus 5 devices using 50 applications (30 popular apps and 20 malware samples) and five popular "one-click root" tools (360 Root, KingRoot, Baidu Root, Root Genius, and ShuaJiDaShi).

Key Results

  • Root Defense: The MLS constraints successfully neutralized all five rooting tools. While tools like KingRoot could install their modules, they were unable to execute root-level file operations due to the mandatory access controls.
  • Permission Revocation: The system successfully intercepted unauthorized calls. For instance, revoking SMS access for messaging apps effectively blocked their ability to send messages without causing system instability.
  • Performance: The time overhead for these security checks is remarkably low. The average delay added to a system call is approximately 140 microseconds, making the security layer imperceptible to the end-user.
Effect of permission checking points to running efficiency

Conclusion

The proposed multi-level approach effectively bridges the gap between low-level system integrity and high-level application control. By automating the generation of SELinux policies from user relationships and implementing framework-level checkpoints, the researchers demonstrated a robust method for securing Android devices against both external exploits and over-privileged applications.

Summary updated

BibTeX
@misc{luo2017android,
  author = {Yang Luo and Qixun Zhang and Qingni Shen and Hongzhi Liu and Zhonghai Wu},
  title = {{Android Multi-Level System Permission Management Approach}},
  year = {2017},
  eprint = {1712.02217},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.02217},
}
Figure