Formally Secure Compilation of Unsafe Low-Level Components (Extended Abstract)
Guglielmo Fachini, Catalin Hritcu, Marco Stronati, Ana Nora Evans,, Th\'eo Laurent, Arthur Azevedo de Amorim, Benjamin C. Pierce, Andrew Tolmach

TL;DR
This paper introduces a formal security criterion for compiling unsafe low-level languages, modeling dynamic component compromise and demonstrating a secure compilation chain with compartmentalization and protection guarantees.
Contribution
It proposes a new formal criterion for secure compilation that accounts for dynamic compromise among components, extending beyond existing trace property protections.
Findings
Demonstrated a secure compilation chain for unsafe languages with compartmentalization.
Provided a model for dynamic compromise in systems of distrustful components.
Outlined implementation approaches using fault isolation and reference monitoring.
Abstract
We propose a new formal criterion for secure compilation, providing strong security guarantees for components written in unsafe, low-level languages with C-style undefined behavior. Our criterion goes beyond recent proposals, which protect the trace properties of a single component against an adversarial context, to model dynamic compromise in a system of mutually distrustful components. Each component is protected from all the others until it receives an input that triggers an undefined behavior, causing it to become compromised and attack the remaining uncompromised components. To illustrate this model, we demonstrate a secure compilation chain for an unsafe language with buffers, procedures, and components, compiled to a simple RISC abstract machine with built-in compartmentalization. The protection guarantees offered by this abstract machine can be achieved at the machine-code level…
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.
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 · Distributed systems and fault tolerance
