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

Intel SGX的一个高效安全的可验证计算方案

An efficient and secure scheme of verifiable computation for Intel SGX

Wenxiu Ding, Wei Sun, Zheng Yan, Robert H. Deng

摘要:

云计算为资源受限的用户提供了大容量的数据存储和高能耗的复杂计算。然而,由于缺乏对云的完全信任,云用户更喜欢保护隐私的外包数据计算与正确性验证。然而,基于密码学的方案为云及其用户引入了高计算成本以用于具有隐私保护的可验证计算,这使得在实践中难以支持复杂的计算。英特尔Software Guard Extensions(SGX)作为一种可信的执行环境,在各个领域(如安全数据分析和计算)得到了广泛的研究,被认为是在云上实现高效外包数据计算和隐私保护的一种有前途的方法。但是我们发现SGX的计算面临两种类型的威胁:打乱数据相关代码的威胁和输出篡改和错误路由的威胁。在本文中,我们使用形式化的方法描述了这些威胁,并成功地在Rust SGX SDK构建的enclave程序上进行了这两种威胁,以证明它们对SGX enclave上计算正确性的影响。为了提供应对措施,我们提出了一个高效、安全的方案来抵御威胁,并为Intel SGX实现可验证计算。通过理论分析和大量的实验证明了该方案的安全性和有效性。此外,我们比较了我们的方案的性能与一些基于密码的方案,以显示其高效率。

英文摘要:

Cloud computing offers resource-constrained users big-volume data storage and energy-consuming complicated computation. However, owing to the lack of full trust in the cloud, the cloud users prefer privacy-preserving outsourced data computation with correctness verification. However, cryptography-based schemes introduce high computational costs to both the cloud and its users for verifiable computation with privacy preservation, which makes it difficult to support complicated computations in practice. Intel Software Guard Extensions (SGX) as a trusted execution environment is widely researched in various fields (such as secure data analytics and computation), and is regarded as a promising way to achieve efficient outsourced data computation with privacy preservation over the cloud. But we find two types of threats towards the computation with SGX: Disarranging Data-Related Code threat and Output Tampering and Misrouting threat. In this paper, we depict these threats using formal methods and successfully conduct the two threats on the enclave program constructed by Rust SGX SDK to demonstrate their impacts on the correctness of computations over SGX enclaves. In order to provide countermeasures, we propose an efficient and secure scheme to resist the threats and realize verifiable computation for Intel SGX. We prove the security and show the efficiency and correctness of our proposed scheme through theoretic analysis and extensive experiments. Furthermore, we compare the performance of our scheme with that of some cryptography-based schemes to show its high efficiency.

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

↑