TraceDroid: A Robust Network Traffic Analysis Framework for Privacy Leakage in Android Apps

Huajun Cui, Guozhu Meng, Yan Zhang, Weiping Wang, Dali Zhu, Ting Su, Xiaodong Zhang, Yuejun Li

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

Network traffic analysis is an appealing approach for the security auditing of mobile apps. Prior research employs various techniques (e.g., Man-in-the-Middle, TCPDUMP) to capture network traffic from apps and further recognize security/privacy risks inside. However, these techniques suffer from limitations such as traffic mixing, proxy evasion, and SSL pinning. Possible solutions are to modify and customize the Android system. However, existing studies are mainly based on Android OS 6/7. Contemporary apps generally cannot work properly on these archaic Android OS, which has become a stumbling block for further traffic analysis research. To address the above problems, we propose a new network traffic analysis framework-TraceDroid. We first leverage the dynamic hooking technique to hook the critical functions for sending network requests, and then save the request data along with code execution traces. Besides, TraceDroid proposes an unsupervised way to identify third-party libraries (TPLs) inside apps for facilitating the liability analysis between apps and TPLs. Utilizing TraceDroid, we conduct a large-scale experiment on 9,771 real-world apps to make an empirical study of the status quo of privacy leakage. Our findings show that TPLs account for 44.45% of privacy leakage in contemporary apps, and files transmitted from user devices contain much more detailed privacy data than network requests. We bring to light the over-data harvest and cross-library data harvest issues in apps. Furthermore, we unveil the relationship between TPLs and their visiting domains that previous research has never discussed.

Original languageEnglish
Title of host publicationScience of Cyber Security - 4th International Conference, SciSec 2022, Revised Selected Papers
EditorsChunhua Su, Kouichi Sakurai, Feng Liu
PublisherSpringer Science and Business Media Deutschland GmbH
Pages541-556
Number of pages16
ISBN (Print)9783031175503
DOIs
StatePublished - 2022
Event4th International Conference on Science of Cyber Security, SciSec 2022 - Matsue, Japan
Duration: 10 Aug 202212 Aug 2022

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13580 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference4th International Conference on Science of Cyber Security, SciSec 2022
Country/TerritoryJapan
CityMatsue
Period10/08/2212/08/22

Keywords

  • Android
  • Network traffic
  • Privacy
  • Third-party library

Fingerprint

Dive into the research topics of 'TraceDroid: A Robust Network Traffic Analysis Framework for Privacy Leakage in Android Apps'. Together they form a unique fingerprint.

Cite this