National Cyber Warfare Foundation (NCWF)login

tsffs for snapshot fuzzing UEFI, BIOS and firmware targets


0 user ratings
2026-11-05 09:28:11
milo
Red Team (CNA)
"tsffs

Intel's tsffs is a snapshotting, coverage-guided fuzzer built on the SIMICS full-system simulator, designed for authorized testing of UEFI, BIOS, kernel and firmware code.








Toolintel/tsffs — snapshotting, coverage-guided fuzzer for UEFI, BIOS, kernel and firmware targets, built on SIMICS and LibAFL
CategoryCoverage-guided fuzzing / full-system simulation
Primary UseFinding and triaging memory-safety bugs in hard-to-fuzz targets like EDKII-based UEFI applications, bootloaders, kernel drivers and device firmware in a lab
Safe UseIntended for authorized security research, product security teams and firmware developers testing code they own in isolated simulation environments
Telemetry NoteRuns entirely inside a SIMICS simulation and Docker, producing no network traffic against third parties; defenders observe it as a local lab tool generating crash artifacts and coverage data

Fuzzing firmware has always been the awkward corner of the security testing world. Targets like UEFI applications, BIOS code and early-boot device drivers depend on hardware state that is difficult to reproduce in a normal process-level harness, and a crash often means losing the very machine you were testing on. tsffs, officially the Target Software Fuzzer For SIMICS, is Intel's answer to that problem: a snapshotting, coverage-guided fuzzer built on top of the SIMICS full-system simulator. Because the target executes inside a deterministic simulation, the fuzzer can rewind the entire machine to a known-good snapshot after every test case, turning even the most fragile boot-phase code into a repeatable, high-throughput fuzzing target.


The architecture is the interesting part. tsffs combines SIMICS, which models the full system including CPUs, memory and devices, with LibAFL, the modern fuzzing framework from the AFL++ ecosystem. SIMICS supplies the deterministic execution environment and the snapshot capability, while LibAFL supplies the mutation engine, scheduling and coverage instrumentation. The README highlights that the tool takes advantage of state-of-the-art features from both sides, which is a fair claim given what it lists: edge-coverage guidance, fully deterministic snapshotting, and parallel fuzzing across cores with multi-machine support on the roadmap.


The capability list reads like a checklist of modern fuzzing research. Beyond basic coverage guidance, tsffs supports Redqueen and I2S taint-based mutation, techniques that analyze how input bytes flow into comparisons in the target and mutate them intelligently to pass checksums and magic-value checks that normally stall blind fuzzers. It also offers MOpt and Auto-token mutations, both established heuristics from the AFL lineage for escaping local maxima in coverage. For a firmware-focused tool, this matters enormously, since boot code is typically littered with structure checks, signatures and platform constants that kill naive bit-flipping approaches within minutes.


Crash handling is where many firmware fuzzers fall over, and tsffs explicitly addresses it with a triage mode for reproducing and debugging crashes. Anyone who has fuzzed kernel or UEFI code knows the pain of a crash you cannot reproduce because of nondeterministic timing or residual hardware state. Because tsffs snapshots are fully deterministic, a crashing input can be replayed in the simulator with SIMICS inspection tooling available, which makes the path from crash to root-cause analysis dramatically shorter. That triage loop is arguably as valuable as the discovery loop for a firmware security team.


The declared use cases in the README are firmly pre-silicon and low-level: UEFI and BIOS code, particularly based on EDKII, pre- and early-silicon firmware and device drivers, hardware-dependent kernel and firmware code, and fuzzing for complex error conditions. The pre-silicon angle is notable, because simulation is often the only place such code exists at all before physical chips are available. tsffs effectively extends the fuzzing discipline into a development phase where traditional dynamic testing is usually impossible, letting engineers find memory-safety bugs before firmware ever reaches a board.


That said, the tool is not limited to exotic targets. The README also lists kernels and kernel drivers on Windows and Linux, user-space applications on both platforms, network applications, hypervisors and bare-metal systems as fuzzable. This breadth comes from the SIMICS foundation: anything you can construct a simulation scenario for is, in principle, a target. The compatibility documentation at intel.github.io/tsffs is the place to check whether a specific target configuration is supported before investing time in harness construction.


Integration appears to be a deliberate design goal. The README states that tsffs is easy to add to existing SIMICS projects, which matters because organizations already using SIMICS for silicon or firmware validation typically have significant scenario investment. Rather than demanding a new harness format, the fuzzer meets teams where they are, attaching to existing simulations. This positions tsffs less as a standalone weapon and more as a quality-assurance accelerator embedded in the firmware development lifecycle, which is consistent with its Apache-2.0 licensing and its OpenSSF Best Practices badge.


Getting started is deliberately low-friction. The project ships a Dockerfile, and the quick start is a standard git clone of intel/tsffs, a docker build -t tsffs ., and a docker run -it tsffs into an environment where the provided example target and fuzzing configuration can be launched with ./simics -no-gui --no-win ./fuzz.simics. That example configuration doubles as a template for building your own harnesses, and the full documentation covering setup and compatibility lives at intel.github.io/tsffs. The choice of Docker as the primary distribution channel keeps the SIMICS dependency mess contained, which anyone who has set up SIMICS manually will appreciate.


The project itself is written in Rust, carries 331 stars, and is developed by named Intel engineers, Rowan Hart, Brandon Marken Ph.D. and Robert Guenzel Ph.D., which signals genuine institutional backing rather than a weekend experiment. Community interaction is handled through GitHub issues for non-security bugs, an Awesome Fuzzing Discord for user help, and a published security policy that asks researchers to report tool vulnerabilities privately rather than in public issues. The roadmap is tracked in labeled feature issues, and the README actively solicits contributions, suggesting the multi-machine parallel fuzzing feature is the most significant near-term gap.


From a defensive and authorized-assessment perspective, tsffs is a straightforward win. It runs entirely inside a simulator, generates no traffic against third-party infrastructure, and is designed for testing code the operator owns or is contracted to assess. The artifacts it produces, coverage maps and crashing inputs, are exactly what a firmware vendor needs to fix bugs before shipping. For blue teams and product security groups staring at a UEFI codebase or a bootrom with no test story, this is one of the more credible open-source options available, and its combination of full-system determinism with LibAFL-grade mutation makes it worth a close look.



Official project repository for intel/tsffs.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/11/tsffs-for-snapshot-fuzzing-uefi-bios.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.