SCNIFFER: 저비용, 자동화, 효율적인 전자기 사이드채널 스니핑
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.
초록
전자기 (EM) 사이드채널 분석 (SCA) 은 수학적 보안이 확보된 암호학적 엔진을 해독하는 주요 도구로, 특히 자원이 제한된 IoT 기기에 적용될 때 더욱 중요하게 사용된다. 현재 임베디드 IoT 기기에 EM SCA 를 수행하기 위해서는 칩 전체를 수동으로 스캔하고, 암호화 알고리즘의 비밀 키를 드러내기 위해 칩의 각 지점에서 최소 추적 수 (MTD) 분석을 수행해야 한다. 그러나 EM 누출 위치 식별, 추적 획득, 공격을 수행하는 자동화된 엔드 투 엔드 프레임워크는 아직 존재하지 않았다. 본 논문은 비용 효율적이고 자동화된 EM 사이드채널 누출 SNIFFing 플랫폼인 SCNIFFER 를 제안하며, 이를 통해 효율적인 엔드 투 엔드 사이드채널 공격을 수행한다. TVLA 나 SNR 과 같은 누출 측정치를 사용하여, 칩 (차원: N x N) 상에서 EM 누출이 가장 높은 지점 중 하나에 수렴하도록 하는 탐욕적 경사도 검색 휴리스틱을 제안한다. 이 알고리즘은 O(N) 번의 반복 내에서 최적점을 찾은 후 해당 지점에서 상관관계 기반 EM 분석 (CEMA) 을 수행한다. 이는 완전 탐색 MTD 분석에 비해 공격 시간을 약 N 배, 무작위 공격 위치 선택에 비해 20 배 이상 단축시킨다. 본 연구에서는 저비용 커스텀 3D 스캐너와 H-필드 프로브 (<500) compared to >50,000 개에 해당하는 상용 EM 스캐너) 를 사용하여 SCNIFFER 를 구현하였으며, 공격 대상 기기로 다양한 마이크로컨트롤러를 활용하였다. SCNIFFER 프레임워크는 8 비트 Atmega 마이크로컨트롤러와 32 비트 ARM 마이크로컨트롤러에 실행되는 AES-128, DES, RSA 등 여러 암호학적 알고리즘에 대해 적용하여 고누출 지점을 식별하고 해당 지점에서 CEMA 를 수행하는 것을 평가하였다.
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.