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

SGX飞地的种源分析设计

Designing a Provenance Analysis for SGX Enclaves

Flavio Toffalini, Mathias Payer, Jianying Zhou, Lorenzo Cavallaro

摘要:

英特尔SGX支持对存储在称为安全区的用户空间内存区域中的代码和数据进行内存隔离和静态完整性验证。SGX有效地屏蔽了底层不受信任的操作系统对安全区的执行。攻击者无法篡改或检查安全区的内容。然而,这些属性同样挑战捍卫者,因为它们被排除在任何来源分析之外,无法推断新交所飞地内的入侵。在这项工作中,我们提出了SgxMonitor,一种新的起源分析,以监测和识别异常执行的飞地代码。为此,我们设计了一种技术,从一个飞地提取上下文运行时信息,并提出了一种新的模型来表示飞地的入侵。我们的实验表明,不仅SgxMonitor会产生与传统出处工具相当的开销,而且它还表现出宏基准的开销和速度减慢,这对实际用例部署的影响很小。我们的评估表明,SgxMonitor成功地识别了最先进的攻击所进行的飞地入侵,同时在正常的飞地执行过程中没有误报和漏报,从而支持在现实场景中使用SgxMonitor。

英文摘要:

Intel SGX enables memory isolation and static integrity verification of code and data stored in user-space memory regions called enclaves. SGX effectively shields the execution of enclaves from the underlying untrusted OS. Attackers cannot tamper nor examine enclaves' content. However, these properties equally challenge defenders as they are precluded from any provenance analysis to infer intrusions inside SGX enclaves. In this work, we propose SgxMonitor, a novel provenance analysis to monitor and identify anomalous executions of enclave code. To this end, we design a technique to extract contextual runtime information from an enclave and propose a novel model to represent enclaves' intrusions. Our experiments show that not only SgxMonitor incurs an overhead comparable to traditional provenance tools, but it also exhibits macro-benchmarks' overheads and slowdowns that marginally affect real use cases deployment. Our evaluation shows SgxMonitor successfully identifies enclave intrusions carried out by the state of the art attacks while reporting no false positives and negatives during normal enclaves executions, thus supporting the use of SgxMonitor in realistic scenarios.

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

↑