arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20754cs.CRcs.AR
收藏

硬件-软件泄露契约的基础

Foundations of Hardware-Software Leakage Contracts

Saarland University(萨尔兰大学)

Jan Reineke

AI总结:

本文介绍硬件-软件泄露契约的基础,该契约在ISA层面刻画侧信道泄露,可让程序员生成抗侧信道攻击代码,也为硬件设计者提供规范,同时讨论相关近期成果与未解决挑战。

摘要:

Spectre和Meltdown等微架构攻击利用缓存、推测执行等微架构优化的软件可见副作用破坏安全性。要安全使用现代硬件,程序员必须考虑这些优化的安全影响。然而,作为硬件与软件间传统抽象层的指令集架构(ISA)并不适合安全编程:其设计初衷是抽象微架构细节,因此无法反映这些细节的安全后果。一种新的安全抽象正在填补这一空白:硬件-软件泄露契约。为支持在现代硬件上开发安全软件,此类契约在ISA层面刻画侧信道泄露,使程序员和编译器能生成可证明抵抗侧信道攻击的代码,无需明确推理微架构;同时为硬件设计者提供规范,确保微架构不会引入未记录的意外侧信道。本文介绍这一新兴主题的基础,讨论近期成果及未解决的挑战。

英文摘要:

Microarchitectural attacks such as Spectre and Meltdown undermine security by exploiting software-visible side effects of microarchitectural optimizations like caches and speculative execution. To use modern hardware securely, programmers must take into account the security implications of these optimizations. Yet instruction set architectures (ISAs)---the conventional abstraction layer between hardware and software---are ill-suited for secure programming: by design, they abstract from microarchitectural details and therefore fail to reflect their security consequences. A new security abstraction is emerging to fill this void: hardware-software leakage contracts. To support the principled development of secure software on modern hardware such contracts characterize side-channel leakage at the ISA level. Thereby they enable programmers and compilers to generate code that is provably resistant to side-channel attacks---without having to explicitly reason about the microarchitecture. On the other hand, they provide a specification for hardware designers to ensure that microarchitectures do not introduce unintended and undocumented side channels. This paper introduces the foundations of this emerging topic, discussing recent contributions and unresolved challenges along the way.

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

↑