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

Spectre 时代的全面内核安全:缓解措施与性能评估(扩展版)

Comprehensive Kernel Safety in the Spectre Era: Mitigations and Performance Evaluation (Extended Version)

Davide Davoli, Martin Avanzini, Tamara Rezk

AI总结:

本文放宽了 Abadi 等人关于地址空间布局随机化的假设,证明其在内存分离系统中仍具安全保障,并针对 Spectre 时代的侧信道与推测执行威胁提出三种内核安全强制执行机制,在 Linux 内核上完成性能评估。

摘要:

Abadi 等人已在共享内存模型中形式化证明了地址空间布局随机化的有效性,但该结论依赖于对受害程序的特定假设。然而,现代操作系统在内核中实现布局随机化,偏离了这些假设,并运行在通过系统调用进行通信的独立内存模型上。在本文中,我们放宽了 Abadi 等人的语言假设,同时证明布局随机化在具有内存分离的系统中提供了相当的安全保障。然而在实践中,推测执行和侧信道被公认为对布局随机化构成威胁。我们证明,对于能够利用侧信道和推测执行的攻击者,内核安全无法恢复,并引入了能够在 Spectre 时代为安全系统调用保证推测性内核安全的强制执行机制。我们实现了三种合适的机制,并在 Linux 内核上评估了它们的性能开销。

英文摘要:

The efficacy of address space layout randomization has been formally demonstrated in a shared-memory model by Abadi et al., contingent on specific assumptions about victim programs. However, modern operating systems, implementing layout randomization in the kernel, diverge from these assumptions and operate on a separate memory model with communication through system calls. In this work, we relax Abadi et al.'s language assumptions while demonstrating that layout randomization offers a comparable safety guarantee in a system with memory separation. However, in practice, speculative execution and side-channels are recognized threats to layout randomization. We show that kernel safety cannot be restored for attackers capable of using side-channels and speculative execution, and introduce enforcement mechanisms that can guarantee speculative kernel safety for safe system calls in the Spectre era. We implement three suitable mechanisms and we evaluate their performance overhead on the Linux kernel.

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

↑