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

您不可能总是赢得比赛:分析分支目标注入的LFENCE/JMP缓解措施

You Cannot Always Win the Race: Analyzing the LFENCE/JMP Mitigation for Branch Target Injection

Alyssa Milburn, Ke Sun, Henrique Kawakami

摘要:

LFENCE/JMP是分支目标注入(BTI)和间接分支预测引起的类似瞬时执行攻击的现有软件缓解选项,通常用于AMD处理器。然而,这种缓解的有效性可能会受到预测目标的推测性执行和预期目标的架构解析之间的固有竞争条件的影响,因为这可能会创建一个窗口,在该窗口中代码仍然可以被暂时执行。这项工作调查的潜在来源的延迟,可能有助于这样的推测窗口。我们证明了攻击者可以“赢得比赛”,因此,尽管存在LFENCE/JMP缓解措施,该窗口仍然足以允许在各种不同的x86 CPU上利用BTI风格的攻击。

英文摘要:

LFENCE/JMP is an existing software mitigation option for Branch Target Injection (BTI) and similar transient execution attacks stemming from indirect branch predictions, which is commonly used on AMD processors. However, the effectiveness of this mitigation can be compromised by the inherent race condition between the speculative execution of the predicted target and the architectural resolution of the intended target, since this can create a window in which code can still be transiently executed. This work investigates the potential sources of latency that may contribute to such a speculation window. We show that an attacker can "win the race", and thus that this window can still be sufficient to allow exploitation of BTI-style attacks on a variety of different x86 CPUs, despite the presence of the LFENCE/JMP mitigation.

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

↑