Side-Channel Attacks Against the FESH Algorithm
DOI:
https://doi.org/10.54097/c86hby39Keywords:
FESH Algorithm, Correlation Power Analysis Attack, Template Attack, TransNet Model, ASCADAbstract
The FESH algorithm is a block cipher algorithm based on finite field operations. Currently, no research has been conducted on its side-channel attack security. Therefore, this study proposes two methods to address this issue: a correlation power analysis attack method targeting the FESH algorithm, and a template attack method based on an improved TransNet model. The first method theoretically analyzed the vulnerabilities of the FESH algorithm and successfully obtained valid leaked information through a correlation power attack; The second method introduced BlurPool blurring and downsampling techniques, as well as normalization operations, which reduced the training parameters of the improved model by approximately 50%. Additionally, the validation was performed on both the FESH dataset and the desynchronized ASCAD public dataset, which provided evidence that the entropy estimates were significantly better than those of the original TransNet model. The experimental results highlight the importance of considering side-channel security when implementing the FESH algorithm.
Downloads
References
Paul C. Kocher, “Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems,” Annu. Int. Cryptol. Conf., 1996, doi: 10.1007/3-540-68697-5_9.
Paul C. Kocher, Joshua M. Jaffe, and Benjamin Jun, “Differential Power Analysis,” Annu. Int. Cryptol. Conf., 1999, doi: 10.1007/3-540-48405-1_25.
E. Brier, C. Clavier, and F. Olivier, “Correlation Power Analysis with a Leakage Model,” in Cryptographic Hardware and Embedded Systems - CHES 2004, vol. 3156, M. Joye and J.-J. Quisquater, Eds., in Lecture Notes in Computer Science, vol. 3156. , Berlin, Heidelberg: Springer Berlin Heidelberg, 2004, pp. 16–29. doi: 10.1007/978-3-540-28632-5_2.
Suresh Chari, Josyula R. Rao, and Pankaj Rohatgi, “Template Attacks,” 2002.
Gabriel Hospodar, Benedikt Gierlichs, Elke De Mulder, Ingrid Verbauwhede, and Joos Vandewalle, “Machine learning in side-channel analysis: a first study,” J. Cryptogr. Eng., 2011, doi: 10.1007/s13389-011-0023-x.
Lukas Malina, Vaclav Zeman, Josef Martinasek, and Zdenek Martinasek, “K-Nearest Neighbors Algorithm in Profiling Power Analysis Attacks,” Radioengineering, 2016, doi: 10. 13164/ re.2016.0365.
Matthew D. Zeiler and Rob Fergus, “Visualizing and Understanding Convolutional Networks,” Eur. Conf. Comput. Vis., 2014, doi: 10.1007/978-3-319-10590-1_53.
A. Vaswani et al., “Attention is All you Need,” in Advances in Neural Information Processing Systems, I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, Eds., Curran Associates, Inc., 2017. [Online]. Available: https://proceedings. neurips.cc/ paper_files/ paper/ 2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
Suvadeep Hajra, Sayandeep Saha, Manaar Alam, and Debdeep Mukhopadhyay, “TransNet: Shift Invariant Transformer Network for Side Channel Analysis (extended version),” 2022.
Z. Dai, Z. Yang, Y. Yang, J. Carbonell, Q. Le, and R. Salakhutdinov, “Transformer-XL: Attentive Language Models beyond a Fixed-Length Context,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy: Association for Computational Linguistics, 2019, pp. 2978–2988. doi: 10.18653/v1/P19-1285.
Jia keting; Dong xiaoyang; Wei zongming; Li zheng; Zhou haibo; Cong tianshuo;, "Block Cipher Algorithm FESH," Journal of Cryptography, no. 06 vo 6, pp. 713–726, 2019, doi: 10. 13868/j. cnki. jcr.000336.
R. Zhang, “Making Convolutional Networks Shift-Invariant Again,” in Proceedings of the 36th International Conference on Machine Learning, K. Chaudhuri and R. Salakhutdinov, Eds., in Proceedings of Machine Learning Research, vol. 97. PMLR, Jun. 2019, pp. 7324–7334. [Online]. Available: https:// proceedings. mlr.press/v97/zhang19a.html.
F.-X. Standaert, T. G. Malkin, and M. Yung, “A Unified Framework for the Analysis of Side-Channel Key Recovery Attacks,” in Advances in Cryptology - EUROCRYPT 2009, vol. 5479, A. Joux, Ed., in Lecture Notes in Computer Science, vol. 5479. , Berlin, Heidelberg: Springer Berlin Heidelberg, 2009, pp. 443–461. doi: 10.1007/978-3-642-01001-9_26.
G. Zaid, L. Bossuet, A. Habrard, and A. Venelli, “Methodology for Efficient CNN Architectures in Profiling Attacks,” IACR Trans. Cryptogr. Hardw. Embed. Syst., pp. 1–36, Nov. 2019, doi: 10.46586/tches.v2020.i1.1-36.
R. Benadjila, E. Prouff, R. Strullu, E. Cagli, and C. Dumas, “Deep learning for side-channel analysis and introduction to ASCAD database,” J. Cryptogr. Eng., vol. 10, no. 2, pp. 163–188, Jun. 2020, doi: 10.1007/s13389-019-00220-8.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution 4.0 International License.

