Skip to main content
QUICK REVIEW

[Paper Review] The Future of Ad Blocking: An Analytical Framework and New Techniques

Grant Storey, Dillon Reisman|arXiv (Cornell University)|May 24, 2017
Advanced Malware Detection TechniquesComputer Science21 references22 citations
TL;DR

This paper proposes a novel analytical framework for ad blocking as a security problem, introducing perceptual ad blocking that uses lightweight computer vision to detect ads based on visual salience rather than code obfuscation. It also presents stealth techniques inspired by rootkits to evade anti-adblocking scripts, demonstrating that users can maintain effective ad blocking despite increasing publisher countermeasures, challenging the assumption of an inevitable, escalating arms race.

ABSTRACT

We present a systematic study of ad blocking - and the associated "arms race" - as a security problem. We model ad blocking as a state space with four states and six state transitions, which correspond to techniques that can be deployed by either publishers or ad blockers. We argue that this is a complete model of the system. We propose several new ad blocking techniques, including ones that borrow ideas from rootkits to prevent detection by anti-ad blocking scripts. Another technique uses the insight that ads must be recognizable by humans to comply with laws and industry self-regulation. We have built prototype implementations of three of these techniques, successfully blocking ads and evading detection. We systematically evaluate our proposed techniques, along with existing ones, in terms of security, practicality, and legality. We characterize the order of growth of the development effort required to create/maintain ad blockers as a function of the growth of the web. Based on our state-space model, our new techniques, and this systematization, we offer insights into the likely "end game" of the arms race. We challenge the widespread assumption that the arms race will escalate indefinitely, and instead identify a combination of evolving technical and legal factors that will determine the outcome.

Motivation & Objective

  • To reframe ad blocking as a security problem akin to malware detection, enabling application of established security techniques.
  • To challenge the prevailing assumption that the ad blocking arms race will escalate indefinitely.
  • To develop new ad blocking techniques that are more resilient to obfuscation and detection by anti-adblocking scripts.
  • To systematize evaluation of ad blockers based on security, practicality, legality, and development effort.
  • To analyze legal risks associated with new ad blocking techniques under U.S. law, including DMCA, CFAA, and copyright.

Proposed method

  • Modeling the ad blocking ecosystem as a four-state system with two success states for users and two for publishers, identifying six key transitions representing adversarial actions.
  • Introducing perceptual ad blocking that analyzes visual salience using computer vision, bypassing reliance on markup or script obfuscation.
  • Designing a stealth technique inspired by rootkits to hide ad blocker functionality from anti-adblocking scripts that check for ad blocker presence.
  • Developing active ad blocking to detect and disable anti-adblocking JavaScript code, shifting from defense to offense.
  • Creating a systematization of ad blocker evaluation that quantifies development effort growth relative to web scale.
  • Conducting a legal analysis of proposed techniques under U.S. laws, including DMCA, CFAA, copyright, and contract law, to assess liability risks.

Experimental results

Research questions

  • RQ1Can ad blocking be modeled as a security problem with a complete and analyzable state space?
  • RQ2Can perceptual ad blocking based on visual salience effectively bypass obfuscation techniques used by publishers?
  • RQ3Can rootkit-inspired stealth techniques successfully evade detection by anti-adblocking scripts?
  • RQ4What is the order of growth of development effort required to maintain ad blockers as the web scales?
  • RQ5Under what legal conditions can new ad blocking techniques be implemented without significant liability?

Key findings

  • The authors demonstrate that the ad blocking arms race can be decomposed into three manageable mini-arms races, challenging the notion of inevitable escalation.
  • Perceptual ad blocking successfully blocks ads by detecting visual salience, evading obfuscation, and has been deployed with ~30,000 users on the Chrome Web Store.
  • The stealth technique effectively hides ad blocker presence from anti-adblocking scripts by mimicking system-level behavior, similar to rootkits.
  • Active ad blocking can detect and disable anti-adblocking scripts, representing a proactive defense strategy.
  • The development effort for ad blockers grows sub-linearly with web scale when using perceptual and stealth techniques, reducing long-term maintenance burden.
  • Legal analysis shows that proposed techniques are unlikely to trigger liability under DMCA, CFAA, or copyright law, especially when avoiding duplication of copyrighted content or circumvention of effective technical protections.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.