Update If You Dare: Demystifying Bare-Metal Device Firmware Update Security of Appified IoT Systems

Due to the economy and low power consumption features, bare-metal IoT devices have been widely used in various areas of our life, and they are usually paired with companion mobile apps to configure them and view their states (a.k.a., appified IoT system). The IoT systems have already become the lucrative and profitable targets for attackers because the compromised IoT devices will pose severe threats to IoT security and reliability. This problem become worse on bare-metal IoT devices since the tradeoff among price, functionality, performance, and energy efficiency usually results in insufficient security protection. Such bare-metal IoT devices usually adopt OTA (Over-The-Air) methods to update firmware, which is managed by the companion apps running on smartphones. Despite the prevalence of these appified IoT systems, there is a lack of systematic research on the security of bare-metal IoT device firmware update (DFU), although recent studies have reported security flaws in such systems. In this article, we propose a holistic approach to investigate DFU security of these appified IoT systems through collaborative analyzing the bare-metal firmware and the companion app. Additionally, we have developed an IoT system analysis framework named <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to automate the complex and time-consuming analysis tasks and facilitate the investigation. After applying <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to analyze 1,637 companion IoT apps, we found 710 of them contained security flaws spanning all three DFU stages: authentication, firmware acquisition, and firmware verification. Furthermore, we leveraged <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to investigate the bare-metal DFU security of six commercial appified IoT systems, and discovered they all had DFU flaws, which we successfully exploited to launch proof-of-concept firmware modification attacks. The affected vendors have acknowledged our findings and addressed the security flaws.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Dependable and Secure Computing
Published
2024-11-20
DOI
https://doi.org/10.1109/tdsc.2024.3496658
Primary Topic
Recycling and Waste Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Update If You Dare: Demystifying Bare-Metal Device Firmware Update Security of Appified IoT Systems

Qiyi Tang, Zhiqiang Cai, Le Yu, Guofei Gu et al.
IEEE Transactions on Dependable and Secure Computing
Recycling and Waste Management Techniques
article

Update If You Dare: Demystifying Bare-Metal Device Firmware Update Security of Appified IoT Systems

Qiyi Tang, Zhiqiang Cai, Le Yu, Guofei Gu, Sen Nie, Lei Xue, Xiapu Luo, Chenxu Wang, Yuxiao Yan, Shi Wu
article en

Abstract

Due to the economy and low power consumption features, bare-metal IoT devices have been widely used in various areas of our life, and they are usually paired with companion mobile apps to configure them and view their states (a.k.a., appified IoT system). The IoT systems have already become the lucrative and profitable targets for attackers because the compromised IoT devices will pose severe threats to IoT security and reliability. This problem become worse on bare-metal IoT devices since the tradeoff among price, functionality, performance, and energy efficiency usually results in insufficient security protection. Such bare-metal IoT devices usually adopt OTA (Over-The-Air) methods to update firmware, which is managed by the companion apps running on smartphones. Despite the prevalence of these appified IoT systems, there is a lack of systematic research on the security of bare-metal IoT device firmware update (DFU), although recent studies have reported security flaws in such systems. In this article, we propose a holistic approach to investigate DFU security of these appified IoT systems through collaborative analyzing the bare-metal firmware and the companion app. Additionally, we have developed an IoT system analysis framework named <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to automate the complex and time-consuming analysis tasks and facilitate the investigation. After applying <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to analyze 1,637 companion IoT apps, we found 710 of them contained security flaws spanning all three DFU stages: authentication, firmware acquisition, and firmware verification. Furthermore, we leveraged <inline-formula><tex-math notation="LaTeX">$\mathsf{BareDFU}$</tex-math></inline-formula> to investigate the bare-metal DFU security of six commercial appified IoT systems, and discovered they all had DFU flaws, which we successfully exploited to launch proof-of-concept firmware modification attacks. The affected vendors have acknowledged our findings and addressed the security flaws.

IEEE Transactions on Dependable and Secure ComputingVol. 22(3)
Hong Kong Polytechnic University (HK), Sun Yat-sen University (CN), Tencent (China) (CN), Nanjing University of Posts and Telecommunications (CN), Xi'an Jiaotong University (CN), Texas A&M University (US)
Openalex Percentile: Top 74%
Recycling and Waste Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.