Improving Web Content Blocking With Event-Loop-Turn Granularity JavaScript Signatures
Quan Chen, Peter Snyder, Ben Livshits, Alexandros Kapravelos

TL;DR
This paper introduces a novel JavaScript behavior signature system based on event loop turns to improve web content blocking, making it more robust against evasions like code obfuscation and URL modifications.
Contribution
It presents a new system for generating per-event-loop-turn signatures of JavaScript, and demonstrates its effectiveness in detecting evasive harmful scripts and improving content blocking.
Findings
Identified 3,589 scripts evading filter lists, affecting 12.48% of websites.
Built approximately 2 million behavior signatures from over 11,000 scripts.
Proposed defenses including signature-based detection and filter list enhancements.
Abstract
Content blocking is an important part of a performant, user-serving, privacy respecting web. Most content blockers build trust labels over URLs. While useful, this approach has well understood shortcomings. Attackers may avoid detection by changing URLs or domains, bundling unwanted code with benign code, or inlining code in pages. The common flaw in existing approaches is that they evaluate code based on its delivery mechanism, not its behavior. In this work we address this problem with a system for generating signatures of the privacy-and-security relevant behavior of executed JavaScript. Our system considers script behavior during each turn on the JavaScript event loop. Focusing on event loop turns allows us to build signatures that are robust against code obfuscation, code bundling, URL modification, and other common evasions, as well as handle unique aspects of web applications.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Web Application Security Vulnerabilities · Security and Verification in Computing
