D-Box: DMA-enabled Compartmentalization for Embedded Applications

01/13/2022
by   Alejandro Mera, et al.
0

Embedded and Internet-of-Things (IoT) devices have seen an increase in adoption in many domains. The security of these devices is of great importance as they are often used to control critical infrastructure, medical devices, and vehicles. Existing solutions to isolate microcontroller (MCU) resources in order to increase their security face significant challenges such as specific hardware unavailability, Memory Protection Unit (MPU) limitations and a significant lack of Direct Memory Access (DMA) support. Nevertheless, DMA is fundamental for the power and performance requirements of embedded applications. In this paper, we present D-Box, a systematic approach to enable secure DMA operations for compartmentalization solutions of embedded applications using real-time operating systems (RTOS). D-Box defines a reference architecture and a workflow to protect DMA operations holistically. It provides practical methods to harden the kernel and define capability-based security policies for easy definition of DMA operations with strong security properties. We implemented a D-Box prototype for the Cortex-M3/M4 on top of the popular FreeRTOS-MPU (F-MPU). The D-Box procedures and a stricter security model enabled DMA operations, yet it exposed 41 times less ROP (return-orienting-programming) gadgets when compared with the standard F-MPU. D-Box adds only a 2 peripheral operation benchmarks by 18.2 performance of D-Box were tested and confirmed on a real-world case study of a Programmable Logic Controller (PLC) application.

READ FULL TEXT
research
08/09/2019

Good Motive but Bad Design: Why ARM MPU Has Become an Outcast in Embedded Systems

As more and more embedded devices are connected to the Internet, leading...
research
03/14/2023

Software-based security approach for networked embedded devices

As the Internet of Things (IoT) continues to expand, data security has b...
research
01/17/2023

PUF for the Commons: Enhancing Embedded Security on the OS Level

Security is essential for the Internet of Things (IoT). Cryptographic op...
research
03/01/2023

Security of RPL Based 6LoWPAN Networks in the Internet of Things: A Review

Internet of Things (IoT) is one of the fastest emerging networking parad...
research
05/13/2020

Grand Challenges for Embedded Security Research in a Connected World

Protecting embedded security is becoming an increasingly challenging res...
research
03/14/2022

Building Embedded Systems Like It's 1996

Embedded devices are ubiquitous. However, preliminary evidence shows tha...
research
04/02/2019

A Review of Critical Infrastructure Protection Approaches: Improving Security through Responsiveness to the Dynamic Modelling Landscape

As new technologies such as the Internet of Things (IoT) are integrated ...

Please sign up or login with your details

Forgot password? Click here to reset