Cargando…

Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage

With the development of 5G and network technology, the usage of IoT devices has become popular. Because most of these IoT devices can be controlled by an adversary away from the administrator, several security issues such as firmware dumping can arise. Firmware dumping is the cornerstone or goal of...

Descripción completa

Detalles Bibliográficos
Autores principales: Bae, Daehyeon, Ha, Jaecheol
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9371420/
https://www.ncbi.nlm.nih.gov/pubmed/35957457
http://dx.doi.org/10.3390/s22155900
_version_ 1784767136298696704
author Bae, Daehyeon
Ha, Jaecheol
author_facet Bae, Daehyeon
Ha, Jaecheol
author_sort Bae, Daehyeon
collection PubMed
description With the development of 5G and network technology, the usage of IoT devices has become popular. Because most of these IoT devices can be controlled by an adversary away from the administrator, several security issues such as firmware dumping can arise. Firmware dumping is the cornerstone or goal of many types of hardware hacking. Therefore, many IoT device manufacturers adopt some protection mechanisms such as the restriction of hardware debuggers. However, several recent studies have shown that the operating instructions of an IoT device can be recovered through the profiling-based side-channel analysis. The Side-Channel-Based Disassembler (SCBD) refers to software that recovers instructions of the device only from the side-channel signal. The SCBD is powerful enough to defeat many firmware protection mechanisms. In this paper, we show how an adversary can build an instruction (opcode)-level disassembler using the power consumption signal of commercial microcontrollers (MCUs) such as the 8-bit ATxmega128 and 32-bit STM32F0. To implement the SCBD, we elaborately constructed the instruction template considering the pipeline of the target MCUs through instruction sequence analysis. Furthermore, we preprocessed the side-channel signals using the Continuous Wavelet Transform (CWT) for noise reduction and Kullback-Leibler Divergence (KLD) for instruction feature extraction. Our experimental results show that the machine-learning-based instruction disassembling models can recover the operating instructions with an accuracy of about 91.9% and 98.6% for the ATxmega128 and STM32F0, respectively. Furthermore, we achieved an accuracy of 77% and 96.5% in a cross-board validation.
format Online
Article
Text
id pubmed-9371420
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-93714202022-08-12 Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage Bae, Daehyeon Ha, Jaecheol Sensors (Basel) Article With the development of 5G and network technology, the usage of IoT devices has become popular. Because most of these IoT devices can be controlled by an adversary away from the administrator, several security issues such as firmware dumping can arise. Firmware dumping is the cornerstone or goal of many types of hardware hacking. Therefore, many IoT device manufacturers adopt some protection mechanisms such as the restriction of hardware debuggers. However, several recent studies have shown that the operating instructions of an IoT device can be recovered through the profiling-based side-channel analysis. The Side-Channel-Based Disassembler (SCBD) refers to software that recovers instructions of the device only from the side-channel signal. The SCBD is powerful enough to defeat many firmware protection mechanisms. In this paper, we show how an adversary can build an instruction (opcode)-level disassembler using the power consumption signal of commercial microcontrollers (MCUs) such as the 8-bit ATxmega128 and 32-bit STM32F0. To implement the SCBD, we elaborately constructed the instruction template considering the pipeline of the target MCUs through instruction sequence analysis. Furthermore, we preprocessed the side-channel signals using the Continuous Wavelet Transform (CWT) for noise reduction and Kullback-Leibler Divergence (KLD) for instruction feature extraction. Our experimental results show that the machine-learning-based instruction disassembling models can recover the operating instructions with an accuracy of about 91.9% and 98.6% for the ATxmega128 and STM32F0, respectively. Furthermore, we achieved an accuracy of 77% and 96.5% in a cross-board validation. MDPI 2022-08-07 /pmc/articles/PMC9371420/ /pubmed/35957457 http://dx.doi.org/10.3390/s22155900 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Bae, Daehyeon
Ha, Jaecheol
Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title_full Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title_fullStr Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title_full_unstemmed Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title_short Implementation of Disassembler on Microcontroller Using Side-Channel Power Consumption Leakage
title_sort implementation of disassembler on microcontroller using side-channel power consumption leakage
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9371420/
https://www.ncbi.nlm.nih.gov/pubmed/35957457
http://dx.doi.org/10.3390/s22155900
work_keys_str_mv AT baedaehyeon implementationofdisassembleronmicrocontrollerusingsidechannelpowerconsumptionleakage
AT hajaecheol implementationofdisassembleronmicrocontrollerusingsidechannelpowerconsumptionleakage