CRJan 5, 2022

Clustering versus Statistical Analysis for SCA: when Machine Learning is Better

arXiv:2201.01717v13 citations
AI Analysis

This work addresses the problem of evaluating cryptographic implementations against side-channel attacks for designers, but it is incremental as it compares existing methods rather than introducing new ones.

The paper compared a simple statistical method (comparison to the mean) and K-means clustering for analyzing power traces in side-channel attacks on elliptic curve point multiplication, finding that K-means remains effective even with highly unbalanced scalars, whereas the statistical method fails unless the scalar is balanced.

Evaluation of the resistance of implemented cryptographic algorithms against SCA attacks, as well as detecting of SCA leakage sources at an early stage of the design process, is important for an efficient re-design of the implementation. Thus, effective SCA methods that do not depend on the key processed in the cryptographic operations are beneficially and can be a part of the efficient design methodology for implementing cryptographic approaches. In this work we compare two different methods that are used to analyse power traces of elliptic curve point multiplications. The first method the comparison to the mean is a simple method based on statistical analysis. The second one is K-means - the mostly used unsupervised machine learning algorithm for data clustering. The results of our early work showed that the machine learning algorithm was not superior to the simple approach. In this work we concentrate on the comparison of the attack results using both analysis methods with the goal to understand their benefits and drawbacks. Our results show that the comparison to the mean works properly only if the scalar processed during the attacked kP execution is balanced, i.e. if the number of '1' in the scalar k is about as high as the number of '0'. In contrast to this, K-means is effective also if the scalar is highly unbalanced. It is still effective even if the scalar k contains only a very small number of '0' bits.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes