Lune

USENIX Security2018Top-tier venue

FlowCog: Context-aware Semantics Extraction and Analysis of Information Flow Leaks in Android Apps

Xiang Pan, Yinzhi Cao, Xuechao Du, Boyuan He, Gan Fang, Rui Shao, Yan Chen

Abstract

Android apps having access to private information may be legitimate, depending on whether the app provides users enough semantics to justify the access. Existing works analyzing app semantics are coarse-grained, staying on the app-level. They can only identify whether an app, as a whole, should request special permission but cannot answer whether a specific app behavior under a particular runtime context, such as information flow, is correctly justified. We propose FlowCog, an automated system to extract semantics related to information flows and correlate such semantics with given information flows to address these issues. Particularly, FlowCog statically finds all the Android views related to the given flow via control or data dependencies and then extracts semantics, such as texts and images, from these views and associated layouts. Next, FlowCog adopts natural language processing and deep learning approaches to infer whether the extracted semantics correlate with the given flow. FlowCog is open-source and available at https://github.com/xcdu/FlowCog . Our evaluation shows that FlowCog can achieve an accuracy rate of 95.4% and an F 1 score of 0.953.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android Apps cites Automated Analysis of Privacy Requirements for Mobile Apps
  • Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android Apps cites 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions System
  • SmartAuth: User-Centered Authorization for the Internet of Things cites Automated Analysis of Privacy Requirements for Mobile Apps
  • IoTGaze: IoT Security Enforcement via Wireless Context Analysis cites SmartAuth: User-Centered Authorization for the Internet of Things
  • Charting the Attack Surface of Trigger-Action IoT Platforms cites SmartAuth: User-Centered Authorization for the Internet of Things
  • Consistency Analysis of Data-Usage Purposes in Mobile Apps cites Automated Analysis of Privacy Requirements for Mobile Apps
  • Freely Given Consent?: Studying Consent Notice of Third-Party Tracking and Its Violations of GDPR in Android Apps cites Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android Apps
  • Freely Given Consent?: Studying Consent Notice of Third-Party Tracking and Its Violations of GDPR in Android Apps cites Automated Analysis of Privacy Requirements for Mobile Apps
  • 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions System cites Automated Analysis of Privacy Requirements for Mobile Apps
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Charting the Attack Surface of Trigger-Action IoT PlatformsQi Wang, Pubali Datta, Wei Yang, Si Liu et al.CCS 2019 · 162 citations
  2. Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android AppsTrung Tin Nguyen, Michael Backes, Ninja Marnau, Ben StockUSENIX Security 2021 · 70 citations
  3. IoTGaze: IoT Security Enforcement via Wireless Context AnalysisTianbo Gu, Zheng Fang, Allaukik Abhishek, Hao Fu et al.INFOCOM 2020 · 52 citations
  4. Consistency Analysis of Data-Usage Purposes in Mobile AppsDuc Bui, Yuan Yao, Kang G. Shin, Jong-Min Choi et al.CCS 2021 · 41 citations
  5. Freely Given Consent?: Studying Consent Notice of Third-Party Tracking and Its Violations of GDPR in Android AppsTrung Tin Nguyen, Michael Backes, Ben StockCCS 2022 · 32 citations

Builds on6

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Automated Analysis of Privacy Requirements for Mobile AppsSebastian Zimmeck, Ziqi Wang, Lieyong Zou, Roger Iyengar et al.NDSS 2017 · 255 citations
  3. SmartAuth: User-Centered Authorization for the Internet of ThingsYuan Tian, Nan Zhang, Yue-Hsun Lin, XiaoFeng Wang et al.USENIX Security 2017 · 231 citations
  4. 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions SystemJoel Reardon, Álvaro Feal, Primal Wijesekera, Amit Elazari Bar On et al.USENIX Security 2019 · 196 citations
  5. 6thSense: A Context-aware Sensor-based Attack Detector for Smart DevicesAmit Kumar Sikder, Hidayet Aksu, A. Selcuk UluagacUSENIX Security 2017 · 129 citations

Related papers

  1. DeepIntent: Deep Icon-Behavior Learning for Detecting Intention-Behavior Discrepancy in Mobile AppsShengqu Xi, Shao Yang, Xusheng Xiao, Yuan Yao et al.CCS 2019 · 74 citations
  2. DocFlow: Extracting Taint Specifications from Software DocumentationMarcos Tileria, Jorge Blasco, Santanu Kumar DashICSE 2024 · 5 citations
  3. Fine-Grained In-Context Permission Classification for Android Apps Using Control-Flow Graph EmbeddingVikas Kumar Malviya, Yan Naing Tun, Chee Wei Leow, Ailys Tee Xynyn et al.ASE 2023 · 4 citations
  4. Learning to Denoise Raw Mobile UI Layouts for Improving Datasets at ScaleGang Li, Gilles Baechler, Manuel Tragut, Yang LiCHI 2022 · 31 citations
  5. TKPERM: Cross-platform Permission Knowledge Transfer to Detect Overprivileged Third-party ApplicationsFaysal Hossain Shezan, Kaiming Cheng, Zhen Zhang, Yinzhi Cao et al.NDSS 2020
Dusk over the sea between two cliffs drawn in fine vertical lines