On Security of TrustZone-M-Based IoT Systems
- 19 January 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 9 (12) , 9683-9699
Abstract
Internet of Things (IoT) devices have been increasingly integrated into our daily life. However, such smart devices suffer a broad attack surface. Particularly, attacks targeting the device software at runtime are challenging to defend against if IoT devices use resource-constrained microcontrollers (MCUs). TrustZone-M, a TrustZone extension designed specifically for MCUs, is an emerging hardware security technique fortifying software security of MCU-based IoT devices. This article introduces a comprehensive security framework for IoT devices using TrustZone-M-enabled MCUs, in which device security is protected in five dimensions, i.e., hardware, boot-time software, runtime software, network, and over-the-air (OTA) update. Along developing the framework, we also present the first security analysis of potential runtime software security issues in TrustZone-M-enabled MCUs. In particular, we explore the feasibility of launching stack-based buffer overflow (BOF) attack for code injection, return-oriented programming (ROP) attack, heap-based BOF attack, format string attack, and attacks against nonsecure callable (NSC) functions in the context of TrustZone-M. We validate these attacks using SAM L11, a microchip MCU with TrustZone-M and provide defense mechanisms in the runtime software dimension of the proposed framework. The security framework is implemented with a full-fledged secure and trustworthy air quality monitoring device using SAM L11 as its MCU.Keywords
Funding Information
- National Key Research and Development Program of China (2018YFB0803400, 2018YFB2100300)
- U.S. National Science Foundation (1931871, 1915780, 1643835)
- U.S. Department of Energy (DE-EE0009152)
- National Natural Science Foundation of China (62022024, 61972088, 62072103, 62072098)
- Jiangsu Provincial Natural Science Foundation for Excellent Young Scholars (BK20190060)
- Jiangsu Provincial Key Laboratory of Network and Information Security (BM2003201)
- Key Laboratory of Computer Network and Information Integration of Ministry of Education of China (93K-9)
- Collaborative Innovation Center of Novel Software Technology and Industrialization
This publication has 24 references indexed in Scilit:
- Exploiting Memory Corruption Vulnerabilities in Connman for IoT Devices2019
- How TrustZone Could Be Bypassed: Side-Channel Attacks on a Modern System-on-ChipLecture Notes in Computer Science, 2018
- CFI CaRE: Hardware-Supported Call and Return Enforcement for Commercial Microcontrollers2017
- Protecting Bare-Metal Embedded Systems with Privilege Overlays2017
- C-FLAT2016
- Secure Containers in Android2016
- Analyzing the Gadgets2016
- Differential Fault Analysis of the Advanced Encryption Standard Using a Single Fault2011
- Control-flow integrity principles, implementations, and applicationsACM Transactions on Information and System Security, 2009
- Transparent runtime randomization for security2004