Back to search

Science

Dear App, It’s not you, it’s me: A quest for traffic transparency in Android

Abstract

dc:description.abstract

TLS encryption in Android, while providing much-needed privacy and security for user data, becomes a double-edged sword when the same security measures that guard user privacy paradoxically create unprecedented opportunities for SDKs and apps to collect sensitive information without explicit user consent. It further presents methodological challenges for users and privacy researchers attempting to audit data flows in mobile applications on their own devices. In this thesis, we critically examine several existing TLS instrumentation approaches, identify their limitations, and provide empirical evidence showing the use of encrypted channels to collect sensitive data such as location data, device identifiers, and usage patterns by apps and SDKs. We further develop our extended Berkeley Packet Filter (eBPF)–based solution, Advaita, and evaluate its effectiveness against other approaches–Mitm, Aosp-Sci, and SSLKeyLog. We use rigorous quantitative assessment and statistical analysis to establish that Advaita outperforms other approaches across a corpus of mobile applications, highlighting the gaps in the current TLS instrumentation landscape, such as the use of native custom TLS libraries and certificate pinning. Our findings further reveal that TLS key logging on Android production devices is not only obscure and effectively unavailable to users, but with constraints due to Android’s Logging architecture and the ability of apps to exploit native Android APIs to disable logging entirely, there exists a lack of transparency by design in Android. Finally, we show that deliberate downgrading of QUIC/HTTP3 connections falls back to HTTP/1.1 four times more often than HTTP/2, which can be used to enhance TLS instrumentation visibility when using other techniques. This research establishes an empirical foundation for understanding encrypted mobile traffic and its privacy implications. It argues that users and security researchers have a reasonable expectation to audit network traffic generated by applications running on their own devices while offering practical solutions that enhance transparency as a form of digital self-determination.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Discipline thesis:degree_discipline
Computer Science
Grantor
Science
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Saxena, Abhinav
Advisor dc:contributor.advisor
  • Reardon, Joel
Committee members dc:contributor.committeemember
  • Reardon, Joel
  • Henry, Ryan
  • De Carli, Lorenzo

Subjects

dc:subject × 10

Rights

dc:rights
Statement dc:rights
  • Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Saxena, A. (2025). Dear app, it’s not you, it’s me: a quest for traffic transparency in android (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.

Chain of custody

source
Harvested from
University of Calgary
Base URL
ucalgary.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Saxena, Abhinav. Dear App, It’s not you, it’s me: A quest for traffic transparency in Android. Science, 2025. https://hdl.handle.net/1880/122189