Skip to main content

Research Repository

Advanced Search

Power analysis attacks on the AES-128 S-box using differential power analysis (DPA) and correlation power analysis (CPA)

Lo, Owen; Buchanan, William J; Carson, Douglas

Authors

Douglas Carson



Abstract

This article demonstrates two fundamental techniques of power analysis, differential power analysis (DPA) and correlation power analysis (CPA), against a modern piece of hardware which is widely available to the public: the Arduino Uno microcontroller. The DPA attack we implement is referred to as the Difference of Means attack while the CPA attack is implemented by building a power model of the device using the Hamming Weight Power Model method. The cryptographic algorithm we have chosen to attack is AES-128. In particular, the AddRoundKey and SubBytes functions of this algorithm are implemented on an Arduino Uno and we demonstrate how the full 16-byte cipher key can be deduced using the two techniques by monitoring the power consumption of the device during cryptographic operations. The results of experimentation find that both forms of attack, DPA and CPA, are viable against the Arduino Uno. However, it was found that CPA produces results which are easier to interpret from an analytical perspective. Thus, our contributions in this article is providing a side-by-side comparison on how applicable these two power analysis attack techniques are along with providing a methodology to enable readers to replicate and learn how one may perform such attacks on their own hardware.

Citation

Lo, O., Buchanan, W. J., & Carson, D. (2016). Power analysis attacks on the AES-128 S-box using differential power analysis (DPA) and correlation power analysis (CPA). Journal of Cyber Security Technology, 1(2), 88-107. https://doi.org/10.1080/23742917.2016.1231523

Journal Article Type Article
Acceptance Date Aug 30, 2016
Online Publication Date Sep 19, 2016
Publication Date Sep 19, 2016
Deposit Date Nov 22, 2016
Journal Journal of Cyber Security Technology
Print ISSN 2374-2917
Electronic ISSN 2374-2925
Publisher Taylor & Francis
Peer Reviewed Peer Reviewed
Volume 1
Issue 2
Pages 88-107
DOI https://doi.org/10.1080/23742917.2016.1231523
Keywords Power analysis, Side Channel Attacks, AES, DPA, CPA
Public URL http://researchrepository.napier.ac.uk/Output/426370