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

通过利用英特尔最新ISA扩展中的缓存降级操作降低安全性

Demoting Security via Exploitation of Cache Demote Operation in Intel's Latest ISA Extension

Taehun Kim, Hyerean Jang, Youngjoo Shin

AI总结:

本文研究英特尔cldemote扩展的安全风险,发现其非特权访问等属性可被利用,提出Flush+Demote和Demote+Time两种攻击原语,能构建隐蔽通道、加速内核基地址去随机化及驱逐集构建,并分析ISA扩展的攻击特征与对策。

摘要:

指令集架构(ISA)扩展正被越来越多地采用,以在无需整个架构重新设计的情况下提升专用工作负载的性能。然而,这些增强功能可能会在微架构中无意中暴露新的攻击面。在本文中,我们研究了英特尔最近推出的cldemote扩展,该扩展通过将缓存行从上层缓存传输到末级缓存(LLC)来促进高效的数据共享。尽管它具有性能优势,但我们发现了关键属性——非特权访问、缓存间状态转换和故障抑制——这些属性使cldemote可被用于微架构攻击。我们基于分析提出了两种新的攻击原语:Flush+Demote和Demote+Time。Flush+Demote构建了一个带宽为2.84 Mbps、误码率为0.018%的隐蔽通道;而Demote+Time在Linux上以2.49 ms的时间对内核基地址进行去随机化。此外,我们表明,利用cldemote可以加速非包容性LLC设计中的驱逐集构建,无需辅助线程或大量缓存冲突,从而将构建时间减少36%,同时保持相当的成功率。最后,我们研究了ISA扩展如何助长更广泛的微架构攻击,确定了五个关键的可利用特征并对四种不同的攻击类型进行了分类。我们还讨论了潜在的对策,强调了新兴ISA扩展的深远安全影响。

英文摘要:

ISA extensions are increasingly adopted to boost the performance of specialized workloads without requiring an entire architectural redesign. However, these enhancements can inadvertently expose new attack surfaces in the microarchitecture. In this paper, we investigate Intel's recently introduced cldemote extension, which promotes efficient data sharing by transferring cache lines from upper-level caches to the Last Level Cache (LLC). Despite its performance benefits, we uncover critical properties-unprivileged access, inter-cache state transition, and fault suppression-that render cldemote exploitable for microarchitectural attacks. We propose two new attack primitives, Flush+Demote and Demote+Time, built on our analysis. Flush+Demote constructs a covert channel with a bandwidth of 2.84 Mbps and a bit error rate of 0.018%, while Demote+Time derandomizes the kernel base address in 2.49 ms on Linux. Furthermore, we show that leveraging cldemote accelerates eviction set construction in non-inclusive LLC designs by obviating the need for helper threads or extensive cache conflicts, thereby reducing construction time by 36% yet retaining comparable success rates. Finally, we examine how ISA extensions contribute to broader microarchitectural attacks, identifying five key exploitable characteristics and categorizing four distinct attack types. We also discuss potential countermeasures, highlighting the far-reaching security implications of emerging ISA extensions.

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

↑