Skip to main content
QUICK REVIEW

[Paper Review] Quire: Lightweight Provenance for Smart Phone Operating Systems

Michael Dietz, Shashi Shekhar|arXiv (Cornell University)|Feb 11, 2011
Advanced Malware Detection TechniquesComputer Science37 references267 citations
TL;DR

Quire introduces lightweight provenance tracking and cryptographic signing in Android to enhance trust in inter-process communication (IPC) and remote procedure calls (RPC). By annotating IPC call chains and enabling OS-verified message authentication codes (MACs), Quire allows remote systems to validate app behavior and prevent spoofing, as demonstrated in secure advertising and micropayment use cases with minimal performance overhead.

ABSTRACT

Smartphone apps often run with full privileges to access the network and sensitive local resources, making it difficult for remote systems to have any trust in the provenance of network connections they receive. Even within the phone, different apps with different privileges can communicate with one another, allowing one app to trick another into improperly exercising its privileges (a Confused Deputy attack). In Quire, we engineered two new security mechanisms into Android to address these issues. First, we track the call chain of IPCs, allowing an app the choice of operating with the diminished privileges of its callers or to act explicitly on its own behalf. Second, a lightweight signature scheme allows any app to create a signed statement that can be verified anywhere inside the phone. Both of these mechanisms are reflected in network RPCs, allowing remote systems visibility into the state of the phone when an RPC is made. We demonstrate the usefulness of Quire with two example applications. We built an advertising service, running distinctly from the app which wants to display ads, which can validate clicks passed to it from its host. We also built a payment service, allowing an app to issue a request which the payment service validates with the user. An app cannot not forge a payment request by directly connecting to the remote server, nor can the local payment service tamper with the request.

Motivation & Objective

  • To address the lack of trust in smartphone app interactions, especially in IPC and remote RPCs, where malicious or compromised apps can forge requests or manipulate privileges.
  • To prevent Confused Deputy attacks by enabling apps to verify the true origin and call chain of incoming IPC requests.
  • To allow remote servers to validate the provenance and integrity of data sent from smartphones using OS-verified signatures.
  • To support secure, forger-proof applications such as ad click validation and micropayments without relying on trusted third parties.
  • To provide a low-overhead, backward-compatible extension to Android that enables fine-grained trust modeling in mobile systems.

Proposed method

  • Quire extends Android's Binder IPC mechanism to automatically annotate every IPC call with the full call chain, enabling recipients to inspect the lineage of the request.
  • It introduces a lightweight, OS-managed message authentication code (MAC) scheme, where apps can sign data using keys shared with a trusted OS service.
  • The OS embeds provenance attestations—such as caller identity and call chain—into network RPCs, enabling remote verification of origin and intent.
  • The system uses a trusted OS service to generate and verify MACs, ensuring that only authorized apps can produce valid signatures.
  • Applications can use these mechanisms to create unforgeable statements, such as ad clicks or payment requests, which remote servers can cryptographically validate.
  • The design is implemented as a backward-compatible extension to Android, allowing existing apps to coexist with Quire-aware services.

Experimental results

Research questions

  • RQ1Can a lightweight, OS-integrated mechanism provide verifiable provenance for IPC and RPC in smartphone operating systems?
  • RQ2How can provenance tracking be implemented with minimal performance overhead on mobile platforms?
  • RQ3Can cryptographic signing of inter-process data prevent common attacks like Confused Deputy and click fraud?
  • RQ4To what extent can Quire’s mechanisms enable secure, decentralized trust models in mobile applications?
  • RQ5Can Quire’s architecture support real-world use cases such as secure advertising and micropayment systems?

Key findings

  • Quire successfully extends Android’s Binder IPC to include full call chain provenance with minimal performance impact, as shown in microbenchmarks.
  • The system enables remote servers to cryptographically verify the origin and integrity of RPCs using OS-signed MACs, preventing forgeries.
  • In the advertising use case, Quire allows a separate ad service to validate clicks with cryptographic assurance, eliminating spoofing by the host app.
  • For micropayments, Quire enables a trusted payment agent to validate user-authorized requests, preventing fraudulent transactions.
  • The implementation incurs negligible overhead, with performance measurements showing that Quire’s extensions are practical for real-world deployment.
  • Quire’s design is backward-compatible, allowing existing Android apps to interoperate with Quire-aware services without modification.

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.