arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.03995cs.CRcs.ITmath.IT
收藏

SCARL:基于强化学习的Ascon认证密码侧信道分析

SCARL: Side-Channel Analysis with Reinforcement Learning on the Ascon Authenticated Cipher

Keyvan Ramezanpour, Paul Ampadu, William Diehl

摘要:

现有的边信道分析技术需要以先验知识或一组训练数据的形式的泄漏模型,以建立秘密数据和测量之间的关系。我们引入侧通道分析与强化学习(SCARL)能够提取数据相关的功能的测量在无监督学习的方法,而不需要泄漏模型的先验知识。SCARL由自动编码器和强化学习算法组成,自动编码器将功率测量信息编码为内部表示,强化学习算法提取关于秘密数据的信息。我们采用了一个强化学习算法与演员-评论家网络,以确定适当的泄漏模型,导致最大的自动编码器表示的集群间分离。SCARL假设一般非线性泄漏模型的低阶分量对敏感数据的泄漏有较大贡献。在Artix-7 FPGA上的Ascon认证密码的轻量级实现上,SCARL能够在密码的密钥插入或加密阶段使用24 K功率迹线恢复秘密密钥。我们还表明,经典的技术,如DPA和CPA无法识别正确的关键使用传统的线性泄漏模型和超过40 K的电源痕迹。

英文摘要:

Existing side-channel analysis techniques require a leakage model, in the form of a prior knowledge or a set of training data, to establish a relationship between the secret data and the measurements. We introduce side-channel analysis with reinforcement learning (SCARL) capable of extracting data-dependent features of the measurements in an unsupervised learning approach without requiring a prior knowledge on the leakage model. SCARL consists of an auto-encoder to encode the information of power measurements into an internal representation, and a reinforcement learning algorithm to extract information about the secret data. We employ a reinforcement learning algorithm with actor-critic networks, to identify the proper leakage model that results in maximum inter-cluster separation of the auto-encoder representation. SCARL assumes that the lower order components of a generic non-linear leakage model have larger contribution to the leakage of sensitive data. On a lightweight implementation of the Ascon authenticated cipher on the Artix-7 FPGA, SCARL is able to recover the secret key using 24K power traces during the key insertion, or Initialization Stage, of the cipher. We also demonstrate that classical techniques such as DPA and CPA fail to identify the correct key using traditional linear leakage models and more than 40K power traces.

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

↑