firecracker icon indicating copy to clipboard operation
firecracker copied to clipboard

[Hardening] Continuously fuzz all Firecracker guest-facing attack surfaces

Open raduweiss opened this issue 7 years ago • 8 comments

Constantly run a fuzzer against guest facing attack surfaces, including the entire device model as well as the MMDS interface.

raduweiss avatar Dec 04 '18 17:12 raduweiss

The Rust Fuzzing Authority has a lot of resources that can help us get started with this.

sejr avatar Dec 04 '18 23:12 sejr

What is the timeline for this? I am new to rust but would like to try this fuzz testing.

sainath14 avatar Dec 06 '18 05:12 sainath14

There's nobody working on this right now, so no timeline either. If you want to give it a shot, it's all yours. We do have some previous work here for virtio fuzzing (which we also plan to add to the repo), but in the fuzzing world, the more the merrier.

A good first step might be to figure out how to run 1 fuzzing session against one category of attack surface, and then leave the continuous integration part for another step.

raduweiss avatar Dec 06 '18 14:12 raduweiss

We do have some previous work here for virtio fuzzing

Is that code somewhere available to grok?

konradwilk avatar Jul 19 '19 18:07 konradwilk

@konradwilk , not at this time.

raduweiss avatar Jul 19 '19 21:07 raduweiss

It would be worth investing some research into whether we could also gather memory leaks related results from the fuzzing process.

dianpopa avatar Mar 12 '20 09:03 dianpopa

Updating title/description to better reflect the path we're taking here.

raduweiss avatar Sep 18 '20 19:09 raduweiss

The team has made progress toward this task developing an initial fuzzy framework which test every night our main branch to search for regressions. Currently we are testing:

  • some virtio devices
  • some legacy devices
  • api server

We will need additional work to cover the whole guest facing interface expanding such tests to the entire set of devices and mmds

xmarcalx avatar Mar 31 '22 14:03 xmarcalx

We have implemented continuous fuzzing in Firecracker in the course of 2023. It is currently private.

JonathanWoollett-Light avatar Dec 11 '23 11:12 JonathanWoollett-Light