Slimium: Debloating the Chromium Browser with Feature Subsetting
Chenxiong Qian, Hyungjoon Koo, ChangSeok Oh, Taesoo Kim, Wenke Lee
Abstract
Today, a web browser plays a crucial role in offering a broad spectrum of web experiences. The most popular browser, Chromium, has become an extremely complex application to meet ever-increasing user demands, exposing unavoidably large attack vectors due to its large code base. Code debloating attracts attention as a means of reducing such a potential attack surface by eliminating unused code. However, it is very challenging to perform sophisticated code removal without breaking needed functionalities because Chromium operates on a large number of closely connected and complex components, such as a renderer and JavaScript engine. In this paper, we present Slimium, a debloating framework for a browser (i.e., Chromium) that harnesses a hybrid approach for a fast and reliable binary instrumentation. The main idea behind Slimium is to determine a set of features as a debloating unit on top of a hybrid (i.e., static, dynamic, heuristic) analysis, and then leverage feature subsetting to code debloating. It aids in i) focusing on security-oriented features, ii) discarding unneeded code simply without complications, and iii) reasonably addressing a non-deterministic path problem raised from code complexity. To this end, we generate a feature-code map with a relation vector technique and prompt webpage profiling results. Our experimental results demonstrate the practicality and feasibility of Slimium for 40 popular websites, as on average it removes 94 CVEs (61.4%) by cutting down 23.85 MB code (53.1%) from defined features (21.7% of the whole) in Chromium.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack Mitigation cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack Mitigation cites Debloating Software through Piece-Wise Compilation and Loading
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack Mitigation cites RAZOR: A Framework for Post-deployment Software Debloating
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack Mitigation cites Effective Program Debloating via Reinforcement Learning
- A longitudinal analysis of bloated Java dependencies cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
- A longitudinal analysis of bloated Java dependencies cites Debloating Software through Piece-Wise Compilation and Loading
- A longitudinal analysis of bloated Java dependencies cites RAZOR: A Framework for Post-deployment Software Debloating
- Less is More: Quantifying the Security Benefits of Debloating Web Applications cites Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security
- Less is More: Quantifying the Security Benefits of Debloating Web Applications cites Debloating Software through Piece-Wise Compilation and Loading
- Less is More: Quantifying the Security Benefits of Debloating Web Applications cites Effective Program Debloating via Reinforcement Learning
- RAZOR: A Framework for Post-deployment Software Debloating cites Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser Security
- RAZOR: A Framework for Post-deployment Software Debloating cites Debloating Software through Piece-Wise Compilation and Loading
- RAZOR: A Framework for Post-deployment Software Debloating cites Effective Program Debloating via Reinforcement Learning
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating cites A longitudinal analysis of bloated Java dependencies
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating cites Debloating Software through Piece-Wise Compilation and Loading
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating cites RAZOR: A Framework for Post-deployment Software Debloating
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating cites Effective Program Debloating via Reinforcement Learning
- A Broad Comparative Evaluation of Software Debloating Tools cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
- A Broad Comparative Evaluation of Software Debloating Tools cites Debloating Software through Piece-Wise Compilation and Loading
- A Broad Comparative Evaluation of Software Debloating Tools cites RAZOR: A Framework for Post-deployment Software Debloating
- A Broad Comparative Evaluation of Software Debloating Tools cites Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating
- A Broad Comparative Evaluation of Software Debloating Tools cites Effective Program Debloating via Reinforcement Learning
- Effective Program Debloating via Reinforcement Learning cites Debloating Software through Piece-Wise Compilation and Loading
- C2C: Fine-grained Configuration-driven System Call Filtering cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
- C2C: Fine-grained Configuration-driven System Call Filtering cites Debloating Software through Piece-Wise Compilation and Loading
- C2C: Fine-grained Configuration-driven System Call Filtering cites RAZOR: A Framework for Post-deployment Software Debloating
- C2C: Fine-grained Configuration-driven System Call Filtering cites Effective Program Debloating via Reinforcement Learning
Cited by top-tier papers11
- A longitudinal analysis of bloated Java dependenciesCésar Soto-Valero, Thomas Durieux, Benoit BaudryFSE 2021 · 47 citations
- C2C: Fine-grained Configuration-driven System Call FilteringSeyedhamed Ghavamnia, Tapti Palit, Michalis PolychronakisCCS 2022 · 22 citations
- A Broad Comparative Evaluation of Software Debloating ToolsMichael D. Brown, Adam Meily, Brian Fairservice, Akshay Sood et al.USENIX Security 2024 · 16 citations
- Studying and Understanding the Tradeoffs Between Generality and Reduction in Software DebloatingQi Xin, Qirun Zhang, Alessandro OrsoASE 2022 · 15 citations
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack MitigationXiaoke Wang, Tao Hui, Lei Zhao, Yueqiang ChengFSE 2023 · 3 citations
Builds on9
- Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 citations
- Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 citations
- RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung et al.USENIX Security 2019 · 132 citations
- Less is More: Quantifying the Security Benefits of Debloating Web ApplicationsBabak Amin Azad, Pierre Laperdrix, Nick NikiforakisUSENIX Security 2019 · 100 citations
- Most Websites Don't Need to Vibrate: A Cost-Benefit Approach to Improving Browser SecurityPeter Snyder, Cynthia Bagier Taylor, Chris KanichCCS 2017 · 75 citations
Related papers
- Minimalist: Semi-automated Debloating of PHP Web Applications through Static AnalysisRasoul Jahanshahi, Babak Amin Azad, Nick Nikiforakis, Manuel EgeleUSENIX Security 2023
- AnimateDead: Debloating Web Applications Using Concolic ExecutionBabak Amin Azad, Rasoul Jahanshahi, Chris Tsoukaladelis, Manuel Egele et al.USENIX Security 2023
- JShrink: in-depth investigation into debloating modern Java applicationsBobby R. Bruce, Tianyi Zhang, Jaspreet Arora, Guoqing Harry Xu et al.FSE 2020 · 46 citations
- Mystique: Uncovering Information Leakage from Browser ExtensionsQuan Chen, Alexandros KapravelosCCS 2018 · 88 citations
- LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth StacksJianliang Wu, Ruoyu Wu, Daniele Antonioli, Mathias Payer et al.USENIX Security 2021 · 38 citations
