Be Daring to Push your Ads Forward: Measuring the (Over)use of Service Workers for Advertising Purposes

George Pantelakis, Panagiotis Papadopoulos, Nicolas Kourtellis, Evangelos P. Markatos · DOI

TL;DR

This paper reveals that while Service Workers (SWs) offer powerful capabilities for enhancing web experiences, a surprising majority (65.08%) of SWs communicating with third parties are primarily used for in-page push advertising. This research highlights a concerning trend of advertisers leveraging SWs to bypass ad-blockers and deliver native-looking ads, potentially undermining user privacy and control.

What Problem Does This Paper Address?

Service Workers (SWs) are a relatively new web technology that allows for advanced features like offline functionality, background synchronization, and push notifications. They are a cornerstone of Progressive Web Apps (PWAs), aiming to bridge the gap between native applications and websites. However, despite their rich capabilities, there's been a lack of understanding regarding how SWs are actually being deployed and utilized in the wild. Specifically, the authors sought to answer: what is the prevalence of SWs across the web, and how are publishers leveraging their functionalities? This question is particularly relevant given the potential for misuse of these powerful tools.

Methods

The researchers conducted a large-scale, multi-stage analysis of Service Worker deployment.

  • Crawling and Detection: They began by crawling the top 150,000 websites from the Tranco list to identify sites registering SWs. This process was repeated five months later to track adoption trends.
  • Historical Analysis: To understand the evolution of SW adoption, they utilized the Wayback Machine to trace back to 2015 and identify when websites began implementing SWs.
  • Network Traffic Analysis: They analyzed the network traffic generated by registered SWs to determine their communication patterns, specifically identifying connections to first-party domains, third-party domains, and ad servers.
  • Content Categorization: To understand the types of websites using SWs, they leveraged SimilarWeb to categorize the sites based on their content.
  • Third-Party Domain Classification: The 1Host filter-list was used to classify the nature of third-party domains that SWs communicate with, distinguishing between advertising and other purposes.

Datasets

  • Tranco List: The study used the top 150,000 websites from the Tranco list as its initial dataset for crawling.
  • Wayback Machine: This archive was used to access historical versions of websites and determine when SWs were first deployed.
  • SimilarWeb: This service was used to categorize the content of websites that registered SWs.
  • 1Host Filter-list: This list was employed to classify the domains that SWs communicated with, particularly for identifying advertising-related connections.

The study also generated its own dataset of SW-registering websites, which was collected through their crawling infrastructure.

Key Insights and Ideas

  • Surprising Dominance of Advertising: The most striking finding is that a significant majority of SWs that communicate with third parties are used for in-page push advertising. This suggests that a core functionality intended for user engagement and experience enhancement is being heavily co-opted for ad delivery.
  • Bypassing Ad-Blockers: The paper highlights that this use of SWs for push ads represents a new method for advertisers to circumvent traditional ad-blocking mechanisms, as these notifications can appear natively and are harder to filter.
  • Rapid Adoption Growth: SW adoption is growing rapidly, with a 26% increase observed in just five months, indicating a strong trend towards their implementation across the web.
  • Historical Trend: The analysis of historical data shows a consistent growth in SW adoption since 2015, with an average annual increase of 1.62 times more publishers utilizing SWs.
  • Content Category Correlation: While "News and Media" sites are the most frequent adopters of SWs, categories like "Soccer" and "File Sharing" show an exceptionally high percentage of SWs being used for advertising (up to 85%). This suggests that certain content types are more prone to this advertising-driven usage.
  • Lower Popularity for Ad-Focused Sites: Websites that heavily rely on SWs for push advertising tend to be less popular overall compared to those using SWs for other purposes or not at all. This might indicate a strategy to monetize less popular sites through aggressive advertising tactics.

Key Results

  • Prevalence: 4.96% of the top 150K websites register at least one Service Worker.
  • Growth: A 26% increase in SW adoption was observed over a 5-month period.
  • Historical Growth: On average, 1.62 times more publishers per year have been utilizing SWs since 2015.
  • Third-Party Communication: 67.89% of SWs communicate with at least one third-party.
  • Advertising Focus: A striking 65.08% of SWs that communicate with third parties do so for advertising purposes, connecting with at least one push advertiser.
  • Category Specifics: "Soccer" and "File Sharing" sites show up to 85% of their SWs being used for advertising.
  • Popularity: Sites using SWs for push ads have a lower popularity rank (median around 60,000) compared to those using SWs for other purposes (median around 40,000-50,000).

Limitations and Future Work

  • Limitations:
    • The study focused on detecting SW registration and network communication, but a deeper analysis of the exact content of push notifications and their maliciousness was not performed.
  • While the study identified ad-serving SWs, it did not delve into the specific business models or the full extent of user tracking associated with these ads.
  • The analysis of ad-blocker effectiveness against these new push ad methods is qualitative rather than quantitative.
  • Future Work:
    • Investigating potential leakage of user personal information and tracking facilitated by SWs.
  • Exploring how ad-blockers can be revamped to effectively filter these new forms of push advertising.
  • Further research into the security and privacy implications of SWs, especially in the context of PWAs.
  • Analyzing the specific content and impact of push ad notifications on user experience and privacy.

Summary updated

Abstract

Rich offline experience, periodic background sync, push notification functionality, network requests control, improved performance via requests caching are only a few of the functionalities provided by the Service Worker (SW) API. This new technology, supported by all major browsers, can significantly improve users' experience by providing the publisher with the technical foundations that would normally require a native application. Albeit the capabilities of this new technique and its important role in the ecosystem of Progressive Web Apps (PWAs), it is still unclear what is their actual purpose on the web, and how publishers leverage the provided functionality in their web applications. In this study, we shed light in the real world deployment of SWs, by conducting the first large scale analysis of the prevalence of SWs in the wild. We see that SWs are becoming more and more popular, with the adoption increased by 26% only within the last 5 months. Surprisingly, besides their fruitful capabilities, we see that SWs are being mostly used for In-Page Push Advertising, in 65.08% of the SWs that connect with 3rd parties. We highlight that this is a relatively new way for advertisers to bypass ad-blockers and render ads on the user's displays natively.
BibTeX
@inproceedings{pantelakis2022be,
  author = {George Pantelakis and Panagiotis Papadopoulos and Nicolas Kourtellis and Evangelos P. Markatos},
  title = {{Be Daring to Push your Ads Forward: Measuring the (Over)use of Service Workers for Advertising Purposes}},
  booktitle = {PAM},
  year = {2022},
  url = {https://openreview.net/forum?id=XXSLqqjKCo},
}

Loading related content...

Figure