Weird Machines as Insecure Compilation
Jennifer Paykin, Eric Mertens, Mark Tullsen, Luke Maurer, Beno\^it, Razet, Alexander Bakst, and Scott Moore

TL;DR
This paper introduces a new framework for understanding weird machines as insecure compilation, using programming language semantics to analyze exploits and security violations in compiled programs.
Contribution
It presents a novel approach to characterize weird machines through programming language semantics, linking exploits to insecure compilation rather than formal computational models.
Findings
Framework for analyzing exploits as insecure compilation
Characterization of security property violations by exploits
Examples of exploits and potential mitigations
Abstract
Weird machines---the computational models accessible by exploiting security vulnerabilities---arise from the difference between the model a programmer has in her head of how her program should run and the implementation that actually executes. Previous attempts to reason about or identify weird machines have viewed these models through the lens of formal computational structures such as state machines and Turing machines. But because programmers rarely think about programs in this way, it is difficult to effectively apply insights about weird machines to improve security. We present a new view of weird machines based on techniques from programming languages theory and secure compilation. Instead of an underspecified model drawn from a programmers' head, we start with a program written in a high-level source language that enforces security properties by design. Instead of state…
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 · Logic, programming, and type systems
