Paper 2023/1860

EstraNet: An Efficient Shift-Invariant Transformer Network for Side-Channel Analysis

Suvadeep Hajra, Indian Institute of Technology Kharagpur
Siddhartha Chowdhury, Indian Institute of Technology Kharagpur
Debdeep Mukhopadhyay, Indian Institute of Technology Kharagpur
Abstract

Deep Learning (DL) based Side-Channel Analysis (SCA) has been extremely popular recently. DL-based SCA can easily break implementations protected by masking countermeasures. DL-based SCA has also been highly successful against implementations protected by various trace desynchronization-based countermeasures like random delay, clock jitter, and shuffling. Over the years, many DL models have been explored to perform SCA. Recently, Transformer Network (TN) based model has also been introduced for SCA. Though the previously introduced TN-based model is successful against implementations jointly protected by masking and random delay countermeasures, it is not scalable to long traces (having a length greater than a few thousand) due to its quadratic time and memory complexity. This work proposes a novel shift-invariant TN-based model with linear time and memory complexity. The contributions of the work are two-fold. First, we introduce a novel TN-based model called EstraNet for SCA. EstraNet has linear time and memory complexity in trace length, significantly improving over the previously proposed TN-based model’s quadratic time and memory cost. EstraNet is also shift-invariant, making it highly effective against countermeasures like random delay and clock jitter. Secondly, we evaluated EstraNet on three SCA datasets of masked implementations with random delay and clock jitter effects. Our experimental results show that EstraNet significantly outperforms several benchmark models, demonstrating up to an order of magnitude reduction in the number of attack traces required to reach guessing entropy 1.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published by the IACR in TCHES 2024
Keywords
Side Channel AnalysisTransformer NetworkShift-invariance
Contact author(s)
suvadeep hajra @ gmail com
siddhartha chowdhury92 @ gmail com
debdeep mukhopadhyay @ gmail com
History
2023-12-06: approved
2023-12-04: received
See all versions
Short URL
https://ia.cr/2023/1860
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/1860,
      author = {Suvadeep Hajra and Siddhartha Chowdhury and Debdeep Mukhopadhyay},
      title = {EstraNet: An Efficient Shift-Invariant Transformer Network for Side-Channel Analysis},
      howpublished = {Cryptology ePrint Archive, Paper 2023/1860},
      year = {2023},
      note = {\url{https://eprint.iacr.org/2023/1860}},
      url = {https://eprint.iacr.org/2023/1860}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.