SMoTherSpectre:通过端口争用利用推测执行
SMoTherSpectre: exploiting speculative execution through port contention
摘要:
Spectre、Meltdown和相关攻击已经证明,内核、虚拟机管理程序、可信执行环境和浏览器很容易通过微架构弱点泄露信息。然而,目前尚不清楚其他应用程序,特别是那些不加载攻击者提供的代码的应用程序可能会受到多大程度的影响。目前还不清楚这些攻击在多大程度上依赖于基于缓存的侧通道。我们介绍SMoTherSpectre,一个投机性的代码重用攻击,利用端口争用同时多线程处理器(SMoTher)作为一个侧通道,从受害者进程泄漏信息。SMoTher是一个细粒度的侧通道,它基于单个牺牲指令检测争用。为了发现现实世界的小工具,我们描述了一种方法,并建立一个工具,定位SmoTher-gadgets在流行的图书馆。在对glibc的评估中,我们发现了数百个可以用来泄露信息的小工具。最后,我们展示了对OpenSSH服务器的概念验证攻击,创建用于确定四个主机密钥位的预言机,以及对使用OpenSSL库执行加密的应用程序的攻击,创建一个可以通过libcrypto和glibc中的小工具区分一点明文的预言机。
英文摘要:
Spectre, Meltdown, and related attacks have demonstrated that kernels, hypervisors, trusted execution environments, and browsers are prone to information disclosure through micro-architectural weaknesses. However, it remains unclear as to what extent other applications, in particular those that do not load attacker-provided code, may be impacted. It also remains unclear as to what extent these attacks are reliant on cache-based side channels. We introduce SMoTherSpectre, a speculative code-reuse attack that leverages port-contention in simultaneously multi-threaded processors (SMoTher) as a side channel to leak information from a victim process. SMoTher is a fine-grained side channel that detects contention based on a single victim instruction. To discover real-world gadgets, we describe a methodology and build a tool that locates SMoTher-gadgets in popular libraries. In an evaluation on glibc, we found hundreds of gadgets that can be used to leak information. Finally, we demonstrate proof-of-concept attacks against the OpenSSH server, creating oracles for determining four host key bits, and against an application performing encryption using the OpenSSL library, creating an oracle which can differentiate a bit of the plaintext through gadgets in libcrypto and glibc.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。