Skip to content

purseclab/fuzzusb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 11, 2022
bae96b6 · May 11, 2022

History

21 Commits
Apr 5, 2022
Apr 5, 2022
May 9, 2022
May 8, 2022
May 11, 2022
May 10, 2022
May 11, 2022
Apr 5, 2022
May 11, 2022
May 8, 2022

Repository files navigation

FuzzUSB

USB gadget fuzzing framework for the Linux kernel.

Please see for the paper and working of the fuzzing: (FuzzUSB: Hybrid Stateful Fuzzing of USB Gadget Stacks).

Setup

initial setup

syzkaller setup

  • syzkaller checkout: d5696d51924aeb6957c19b616c888f58fe9a3740
  • apply syzkaller patch: patch/syzkaller/README
  • syzkaller rebuild
$ ./scripts/build_syz.sh

Linux kernel setup

  • kernel symlink setup
$ cd kernel
$ ln -s [target_kernel_dir] target
  • apply kernel patch: patch/kernel/README
  • kernel build with gadget enabled config (e.g., kernel/config)
$ ./scripts/build_kern.sh

disk image setup

  • disk image symlink setup
$ cd disk
$ ln -s [target_disk_image] disk.img
  • additional setup within the image
$ apt install python3 usbutils alsa-utils net-tools rsync
  • copy files to the image: to_disk/state_mgr.py

Run

$ ./run.sh 

NOTE: We will be pushing more soon.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published