Skip to main content
QUICK REVIEW

[Paper Review] Security Issues in the Android Cross-Layer Architecture

Alessandro Armando, Alessio Merlo|arXiv (Cornell University)|Sep 4, 2012
Advanced Malware Detection TechniquesComputer Science8 references4 citations
TL;DR

This paper proposes a flow-based model to analyze cross-layer interactions in Android's architecture, revealing that the Android Security Framework (ASF) lacks control over inter-layer communication. Experiments show that malicious applications can exploit unmonitored system calls—particularly via the Zygote process—leading to denial-of-service attacks, indicating a broader attack surface than previously recognized.

ABSTRACT

The security of Android has been recently challenged by the discovery of a number of vulnerabilities involving different layers of the Android stack. We argue that such vulnerabilities are largely related to the interplay among layers composing the Android stack. Thus, we also argue that such interplay has been underestimated from a security point-of-view and a systematic analysis of the Android interplay has not been carried out yet. To this aim, in this paper we provide a simple model of the Android cross-layer interactions based on the concept of flow, as a basis for analyzing the Android interplay. In particular, our model allows us to reason about the security implications associated with the cross-layer interactions in Android, including a recently discovered vulnerability that allows a malicious application to make Android devices totally unresponsive. We used the proposed model to carry out an empirical assessment of some flows within the Android cross-layered architecture. Our experiments indicate that little control is exercised by the Android Security Framework (ASF) over cross-layer interactions in Android. In particular, we observed that the ASF lacks in discriminating the originator of a flow and sensitive security issues arise between the Android stack and the Linux kernel, thereby indicating that the attack surface of the Android platform is wider than expected.

Motivation & Objective

  • To investigate the security implications of cross-layer interactions in Android’s layered architecture.
  • To identify vulnerabilities arising from insufficient control over inter-layer system calls, especially between Android layers and the Linux kernel.
  • To assess whether the Android Security Framework (ASF) can effectively distinguish between legitimate and malicious invocations across layers.
  • To evaluate the feasibility of replaying intercepted system calls to demonstrate exploitable flows.
  • To demonstrate that the attack surface of Android extends beyond the Android stack due to weak cross-layer access control.

Proposed method

  • Proposes a flow-based model to represent interactions across Android’s five-layer architecture (Application, Framework, Runtime, Libraries, Linux kernel).
  • Uses system call logging via a custom kernel module to capture and log system calls initiated by the Android System Server in the Application Framework layer.
  • Develops a tester application (SysCallTester) to read logs and re-execute intercepted system calls on Android devices.
  • Empirically evaluates the re-execution success rate of 21 critical system calls (e.g., bind, close, ioctl, socket) across Android versions 2.3.3 and 3.2.
  • Analyzes the ability of the Linux kernel and ASF to distinguish between legitimate and malicious callers of system calls.
  • Focuses on the Zygote process as a case study to demonstrate how uncontrolled process forking leads to denial-of-service vulnerabilities.

Experimental results

Research questions

  • RQ1To what extent does the Android Security Framework (ASF) control or monitor cross-layer system calls between Android components and the Linux kernel?
  • RQ2Can malicious applications exploit unmonitored system calls to trigger critical vulnerabilities such as resource exhaustion?
  • RQ3Is the Zygote process's process-forking functionality sufficiently protected against unauthorized invocation?
  • RQ4How effective is the Linux kernel in distinguishing between system calls originating from the System Server versus those from untrusted applications?
  • RQ5What is the actual attack surface of Android when considering cross-layer interactions beyond the Android stack?

Key findings

  • The Android Security Framework (ASF) does not effectively discriminate between legitimate and malicious callers of system calls, enabling potential abuse.
  • The Linux kernel cannot distinguish system calls from the System Server (a normal user process) from those of a rogue application, weakening isolation guarantees.
  • SysCallTester successfully re-executed 85% (18 out of 21) of intercepted system calls on both Android 2.3.3 and 3.2, demonstrating that many system calls are replayable and exploitable.
  • The Zygote vulnerability allows a malicious app to trigger unbounded process forking, leading to device unresponsiveness, due to lack of access control on the fork system call.
  • The attack surface of Android is significantly wider than expected, as cross-layer interactions—especially between the Android stack and the Linux kernel—are inadequately secured.
  • The absence of flow-level security modeling and enforcement in Android’s current design enables previously undetected vulnerabilities to remain undetected and exploitable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.