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

对加密通用计算平台的故障攻击

Fault Attacks on Encrypted General Purpose Compute Platforms

Robert Buhren, Shay Gueron, Jan Nordholz, Jean-Pierre Seifert, Julian Vetter

摘要:

对目标平台具有物理访问权限的攻击者可以执行冷启动或DMA攻击,从RAM中提取敏感数据。作为回应,已经提出了几种主存储器加密方案来防止这种攻击。硬件供应商也承认了这一威胁,并已经宣布了各自的硬件扩展。英特尔的SGX和AMD的SME将提供加密RAM部分的方法,以保护驻留在那里的安全相关资产。加密RAM将保护用户的内容免受被动窃听。然而,在涉及不仅能够从RAM读取而且还可以更改RAM中内容的对手的情况下,它提供的保护级别不太清楚。显然,加密提供了一些针对这种“主动”攻击者的保护:从密文中,攻击者无法看到明文中的值发生了变化,也无法根据这些变化预测系统行为。但是,这是否足以阻止活跃的对手执行恶意任务?本文讨论了开放的研究问题,单独加密是否是一个可靠的保护机制,在实践中考虑一个积极的对手。为此,我们首先在桌面系统上构建一个基于软件的内存加密解决方案,该解决方案模仿AMD的SME。随后,我们演示了一个概念验证的故障攻击,通过它我们能够提取的GnuPG用户的RSA私钥。我们的工作表明,透明内存加密不足以防止主动攻击。

英文摘要:

Adversaries with physical access to a target platform can perform cold boot or DMA attacks to extract sensitive data from the RAM. In response, several main-memory encryption schemes have been proposed to prevent such attacks. Also hardware vendors have acknowledged the threat and already announced respective hardware extensions. Intel's SGX and AMD's SME will provide means to encrypt parts of the RAM to protect security-relevant assets that reside there. Encrypting the RAM will protect the user's content against passive eavesdropping. However, the level of protection it provides in scenarios that involve an adversary who is not only able to read from RAM but can also change content in RAM is less clear. Obviously, encryption offers some protection against such an "active" adversary: from the ciphertext the adversary cannot see what value is changed in the plaintext, nor predict the system behaviour based on the changes. But is this enough to prevent an active adversary from performing malicious tasks? This paper addresses the open research question whether encryption alone is a dependable protection mechanism in practice when considering an active adversary. To this end, we first build a software based memory encryption solution on a desktop system which mimics AMD's SME. Subsequently, we demonstrate a proof-of-concept fault attack on this system, by which we are able to extract the private RSA key of a GnuPG user. Our work suggests that transparent memory encryption is not enough to prevent active attacks.

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

↑