VOOZH about

URL: https://thenewstack.io/amazon-web-services-open-sources-a-kvm-based-fuzzing-framework/

⇱ Amazon Web Services Open Sources a KVM-Based Fuzzing Framework - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-05-11 13:03:31
Amazon Web Services Open Sources a KVM-Based Fuzzing Framework
podcast,sponsor-amazon-web-services-aws,sponsored-podcast-day-of-podcasting,video,
Open Source / Security / Software Testing

Amazon Web Services Open Sources a KVM-Based Fuzzing Framework

The open source Snapchange can replay an application execution in a KVM virtual machine, making for easier debugging and security checks.
May 11th, 2023 1:03pm by Joab Jackson
👁 Featued image for: Amazon Web Services Open Sources a KVM-Based Fuzzing Framework
AWS sponsored this post.

Amazon Web Services has released an open source framework for running fuzzing tests against software applications, in which the state of the application is caught within a virtual machine for easier inspection and remediation.

Fuzzing is a security mechanism and programming technique that pummels a program with a wide range of random input in order to see if the program misbehaves or otherwise crashes, which is good for security and regression testing.

Released as open source this week, Snapchange is a fuzzing framework written in Rust. It provides a library of utilities for running the fuzzing process and can be controlled by the command line.

This fuzzer is unique in that it can replay physical memory snapshots in a KVM virtual machine, thus reducing labor and supporting introspection. This approach has been of growing interest to security researchers, according to the company.

A snapshot is the pairing of a physical memory dump and a register state. Fuzzing with a snapshot allows for granular execution in order to reach code blocks that are traditionally difficult to fuzz without the complexities of managing state within the target, said AWS Security Engineer Cory Duplantis, in an interview with The New Stack.

Since its inception, Amazon Web Services (AWS) has been the best place for customers to build and run open source software in the cloud. AWS is proud to support open source projects, foundations, and partners.
Learn More
The latest from AWS
Hear more from our sponsor

In a demonstration for TNS, Duplantis ran a fuzz test against LibTIFF, an open source library for creating TIFF files.

The idea is to feed the program random and purposefully mutated data in order to understand where problems may occur, with special attention to those edge cases. Each application instance is given a mutated TIFF file to run multiple times in isolated KVMs, which the memory of each instance, along with the register state for that machine, is captured. Snapchange provides metrics such as the number of executions, the time-per-execution, and the number of software crashes it has caused.

Such gives the developer or security professional useful information, such as where a bug may be, Duplantis said. Developers can rewrite memory chunks to test software. They can access the register state, and add hooks to functions.

Snapchange is run from the command line and offers many configuration settings, such as the number of cores that can be used to run the program. The program can be run across multiple cores, with each core running a separate copy of the application separately. The software then can aggregate the results. The software captures which portions of the code are executed during the runtime.

“If we find anything new, we keep that input for future cases,” Duplantis said. Those will be reused for future tests, with the idea to find as many paths through the target application as possible.

The KVM Advantage

The KVM is advantageous in that it brings a “pseudo-determinism,” in which the developer knows what the memory range is for a given execution, and so can test changes, Duplantis explained. “This could be really useful for something like a race condition bug, where you might not be able to reproduce it in the real world as easily, but if you can reproduce it in the snapshot, it makes it easier to triage.”

Snapchange is already used in-house at AWS. The company’s find-and-fix debugging team, of which Duplantis is part, uses the software for internal application, and they are introducing the software to develop other teams within AWS.

Open Source

AWS created the tool because there were no KVM-based equivalents. The closest was What the Fuzz, though that library focuses on Windows, whereas SnapChange works in Linux environments.

AWS debuted the tool at the Linux Foundation’s Open Source Summit, being held this week in Vancouver. At the show, the cloud services giant also released Cedar, an open source language and software development kit (SDK) for writing and enforcing authorization policies for AWS applications.

The Linux Foundation is the world’s leading home for collaboration on open source software, hardware, standards, and data. Linux Foundation projects are critical to the world’s infrastructure including Linux, Kubernetes, Node.js, ONAP, Hyperledger Foundation, PyTorch, RISC-V, and more.
Learn More
The latest from Linux Foundation Training
Since its inception, Amazon Web Services (AWS) has been the best place for customers to build and run open source software in the cloud. AWS is proud to support open source projects, foundations, and partners.
Learn More
The latest from AWS
Hear more from our sponsor
TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
AWS sponsored this post.
SHARE THIS STORY
TRENDING STORIES
Amazon Web Services and the Linux Foundation are sponsors of The New Stack.
TNS owner Insight Partners is an investor in: Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.