Skip to main navigation Skip to search Skip to main content

Monkey-in-the-browser: Malware and vulnerabilities in augmented browsing script markets

  • Steven Van Acker
  • , Nick Nikiforakis
  • , Lieven Desmet
  • , Frank Piessens
  • , Wouter Joosen
  • KU Leuven

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

16 Scopus citations

Abstract

With the constant migration of applications from the desk-top to the web, power users have found ways of enhancing web applications, at the client-side, according to their needs. In this paper, we investigate this phenomenon by focusing on the popular Greasemonkey extension which enables users to write scripts that arbitrarily change the content of any page, allowing them to remove unwanted features from web applications, or add additional, desired features to them. The creation of script markets, on which these scripts are often shared, extends the standard web security model with two new actors, introducing novel vulnerabilities. We describe the architecture of Greasemonkey and perform a large-scale analysis of the most popular, community-driven, script market for Greasemonkey. Through our analysis, we discover not only dozens of malicious scripts waiting to be installed by users, but thousands of benign scripts with vulnerabilities that could be abused by attackers. In 58 cases, the vulnerabilities are so severe, that they can be used to bypass the Same-Origin Policy of the user's browser and steal sensitive user-data from all sites. We verify the practicality of our attacks, by developing a proof-of-concept exploit against a vulnerable user script with an installation base of 1.2 million users, equivalent to a "Man-in-the- browser" attack.

Original languageEnglish
Title of host publicationASIA CCS 2014 - Proceedings of the 9th ACM Symposium on Information, Computer and Communications Security
PublisherAssociation for Computing Machinery, Inc
Pages525-530
Number of pages6
ISBN (Electronic)9781450328005
DOIs
StatePublished - Jun 4 2014
Event9th ACM Symposium on Information, Computer and Communications Security, ASIA CCS 2014 - Kyoto, Japan
Duration: Jun 4 2014Jun 6 2014

Publication series

NameASIA CCS 2014 - Proceedings of the 9th ACM Symposium on Information, Computer and Communications Security

Conference

Conference9th ACM Symposium on Information, Computer and Communications Security, ASIA CCS 2014
Country/TerritoryJapan
CityKyoto
Period06/4/1406/6/14

Keywords

  • Augmented browsing
  • Browser extension
  • DOM-based XSS
  • Greasemonkey
  • Large-scale analysis
  • Malware
  • Script market
  • Userscripts.org
  • Vulnerabilities

Fingerprint

Dive into the research topics of 'Monkey-in-the-browser: Malware and vulnerabilities in augmented browsing script markets'. Together they form a unique fingerprint.

Cite this