A Design and Verification Methodology for Secure Isolated Regions
Title | A Design and Verification Methodology for Secure Isolated Regions |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Sinha, Rohit, Costa, Manuel, Lal, Akash, Lopes, Nuno P., Rajamani, Sriram, Seshia, Sanjit A., Vaswani, Kapil |
Conference Name | Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation |
Date Published | June 2016 |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4261-2 |
Keywords | channel 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. |
URL | https://dl.acm.org/doi/10.1145/2980983.2908113 |
DOI | 10.1145/2908080.2908113 |
Citation Key | sinha_design_2016 |