Retrofitting Fine Grain Isolation in the Firefox Renderer
Shravan Narayan, Craig Disselkoen, Tal Garfinkel, Nathan Froyd, Eric Rahm, Sorin Lerner, Hovav Shacham, Deian Stefan
摘要
Firefox and other major browsers rely on dozens of third-party libraries to render audio, video, images, and other content. These libraries are a frequent source of vulnerabilities. To mitigate this threat, we are migrating Firefox to an architecture that isolates these libraries in lightweight sandboxes, dramatically reducing the impact of a compromise. Retrofitting isolation can be labor-intensive, very prone to security bugs, and requires critical attention to performance. To help, we developed RLBox, a framework that minimizes the burden of converting Firefox to securely and efficiently use untrusted code. To enable this, RLBox employs static information flow enforcement, and lightweight dynamic checks, expressed directly in the C++ type system. RLBox supports efficient sandboxing through either software-based-fault isolation or multi-core process isolation. Performance overheads are modest and transient, and have only minor impact on page latency. We demonstrate this by sandboxing performance-sensitive image decoding libraries (libjpeg and libpng), video decoding libraries (libtheora and libvpx), the libvorbis audio decoding library, and the zlib decompression library. RLBox, using a WebAssembly sandbox, has been integrated into production Firefox to sandbox the libGraphite font shaping library.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 52 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PKRU-safe: automatically locking down the heap between safe and unsafe languages 引用了 Spectre Attacks: Exploiting Speculative Execution
- PKRU-safe: automatically locking down the heap between safe and unsafe languages 引用了 Site Isolation: Process Separation for Web Sites within the Browser
- PKRU-safe: automatically locking down the heap between safe and unsafe languages 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Spectre Attacks: Exploiting Speculative Execution
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Site Isolation: Process Separation for Web Sites within the Browser
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Swivel: Hardening WebAssembly against Spectre
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- FlexOS: towards flexible OS isolation 引用了 Spectre Attacks: Exploiting Speculative Execution
- FlexOS: towards flexible OS isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- Site Isolation: Process Separation for Web Sites within the Browser 引用了 Spectre Attacks: Exploiting Speculative Execution
- Swivel: Hardening WebAssembly against Spectre 引用了 Spectre Attacks: Exploiting Speculative Execution
- Swivel: Hardening WebAssembly against Spectre 引用了 Site Isolation: Process Separation for Web Sites within the Browser
引用它的顶会 Paper52
- An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use CasesAaron Hilbig, Daniel Lehmann, Michael PradelWWW 2021 · 114 次引用
- Swivel: Hardening WebAssembly against SpectreShravan Narayan, Craig Disselkoen, Daniel Moghimi, Sunjay Cauligi 等USENIX Security 2021 · 74 次引用
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data ProtectionTapti Palit, Jarin Firose Moon, Fabian Monrose, Michalis PolychronakisS&P 2021 · 48 次引用
- PKRU-safe: automatically locking down the heap between safe and unsafe languagesPaul Kirth, Mitchel Dickerson, Stephen Crane, Per Larsen 等EuroSys 2022 · 41 次引用
- FlexOS: towards flexible OS isolationHugo Lefeuvre, Vlad-Andrei Badoiu, Alexander Jung, Stefan Lucian Teodorescu 等ASPLOS 2022 · 36 次引用
它引用的 Paper11
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
- SoK: Sanitizing for SecurityDokyung Song, Julian Lettner, Prabhu Rajasekaran, Yeoul Na 等S&P 2019 · 196 次引用
- Site Isolation: Process Separation for Web Sites within the BrowserCharles Reis, Alexander Moshchuk, Nasko OskovUSENIX Security 2019 · 105 次引用
- Precise and Scalable Detection of Double-Fetch Bugs in OS KernelsMeng Xu, Chenxiong Qian, Kangjie Lu, Michael Backes 等S&P 2018 · 95 次引用
相关 Paper
- Isolation without taxation: near-zero-cost transitions for WebAssembly and SFIMatthew Kolosick, Shravan Narayan, Evan Johnson, Conrad Watt 等POPL 2022 · 14 次引用
- Mohabi: Disaggregating and Sandboxing the Firefox JavaScript EngineAbhishek Sharma, Anand Balaji, Zachary Yedidia, Anthony Du 等OSDI 2026 · 1 次引用
- LatticeBox: A Hardware-Software Co-Designed Framework for Scalable and Low-Latency CompartmentalizationZhanpeng Liu, Chenyang Li, Wende Tan, Yuan Li 等NDSS 2026 · 1 次引用
- Are your Sites Truly Isolated? Automatically Detecting Logic Bugs in Site Isolation ImplementationsJan Drescher, David Klein, Martin JohnsNDSS 2026
- Empirical Security Analysis of Software-based Fault Isolation through Controlled Fault InjectionNils Bars, Lukas Bernhard, Moritz Schloegel, Thorsten HolzCCS 2025
