Skip to main content
QUICK REVIEW

[Paper Review] Intra-Library Collusion: A Potential Privacy Nightmare on Smartphones

Vincent Taylor, Alastair R. Beresford|arXiv (Cornell University)|Aug 11, 2017
Advanced Malware Detection TechniquesComputer Science36 references16 citations
TL;DR

This paper introduces intra-library collusion (ILC), a novel privacy attack where a single third-party library embedded in multiple apps aggregates sensitive user data by combining the distinct permissions from each host app. Using data from over 30,000 devices, the authors demonstrate that 57.6% of devices are vulnerable to ILC, with popular ad, social, and analytics libraries capable of exfiltrating personal data up to 2.4 times daily, highlighting a critical flaw in Android's permission model that lacks separation between app and library privileges.

ABSTRACT

Smartphones contain a trove of sensitive personal data including our location, who we talk to, our habits, and our interests. Smartphone users trade access to this data by permitting apps to use it, and in return obtain functionality provided by the apps. In many cases, however, users fail to appreciate the scale or sensitivity of the data that they share with third-parties when they use apps. To this end, prior work has looked at the threat to privacy posed by apps and the third-party libraries that they embed. Prior work, however, fails to paint a realistic picture of the full threat to smartphone users, as it has typically examined apps and third-party libraries in isolation. In this paper, we describe a novel and potentially devastating privilege escalation attack that can be performed by third-party libraries. This attack, which we call intra-library collusion, occurs when a single library embedded in more than one app on a device leverages the combined set of permissions available to it to pilfer sensitive user data. The possibility for intra-library collusion exists because libraries obtain the same privileges as their host app and popular libraries will likely be used by more than one app on a device. Using a real-world dataset of over 30,000 smartphones, we find that many popular third-party libraries have the potential to aggregate significant sensitive data from devices by using intra-library collusion. We demonstrate that several popular libraries already collect enough data to facilitate this attack. Using historical data, we show that risks from intra-library collusion have increased significantly over the last two-and-a-half years. We conclude with recommendations for mitigating the aforementioned problems.

Motivation & Objective

  • To identify and analyze a new class of privacy threat—intra-library collusion—where third-party libraries exploit combined app permissions across multiple apps.
  • To demonstrate that the current Android permission model fails to separate privileges between apps and their embedded libraries, enabling privilege escalation.
  • To quantify the prevalence and increasing risk of ILC using real-world device data from over 30,000 smartphones.
  • To show that popular ad, analytics, and social libraries already exploit ILC to collect sensitive data without user awareness.
  • To advocate for privilege separation between apps and libraries as a necessary mitigation for protecting user privacy.

Proposed method

  • The authors analyze a real-world dataset of over 30,000 smartphones to identify which third-party libraries are embedded in multiple apps and the permissions each app grants.
  • They define and formalize the conditions for intra-library collusion (ILC), requiring shared libraries across apps with unioned permissions exceeding individual app permissions.
  • The study uses historical data to track changes in library permissions and popularity over time, assessing how ILC risk has evolved.
  • A case study on ad libraries measures data exfiltration frequency and the number of ad servers per user, revealing high-volume data leakage.
  • The authors evaluate existing mitigation techniques such as FlexDroid, PPTMA, and TaintDroid to assess their applicability to detecting or preventing ILC.
  • They perform differential analysis on libraries to detect signs of ILC exploitation, particularly in data transmission patterns.

Experimental results

Research questions

  • RQ1To what extent can third-party libraries on smartphones leverage combined permissions from multiple host apps to access sensitive user data?
  • RQ2How prevalent is intra-library collusion in real-world smartphone ecosystems, and has its risk increased over time?
  • RQ3Which types of libraries—especially ad, analytics, and social libraries—are most likely to exploit ILC for user profiling?
  • RQ4What is the volume and frequency of sensitive data exfiltration by libraries exploiting ILC?
  • RQ5Can existing static analysis and privilege separation tools detect or prevent ILC, and what are their limitations?

Key findings

  • 57.6% of the 30,000 analyzed devices had at least one third-party library capable of exploiting intra-library collusion.
  • In 30.8% of cases, libraries could access two or more additional permissions through ILC, significantly expanding their data access.
  • The risk of ILC has increased over the past 2.5 years due to both increased library popularity and the addition of new permissions by libraries.
  • Ad libraries were found to leak sensitive user data to remote servers up to 2.4 times per day on average.
  • On average, each user’s personal data was sent to 1.7 different ad servers daily, primarily through libraries exploiting ILC.
  • Several widely used libraries already demonstrate the capability to aggregate data across apps via ILC, confirming the attack is not theoretical but actively 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.