arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.14062cs.CR
收藏

基于机器学习算法对Spectre攻击的不同变体和不同Meltdown攻击实现的攻击检测

Attack detection based on machine learning algorithms for different variants of Spectre attacks and different Meltdown attack implementations

Zhongkai Tong, Ziyuan Zhu, Yusha Zhang, Yuxin Liu, Dan Meng

摘要:

为了提高处理器的整体性能,计算机架构师在现代处理器中使用各种性能优化技术,例如推测执行、分支预测和混沌执行。无论是现在还是将来,这些优化技术对于提高处理器指令的执行速度都至关重要。然而,研究人员发现,这些技术引入了隐藏的固有安全缺陷,例如近年来的崩溃和幽灵攻击。它们利用诸如混乱执行或推测执行与基于缓存的侧信道攻击相结合的技术来泄漏受保护的数据。这些漏洞的影响是巨大的,因为它们在现有或未来的处理器中普遍存在。然而,直到今天,meltdown和ghost还没有得到有效的解决,相反,多种攻击变体和不同的攻击实现已经从它们演变而来。本文提出通过特征选择优化四种不同的硬件性能事件,并利用机器学习算法构建针对Spectre v1、v2、v4以及不同实现的meltdown攻击的实时检测机制,最终达到99\%以上的准确率。为了验证该攻击检测模型的实用性,本文用多种良性程序和不同实现的Spectre攻击对建模过程进行了测试,绝对准确率也超过了99%,表明本文能够应对日常可能发生的不同攻击变种和同一攻击的不同实现。

英文摘要:

To improve the overall performance of processors, computer architects use various performance optimization techniques in modern processors, such as speculative execution, branch prediction, and chaotic execution. Both now and in the future, these optimization techniques are critical for improving the execution speed of processor instructions. However, researchers have discovered that these techniques introduce hidden inherent security flaws, such as meltdown and ghost attacks in recent years. They exploit techniques such as chaotic execution or speculative execution combined with cache-based side-channel attacks to leak protected data. The impact of these vulnerabilities is enormous because they are prevalent in existing or future processors. However, until today, meltdown and ghost have not been effectively addressed, but instead, multiple attack variants and different attack implementations have evolved from them. This paper proposes to optimize four different hardware performance events through feature selection and use machine learning algorithms to build a real-time detection mechanism for Spectre v1,v2,v4, and different implementations of meltdown attacks, ultimately achieving an accuracy rate of over 99\%. In order to verify the practicality of the attack detection model, this paper is tested with a variety of benign programs and different implementations of Spectre attacks different from the modeling process, and the absolute accuracy also exceeds 99\%, showing that this paper can cope with different attack variants and different implementations of the same attack that may occur daily.

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

↑