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

使用长程深度学习对加密硬件的广义功耗攻击

Generalized Power Attacks against Crypto Hardware using Long-Range Deep Learning

Elie Bursztein, Luca Invernizzi, Karel Král, Daniel Moghimi, Jean-Michel Picod, Marina Zhang

AI总结:

本文提出首个无需手动调整即可泛化至多种算法与对策的功耗侧信道深度学习分析系统 GPAM,成功攻击多种硬化的加密硬件实现,为芯片设计团队提供低成本自动化的安全评估方案。

摘要:

为了使密码处理器更能抵御侧信道攻击,工程师们开发了各种对策。然而,这些对策的有效性往往是不确定的,因为它取决于软件和硬件之间复杂的相互作用。到目前为止,使用分析技术或机器学习来评估对策的有效性需要大量的专业知识和努力才能适应新的目标,这使得这些评估成本高昂。我们认为,包含具有成本效益的自动化攻击将有助于芯片设计团队在开发阶段快速评估其对策,从而为更安全的芯片铺平道路。在本文中,我们通过提出 GPAM 奠定了此类自动化系统的基础,这是首个用于功耗侧信道分析的深度学习系统,无需手动调整或轨迹预处理即可泛化到多种密码算法、实现和侧信道对策。我们通过成功攻击四个强化的硬件加速椭圆曲线数字签名实现,展示了 GPAM 的能力。我们通过攻击受保护的 AES 实现并达到与最先进攻击相当的性能,展示了 GPAM 跨多种算法的泛化能力,但无需手动轨迹整理且在有限预算内完成。我们发布了数据和模型作为开源贡献,以允许社区独立复现我们的结果并在此基础上进行构建。

英文摘要:

To make cryptographic processors more resilient against side-channel attacks, engineers have developed various countermeasures. However, the effectiveness of these countermeasures is often uncertain, as it depends on the complex interplay between software and hardware. Assessing a countermeasure's effectiveness using profiling techniques or machine learning so far requires significant expertise and effort to be adapted to new targets which makes those assessments expensive. We argue that including cost-effective automated attacks will help chip design teams to quickly evaluate their countermeasures during the development phase, paving the way to more secure chips. In this paper, we lay the foundations toward such automated system by proposing GPAM, the first deep-learning system for power side-channel analysis that generalizes across multiple cryptographic algorithms, implementations, and side-channel countermeasures without the need for manual tuning or trace preprocessing. We demonstrate GPAM's capability by successfully attacking four hardened hardware-accelerated elliptic-curve digital-signature implementations. We showcase GPAM's ability to generalize across multiple algorithms by attacking a protected AES implementation and achieving comparable performance to state-of-the-art attacks, but without manual trace curation and within a limited budget. We release our data and models as an open-source contribution to allow the community to independently replicate our results and build on them.

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

↑