Loophole: Timing Attacks on Shared Event Loops in Chrome
摘要
Event-driven programming (EDP) is the prevalent paradigm for graphical user interfaces, web clients, and it is rapidly gaining importance for server-side and network programming. Central components of EDP are event loops, which act as FIFO queues that are used by processes to store and dispatch messages received from other processes. In this paper we demonstrate that shared event loops are vulnerable to side-channel attacks, where a spy process monitors the loop usage pattern of other processes by enqueueing events and measuring the time it takes for them to be dispatched. Specifically, we exhibit attacks against the two central event loops in Google’s Chrome web browser: that of the I/O thread of the host process, which multiplexes all network events and user actions, and that of the main thread of the renderer processes, which handles rendering and Javascript tasks. For each of these loops, we show how the usage pattern can be monitored with high resolution and low overhead, and how this can be abused for malicious purposes, such as web page identification, user behavior detection, and covert communication.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- k-fingerprinting: A Robust Scalable Website Fingerprinting Technique 引用了 Website Fingerprinting at Internet Scale
- Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel Defenses 引用了 Robust Website Fingerprinting Through the Cache Occupancy Channel
- Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel Defenses 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are Practical 引用了 KeyDrown: Eliminating Software-Based Keystroke Timing Side-Channel Attacks
- Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are Practical 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 Website Fingerprinting at Internet Scale
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 k-fingerprinting: A Robust Scalable Website Fingerprinting Technique
- Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- ASLR on the Line: Practical Cache Attacks on the MMU 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
- Rendered Insecure: GPU Side Channel Attacks are Practical 引用了 Website Fingerprinting at Internet Scale
引用它的顶会 Paper23
- Rendered Insecure: GPU Side Channel Attacks are PracticalHoda Naghibijouybari, Ajaya Neupane, Zhiyun Qian, Nael B. Abu-GhazalehCCS 2018 · 214 次引用
- Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser 等USENIX Security 2019 · 159 次引用
- Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are PracticalRiccardo Paccagnella, Licheng Luo, Christopher W. FletcherUSENIX Security 2021 · 121 次引用
- Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel DefensesAnatoly Shusterman, Ayush Agarwal, Sioli O'Connell, Daniel Genkin 等USENIX Security 2021 · 73 次引用
- KeyDrown: Eliminating Software-Based Keystroke Timing Side-Channel AttacksMichael Schwarz, Moritz Lipp, Daniel Gruss, Samuel Weiser 等NDSS 2018 · 68 次引用
它引用的 Paper5
- Website Fingerprinting at Internet ScaleAndriy Panchenko, Fabian Lanze, Jan Pennekamp, Thomas Engel 等NDSS 2016 · 625 次引用
- k-fingerprinting: A Robust Scalable Website Fingerprinting TechniqueJamie Hayes, George DanezisUSENIX Security 2016 · 474 次引用
- ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用
- Dedup Est Machina: Memory Deduplication as an Advanced Exploitation VectorErik Bosman, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaS&P 2016 · 252 次引用
- From Trash to Treasure: Timing-Sensitive Garbage CollectionMathias V. Pedersen, Aslan AskarovS&P 2017 · 12 次引用
相关 Paper
- Rendering Contention Channel Made Practical in Web BrowsersShujiang Wu, Jianjia Yu, Min Yang, Yinzhi CaoUSENIX Security 2022
- A Sense of Time for JavaScript and Node.js: First-Class Timeouts as a Cure for Event Handler PoisoningJames C. Davis, Eric R. Williamson, Dongyoon LeeUSENIX Security 2018 · 54 次引用
- Pool-Party: Exploiting Browser Resource Pools for Web TrackingPeter Snyder, Soroush Karami, Arthur Edelstein, Benjamin Livshits 等USENIX Security 2023
- JIT Leaks: Inducing Timing Side Channels through Just-In-Time CompilationTegan Brennan, Nicolás Rosner, Tevfik BultanS&P 2020 · 26 次引用
- JavaScript Template Attacks: Automatically Inferring Host Information for Targeted ExploitsMichael Schwarz, Florian Lackner, Daniel GrussNDSS 2019 · 57 次引用
