InsectACIDE: Debugger-Based Holistic Asynchronous CFI for Embedded System

Yujie Wang, Cailani Lemieux Mack, Xi Tan, Ning Zhang, Ziming Zhao, Sanjoy Baruah, Bryan C. Ward

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Real-Time and embedded systems are predominantly written in C, a language that is notoriously not memory safe. This has led to widespread memory-corruption vulnerabilities in real-Time embedded cyber-physical systems (CPS). This is concerning, as such devices are becoming increasingly networked with the Internet of Things (IoT) and other communication technologies (e.g., 5G), rendering them vulnerable to remote attacks. Attackers have demonstrated how memory-corruption vulnerabilities can be used to hijack program control flow to implement arbitrary attacker-controlled logic. One class of defenses that has been developed to prevent such attacks is called control-flow integrity (CFI), which applies checks at control-flow transitions to ensure the target is valid. Unfortunately, attackers have shown how to divert control flow to seemingly valid targets in an invalid and malicious sequence. This paper presents InsectACIDE, the first holistic CFI for embedded and real-Time systems that does not require binary instrumentation and that is context sensitive, i.e., it checks that the sequence of control-flow transitions taken is valid, not just individual transitions, thereby detecting such attacks. InsectACIDE is implemented on an embedded Cortex-M processor using the TrustZone trusted execution environment, and holistic context-sensitive CFI is enforced for both applications and the kernel. InsectACIDE uses hardware debugging features on the Cortex-M processor and therefore does not require any kernel or application binary modification. Experimental results show that InsectACIDE incurs significantly less runtime overhead compared to the state-of-The-Art holistic CFI solution. Real-Time schedulability analysis is presented, along with a schedulability evaluation, to demonstrate the tradeoff between stronger protection and real-Time schedulability.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium, RTAS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages360-372
Number of pages13
ISBN (Electronic)9798350358414
DOIs
StatePublished - 2024
Event30th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2024 - Hong Kong, China
Duration: May 13 2024May 16 2024

Publication series

NameProceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS
ISSN (Print)1545-3421

Conference

Conference30th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2024
Country/TerritoryChina
CityHong Kong
Period05/13/2405/16/24

Fingerprint

Dive into the research topics of 'InsectACIDE: Debugger-Based Holistic Asynchronous CFI for Embedded System'. Together they form a unique fingerprint.

Cite this