JavaScript Zero: Real JavaScript and Zero Side-Channel Attacks
摘要
Modern web browsers are ubiquitously used by billions of users, connecting them to the world wide web. From the other side, web browsers do not only provide a unified interface for businesses to reach customers, but they also provide a unified interface for malicious actors to reach users. The highly optimized scripting language JavaScript plays an important role in the modern web, as well as for browser-based attacks. These attacks include microarchitectural attacks, which exploit the design of the underlying hardware. In contrast to software bugs, there is often no easy fix for microarchitectural attacks. We propose JavaScript Zero, a highly practical and generic fine-grained permission model in JavaScript to reduce the attack surface in modern browsers. JavaScript Zero facilitates advanced features of the JavaScript language to dynamically deflect usage of dangerous JavaScript features. To implement JavaScript Zero in practice, we overcame a series of challenges to protect potentially dangerous features, guarantee the completeness of our solution, and provide full compatibility with all websites. We demonstrate that our proof-of-concept browser extension Chrome Zero protects against 11 unfixed state-of-the-art microarchitectural and sidechannel attacks. As a side effect, Chrome Zero also protects against 50 % of the published JavaScript 0-day exploits since Chrome 49. Chrome Zero has a performance overhead of 1.82% on average. In a user study, we found that for 24 websites in the Alexa Top 25, users could not distinguish browsers with and without Chrome Zero correctly, showing that Chrome Zero has no perceivable effect on most websites. Hence, JavaScript Zero is a practical solution to mitigate JavaScript-based state-of-the-art microarchitectural and side-channel attacks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Loophole: Timing Attacks on Shared Event Loops in Chrome 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Site Isolation: Process Separation for Web Sites within the Browser 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- Site Isolation: Process Separation for Web Sites within the Browser 引用了 Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security
- Theory and Practice of Finding Eviction Sets 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 Loophole: Timing Attacks on Shared Event Loops in Chrome
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 Trusted Browsers for Uncertain Times
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPU
- Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPU 引用了 Trusted Browsers for Uncertain Times
- Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPU 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
引用它的顶会 Paper24
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
- Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPUPietro Frigo, Cristiano Giuffrida, Herbert Bos, Kaveh RazaviS&P 2018 · 178 次引用
- Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser 等USENIX Security 2019 · 159 次引用
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
- Site Isolation: Process Separation for Web Sites within the BrowserCharles Reis, Alexander Moshchuk, Nasko OskovUSENIX Security 2019 · 105 次引用
它引用的 Paper5
- ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用
- Hello from the Other Side: SSH over Robust Cache Covert Channels in the CloudClémentine Maurice, Manuel Weber, Michael Schwarz, Lukas Giner 等NDSS 2017 · 174 次引用
- Trusted Browsers for Uncertain TimesDavid Kohlbrenner, Hovav ShachamUSENIX Security 2016 · 83 次引用
- Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser SecurityPeter Snyder, Cynthia Bagier Taylor, Chris KanichCCS 2017 · 75 次引用
- Loophole: Timing Attacks on Shared Event Loops in ChromePepe Vila, Boris KöpfUSENIX Security 2017 · 66 次引用
相关 Paper
- Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel DefensesAnatoly Shusterman, Ayush Agarwal, Sioli O'Connell, Daniel Genkin 等USENIX Security 2021 · 73 次引用
- JavaScript Template Attacks: Automatically Inferring Host Information for Targeted ExploitsMichael Schwarz, Florian Lackner, Daniel GrussNDSS 2019 · 57 次引用
- ScriptChecker: To Tame Third-party Script Execution With Task CapabilitiesWu Luo, Xuhua Ding, Pengfei Wu, Xiaolei Zhang 等NDSS 2022
- Spook.js: Attacking Chrome Strict Site Isolation via Speculative ExecutionAyush Agarwal, Sioli O'Connell, Jason Kim, Shaked Yehezkel 等S&P 2022 · 32 次引用
- Beast in the Cage: A Fine-grained and Object-oriented Permission System to Confine JavaScript Operations on the WebRui ZhaoWWW 2025 · 2 次引用
