arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.03006cs.CR
收藏

使用软件分区保护应用程序:使用SGX的案例研究

Securing Application with Software Partitioning: A case study using SGX

Ahmad Atamli-Reineh, Andrew Martin

摘要:

应用程序的大小和复杂性是代码中存在大量安全漏洞的根本原因。为了减轻由这种漏洞引起的风险,已经提出了各种技术来将敏感代码的执行与应用程序的其余部分以及与平台上的其他软件(例如,操作系统)隔离。然而,即使有了这些分区技术,也不能立即清楚地知道如何以及应该如何使用它们来对应用程序进行分区。应该遵循什么样的总体分区方案;分区的粒度应该是多少。在某种程度上,这取决于所使用的分区技术的能力和性能。在这项工作中,我们将重点关注即将推出的英特尔Software Guard Extensions(SGX)技术,该技术是该领域的最新技术。SGX提供了一个可信的执行环境,称为安全区,它保护代码的完整性和内部数据的机密性,不受其他软件(包括操作系统)的影响。我们提出了一个新的框架,包括四种可能的计划下,应用程序可以分区。这些方案的范围从粗粒度分区(其中完整的应用程序被包括在单个飞地中)到超精细分区(其中每个应用程序秘密被保护在单独的飞地中)。我们解释了每个分区方案提供的特定安全优势,并讨论了应用程序的性能将如何受到影响。为了比较不同的分区方案,我们使用四种不同的方案对OpenSSL进行了分区。在本文中,我们讨论了SGX的属性以及我们的设计选择的影响。

英文摘要:

Application size and complexity are the underlying cause of numerous security vulnerabilities in code. 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 (e.g. the operating system). However, even with these partitioning techniques, it is not immediately clear exactly how they can and should be used to partition applications. What overall partitioning scheme should be followed; what granularity of the partitions should be. To some extent, this is dependent on the capabilities and performance of the partitioning technology in use. For this work, we focus on the upcoming Intel Software Guard Extensions (SGX) technology as the state-of-the-art in this field. SGX provides a trusted execution environment, called an enclave, that protects the integrity of the code and the confidentiality of the data inside it from other software, including the operating system. We present a novel framework consisting of four possible schemes under which an application can be partitioned. These schemes range from coarse-grained partitioning, in which the full application is included in a single enclave, through ultra-fine partitioning, in which each application secret is protected in an individual enclave. We explain the specific security benefits provided by each of the partitioning schemes and discuss how the performance of the application would be affected. To compare the different partitioning schemes, we have partitioned OpenSSL using four different schemes. We discuss SGX properties together with the implications of our design choices in this paper.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑