k-Nearest Neighbors Algorithm in Profiling Power Analysis Attacks

Z. Martinasek, V. Zeman, L. Malina, J. Martinasek

k-Nearest Neighbors Algorithm in Profiling Power Analysis Attacks

Číslo: 2/2016
Periodikum: Radioengineering Journal
DOI: 10.13164/re.2016.0365

Klíčová slova: Power Analysis, Machine Learning, Template Attack, Comparison, Smart Cards, Analýza výkonu, strojové učení, šablonový útok, srovnání, inteligentní karty

Pro získání musíte mít účet v Citace PRO.

Přečíst po přihlášení

Anotace: Power analysis presents the typical example of successful attacks against trusted cryptographic devices such as RFID (Radio-Frequency IDentifications) and contact smart cards. In recent years, the cryptographic community has explored new approaches in power analysis based on machine learning models such as Support Vector Machine (SVM), RF (Random Forest) and Multi-Layer Perceptron (MLP). In this paper, we made an extensive comparison of machine learning algorithms in the power analysis. For this purpose, we implemented a verification program that always chooses the optimal settings of individual machine learning models in order to obtain the best classification accuracy. In our research, we used three datasets, the first containing the power traces of an unprotected AES (Advanced Encryption Standard) implementation. The second and third datasets are created independently from public available power traces corresponding to a masked AES implementation (DPA Contest v4). The obtained results revealed some interesting facts, namely, an elementary k-NN (k-Nearest Neighbors) algorithm, which has not been commonly used in power analysis yet, shows great application potential in practice.