Robustly Safe Compilation or, Efficient, Provably Secure Compilation

04/02/2018
by   Marco Patrignani, et al.
0

Secure compilers generate compiled code that withstands many target- level attacks such as alteration of control flow, data leaks or memory corruption. Many existing secure compilers are proven to be fully abstract, meaning that they reflect and preserve observational equivalence. While this is a strong property, it comes at the cost of requiring expensive run- time constructs in compiled code that may have no relevance for security, but are needed to accommodate differences between the source language and the target language. As an alternative, this paper explores a different compiler security criterion called robustly safe compilation or RSC. Briefly, this criterion means that the compiled code preserves relevant safety properties of the source program against all adversarial contexts. We show that RSC can be attained easily and results in code that is much more efficient than that generated by fully abstract compilers. We also develop two illustrative RSC-attaining compilers and, through them, develop two different proof techniques for establishing that a compiler attains RSC .

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/12/2018

Journey Beyond Full Abstraction: Exploring Robust Property Preservation for Secure Compilation

Good programming languages provide helpful abstractions for writing secu...
research
07/12/2018

Exploring Robust Property Preservation for Secure Compilation

Good programming languages provide helpful abstractions for writing more...
research
07/17/2023

Secure Composition of Robust and Optimising Compilers

To ensure that secure applications do not leak their secrets, they are r...
research
10/18/2019

Exorcising Spectres with Secure Compilers

Speculative execution has been demonstrated to leak information about ex...
research
02/02/2018

When Good Components Go Bad: Formally Secure Compilation Despite Dynamic Compromise

We propose a new formal criterion for secure compilation, giving strong ...
research
10/19/2017

Formally Secure Compilation of Unsafe Low-Level Components (Extended Abstract)

We propose a new formal criterion for secure compilation, providing stro...
research
10/04/2021

SecurePtrs: Proving Secure Compilation with Data-Flow Back-Translation and Turn-Taking Simulation

Proving secure compilation of partial programs typically requires back-t...

Please sign up or login with your details

Forgot password? Click here to reset