Lune

S&P2020Top-tier venue

AdGraph: A Graph-Based Approach to Ad and Tracker Blocking

Umar Iqbal, Peter Snyder, Shitong Zhu, Benjamin Livshits, Zhiyun Qian, Zubair Shafiq

Abstract

User demand for blocking advertising and tracking online is large and growing. Existing tools, both deployed and described in research, have proven useful, but lack either the completeness or robustness needed for a general solution. Existing detection approaches generally focus on only one aspect of advertising or tracking (e.g. URL patterns, code structure), making existing approaches susceptible to evasion.In this work we present AdGraph, a novel graph-based machine learning approach for detecting advertising and tracking resources on the web. AdGraph differs from existing approaches by building a graph representation of the HTML structure, network requests, and JavaScript behavior of a webpage, and using this unique representation to train a classifier for identifying advertising and tracking resources. Because AdGraph considers many aspects of the context a network request takes place in, it is less susceptible to the single-factor evasion techniques that flummox existing approaches.We evaluate AdGraph on the Alexa top-10K websites, and find that it is highly accurate, able to replicate the labels of human-generated filter lists with 95.33% accuracy, and can even identify many mistakes in filter lists. We implement AdGraph as a modification to Chromium. AdGraph adds only minor overhead to page loading and execution, and is actually faster than stock Chromium on 42% of websites and AdBlock Plus on 78% of websites. Overall, we conclude that AdGraph is both accurate enough and performant enough for online use, breaking comparable or fewer websites than popular filter list based approaches.

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.

48 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

  • Online Tracking: A 1-million-site Measurement and Analysis cites Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016
  • Reproducibility and Replicability of Web Measurement Studies cites Online Tracking: A 1-million-site Measurement and Analysis
  • Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors cites Online Tracking: A 1-million-site Measurement and Analysis
  • Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors cites Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security
  • Don't Count Me Out: On the Relevance of IP Address in the Tracking Ecosystem cites Online Tracking: A 1-million-site Measurement and Analysis
  • Who Funds Misinformation? A Systematic Analysis of the Ad-related Profit Routines of Fake News Sites cites Online Tracking: A 1-million-site Measurement and Analysis
  • Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security cites Online Tracking: A 1-million-site Measurement and Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers48

  1. Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting BehaviorsUmar Iqbal, Steven Englehardt, Zubair ShafiqS&P 2021 · 143 citations
  2. Detecting Node.js prototype pollution vulnerabilities via object lookup analysisSong Li, Mingqing Kang, Jianwei Hou, Yinzhi CaoFSE 2021 · 49 citations
  3. Reproducibility and Replicability of Web Measurement StudiesNurullah Demir, Matteo Große-Kampmann, Tobias Urban, Christian Wressnegger et al.WWW 2022 · 47 citations
  4. Don't Count Me Out: On the Relevance of IP Address in the Tracking EcosystemVikas Mishra, Pierre Laperdrix, Antoine Vastel, Walter Rudametkin et al.WWW 2020 · 45 citations
  5. Who Funds Misinformation? A Systematic Analysis of the Ad-related Profit Routines of Fake News SitesEmmanouil Papadogiannakis, Panagiotis Papadopoulos, Evangelos P. Markatos, Nicolas KourtellisWWW 2023 · 39 citations

Builds on3

  1. Online Tracking: A 1-million-site Measurement and AnalysisSteven Englehardt, Arvind NarayananCCS 2016 · 798 citations
  2. Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016Ada Lerner, Anna Kornfeld Simpson, Tadayoshi Kohno, Franziska RoesnerUSENIX Security 2016 · 273 citations
  3. Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser SecurityPeter Snyder, Cynthia Bagier Taylor, Chris KanichCCS 2017 · 75 citations

Related papers

  1. WebGraph: Capturing Advertising and Tracking Information Flows for Robust BlockingSandra Deepthy Siby, Umar Iqbal, Steven Englehardt, Zubair Shafiq et al.USENIX Security 2022
  2. WTAGRAPH: Web Tracking and Advertising Detection using Graph Neural NetworksZhiju Yang, Weiping Pei, Monchu Chen, Chuan YueS&P 2022 · 29 citations
  3. Read Between the Lines: Detecting Tracking JavaScript with Bytecode ClassificationMohammad Ghasemisharif, Jason PolakisCCS 2023 · 3 citations
  4. Khaleesi: Breaker of Advertising and Tracking Request ChainsUmar Iqbal, Charlie Wolfe, Charles Nguyen, Steven Englehardt et al.USENIX Security 2022
  5. AdFlush: A Real-World Deployable Machine Learning Solution for Effective Advertisement and Web Tracker PreventionKiho Lee, Chaejin Lim, Beomjin Jin, Taeyoung Kim et al.WWW 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines