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

基于功率分析的侧信道攻击

Power Analysis Based Side Channel Attack

Hasindu Gamaarachchi, Harsha Ganegoda

摘要:

功率分析是侧信道攻击的一个分支,其中功率消耗数据被用作侧信道来攻击系统。首先,当加密设备进行加密操作时,使用诸如示波器的设备来收集功率迹线。然后使用诸如相关功率分析(CPA)的方法对这些迹进行统计分析,以导出系统的秘密密钥。功耗分析攻击可以在几分钟内攻破高级加密标准(AES),已成为灵巧卡等加密设备的严重安全问题。作为项目的第一阶段,我们建立了一个测试平台,用于研究功耗分析攻击。由于功耗分析是一种实用的攻击类型,因此进行任何研究,首先需要一个测试平台。由于构建测试台是一个复杂的过程,因此预先构建测试台将节省未来研究人员的时间。我们的项目的第二阶段是攻击最新的加密算法称为Speck已被美国国家安全局(NSA)发布的嵌入式系统中使用。尽管它与AES有很多不同之处,无法直接使用AES的功耗分析方法,但我们介绍了在不到一个小时内破解Speck的新方法。在项目的第三阶段,我们选择了几个已经介绍过的对策,并在我们的实验台上进行了实际攻击,做了比较分析。我们表明,软件对策,如随机指令注入和随机洗牌的S盒是足够好的简单性和成本。但是,我们确定了可能的威胁,由于生成一个良好的种子的伪随机算法运行在微控制器上的问题。我们试图通过使用基于硬件的真随机发生器来解决这个问题,该发生器放大随机电信号和样本以生成适当的种子。

英文摘要:

Power analysis is a branch of side channel attacks where power consumption data is used as the side channel to attack the system. First using a device like an oscilloscope power traces are collected when the cryptographic device is doing the cryptographic operation. Then those traces are statistically analysed using methods such as Correlation Power Analysis (CPA) to derive the secret key of the system. Being possible to break Advanced Encryption Standard (AES) in few minutes, power analysis attacks have become a serious security issue for cryptographic devices such as smart card. As the first phase of our project, we build a testbed for doing research on power analysis attacks. As power analysis is a practical type of attack in order to do any research, a testbed is the first requirement. Since building a test bed is a complicated process, having a pre-built testbed would save the time of future researchers. The second phase of our project is to attack the latest cryptographic algorithm called Speck which has been released by National Security Agency (NSA) for use in embedded systems. In spite it has lot of differences to AES making impossible to directly use the power analysis approach used for AES, we introduce novel approaches to break Speck in less than an hour. In the third phase of the project, we select few already introduced countermeasures and practically attack them on our testbed to do a comparative analysis. We show that software countermeasures such as random instruction injection and randomly shuffling S-boxes are good enough for their simplicity and cost. But we identify the possible threat due to the problem of generating a good seed for the pseudo-random algorithm running on the microcontroller. We attempt to address this issue by using a hardware-based true random generator that amplifies a random electrical signal and samples to generate a proper seed.

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

↑