SCNIFFER: Sniffagem de Canal Lateral Eletromagnético Automatizada, de Baixo Custo e Eficiente
SCNIFFER: Low-Cost, Automated, Efficient Electromagnetic Side-Channel Sniffing
SCNIFFER: Low-Cost, Automated, Efficient Electromagnetic Side-Channel Sniffing
@misc{danial2019scniffer,
title = {SCNIFFER: Low-Cost, Automated, Efficient Electromagnetic Side-Channel Sniffing},
author = {Josef Danial and Debayan Das and Santosh Ghosh and Arijit Raychowdhury and Shreyas Sen},
year = {2019},
eprint = {1908.09407},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/1908.09407}
}
Danial, J., Das, D., Ghosh, S., Raychowdhury, A., & Sen, S. (2019). SCNIFFER: Low-Cost, Automated, Efficient Electromagnetic Side-Channel Sniffing [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.09407
DANIAL J, DAS D, GHOSH S, et al. SCNIFFER: Low-Cost, Automated, Efficient Electromagnetic Side-Channel Sniffing[EB/OL]. (2019-08-25)[2026-11-29]. https://arxiv.org/abs/1908.09407.
Resumo
A análise de canais laterais eletromagnéticos (EM SCA) é uma ferramenta proeminente para quebrar motores criptográficos matematicamente seguros, especialmente em dispositivos IoT com recursos limitados. Atualmente, para realizar EM SCA em um dispositivo IoT embarcado, todo o chip é manualmente varrido e a análise de MTD (Minimum Traces to Disclosure) é executada em cada ponto do chip para revelar a chave secreta do algoritmo de criptografia. No entanto, falta um framework automatizado de ponta a ponta para localização de vazamento EM, aquisição de rastros e ataque. Este trabalho propõe o SCNIFFER: uma plataforma automatizada de baixo custo para SNIFFING de vazamentos de Canais Laterais EM para realizar ataques de Canais Laterais de ponta a ponta de forma eficiente. Utilizando uma medida de vazamento, como TVLA ou SNR, propomos uma heurística de busca por gradiente gulosa que converge para um dos pontos de maior vazamento EM no chip (dimensão: N x N) em O(N) iterações e, em seguida, realiza a Análise Correlacional de Vazamento EM (CEMA) nesse ponto. Isso reduz o tempo de ataque CEMA em N vezes em comparação com uma análise MTD exaustiva e em >20x em comparação com a escolha de um local de ataque aleatoriamente. Demonstramos o SCNIFFER utilizando um scanner 3-D customizado de baixo custo com uma sonda de campo H (<500) compared to >50.000 scanners EM comerciais) e uma variedade de microcontroladores como dispositivos sob ataque. O framework SCNIFFER foi avaliado para vários algoritmos criptográficos (AES-128, DES, RSA) executados tanto em um microcontrolador Atmega de 8 bits quanto em um microcontrolador ARM de 32 bits para encontrar um ponto de alto vazamento e, em seguida, realizar uma CEMA nesse ponto.
Electromagnetic (EM) side-channel analysis (SCA) is a prominent tool to break mathematically-secure cryptographic engines, especially on resource-constrained IoT devices. Presently, to perform EM SCA on an embedded IoT device, the entire chip is manually scanned and the MTD (Minimum Traces to Disclosure) analysis is performed at each point on the chip to reveal the secret key of the encryption algorithm. However, an automated end-to-end framework for EM leakage localization, trace acquisition, and attack has been missing. This work proposes SCNIFFER: a low-cost, automated EM Side Channel leakage SNIFFing platform to perform efficient end-to-end Side-Channel attacks. Using a leakage measure such as TVLA, or SNR, we propose a greedy gradient-search heuristic that converges to one of the points of highest EM leakage on the chip (dimension: N x N) within O(N) iterations, and then perform Correlational EM Analysis (CEMA) at that point. This reduces the CEMA attack time by N times compared to an exhaustive MTD analysis, and >20x compared to choosing an attack location at random. We demonstrate SCNIFFER using a low-cost custom-built 3-D scanner with an H-field probe (<500) compared to >50,000 commercial EM scanners, and a variety of microcontrollers as the devices under attack. The SCNIFFER framework is evaluated for several cryptographic algorithms (AES-128, DES, RSA) running on both an 8-bit Atmega microcontroller and a 32-bit ARM microcontroller to find a point of high leakage and then perform a CEMA at that point.