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

基于退役(Retirement)的新型隐蔽信道与侧信道

New Covert and Side Channels Based on Retirement

Ke Xu, Ming Tang, Quancheng Wang, Han Wang

AI总结:

本文利用Intel处理器同物理核内逻辑核心共享retirement机制造成的竞争泄漏,提出DI和SI两种高带宽隐蔽信道,并将其扩展到Spectre v1变体攻击与SPEC程序识别。

摘要:

Intel处理器利用retirement(退役)机制按序提交那些乱序执行的微操作。为提高退役利用率,退役资源在同一物理核心上的两个逻辑核心之间动态共享。然而,这种共享退役机制带来了一个潜在漏洞:攻击者可以利用对退役资源的竞争,推断同一物理核心上另一个逻辑核心中受害者的数据。基于这一泄漏,本文提出两种新型隐蔽信道:使用不同指令进行信息传输的Different Instructions(DI,不同指令)隐蔽信道,以及使用相同指令传输信息的Same Instructions(SI,相同指令)隐蔽信道。DI隐蔽信道可达到98.5%的准确率,带宽为1450 Kbps;SI隐蔽信道可达到94.85%的准确率,带宽为483.33 Kbps。此外,本文探索了退役的其他应用:首先,将退役应用于Spectre攻击,产生了一个新的Spectre v1变体,可达到94.17%的准确率,带宽为29 Kbps;其次,利用退役推断受害者正在执行的程序,能够以89.28%的准确率推断SPEC的10个整数基准测试。最后,我们讨论了针对这些新型隐蔽信道可能的防护措施。

英文摘要:

Intel processors utilize the retirement to orderly retire the micro-ops that have been executed out of order. To enhance retirement utilization, the retirement is dynamically shared between two logical cores on the same physical core. However, this shared retirement mechanism creates a potential vulnerability wherein an attacker can exploit the competition for retirement to infer the data of a victim on another logical core on the same physical core. Based on this leakage, we propose two new covert channels: the Different Instructions (DI) covert channel using different instructions for information transmission, and the Same Instructions (SI) covert channel using the same instructions to transmit information. The DI covert channel can achieve 98.5% accuracy with a bandwidth of 1450 Kbps, while the SI covert channel can achieve 94.85% accuracy with a bandwidth of 483.33 Kbps. Furthermore, this paper explores additional applications of retirement: Firstly, retirement is applied to Spectre attacks, resulting in a new variant of Spectre v1, which can achieve 94.17% accuracy with a bandwidth of 29 Kbps; Secondly, retirement is leveraged to infer the programs being executed by the victim, which can infer 10 integer benchmarks of SPEC with 89.28% accuracy. Finally, we discuss possible protection against new covert channels.

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

↑