Search papers, labs, and topics across Lattice.
This paper introduces a straightforward transformer-based approach for executing full-key side-channel attacks on uncropped datasets, addressing the limitations of previous methods that focused on cropped traces. By utilizing a standard transformer encoder and adapting only the input and output layers, the authors provide an efficient and effective solution that competes with existing architectures. The open-source implementation, along with training recipes and pretrained weights, demonstrates high performance while significantly reducing resource requirements, achieving results in under 3.34 hours on a single NVIDIA A6000.
Achieving competitive performance in full-key side-channel attacks on uncropped datasets with a simple transformer model could revolutionize the field by making advanced techniques more accessible.
Deep learning-based side-channel analysis has historically focused on single-byte targets and manually cropped traces, which risks discarding exploitable leakage. While recent work has proposed specialized architectures and resampling techniques to address this gap, the literature lacks a simple transformer baseline for simultaneous full-key attacks on uncropped traces. We present an open-source transformer implementation for uncropped full-key attacks which uses the standard transformer encoder backbone, adapting only the input and output layers to the side-channel setting. We release our implementation, training recipes, and pretrained weights for uncropped ASCADv1f, ASCADv1r, and CHES-CTF-2018 which achieve performance competitive with previously-reported results, while using less than 10GB of VRAM and requiring at most 3.34 hours of training on a single NVIDIA A6000.