There has been a plethora of microarchitectural-level attacks leading to many proposed countermeasures. This has created an unexpected and unaddressed security issue where naive integration of those defenses can potentially lead to security vulnerabilities. This occurs when one defense changes an aspect of a microarchitecture that is crucial for the security of another defense. We refer to this problem as a microarchitectural defense assumption violation} (MDAV).
We propose a two-step methodology to screen for potential MDAVs in the early-stage of integration. The first step is to design and integrate a composed model, guided by bounded model checking of security properties. The second step is to implement the model concretely on a simulator and to evaluate with simulated attacks. As a contribution supporting the first step, we propose an event-based modeling framework, called Maestro, for testing and evaluating microarchitectural models with integrated defenses. In our evaluation, Maestro reveals MDAVs (8), supports compact expression (~15x Alloy LoC ratio), enables semantic composability and eliminates performance degradations (>100x).
As a contribution supporting the second step, we use an event-based simulator (GEM5) for investigating integrated microarchitectural defenses. We show that a covert channel attack is possible on a naively integrated implementation of some state-of-the-art defenses, and a repaired implementation using our integration methodology is resilient to the attack.
最近,乱序执行,在现代高端处理器中的一个重要的性能优化,已被发现构成了重大的安全威胁,允许跨安全域的信息泄漏。特别是Meltdown攻击,会将信息从操作系统内核泄露到用户空间,彻底侵蚀系统的安全性。为了解决这种和类似的攻击,而不产生软件对策的性能成本,英特尔在其最新的Coffee Lake R处理器中包含了基于硬件的防御。在这项工作中,我们表明,最近的硬件防御是不够的。具体来说,我们提出了辐射,一个新的瞬态执行攻击,从以前未开发的微架构组件称为存储缓冲区泄漏信息。我们展示了无特权的用户进程如何利用Fallout来重建内核最近写入的特权信息。我们进一步展示了如何使用Fallout来绕过内核地址空间随机化。最后,我们确定和探索微代码协助迄今被忽视的原因,瞬态执行。Fallout影响我们测试过的所有处理器代。然而,我们注意到一个令人担忧的回归,新的Coffee Lake R处理器比老一代更容易受到辐射的影响。
Detecting speculative leaks with compositional semantics
CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍兹信息安全中心);University of Trento(特伦托大学);IMDEA Software Institute(IMDEA软件研究所);Azure Research, Microsoft(微软Azure研究);Saarland University(萨尔兰大学);Amazon(亚马逊)