A framework for application partitioning using trusted execution environments
- 23 April 2017
- journal article
- research article
- Published by Wiley in Concurrency and Computation: Practice and Experience
- Vol. 29 (23)
Abstract
Summary: The size and complexity of modern applications are the underlying causes of numerous security vulnerabilities. In order to mitigate the risks arising from such vulnerabilities, various techniques have been proposed to isolate the execution of sensitive code from the rest of the application and from other software on the platform (such as the operating system). New technologies, notably Intel's Software Guard Extensions (SGX), are becoming available to enhance the security of partitioned applications. SGX provides a trusted execution environment (TEE), called anenclave, that protects the integrity of the code and the confidentiality of the data inside it from other software, including the operating system (OS). However, even with these partitioning techniques, it is not immediately clear exactlyhowthey can and should be used to partition applications. How should a particular application be partitioned? How many TEEs should be used? What granularity of partitioning should be applied? To some extent, this is dependent on the capabilities and performance of the partitioning technology in use. However, as partitioning becomes increasingly common, there is a need for systematisation in the design of partitioning schemes.To address this need, we present a novel framework consisting of four overarchingtypesof partitioning schemes through which applications can make use of TEEs. These schemes range from coarse‐grained partitioning, in which the whole application is included in a single TEE, through to ultra‐fine partitioning, in which each piece of security‐sensitive code and data is protected in an individual TEE. Although partitioning schemes themselves are application specific, we establish application‐independent relationships between the types we have defined. Because these relationships have an impact on both the security and performance of the partitioning scheme, we envisage that our framework can be used by software architects to guide the design of application partitioning schemes. To demonstrate the applicability of our framework, we have carried out case studies on two widely used software packages, the Apache Web server and the OpenSSL library. In each case study, we provide four high‐level partitioning schemes—one for each of the types in our framework. We also systematically review the related work on hardware‐enforced partitioning by categorising previous research efforts according to our framework. Copyright © 2017 John Wiley & Sons, Ltd.Keywords
This publication has 47 references indexed in Scilit:
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- Exfiltrating data from Android devicesComputers & Security, 2015
- The Untapped Potential of Trusted Execution Environments on Mobile DevicesIEEE Security & Privacy, 2014
- Hardware Security for Device Authentication in the Smart GridLecture Notes in Computer Science, 2013
- Codejail: Application-Transparent Isolation of Libraries with Tight Program Interactions2012
- DriverGuard: A Fine-Grained Protection on I/O Flows2011
- How low can you go?ACM SIGARCH Computer Architecture News, 2008
- Cover feature - A trusted open platformComputer, 2003
- Relationships Between Selected Software Measures and Latent Bug-Density: Guidelines for Improving Quality2003
- A hardware architecture for implementing protection ringsCommunications of the ACM, 1972