Literature DB >> 35111917

Model design and parameter optimization of CNN for side-channel cryptanalysis.

Yun Lin Liu1, Yan Kai Chen1, Wei Xiong Li1, Yang Zhang1.   

Abstract

BACKGROUND: The side-channel cryptanalysis method based on convolutional neural network (CNNSCA) can effectively carry out cryptographic attacks. The CNNSCA network models that achieve cryptanalysis mainly include CNNSCA based on the VGG variant (VGG-CNNSCA) and CNNSCA based on the Alexnet variant (Alex-CNNSCA). The learning ability and cryptanalysis performance of these CNNSCA models are not optimal, and the trained model has low accuracy, too long training time, and takes up more computing resources. In order to improve the overall performance of CNNSCA, the paper will improve CNNSCA model design and hyperparameter optimization.
METHODS: The paper first studied the CNN architecture composition in the SCA application scenario, and derives the calculation process of the CNN core algorithm for side-channel leakage of one-dimensional data. Secondly, a new basic model of CNNSCA was designed by comprehensively using the advantages of VGG-CNNSCA model classification and fitting efficiency and Alex-CNNSCA model occupying less computing resources, in order to better reduce the gradient dispersion problem of error back propagation in deep networks, the SE (Squeeze-and-Excitation) module is newly embedded in this basic model, this module is used for the first time in the CNNSCA model, which forms a new idea for the design of the CNNSCA model. Then apply this basic model to a known first-order masked dataset from the side-channel leak public database (ASCAD). In this application scenario, according to the model design rules and actual experimental results, exclude non-essential experimental parameters. Optimize the various hyperparameters of the basic model in the most objective experimental parameter interval to improve its cryptanalysis performance, which results in a hyper-parameter optimization scheme and a final benchmark for the determination of hyper-parameters.
RESULTS: Finally, a new CNNSCA model optimized architecture for attacking unprotected encryption devices is obtained-CNNSCAnew. Through comparative experiments, CNNSCAnew's guessing entropy evaluation results converged to 61. From model training to successful recovery of the key, the total time spent was shortened to about 30 min, and we obtained better performance than other CNNSCA models.
© 2022 Liu et al.

Entities:  

Keywords:  Alexnet; CNN; Hyperparameter; SEnet; Side-channel analysis; VGG

Year:  2022        PMID: 35111917      PMCID: PMC8771786          DOI: 10.7717/peerj-cs.829

Source DB:  PubMed          Journal:  PeerJ Comput Sci        ISSN: 2376-5992


  3 in total

1.  The problem of overfitting.

Authors:  Douglas M Hawkins
Journal:  J Chem Inf Comput Sci       Date:  2004 Jan-Feb

2.  Squeeze-and-Excitation Networks.

Authors:  Jie Hu; Li Shen; Samuel Albanie; Gang Sun; Enhua Wu
Journal:  IEEE Trans Pattern Anal Mach Intell       Date:  2019-04-29       Impact factor: 6.226

3.  Receptive fields and functional architecture of monkey striate cortex.

Authors:  D H Hubel; T N Wiesel
Journal:  J Physiol       Date:  1968-03       Impact factor: 5.182

  3 in total
  1 in total

1.  Effect of neural network structure in accelerating performance and accuracy of a convolutional neural network with GPU/TPU for image analytics.

Authors:  Aswathy Ravikumar; Harini Sriraman; P Maruthi Sai Saketh; Saddikuti Lokesh; Abhiram Karanam
Journal:  PeerJ Comput Sci       Date:  2022-03-03
  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.