SCAR: Power Side-Channel Analysis at RTL Level

被引:2
|
作者
Srivastava, Amisha [1 ]
Das, Sanjay [1 ]
Choudhury, Navnil [1 ]
Psiakis, Rafail [2 ]
Silva, Pedro Henrique [2 ]
Pal, Debjit [3 ]
Basu, Kanad [1 ]
机构
[1] Univ Texas Dallas, Dept Elect & Comp Engn, Richardson, TX 75080 USA
[2] Technol Innovat Inst, Secure Syst Res Ctr, Abu Dhabi, U Arab Emirates
[3] Univ Illinois, Dept Elect & Comp Engn, Chicago, IL 60607 USA
关键词
Encryption; Hardware; Power demand; Codes; Graph neural networks; Feature extraction; Task analysis; Graph neural network (GNN); large language model (LLM); power side-channel (PSC) attack; register-transfer level (RTL);
D O I
10.1109/TVLSI.2024.3390601
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Power side-channel (PSC) attacks exploit the dynamic power consumption of cryptographic operations to leak sensitive information about encryption hardware. Therefore, it is necessary to conduct a PSC analysis to assess the susceptibility of cryptographic systems and mitigate potential risks. Existing PSC analysis primarily focuses on postsilicon implementations, which are inflexible in addressing design flaws, leading to costly and time-consuming postfabrication design re-spins. Hence, presilicon PSC analysis is required for the early detection of vulnerabilities to improve design robustness. In this article, we introduce SCAR, a novel presilicon PSC analysis framework based on graph neural networks (GNNs). SCAR converts register-transfer level (RTL) designs of encryption hardware into control-data flow graphs (CDFGs) 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 explanations of our detection and localization decisions. We have also developed a fortification component as a part of SCAR that uses large-language models (LLMs) 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 advanced encryption standard (AES), RSA, and PRESENT, and postquantum cryptography (PQC) 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.
引用
收藏
页码:1110 / 1123
页数:14
相关论文
共 50 条
  • [31] Exploration into the Explainability of Neural Network Models for Power Side-Channel Analysis
    Golder, Anupam
    Bhat, Ashwin
    Raychowdhury, Arijit
    PROCEEDINGS OF THE 32ND GREAT LAKES SYMPOSIUM ON VLSI 2022, GLSVLSI 2022, 2022, : 59 - 64
  • [32] Defense against Side-Channel Power Analysis Attacks on Microelectronic Systems
    Sundaresan, Vijay
    Rammohan, Srividhya
    Vemuri, Ranga
    NAECON 2008 - IEEE NATIONAL AEROSPACE AND ELECTRONICS CONFERENCE, 2008, : 144 - 150
  • [33] Comparison of two Setups for Contactless Power Measurements for Side-Channel Analysis
    Beckers, Arthur
    Gierlichs, Benedikt
    Balasch, Josep
    Verbauwhede, Ingrid
    2018 JOINT IEEE INTERNATIONAL SYMPOSIUM ON ELECTROMAGNETIC COMPATIBILITY AND 2018 IEEE ASIA-PACIFIC SYMPOSIUM ON ELECTROMAGNETIC COMPATIBILITY (EMC/APEMC), 2018, : 739 - 744
  • [34] Federated Learning in Side-Channel Analysis
    Wang, Huanyu
    Dubrova, Elena
    INFORMATION SECURITY AND CRYPTOLOGY, ICISC 2020, 2021, 12593 : 257 - 272
  • [35] Side-Channel Analysis of the TERO PUF
    Tebelmann, Lars
    Pehl, Michael
    Immler, Vincent
    CONSTRUCTIVE SIDE-CHANNEL ANALYSIS AND SECURE DESIGN (COSADE 2019), 2019, 11421 : 43 - 60
  • [36] Static Power Side-Channel Analysis-An Investigation of Measurement Factors
    Moos, Thorben
    Moradi, Amir
    Richter, Bastian
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2020, 28 (02) : 376 - 389
  • [37] Static Power Side-Channel Analysis of a Threshold Implementation Prototype Chip
    Moos, Thorben
    Moradi, Amir
    Richter, Bastian
    PROCEEDINGS OF THE 2017 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2017, : 1324 - 1329
  • [38] Abacus: Precise Side-Channel Analysis
    Bao, Qinkun
    Wang, Zihao
    Li, Xiaoting
    Larus, James R.
    Wu, Dinghao
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 797 - 809
  • [39] Use of simulators for side-channel analysis
    Veshchikov, Nikita
    Guilley, Sylvain
    2017 IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P), 2017, : 51 - 59
  • [40] Low-cost solutions for preventing simple side-channel analysis: Side-channel atomicity
    Chevallier-Mames, B
    Ciet, M
    Joye, M
    IEEE TRANSACTIONS ON COMPUTERS, 2004, 53 (06) : 760 - 768