ASTrack: Automatic Detection and Removal of Web Tracking Code with Minimal Functionality Loss
Ismael Castell-Uroz, Kensuke Fukuda, Pere Barlet-Ros
摘要
Recent advances in web technologies make it more difficult than ever to detect and block web tracking systems. In this work, we propose ASTrack, a novel approach to web tracking detection and removal. ASTrack uses an abstraction of the code structure based on Abstract Syntax Trees to selectively identify web tracking functionality shared across multiple web services. This new methodology allows us to: (i) effectively detect web tracking code even when using evasion techniques (e.g., obfuscation, minification, or webpackaging); and (ii) safely remove those portions of code related to tracking purposes without affecting the legitimate functionality of the website. Our evaluation with the top 10k most popular Internet domains shows that ASTrack can detect web tracking with high precision (98%), while discovering about 50k tracking code pieces and more than 3,400 new tracking URLs not previously recognized by most popular privacy-preserving tools (e.g., uBlock Origin). Moreover, ASTrack achieved a 36% reduction in functionality loss in comparison with the filter lists, one of the safest options available. Using a novel methodology that combines computer vision and manual inspection, we estimate that full functionality is preserved in more than 97% of the websites.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Online Tracking: A 1-million-site Measurement and Analysis 引用了 Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016
- Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors 引用了 (Cross-)Browser Fingerprinting via OS and Hardware Level Features
- Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 SINBAD: Saliency-informed detection of breakage caused by ad blocking
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 Duumviri: Detecting Trackers and Mixed Trackers with a Breakage Detector
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016
- SoK: After Decades of Web Tracker Detection, What's Next? 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- (Cross-)Browser Fingerprinting via OS and Hardware Level Features 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- (Cross-)Browser Fingerprinting via OS and Hardware Level Features 引用了 Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016
- SINBAD: Saliency-informed detection of breakage caused by ad blocking 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- SINBAD: Saliency-informed detection of breakage caused by ad blocking 引用了 Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors
- SINBAD: Saliency-informed detection of breakage caused by ad blocking 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- Duumviri: Detecting Trackers and Mixed Trackers with a Breakage Detector 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- Duumviri: Detecting Trackers and Mixed Trackers with a Breakage Detector 引用了 SINBAD: Saliency-informed detection of breakage caused by ad blocking
- Duumviri: Detecting Trackers and Mixed Trackers with a Breakage Detector 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- AdGraph: A Graph-Based Approach to Ad and Tracker Blocking 引用了 Online Tracking: A 1-million-site Measurement and Analysis
- AdGraph: A Graph-Based Approach to Ad and Tracker Blocking 引用了 Internet Jones and the Raiders of the Lost Trackers: An Archaeological Study of Web Tracking from 1996 to 2016
引用它的顶会 Paper3
- SINBAD: Saliency-informed detection of breakage caused by ad blockingSaiid El Hajj Chehade, Sandra Deepthy Siby, Carmela TroncosoS&P 2024 · 3 次引用
- SoK: After Decades of Web Tracker Detection, What's Next?Wolf Rieder, Philip Raschke, Thomas Cory, Christian René Sechting 等S&P 2026 · 1 次引用
- Duumviri: Detecting Trackers and Mixed Trackers with a Breakage DetectorHe Shuang, Lianying Zhao, David LieNDSS 2025
它引用的 Paper8
- Online Tracking: A 1-million-site Measurement and AnalysisSteven Englehardt, Arvind NarayananCCS 2016 · 798 次引用
- 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 次引用
- (Cross-)Browser Fingerprinting via OS and Hardware Level FeaturesYinzhi Cao, Song Li, Erik WijmansNDSS 2017 · 199 次引用
- Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting BehaviorsUmar Iqbal, Steven Englehardt, Zubair ShafiqS&P 2021 · 143 次引用
- AdGraph: A Graph-Based Approach to Ad and Tracker BlockingUmar Iqbal, Peter Snyder, Shitong Zhu, Benjamin Livshits 等S&P 2020 · 112 次引用
相关 Paper
- Blocking Tracking JavaScript at the Function GranularityAbdul Haddi Amjad, Shaoor Munir, Zubair Shafiq, Muhammad Ali GulzarCCS 2024 · 3 次引用
- TrackSign: Guided Web Tracking DiscoveryIsmael Castell-Uroz, Josep Solé-Pareta, Pere Barlet-RosINFOCOM 2021 · 18 次引用
- Unbundle-Rewrite-Rebundle: Runtime Detection and Rewriting of Privacy-Harming Code in JavaScript BundlesMir Masood Ali, Peter Snyder, Chris Kanich, Hamed HaddadiCCS 2024 · 2 次引用
- Read Between the Lines: Detecting Tracking JavaScript with Bytecode ClassificationMohammad Ghasemisharif, Jason PolakisCCS 2023 · 3 次引用
- AdVersa: Adversarially-Robust and Practical Ad and Tracker Blocking in the WildChaejin Lim, Kiho Lee, Beomjin Jin, Heewon Baek 等WWW 2026
