A Feedback-Controlled Execution-Time Regulation Framework for Supressing Timing Side-Channel Leakage in Software Cryptographic Systems

  • Akinsanmi J. Akinboboye Federal University Oye-Ekiti
  • Olaitan Akinsanmi
  • Ayodele Oluwole
  • Oluwafemi Ilesanmi
  • Oluwatobi F. Akinboboye

Abstract

Timing side-channel attacks exploit variations in cryptographic execution time to infer sensitive information such as secret encryption keys. Existing software-based countermeasures, including constant-time implementations and random delay insertion, often require algorithmic modifications, introduce performance overhead, or remain susceptible to statistical leakage analysis. This paper proposes a feedback-controlled execution-time regulation framework that models execution time as a controllable system variable rather than an inherent property of the cryptographic algorithm. The proposed Timing Attack Control Mechanism (TACM) employs a first-order Infinite Impulse Response (IIR) filter to generate a stable timing reference and applies bounded delay enforcement to regulate externally observable execution time without modifying the Advanced Encryption Standard (AES) implementation. The framework was implemented using Python and OpenSSL libraries and evaluated using AES-128 over 10,000 encryption iterations. Experimental results show a 71.88% reduction in execution-time variance (from 0.32 ms² to 0.09 ms²), while the TVLA Welch's t-statistic decreased from 7.84 to 1.92, below the accepted leakage detection threshold of |t| = 4.5, indicating the absence of statistically detectable timing leakage. The framework introduces only minimal computational overhead and is suitable for software-based and resource-constrained cryptographic environments. The study demonstrates that feedback-based execution-time regulation provides a practical and lightweight control-theoretic approach for mitigating timing side-channel leakage in software cryptographic systems.

References

Aumasson, J.-P. (2017). Serious cryptography: A practical introduction to modern encryption. No Starch Press.

Balasch, J., Gierlichs, B., Verbauwhede, I., & Standaert, F.-X. (2020). An in-depth and black-box characterization of side-channel leakage. In Cryptographic Hardware and Embedded Systems – CHES 2020 (pp. 122–145). Springer.

Bernstein, D. J. (2005). Cache-timing attacks on AES (Technical Report). University of Illinois at Chicago. https://cr.yp.to/antiforgery/cachetiming-20050414.pdf

Bhasin, S., Danger, J.-L., Guilley, S., Najm, Z., & Nassar, M. (2021). A survey of side-channel attacks and countermeasures. Journal of Cryptographic Engineering, 11(4), 455–486. https://doi.org/10.1007/s13389-021-00255-8

Bonneau, J., & Mironov, I. (2006). Cache-collision timing attacks against AES. In Cryptographic Hardware and Embedded Systems – CHES 2006 (pp. 201–215). Springer.

Diffie, W., & Hellman, M. E. (1976). New directions in cryptography. IEEE Transactions on Information Theory, 22(6), 644–654.

Ding, Y., & Kang, B. (2020). Signal processing approaches for side-channel mitigation. IEEE Signal Processing Letters, 27, 987–991.

Dorf, R. C., & Bishop, R. H. (2017). Modern control systems (13th ed.). Pearson.

Goodwill, G., Jun, B., Jaffe, J., & Rohatgi, P. (2011). A testing methodology for side-channel resistance validation. Cryptography Research Inc.

Gullasch, D., Bangerter, E., & Krenn, S. (2011). Cache games: Bringing access-based cache attacks on AES to practice. In Proceedings of the IEEE Symposium on Security and Privacy (pp. 490–505). IEEE.

Ibrahim, N., & Agbinya, J. (2023). Lightweight cryptographic scheme for IoT devices. Sensors.

Joye, M., & Tunstall, M. (2017). Fault analysis in cryptography. Springer.

Katz, J., & Lindell, Y. (2020). Introduction to modern cryptography (3rd ed.). CRC Press.

Kocher, P. C. (1996). Timing attacks on implementations of Diffie-Hellman, RSA, DSS, and other systems. In N. Koblitz (Ed.), Advances in Cryptology – CRYPTO '96 (Lecture Notes in Computer Science, Vol. 1109, pp. 104–113). Springer. https://doi.org/10.1007/3-540-68697-5_9

Mangard, S., Oswald, E., & Popp, T. (2007). Power analysis attacks: Revealing the secrets of smart cards. Springer.

National Institute of Standards and Technology. (2001). Advanced Encryption Standard (AES) (FIPS PUB 197). U.S. Department of Commerce. https://doi.org/10.6028/NIST.FIPS.197

National Institute of Standards and Technology. (2018). Recommendation for block cipher modes of operation (Special Publication 800-38A). U.S. Department of Commerce.

National Institute of Standards and Technology. (2025). Ascon-based lightweight cryptography standards for constrained devices (NIST Special Publication 800-232). U.S. Department of Commerce.

Ogata, K. (2010). Modern control engineering (5th ed.). Prentice Hall.

Gus,it˘a, B., Anton, A., Stângaciu, C., & others. (2025). Securing IoT edge: A survey on lightweight cryptography, anonymous routing and communication protocol enhancements. International Journal of Information Security. DOI:10.1007/s10207-025-01071-7

Pandey, K., & Dubey, V. (2020). Secure cryptographic key management schemes for mobile networks. IEEE Communications Surveys & Tutorials, 22(1), 144–165. https://doi.org/10.1109/COMST.2019.2948994

Perrig, A., Szewczyk, R., Wen, V., Culler, D., & Tygar, J. D. (2002). SPINS: Security protocols for sensor networks. Wireless Networks, 8(5), 521–534.

Radhakrishnan, I., Chandrasekaran, S., & others. (2024). Efficiency and security evaluation of lightweight cryptographic algorithms. Sensors.

Rebeiro, C., Mukhopadhyay, D., & Bhattacharya, S. (2013). Timing attack resistant AES. IEEE Transactions on Computers, 62(8), 1632–1644. https://doi.org/10.1109/TC.2012.45

Rivest, R. L., Shamir, A., & Adleman, L. (1978). A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM, 21(2), 120–126.

Spreitzer, R., & Plos, T. (2013). Cache-access pattern attack on AES T-table implementations. In Proceedings of COSADE (pp. 19–32). Springer.

Suryateja, P. S., & Venkata Rao, K. (2024). A survey on lightweight cryptographic algorithms in IoT. Cybernetics and Information Technologies, 24(1), 1–15.

Thakor, V. A., Razzaque, M. A., & Khandaker, M. R. A. (2020). Lightweight cryptography algorithms for resource-constrained IoT devices: A review, comparison and research opportunities. IEEE Access, 8, 28177–28193.

Tromer, E., Osvik, D. A., & Shamir, A. (2010). Efficient cache attacks on AES, and countermeasures. Journal of Cryptology, 23(1), 37–71. https://doi.org/10.1007/s00145-009-9049-y

Veyrat-Charvillon, N., & Standaert, F.-X. (2011). Mutual information analysis: A comprehensive study. Journal of Cryptographic Engineering, 1(3), 187–201.

Yarom, Y., & Falkner, K. (2014). Flush+Reload: A high resolution, low noise, L3 cache side-channel attack. In Proceedings of the 23rd USENIX Security Symposium (pp. 719–732).

Zhang, Y., & Lee, W. (2000). Intrusion detection in wireless ad hoc networks. In Proceedings of the 6th Annual International Conference on Mobile Computing and Networking (MobiCom) (pp. 275–283). ACM.

Zhuang, H., & Liu, J. (2019). Stable IIR filter design for embedded systems. IEEE Transactions on Circuits and Systems, 66(4), 1123–1132.

.

Published
2026-06-30