arrow
返回

Fuzzing trusted execution environments with Rust

delete2025-03-01
delete0
PRE
AI
G
Grzegorz Blinowski *
M
Michał Szaknis
DOI:10.1016/j.cose.2024.104196delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Fuzzing, a software testing technique, aims to uncover bugs by subjecting the target program to random inputs, thus discerning abnormal program behaviors such as crashes. In this paper, we present the design and implementation of a fuzzing framework designed to test TEEs (Trusted Execution Environment). Our framework leverages established software tools in a novel way: (1) We employ the Rust programming language in a two-way code generator: to translate fuzzer output to a sequence of system calls and in a reverse translation process, where sample code snippets are used to seed the fuzzer - a single API specification suffices for both endeavors; (2) Our fuzzer exhibits the ability to iteratively traverse the API's specification, scrutinize object dependencies, and judiciously reuse objects. These features significantly amplify its bug-finding prowess. (3) A versatile Rust proc macro mechanism is used to process the API specification. The fuzzer's code is built with the Rust compiler sans the necessity for additional specialized tools. (4) To enable the efficient stateful execution of TEEs, we have tailored the QEMU system emulator accordingly. To verify the usability and performance of our fuzzer, and to test various configuration options we conducted a series of tests with a popular open-source OP-TEE trusted operating system.
Keyword:
Operating Systems Security
Operating System Fuzzing
Trusted Execution Environments
Rust

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

W
Warsaw University of Technology
学者数:
306
论文数: 123
被引数: 0
引用论文

引用论文

Fuzzing: A Survey for Roadmap模糊测试: 路线图调查
err2022-09-09
err105
PREAI
errZhu, Xiaogang; Wen, Sheng; Camtepe, Seyit; Xiang, Yang
err分享
err收藏
Embedded fuzzing: a review of challenges, tools, and solutions
err2022-09-02
err11
errOAAI
errEisele, Max; Maugeri, Marcello; Shriwas, Rachna; Huth, Christopher; Bella, Giampaolo
err分享
err收藏
err分享
err收藏
没有更多内容