# Towards Effective Fuzzing of EDK2 Components

DevFeed: [Towards Effective Fuzzing of EDK2 Components](<https://devfeed.tech/articles/towards-effective-fuzzing-of-edk2-components-116135.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03854>)

Author: Datta Manikanta Sri Hari Danduri, Connor Everett Glosner, Aravind Machiry

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>)

Tags: [bootloader](<https://devfeed.tech/tags/bootloader.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [drivers](<https://devfeed.tech/tags/drivers.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [framework](<https://devfeed.tech/tags/framework.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>), [tianocore](<https://devfeed.tech/tags/tianocore.md>), [uefi](<https://devfeed.tech/tags/uefi.md>), [user](<https://devfeed.tech/tags/user.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

Metis fuzzes edk2 boot-time protocols by rehosting them as user-space applications and injecting inputs through both protocol interfaces and their dependencies. It uses Direct-dependency Component Rehosting to create semantically meaningful dependency mocks, with static analysis and LLM-guided synthesis to generate and refine harnesses. Implemented on HBFA, it was evaluated on 60 drivers covering 162 protocols, achieving 73.1% coverage--about 1.7 times FuzzUEr's--and finding 137 previously unknown bugs. The authors report 26 to vendors, including 12 remotely triggerable bugs; vendors acknowledged all 26 reported vulnerabilities.

## Source excerpt

arXiv:2611.03854v1 Announce Type: new Abstract: Securing bootloaders is critical to establishing the trusted computing base of modern systems. TianoCore's edk2, the de facto UEFI-based bootloader, is widely deployed but has recently been shown to contain numerous high-severity vulnerabilities. Existing approaches either focus on post-boot interfaces or rely on heavyweight simulation, limiting their scalability, throughput, and coverage of boot-time components. We present Metis, an automated technique for fuzzing edk2 protocols (i.e., boot-time interfaces) by rehosting them as user-space applications. Our key insight is that effective fuzzing must exercise not only protocol interfaces but also their dependency interactions, which serve as additional input channels. Metis employs a Direct-dependency Component Rehosting (DCR)-based strategy to construct semantically meaningful mocks for dependencies, enabling controlled input injection across all channels. It further leverages a hybrid approach combining static analysis and Large Language Model (LLM)-guided synthesis to generate and refine fuzzing harnesses. We implement Metis on the Host Based Firmware Analyzer (HBFA) framework and evaluate it on 60 drivers covering 162 protocols. Metis achieves 73.1% coverage, approximately 1.7 times higher than FuzzUEr, the state-of-the-art edk2 fuzzing technique, and discovers 137 previously unknown bugs. We have already reported 26 of them, including 12 that are remotely triggerable, and all reported vulnerabilities have been acknowledged by the vendors.