Time-frequency analysis for second-order attacks
Résumé
Second-order side-channel attacks are used to break first- order masking protections. A practical reason which often limits the efficiency of second-order attacks is the temporal localisation of the leak- ing samples. Several pairs of leakage samples must be combined which means high computational power. For second-order attacks, the com- putational complexity is quadratic. At CHES ’04, Waddle and Wagner introduced attacks with complexity O(n log2 n) on traces collected from a hardware cryptographic implementation, where n is the window size, by working on traces auto-correlation. Nonetheless, the two samples must belong to the same window which is (normally) not the case for software implementations. In this article, we introduce preprocessing tools that improve the efficiency of bi-variate attacks (while keeping a complexity of O(n log2 n)), even if the two samples that leak are far away one from the other (as in software). We put forward two main improvements. Firstly, we introduce a method to avoid losing the phase information. Next, we empirically notice that keeping the analysis in the frequency domain can be beneficial for the attack. We apply these attacks in practice on real measurements, publicly available under the DPA Contest v4, to evalu- ate the proposed techniques. An attack using a window as large as 4000 points is able to reveal the key in only 3000 traces.
Origine | Fichiers produits par l'(les) auteur(s) |
---|