Back to search

State University of New York at Buffalo

Augmenting and Utilizing Trusted Execution Environments for Embedded System Security

Abstract

dc:description.abstract

The ubiquitous and rapid increase of embedded device usage in everyday life combined with weaker security measures has made them an exploitable entity for attackers in the ecosystem to perform malicious activities. Hardware security components have always been the building blocks to ensure the Confidentiality, Authenticity, and Integrity (CIA) of software applications across diverse computer systems. Trusted Execution Environments (TEE) is one of the essential security components in embedded systems that protect code and data loaded inside with respect to confidentiality and integrity from Rich Execution Environments (REEs). However, embedded TEEs remain susceptible to attacks due to microarchitectural flaws, design deficiencies, and software vulnerabilities in TEE applications. Some possible attacks on TEEs include cache side-channel attacks, confused deputy attacks, cold-boot attacks, malicious peripheral attacks, and memory corruption attacks in TEE applications developed in the C programming language. A compromised TEE completely breaks the security of the system as it generally has the highest privilege and leaves no way for it to recover. Apart from the failure to provide trustworthy computation, a compromised TEE renders TEE-based security mechanisms such as Control-Flow Attestation (CFA) ineffective. CFA is a compelling mechanism in the embedded ecosystem, where remote controller devices necessitate proof of trustworthy execution from low-end vulnerable systems, but require a dependable TEE as trust anchor. The low-end embedded systems lack security features like DEP, privilege separation, ASLR, or MMU. As a result, the bare-metal user applications executing without an OS in REE are vulnerable to basic exploits. While CFA is capable of constructing proof of REE software execution flow integrity, unsafe TEEs render it mutable as it can’t securely accommodate trusted CFA components. In addition to vulnerable TEEs, existing CFA solutions enclose two other limitations: unbounded execution trace and high-performance overhead. In this dissertation, we advocate two security mechanisms for the interconnected ecosystem of embedded controllers and low-end embedded worker systems, integrating software defenses with new hardware capabilities. (1) We investigate the root cause of the limitations in the existing TEEs for embedded devices and develop a novel TEE framework with Field Programmable Gate Arrays (FPGAs). FPGAs are an additional piece of hardware available on modern embedded systems, intended to act as accelerators alongside traditional CPUs. The availability and configurable characteristics of the FPGA hardware make it suitable for designing our BYOTEE framework, which augments TEEs by overcoming several limitations of existing embedded TEEs. (2) We delve into the shortcomings of existing remote attestation mechanisms forembedded systems and design a whole program CFA framework ENOLA, utilizing ARM TrustZone, ARM Pointer Authentication (ARM PA) hardware module, and a novel algorithm to ensure bounded trace generation. ARM PA is a cryptographic hardware component available in recent ARM microcontrollers, which we leverage to overcome the performance overhead limitation of existing solutions.

Degree

thesis:*
Grantor dc:publisher
State University of New York at Buffalo
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Armanuzzaman, MD; 0009-0004-5264-7962
Contributors dc:contributor
  • Zhao, Ziming
  • Computer Science and Engineering

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/10477/89915

Chain of custody

source
Harvested from
Buffalo
Base URL
ubir.buffalo.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Armanuzzaman, MD; 0009-0004-5264-7962. Augmenting and Utilizing Trusted Execution Environments for Embedded System Security. State University of New York at Buffalo, 2024. http://hdl.handle.net/10477/89915