Lightweight, Multi-Stage, Compiler-Assisted Application Specialization
Mohannad Alhanahnah, Rithik Jain, Vaibhav Rastogi, Somesh Jha, Thomas, Reps

TL;DR
This paper introduces LMCAS, a compiler-assisted, multi-stage approach for program debloating that applies partial evaluation to produce faster, safer, and more compact specialized applications by removing unwanted features and reducing vulnerabilities.
Contribution
LMCAS is a novel, safe, and efficient partial-evaluation based method for application debloating that outperforms existing tools in speed, size reduction, and security enhancement.
Findings
LMCAS runs up to 1500x faster than prior tools.
Achieves 25% binary size reduction.
Removes over 50% of gadgets and 83% of CVEs.
Abstract
Program debloating aims to enhance the performance and reduce the attack surface of bloated applications. Several techniques have been recently proposed to specialize programs. These approaches are either based on unsound strategies or demanding techniques, leading to unsafe results or a high overhead debloating process. In this paper, we address these limitations by applying partial-evaluation principles to generate specialized applications. Our approach relies on a simple observation that an application typically consists of configuration logic, followed by the main logic of the program. The configuration logic specifies what functionality in the main logic should be executed. LMCAS performs partial interpretation to capture a precise program state of the configuration logic based on the supplied inputs. LMCAS then applies partial-evaluation optimizations to generate a specialized…
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
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Cloud Data Security Solutions
