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

保密证明:隐私政策合规性的有效内部验证

Confidential Attestation: Efficient in-Enclave Verification of Privacy Policy Compliance

Weijie Liu, Wenhao Wang, Xiaofeng Wang, Xiaozhu Meng, Yaosong Lu, Hongbo Chen, Xinyu Wang, Qingtao Shen, Kai Chen, Haixu Tang, Yi Chen, Luyi Xing

摘要:

可信执行环境(TEE)(如英特尔软件防护扩展(SGX))运行远程证明,以向数据所有者证明安全区初始状态的完整性,包括对其数据进行操作的程序。为此,数据处理程序应该对所有者开放,因此在建立信任之前可以评估其功能。然而,越来越多的应用场景需要保护程序本身。因此,应该在不暴露其代码的情况下验证它是否符合数据所有者所期望的隐私策略。为此,本文提出了CAT,一个新的模型,基于TEE的机密证明。我们的模型受到Proof-Carrying Code的启发,其中代码生成器与代码一起生成证明,代码消费者验证代码是否符合安全策略。鉴于传统的解决方案在资源有限和TCB节俭的TEE下不能很好地工作,我们提出了一种新的设计,该设计允许不可信的外部飞地生成器在将程序编译成二进制文件时分析程序的源代码,并且可信的内部飞地消费者在运行二进制文件之前有效地验证仪器的正确性和其他保护的存在。我们的设计策略性地将大部分工作量转移到了代码生成器,它负责生成格式良好且易于检查的代码,同时保持用户的简单性。此外,整个消费者可以公开,并通过传统的证明进行验证。我们在英特尔SGX上实现了该模型,并证明它引入了TCB的一小部分。我们还彻底评估了它在微观和宏观基准测试以及实际应用中的性能,表明新设计在执行几类安全策略时只会产生很小的开销。

英文摘要:

A trusted execution environment (TEE) such as Intel Software Guard Extension (SGX) runs a remote attestation to prove to a data owner the integrity of the initial state of an enclave, including the program to operate on her data. For this purpose, the data-processing program is supposed to be open to the owner, so its functionality can be evaluated before trust can be established. However, increasingly there are application scenarios in which the program itself needs to be protected. So its compliance with privacy policies as expected by the data owner should be verified without exposing its code. To this end, this paper presents CAT, a new model for TEE-based confidential attestation. Our model is inspired by Proof-Carrying Code, where a code generator produces proof together with the code and a code consumer verifies the proof against the code on its compliance with security policies. Given that the conventional solutions do not work well under the resource-limited and TCB-frugal TEE, we propose a new design that allows an untrusted out-enclave generator to analyze the source code of a program when compiling it into binary and a trusted in-enclave consumer efficiently verifies the correctness of the instrumentation and the presence of other protection before running the binary. Our design strategically moves most of the workload to the code generator, which is responsible for producing well-formatted and easy-to-check code, while keeping the consumer simple. Also, the whole consumer can be made public and verified through a conventional attestation. We implemented this model on Intel SGX and demonstrate that it introduces a very small part of TCB. We also thoroughly evaluated its performance on micro- and macro- benchmarks and real-world applications, showing that the new design only incurs a small overhead when enforcing several categories of security policies.

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

↑