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

一种防止远程缓存定时攻击的恒时加密方法

Constant time encryption as a countermeasure against remote cache timing attacks

D. Jayasinghe, R. G. Ragel, D. Elkaduwe

摘要:

Rijndael在2001年被美国国家标准与技术研究所标准化为高级加密标准(AES)。AES仍被用于加密金融、军事甚至政府机密数据。2005年,Bernstein使用客户端-服务器架构说明了对AES的远程缓存定时攻击,因此在其软件实现中证明了一个侧通道。多年来,已经提出了一些对策,以防止高速缓存时序攻击使用硬件和软件。虽然基于软件的对策是灵活的,易于部署,大多数这样的对策是脆弱的统计分析。在本文中,我们提出了一种新的基于软件的对策,对缓存定时攻击,被称为恒定时间加密,我们相信这是安全的统计分析。我们提出的对策执行重新调度的指令,使加密轮将消耗恒定的时间独立的高速缓存命中和未命中。通过实验,证明了该对策对Bernstein缓存定时攻击是安全的.

英文摘要:

Rijndael was standardized in 2001 by National Institute of Standard and Technology as the Advanced Encryption Standard (AES). AES is still being used to encrypt financial, military and even government confidential data. In 2005, Bernstein illustrated a remote cache timing attack on AES using the client-server architecture and therefore proved a side channel in its software implementation. Over the years, a number of countermeasures have been proposed against cache timing attacks both using hardware and software. Although the software based countermeasures are flexible and easy to deploy, most of such countermeasures are vulnerable to statistical analysis. In this paper, we propose a novel software based countermeasure against cache timing attacks, known as constant time encryption, which we believe is secure against statistical analysis. The countermeasure we proposed performs rescheduling of instructions such that the encryption rounds will consume constant time independent of the cache hits and misses. Through experiments, we prove that our countermeasure is secure against Bernstein's cache timing attack.

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

↑