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 条
  • [1] Analyzing Side-Channel Attack Vulnerabilities at RTL
    Lai, Xinhui
    Jenihhin, Maksim
    2023 IEEE 24TH LATIN AMERICAN TEST SYMPOSIUM, LATS, 2023,
  • [2] RTL-PSC: Automated Power Side-Channel Leakage Assessment at Register-Transfer Level
    He, Miao
    Park, Jungmin
    Nahiyan, Adib
    Vassilev, Apostol
    Jin, Yier
    Tehranipoor, Mark
    2019 IEEE 37TH VLSI TEST SYMPOSIUM (VTS), 2019,
  • [3] PSC-TG: RTL Power Side-Channel Leakage Assessment with Test Pattern Generation
    Zhang, Tao
    Park, Jungmin
    Tehranipoor, Mark
    Farahmandi, Farimah
    2021 58TH ACM/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2021, : 709 - 714
  • [4] Balance Power Leakage to Fight Against Side-Channel Analysis at Gate Level in FPGAs
    Fang, Xin
    Luo, Pei
    Fei, Yunsi
    Leeser, Miriam
    PROCEEDINGS OF THE ASAP2015 2015 IEEE 26TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2015, : 154 - 155
  • [5] Side-Channel Power Analysis of XTS-AES
    Luo, Chao
    Fei, Yunsi
    Ding, A. Adam
    PROCEEDINGS OF THE 2017 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2017, : 1330 - 1335
  • [6] Power Side-Channel Analysis for Different Adders on FPGA
    Zhao, Yilin
    Zhang, Qidi
    Nishikawa, Hiroki
    Kong, Xiangbo
    Tomiyama, Hiroyuki
    18TH INTERNATIONAL SOC DESIGN CONFERENCE 2021 (ISOCC 2021), 2021, : 367 - 368
  • [7] SCAUL: Power Side-Channel Analysis With Unsupervised Learning
    Ramezanpour, Keyvan
    Ampadu, Paul
    Diehl, William
    IEEE TRANSACTIONS ON COMPUTERS, 2020, 69 (11) : 1626 - 1638
  • [8] Side-Channel Power Analysis of a GPU AES Implementation
    Luo, Chao
    Fei, Yunsi
    Luo, Pei
    Mukherjee, Saoni
    Kaeli, David
    2015 33RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2015, : 281 - 288
  • [9] Power-based Side-Channel Instruction-level Disassembler
    Park, Jungmin
    Xu, Xiaolin
    Jin, Yier
    Forte, Domenic
    Tehranipoor, Mark
    2018 55TH ACM/ESDA/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2018,
  • [10] Remote Inter-Chip Power Analysis Side-Channel Attacks at Board-Level
    Schellenberg, Falk
    Gnad, Dennis R. E.
    Moradi, Amir
    Tahoori, Mehdi B.
    2018 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD) DIGEST OF TECHNICAL PAPERS, 2018,