arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.15359cs.CRcs.SYeess.SY
收藏

CTR:安全区域的检查点、传输和恢复

CTR: Checkpoint, Transfer, and Restore for Secure Enclaves

Yoshimichi Nakatsuka, Ercan Ozturk, Alex Shamis, Andrew Paverd, Peter Pietzuch

摘要:

基于硬件的可信执行环境(TEE)在云计算中变得越来越普遍,形成了机密计算的基础。然而,TEE的安全目标有时会与现有的云功能(如VM或进程迁移)发生冲突,因为TEE内存无法被平台上的管理程序、操作系统或其他软件读取。虽然一些较新的TEE架构支持整个受保护VM的迁移,但目前还没有用于迁移包含进程内TEE的各个进程的实用解决方案。如果必须紧急重启主机平台,则无法迁移此类流程会导致操作效率低下甚至数据丢失。我们提出了CTR,一个纯软件的设计改造迁移功能到现有的TEE架构,同时保持其预期的安全保证。我们的设计允许TEE在其执行中的任意点被中断和迁移,从而保持与现有VM和进程迁移技术的兼容性。通过在迁移过程中协作地涉及TEE,我们的设计还允许应用程序开发人员指定有状态的迁移相关策略,例如限制特定TEE可以迁移的次数。我们针对英特尔SGX的原型实现表明,迁移延迟随TEE内存大小线性增加,并受TEE系统操作的影响。

英文摘要:

Hardware-based Trusted Execution Environments (TEEs) are becoming increasingly prevalent in cloud computing, forming the basis for confidential computing. However, the security goals of TEEs sometimes conflict with existing cloud functionality, such as VM or process migration, because TEE memory cannot be read by the hypervisor, OS, or other software on the platform. Whilst some newer TEE architectures support migration of entire protected VMs, there is currently no practical solution for migrating individual processes containing in-process TEEs. The inability to migrate such processes leads to operational inefficiencies or even data loss if the host platform must be urgently restarted. We present CTR, a software-only design to retrofit migration functionality into existing TEE architectures, whilst maintaining their expected security guarantees. Our design allows TEEs to be interrupted and migrated at arbitrary points in their execution, thus maintaining compatibility with existing VM and process migration techniques. By cooperatively involving the TEE in the migration process, our design also allows application developers to specify stateful migration-related policies, such as limiting the number of times a particular TEE may be migrated. Our prototype implementation for Intel SGX demonstrates that migration latency increases linearly with the size of the TEE memory and is dominated by TEE system operations.

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

↑