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

DR.SGX:利用数据位置随机化加固SGX飞地抵御缓存攻击

DR.SGX: Hardening SGX Enclaves against Cache Attacks with Data Location Randomization

Ferdinand Brasser, Srdjan Capkun, Alexandra Dmitrienko, Tommaso Frassetto, Kari Kostiainen, Ahmad-Reza Sadeghi

摘要:

最近的研究表明,英特尔的SGX容易受到基于软件的侧信道攻击。在常见的攻击中,对手监视CPU缓存以推断秘密相关的数据访问模式。已知的防御有很大的局限性,因为它们要么需要容易出错的开发人员协助,要么导致极高的运行时开销,要么只能防止特定的攻击。在本文中,我们提出了数据位置随机化作为一种新的防御侧信道攻击的目标数据访问模式。我们的目标是打破对手的内存观察和受害者的实际数据访问之间的联系。我们设计并实现了一个名为DR.SGX的基于编译器的工具,它可以检测安全区代码,以精细的粒度排列数据位置。为了防止重复内存访问的相关性,我们定期重新随机化所有飞地数据。我们的解决方案不需要开发人员的协助,并基于可调的安全参数在侧通道保护和性能之间取得平衡。

英文摘要:

Recent research has demonstrated that Intel's SGX is vulnerable to software-based side-channel attacks. In a common attack, the adversary monitors CPU caches to infer secret-dependent data accesses patterns. Known defenses have major limitations, as they require either error-prone developer assistance, incur extremely high runtime overhead, or prevent only specific attacks. In this paper, we propose data location randomization as a novel defense against side-channel attacks that target data access patterns. Our goal is to break the link between the memory observations by the adversary and the actual data accesses by the victim. We design and implement a compiler-based tool called DR.SGX that instruments the enclave code, permuting data locations at fine granularity. To prevent correlation of repeated memory accesses we periodically re-randomize all enclave data. Our solution requires no developer assistance and strikes the balance between side-channel protection and performance based on an adjustable security parameter.

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

↑