Skip to main content
QUICK REVIEW

[Paper Review] I Spy with My Little Eye: Analysis and Detection of Spying Browser Extensions

Anupama Aggarwal, Bimal Viswanath|arXiv (Cornell University)|Dec 2, 2016
Spam and Phishing DetectionComputer Science4 citations
TL;DR

This paper presents a machine learning approach to detect spying browser extensions that exfiltrate sensitive user data such as browsing history, OSN tokens, and geolocation. By modeling browser API call sequences with a Recurrent Neural Network (RNN), the method achieves 90.02% precision and 93.31% recall in identifying malicious extensions, outperforming traditional hand-crafted feature methods.

ABSTRACT

Several studies have been conducted on understanding third-party user tracking on the web. However, web trackers can only track users on sites where they are embedded by the publisher, thus obtaining a fragmented view of a user's online footprint. In this work, we investigate a different form of user tracking, where browser extensions are repurposed to capture the complete online activities of a user and communicate the collected sensitive information to a third-party domain. We conduct an empirical study of spying browser extensions on the Chrome Web Store. First, we present an in-depth analysis of the spying behavior of these extensions. We observe that these extensions steal a variety of sensitive user information, such as the complete browsing history (e.g., the sequence of web traversals), online social network (OSN) access tokens, IP address, and user geolocation. Second, we investigate the potential for automatically detecting spying extensions by applying machine learning schemes. We show that using a Recurrent Neural Network (RNN), the sequences of browser API calls can be a robust feature, outperforming hand-crafted features (used in prior work on malicious extensions) to detect spying extensions. Our RNN based detection scheme achieves a high precision (90.02%) and recall (93.31%) in detecting spying extensions.

Motivation & Objective

  • To understand the prevalence and behavior of spying browser extensions that steal sensitive user data such as browsing history, OSN tokens, and geolocation.
  • To investigate the feasibility of automatically detecting such extensions using machine learning, avoiding reliance on complex hand-crafted features.
  • To evaluate whether sequential browser API call patterns can serve as a robust, high-performing feature for detecting spying behavior.
  • To develop and validate an RNN-based detection model that outperforms existing feature engineering approaches for spying extension detection.

Proposed method

  • The authors manually analyzed behavioral logs (network, storage, and API requests) from over 1,000 Chrome Web Store extensions to identify 218 spying extensions, forming a ground-truth dataset.
  • They applied heuristics to filter a candidate set of 43,521 extensions, reducing manual effort while maintaining detection accuracy.
  • The core method models browser API call sequences as sequential data and uses a Recurrent Neural Network (RNN) to learn complex temporal patterns indicative of spying behavior.
  • The RNN is trained on sequences of API calls, capturing dynamic behaviors such as obfuscation and state-switching common in spying extensions.
  • The approach outperforms traditional feature engineering by relying solely on raw API call sequences, eliminating the need for extensive manual feature design.
  • The model was evaluated on a held-out set of 65 previously unseen extensions, successfully identifying new spying extensions.

Experimental results

Research questions

  • RQ1What types of sensitive user information do spying browser extensions typically steal, and how prevalent are they on the Chrome Web Store?
  • RQ2Can sequential browser API call patterns serve as a more effective feature than hand-crafted features for detecting spying extensions?
  • RQ3How does an RNN-based model compare to traditional machine learning approaches that rely on engineered features in detecting spying extensions?
  • RQ4To what extent can the RNN model generalize to detect previously unseen spying extensions?

Key findings

  • The study identified 218 spying extensions on the Chrome Web Store, many of which were as popular and highly rated as benign extensions, indicating widespread user unawareness.
  • Spamming extensions steal a wide range of sensitive data, including complete browsing history, OSN access tokens, IP addresses, and geolocation, often exfiltrating data to third-party domains.
  • The RNN-based detection model achieved 93.31% recall and 90.02% precision, significantly outperforming hand-crafted feature-based methods in detecting spying behavior.
  • API call sequences were found to be the most predictive feature, enabling detection without complex feature engineering or reliance on static code analysis.
  • The model successfully detected 65 new spying extensions not included in the training set, demonstrating strong generalization and real-world applicability.
  • Obfuscation and dynamic switching between spying and non-spying states were observed in some extensions, highlighting the challenge of detection and the need for behavioral analysis.

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.