SCAR:RTL级功耗侧信道分析
SCAR: Power Side-Channel Analysis at RTL-Level
AI总结:
针对流片后功耗侧信道分析修复缺陷成本高的问题,提出基于GNN的RTL级流片前分析框架SCAR,含可解释模块与LLM加固组件,在多种密码算法上实现高定位准确率并削减训练特征。
摘要:
功耗侧信道攻击利用密码运算的动态功耗消耗泄露加密硬件的敏感信息,因此有必要开展功耗侧信道分析,以评估密码系统的易受攻击性并缓解潜在风险。现有功耗侧信道分析主要聚焦于流片后实现,这类方法在修复设计缺陷时灵活性不足,会导致流片后重新设计的成本高昂且耗时漫长。因此,需要开展流片前功耗侧信道分析以尽早发现漏洞,提升设计鲁棒性。\n本文提出了SCAR——一种基于图神经网络(GNN)的新型流片前功耗侧信道分析框架。SCAR将加密硬件的寄存器传输级(RTL)设计转换为控制数据流图,以此检测易发生侧信道泄露的设计模块。此外,我们在SCAR中集成了基于深度学习的解释器,可为检测与定位决策生成可量化、人类易理解的解释。我们还在SCAR中开发了加固组件,该组件利用大语言模型(LLM)在定位到的区域自动生成并插入额外设计代码,以抑制侧信道泄露。\n在AES、RSA、PRESENT等主流加密算法以及Saber、CRYSTALS-Kyber等后量子密码算法上的评估显示,SCAR的定位准确率最高可达94.49%,精确率为100%,召回率为90.48%。此外,通过可解释性分析,SCAR将GNN模型训练的特征数量减少了57%,同时保持了相当的准确率。我们认为SCAR将变革安全关键型硬件的设计周期,实现更快的设计收敛并降低设计成本。
英文摘要:
Power side-channel attacks exploit the dynamic power consumption of cryptographic operations to leak sensitive information of encryption hardware. Therefore, it is necessary to conduct power side-channel analysis for assessing the susceptibility of cryptographic systems and mitigating potential risks. Existing power side-channel analysis primarily focuses on post-silicon implementations, which are inflexible in addressing design flaws, leading to costly and time-consuming post-fabrication design re-spins. Hence, pre-silicon power side-channel analysis is required for early detection of vulnerabilities to improve design robustness. In this paper, we introduce SCAR, a novel pre-silicon power side-channel analysis framework based on Graph Neural Networks (GNN). SCAR converts register-transfer level (RTL) designs of encryption hardware into control-data flow graphs and use that to detect the design modules susceptible to side-channel leakage. Furthermore, we incorporate a deep learning-based explainer in SCAR to generate quantifiable and human-accessible explanation of our detection and localization decisions. We have also developed a fortification component as a part of SCAR that uses large-language models (LLM) to automatically generate and insert additional design code at the localized zone to shore up the side-channel leakage. When evaluated on popular encryption algorithms like AES, RSA, and PRESENT, and postquantum cryptography algorithms like Saber and CRYSTALS-Kyber, SCAR, achieves up to 94.49% localization accuracy, 100% precision, and 90.48% recall. Additionally, through explainability analysis, SCAR reduces features for GNN model training by 57% while maintaining comparable accuracy. We believe that SCAR will transform the security-critical hardware design cycle, resulting in faster design closure at a reduced design cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。