arrow
Return

A State-Aware Fuzzing Method for Trusted Execution Environment Kernels

delete2026-02-01
delete0
PRE
AI
Q
Qiang Zhang
G
Guo, Mengjun *
Y
Yunfei Qiu
Q
Qingyang Meng
DOI:10.1002/smr.70085delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Trusted execution environments (TEEs) are widely used, and their kernel security has become a significant area of focus. Fuzzing, a powerful technique for detecting vulnerabilities in operating systems, has increasingly been applied to the security analysis of TEEs. However, conventional fuzzing tools cannot be directly used for TEE kernels due to their isolation. Coverage-guided fuzzers often discard test cases that trigger new states but cover the same code, which limits their effectiveness in discovering vulnerabilities. To address these challenges, we propose a state-aware fuzzing method specifically designed for TEE kernels. Initially, we develop a modeling and tracing approach to represent the program state through state-variable values, overcoming the limitations of coverage-guided fuzzers. Subsequently, we propose a new communication scheme to address the issues resulting from the isolation of TEEs. Additionally, new seed preservation and selection algorithms are put forward to better guide the fuzzer in exploring vulnerabilities. Finally, we employ the N-gram model to enhance the test case generation process and optimize the framework's performance. We have implemented a prototype called Trusty-Statefuzz and evaluated it on Fuchsia, our self-developed microkernel operating system Nebula, and the OP-TEE. The evaluation results show that Trusty-Statefuzz is effective at detecting both new code and vulnerabilities. Trusty-Statefuzz discovers nine unknown vulnerabilities and 23 known vulnerabilities. Additionally, it achieves 13% higher code coverage and 27% higher state coverage than the state-of-the-art fuzzer Syzkaller.
Keywords:
fuzzing
kernel
N-gram
trusted execution environment

Journal

J
Journal of Software-Evolution and Process
IF:
1.8
Papers:
69
Citations:
1.5K

Organization

L
Liaoning Technical University
Scholars:
1.5K
Papers: 520
Citations: 2.2K
Cited Papers

Cited Papers

Prospex: Protocol Specification Extraction
err2009-05-01
err0
PREAI
errPaolo Milani Comparetti; Gilbert Wondracek; Christopher Kruegel; Engin Kirda
errShare
errSave
DTA: Run TrustZone TAs Outside the Secure World for Security Testing
err2024-01-01
err0
errOAAI
errSong, Juhyun; Jo, Eunji; Kim, Jaehyu
errShare
errSave
TEEzz: Fuzzing Trusted Applications on COTS Android Devices
err2023-05-01
err0
PREAI
errMarcel Busch; Aravind Machiry; Chad Spensky; Giovanni Vigna; Christopher Kruegel; Mathias Payer
errShare
errSave
An Overview of Microkernel Based Operating Systems
err2021-04-01
err0
PREAI
errIsaac,Odun-Ayo; Okokpujie,Kennedy; Akinwumi,Hannah; Juwe,Jesse; Otunuya,Henry; Alagbe,Oladapo
errShare
errSave
researcher View more