Visible to the public A Design and Verification Methodology for Secure Isolated Regions

TitleA Design and Verification Methodology for Secure Isolated Regions
Publication TypeConference Paper
Year of Publication2016
AuthorsSinha, Rohit, Costa, Manuel, Lal, Akash, Lopes, Nuno P., Rajamani, Sriram, Seshia, Sanjit A., Vaswani, Kapil
Conference NameProceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation
Date PublishedJune 2016
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4261-2
Keywordschannel coding, composability, confidentiality, confinement, Enclave Programs, formal verification, Human Behavior, pubcrawl, Resiliency, secure computation, Securing Compilers
Abstract

Hardware support for isolated execution (such as Intel SGX) enables development of applications that keep their code and data confidential even while running in a hostile or compromised host. However, automatically verifying that such applications satisfy confidentiality remains challenging. We present a methodology for designing such applications in a way that enables certifying their confidentiality. Our methodology consists of forcing the application to communicate with the external world through a narrow interface, compiling it with runtime checks that aid verification, and linking it with a small runtime that implements the narrow interface. The runtime includes services such as secure communication channels and memory management. We formalize this restriction on the application as Information Release Confinement (IRC), and we show that it allows us to decompose the task of proving confidentiality into (a) one-time, human-assisted functional verification of the runtime to ensure that it does not leak secrets, (b) automatic verification of the application's machine code to ensure that it satisfies IRC and does not directly read or corrupt the runtime's internal state. We present /CONFIDENTIAL: a verifier for IRC that is modular, automatic, and keeps our compiler out of the trusted computing base. Our evaluation suggests that the methodology scales to real-world applications.

URLhttps://dl.acm.org/doi/10.1145/2980983.2908113
DOI10.1145/2908080.2908113
Citation Keysinha_design_2016