Abstract
Mobile Internet of Things (IoT) terminals are typically constrained by limited computing power, memory, and battery life, making traditional implementations of the Advanced Encryption Standard (AES) suffer from excessive computational overhead, high latency, and insufficient resistance to side-channel attacks. To address these key limitations, this paper proposes a lightweight deep learning-based AES optimization scheme tailored for resource-constrained environments. We designed a lightweight Convolutional Neural Network (CNN) based on MobileNet depthwise separable convolutions to reconstruct the SubBytes transformation, and a lightweight Long Short-Term Memory (LSTM) network enhanced with structured pruning and 8-bit quantization to optimize the key expansion module. This approach significantly enhances the nonlinearity of encryption operations and the randomness of round keys while reducing model parameters and computational load. Extensive experiments on the ARM Cortex-M4 chip demonstrate that the optimized AES achieves a 38% improvement in encryption throughput and a 42% reduction in key expansion time. Security evaluations show that the round key Shannon entropy increases to 148.2 bits, with substantially enhanced resistance to differential attacks, linear attacks, and Differential Power Analysis (DPA, with Correlation Power Analysis [CPA] as its mainstream engineering implementation). Notably, the optimized algorithm only increases on-chip memory usage by 12% and reduces static power consumption by 18%, making it suitable for deployment on low-resource mobile IoT devices.
References
Benadjila R, Prouff E, Strullu R, et al. Deep learning for side-channel analysis and introduction to ASCAD database. Journal of Cryptographic Engineering, 2020, 10: 163–188. https://doi.org/10.1007/s13389-019-00220-8
Kim H, Lee J, Kim Y. A new method for designing lightweight S-boxes with high differential and linear branch numbers, and its application. IEEE Access, 2021, 9: 150592–150607. https://doi.org/10.1109/ACCESS.2021.3126008
Wijaya D C, Afianti F. Improving the randomness of modified lightweight AES using dual dynamic S-boxes on research constraint. 2025 5th International Conference on Intelligent Cybernetics Technology & Applications (ICICyTA), 2025: 48–53. https://doi.org/10.1109/ICICyTA68677.2025.11362701
Peng Z S. Optimization research of hyperchaotic model-driven encryption algorithm in network security. Journal of Cyber Security and Mobility, 2025, 14(2): 283–310. https://doi.org/10.13052/jcsm2245-1439.1422
Wang H, Dubrova E. Tandem deep learning side-channel attack on FPGA implementation of AES. SN Computer Science, 2021, 2(5): 373. https://doi.org/10.1007/s42979-021-00755-w
Negabi I, Asri E A S, Adib E S. Beyond encryption: How deep learning can break microcontroller security through power analysis. e-Prime – Advances in Electrical Engineering, Electronics and Energy, 2025, 11: 100947. https://doi.org/10.1016/j.prime.2025.100947
Fukuda Y, Yoshida K, Hashimoto H, et al. Profiling deep learning side-channel attacks using multi-label against AES circuits with RSM countermeasure. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, 2023, E106.A(3): 294–305. https://doi.org/10.1587/transfun.2022CIP0015
Wang K, Yan Y, Guo P, et al. Research on power analysis attack based on improved residual network and data augmentation. Chinese Journal of Cryptology, 2020, 7(4): 551–564. https://doi.org/10.13868/j.cnki.jcr.000389
El-Latif A A A, Abd-El-Atty B, Belazi A, et al. Efficient chaos-based substitution-box and its application to image encryption. Electronics, 2021, 10(12): 1392. https://doi.org/10.3390/electronics10121392
Al-Maadeed T A, Hussain I, Anees A, et al. An image encryption algorithm based on chaotic Lorenz system and novel primitive polynomial S-boxes. Multimedia Tools and Applications, 2021, 80: 24801–24822. https://doi.org/10.1007/s11042-021-10695-5
Zhang Y, Su X. Application of deep learning in the optimization of AES encryption algorithm. Journal of Cyber Security and Mobility, 2025, 14(3): 553–576. https://doi.org/10.13052/jcsm2245-1439.1432
Zhang Y. Application and optimization of deep learning in image recognition. 2024 International Seminar on Artificial Intelligence, Computer Technology and Control Engineering (ACTCE), 2024: 438–442. https://doi.org/10.1109/ACTCE65085.2024.00095
Swaminathan S, Chmielewski Ł, Perin G, et al. Deep learning-based side-channel analysis against AES inner rounds. Zhou J, et al. Applied Cryptography and Network Security Workshops (ACNS 2022). Vol. 13285. Cham: Springer, 2022: 165–182. https://doi.org/10.1007/978-3-031-16815-4_10
Bhasin S, Chattopadhyay A, Heuser A, et al. Mind the portability: A warrior’s guide through realistic profiled side-channel analysis. Proceedings of the 2020 Network and Distributed System Security Symposium (NDSS), 2020. https://doi.org/10.14722/ndss.2020.24390
Zhang R, Mo Y, Pan Z, et al. Intra-class CutMix data augmentation based deep learning side channel attacks. Integration, 2025, 102: 102373. https://doi.org/10.1016/j.vlsi.2025.102373
Ailon N, Bercovich A, Uffenheimer Y, et al. Changing base without losing pace: A GPU-efficient alternative to MatMul in DNNs. arXiv preprint arXiv:2503.12211, 2025. https://doi.org/10.48550/arXiv.2503.12211
Zhang L, Wang Z, Lu J. Differential-neural cryptanalysis on AES. IEICE Transactions on Information and Systems, 2024, E107.D(10): 1372–1375. https://doi.org/10.1587/transinf.2024EDL8044
Pehlivanoglu M K, Sakalli M T, Akleylek S, et al. Generalisation of Hadamard matrix to generate involutory MDS matrices for lightweight cryptography. IET Information Security, 2018, 12(4): 329–336. https://doi.org/10.1049/iet-ifs.2017.0156
Rezaeezade A, Batina L. Regularizers to the rescue: Fighting overfitting in deep learning-based side-channel analysis. Journal of Cryptographic Engineering, 2024, 14(3): 609–629. https://doi.org/10.1007/s13389-024-00361-5
Jacob B, Kligys S, Chen B, et al. Quantization and training of neural networks for efficient integer-arithmetic-only inference. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018: 2704–2713. https://doi.org/10.1109/CVPR.2018.00286
Ninan M, Nimmo E, Reilly S, et al. A second look at the portability of deep learning side-channel attacks over EM traces. Proceedings of the 27th International Symposium on Research in Attacks, Intrusions and Defenses (RAID ’24), 2024: 630–643. https://doi.org/10.1145/3678890.3678900
Sakalli M T, Akleylek S, Akkanat K, et al. On the automorphisms and isomorphisms of MDS matrices and their efficient implementations. Turkish Journal of Electrical Engineering and Computer Sciences, 2020, 28(1): 275–287. https://doi.org/10.3906/elk-1906-151

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Copyright (c) 2026 Journal of Cyber Security and Mobility
