A Low-Overhead Countermeasure against Differential Power Analysis for AES Block Cipher
Source abstract
Abstract
This paper presents the employment of a DPA attack on the NIST (National Institute of Standards and Technology) standardized AES (advance encryption standard) protocol for key retrieval and prevention. Towards key retrieval, we applied the DPA attack on AES to obtain a 128-bit secret key by measuring the power traces of the computations involved in the algorithm. In resistance to the DPA attack, we proposed a countermeasure, or a new modified masking scheme, comprising (i) Boolean and (ii) multiplicative masking, for linear and non-linear operations of AES, respectively. Furthermore, we improved the complexity involved in Boolean masking by introducing Rebecca’s approximation. Moreover, we provide a novel solution to tackle the zero mask problem in multiplicative masking. To evaluate the power traces, we propose our custom correlation technique, which results in a decrease in the calculation time. The synthesis results for original implementation (without countermeasure) and inclusion of countermeasure are given on a Zynq 7020 FPGA (Artix-7 device). It takes 424 FPGA slices when implemented without considering the countermeasure, whereas 714 slices are required to implement AES with the inclusion of the proposed countermeasure. Consequently, the implementation results provide the acceptability of this work for area-constrained applications that require prevention against DPA attacks.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Cryptographic Implementations and Security · Physical Unclonable Functions (PUFs) and Hardware Security · Chaos-based Image/Signal Encryption
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical Engineering, School of Engineering, University of Management and Technology, Lahore 5770, Pakistan
Department of Mathematics, College of Science, King Khalid University, Abha 61413, Saudi Arabia
College of Computing and Information Technology, University of Tabuk, Tabuk 71491, Saudi Arabia
Funding
Deanship of Scientific Research at King Khalid University
References (43)
Show source-provided references
1. ACryp-Proc: Flexible Asymmetric Crypto Processor for Point Multiplication10.1109/ACCESS.2018.2828319 ↗
2. What is cryptography?10.1109/MSP.2006.29 ↗
3. Flexible Architectures for Cryptographic Algorithms—A Systematic Literature Review10.1142/S0218126619300034 ↗
4. Chandra, S., Paira, S., Alam, S.S., and Sanyal, G. (2014, January 17–18). A comparative survey of Symmetric and Asymmetric Key Cryptography. Proceedings of the 2014 International Conference on Electronics, Communication and Computational Engineering (ICECCE), Hosur, India.10.1109/ICECCE.2014.7086640 ↗
5. Yilmaz, B., and Özdemİr, S. (2018, January 2–5). Performance comparison of cryptographic algorithms in internet of things. Proceedings of the 2018 26th Signal Processing and Communications Applications Conference (SIU), Izmir, Turkey.10.1109/SIU.2018.8404524 ↗
6. Kumar, K., Ramkumar, K., Kaur, A., and Choudhary, S. (2020, January 10–12). A Survey on Hardware Implementation of Cryptographic Algorithms Using Field Programmable Gate Array. Proceedings of the 2020 IEEE 9th International Conference on Communication Systems and Network Technologies (CSNT), Gwalior, India.10.1109/CSNT48778.2020.9115742 ↗
7. Socha, P., Brejník, J., and Bartik, M. (2018, January 10–14). Attacking AES implementations using correlation power analysis on ZYBO Zynq-7000 SoC board. Proceedings of the 2018 7th Mediterranean Conference on Embedded Computing (MECO), Budva, Montenegro.10.1109/MECO.2018.8406034 ↗
8. Bhunia, S., and Tehranipoor, M. (2019). Chapter 10: Physical Attacks and Countermeasures. Hardware Security, Morgan Kaufmann.10.1016/B978-0-12-812477-2.00015-0 ↗
9. Mangard, S., Oswald, E., and Popp, T. (2007). Revealing the Secrets of Smart Cards. Power Analysis Attacks, Springer.
10. Pammu, A.A., Chong, K., Ho, W., and Gwee, B. (2016, January 25–28). Interceptive side channel attack on AES-128 wireless communications for IoT applications. Proceedings of the 2016 IEEE Asia Pacific Conference on Circuits and Systems (APCCAS), Jeju, Korea.10.1109/APCCAS.2016.7804081 ↗
11. Zhang, X., Chen, K., Zhang, Y., Gui, W., and Li, L. (2015, January 12–13). Correlation power analysis for AES encryption device. Proceedings of the 4th National Conference on Electrical, Electronics and Computer Engineering, Xi’an, China. Available online: https://www.atlantis-press.com/article/25847048.pdf.
12. Zheng, Z., Zou, X., Liu, Z., and Chen, Y. (2007, January 21–25). Security Analysis and Optimization of AES S-Boxes Against CPA Attack in Wireless Sensor Network. Proceedings of the 2007 International Conference on Wireless Communications, Networking and Mobile Computing, Shanghai, China.10.1109/WICOM.2007.649 ↗
13. Benhadjyoussef, N., Mestiri, H., Machhout, M., and Tourki, R. (2012, January 26–28). Implementation of CPA analysis against AES design on FPGA. Proceedings of the 2012 International Conference on Communications and Information Technology (ICCIT), Hammamet, Tunisia.10.1109/ICCITechnol.2012.6285774 ↗
14. Paillier, P., and Verbauwhede, I. (2007). A First-Order DPA Attack Against AES in Counter Mode with Unknown Initial Counter. Cryptographic Hardware and Embedded Systems—CHES 2007, Springer. Available online: https://www.iacr.org/archive/ches2007/47270001/47270001.pdf.
15. Zhou, J., and Yung, M. (2010). Principles on the Security of AES against First and Second-Order Differential Power Analysis. Applied Cryptography and Network Security, Springer. Available online: https://link.springer.com/chapter/10.1007/978-3-642-13708-2_11.
16. Kamoun, N., Bossuet, L., and Ghazel, A. (2009, January 23–26). Experimental implementation of DPA attacks on AES design with Flash-based FPGA technology. Proceedings of the 2009 6th International Multi-Conference on Systems, Signals and Devices, Djerba, Tunisia.10.1109/SSD.2009.4956747 ↗
17. Efficient DPA Attacks on AES Hardware Implementations10.4236/ijcns.2008.11010 ↗
18. Bu, A., Dai, W., Lu, M., Cai, H., and Shan, W. (2018, January 1–3). Correlation-Based Electromagnetic Analysis Attack Using Haar Wavelet Reconstruction with Low-Pass Filtering on an FPGA Implementaion of AES. Proceedings of the 2018 17th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/12th IEEE International Conference on Big Data Science and Engineering (TrustCom/BigDataSE), New York, NY, USA.10.1109/TrustCom/BigDataSE.2018.00288 ↗
19. Wang, H., and Dubrova, E. (2020, January 14–16). Tandem Deep Learning Side-Channel Attack Against FPGA Implementation of AES. Proceedings of the 2020 IEEE International Symposium on Smart Electronic Systems (iSES) (Formerly iNiS), Chennai, India.10.1109/iSES50453.2020.00041 ↗
20. Khelil, F., Hamdi, M., Guilley, S., Danger, J.L., and Selmane, N. (2008, January 5–7). Fault Analysis Attack on an FPGA AES Implementation. Proceedings of the 2008 New Technologies, Mobility and Security, Tangier, Morocco.10.1109/NTMS.2008.ECP.45 ↗
21. Kaps, J.P., and Velegalati, R. (2010, January 2–4). DPA Resistant AES on FPGA Using Partial DDL. Proceedings of the 2010 18th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines, Charlotte, NC, USA.10.1109/FCCM.2010.49 ↗
22. A New Type of Countermeasure against DPA in Multi-Sbox of Block Cipher10.1155/2018/5945312 ↗
23. Countermeasures Against DPA Attacks on FPGA Implementation of AES10.3923/jai.2012.186.192 ↗
24. Attaran, A., and Mirhassani, M. (2015, January 9–10). An embedded low-overhead PLL-based countermeasure against DPA side channel attack. Proceedings of the 2015 International Symposium on Signals, Circuits and Systems (ISSCS), Iasi, Romania.10.1109/ISSCS.2015.7203995 ↗
25. Mohana, P., Srinivasan, R., and Kanchana Bhaaskaran, V.S. (2013, January 28–29). An energy recovery logic level countermeasure for power analysis attacks on AES. Proceedings of the International Conference on Smart Structures And Systems (ICSSS’13), Chennai, India.10.1109/ICSSS.2013.6623020 ↗
26. Power analysis attacks on the AES-128 S-box using differential power analysis (DPA) and correlation power analysis (CPA)10.1080/23742917.2016.1231523 ↗
27. Kavi priya, S., and Arunmani, G. (2019, January 11–13). Advanced Logic Level Design Methodology for a Secure DPA Resistant FPGA. Proceedings of the 2019 IEEE International Conference on Intelligent Techniques in Control, Optimization and Signal Processing (INCOS), Tamilnadu, India.10.1109/INCOS45849.2019.8951310 ↗
28. A Voltage Regulator-Assisted Lightweight AES Implementation Against DPA Attacks10.1109/TCSI.2016.2555810 ↗
29. Walter, C.D., Koç, Ç.K., and Paar, C. (2003). Securing Encryption Algorithms against DPA at the Logic Level: Next Generation Smart Card Technology. Cryptographic Hardware and Embedded Systems—CHES 2003, Springer. Available online: https://link.springer.com/chapter/10.1007/978-3-540-45238-6_11.
30. Discretix Technologies Ltd. (2021, October 19). Known Attacks against Smart Cards. Available online: http://www.infosecwriters.com/text_resources/pdf/Known_Attacks_Against_Smartcards.pdf.
31. Eduard Kovacs (2021, October 19). Researchers Disclose New Side-Channel Attacks Affecting All AMD CPUs. Available online: https://www.securityweek.com/researchers-disclose-new-side-channel-attacks-affecting-all-amd-cpus?quicktabs_1=0.
32. Zybo Z7 (2021, May 03). AES (Rijndael) IP Core. Available online: https://opencores.org/projects/aes_core.
33. Daemen, J., and Rijmen, V. (2002). The Design of Rijndael: AES—The Advanced Encryption Standard, Springer. Available online: https://www.springer.com/gp/book/9783540425809.10.1007/978-3-662-04722-4_1 ↗
34. Implementation of Advanced Encryption Standard Algorithm
35. Miškovský, V., Kubátová, H., and Novotný, M. (2016, January 12–16). Influence of fault-tolerant design methods on differential power analysis resistance of AES cipher: Methodics and challenges. Proceedings of the 2016 5th Mediterranean Conference on Embedded Computing (MECO), Bar, Montenegro.10.1109/MECO.2016.7525685 ↗
36. Ordu, L., and Ors, B. (2007, January 11–14). Power Analysis Resistant Hardware Implementations of AES. Proceedings of the 2007 14th IEEE International Conference on Electronics, Circuits and Systems, Marrakech, Morocco.10.1109/ICECS.2007.4511263 ↗
37. A secure and highly efficient first-order masking scheme for AES linear operations10.1186/s42400-021-00082-w ↗
38. Kaliski, B.S., Koç, Ç.K., and Paar, C. (2003). Simplified Adaptive Multiplicative Masking for AES. Cryptographic Hardware and Embedded Systems—CHES 2002, Springer. Available online: https://link.springer.com/content/pdf/10.1007%2F3-540-36400-5_15.pdf.
39. Multiplicative Masking for AES in Hardware
40. O’Donnell, R. (2021, October 18). Analysis of Boolean Functions. Available online: https://www.cs.tau.ac.il/~amnon/Classes/2016-PRG/Analysis-Of-Boolean-Functions.pdf.
41. Zybo Z7 (2021, August 19). Zybo Z7: Zynq-7000 ARM/FPGA SoC Development Board. Available online: https://digilent.com/reference/_media/reference/programmable-logic/zybo-z7/zybo_z7_sch-public.pdf.
42. Mulani, A.O., and Mane, P.B. (2019). High-Speed Area-Efficient Implementation of AES Algorithm on Reconfigurable Platform, 2019. Computer and Network Security, IntechOpen. Available online: https://www.intechopen.com/chapters/67728.
43. Kamoun, N., Bossuet, L., and Ghazel, A. (2008, January 20–22). SRAM-FPGA implementation of masked S-Box based DPA countermeasure for AES. Proceedings of the 2008 3rd International Design and Test Workshop, Monastir, Tunisia.10.1109/IDT.2008.4802469 ↗