Autors: Nikolova, D. V., Vladimirov, I. H., Terneva, Z. A.
Title: Software Implementation of CRA and TRA to Recover the AES-128 Key using Side-Channel Signals with Python3
Keywords: Side-channel attacks – Correlation Radio Attack, Template Radio Attack, AES-128, Python3, Hamming-weight model, Partial Guessing Entropy.

Abstract: n this scientific paper is presented a software implementation of two side-channel radio attacks: CRA – Correlation Radio Attack and TRA – Template Radio Attack. The main goal is to recover the AES-128 key from an unknown system. Both attacks are developed in Python3 using a Linux-based computer. The algorithm uses Probability Density Functions and the Hamming-weight model. The results are calculated by the Partial Guessing Entropy. The software is run on the CPU.


  1. Camurati, G., Poeplau, S., Muench, M., Hayes, T. Francillon, A., 2018, Screaming Channels: When Electromagnetic Side Channels Meet Radio Transceivers, Toronto, Canada, 15-19 October 2018, <New York>, Association for Computing Machinery
  2. Rai, V.K., Reddy, B.V., Tripathy, S., Mathew, J., 2019, Correlation power analysis and effective defense approach on light encryption device block cipher, Security and Privacy, Volume 2(5), pp. e87
  3. El Aabid, M.A., Guilley, S., Hoogvorst, P., 2007, Template Attacks with a Power Model, e-book, , Cryptology ePrint Archive, <>, Дата на последен преглед (Last accessed on): 09.09.2022
  4. Brier, E., Clavier, C., Olivier, F., 2004, Correlation Power Analysis with a Leakage Model, Cambridge, MA, USA, 11-13 August 2004, <Heidelberg>, Springer Berlin
  5. Li, H., Theodore Markettos, A., Moore, S., 2005, Security evaluation against electromagnetic analysis at design time, Napa Valley, CA, USA, 30 November - 2 December 2005, <USA>, IEEE
  6. Camurati, G., 2019, Screaming Channels, 09.09.2022, <>, Дата на последен преглед (Last accessed on):
  7. Vladimirov, I., Nikolova, D., Terneva, Z., 2020, Hardware implementation and comparison of CRA and TRA when trying to recover the AES-128 key, Nis, 10-12 September 2020, <Nis, Serbia>, IEEE


ICEST Conference, issue 55, pp. 259 - 262, 2020, Serbia, IEEE, DOI 10.1109/ICEST49890.2020.9232689

Copyright IEEE

Full text of the publication

Вид: постер/презентация в международен форум, публикация в реферирано издание, индексирана в Scopus