This PR fixes the windows-x86_64 and windows-x86_64-userspace example harnesses.
VM template
It first provides a Windows VM template via Packer, based on the latest Windows x64 22h2 Entreprise ISO, with the necessary tools to compile a driver and testsign it.
The latest Visualstudio, SDK and WDK are installed inside the VM (via Ansible).
see templates/windows: make build
From there, the VM is exported as a vagrant box through the vagrant-post-processor, and can be imported into Vagrant:
see templates/windows: make import
Provision the target harnesses
At this point, the windows template is availabel in Vagrant.
Go to windows-x86_64/
run make init to import and define VM into qemu:///session
run make provision_userspace or provision_driver whether you want to setup the usrspace or driver target
Once that's done, just fuzz the target with
kafl fuzz
This PR fixes the
windows-x86_64
andwindows-x86_64-userspace
example harnesses.VM template
It first provides a Windows VM template via Packer, based on the latest Windows x64 22h2 Entreprise ISO, with the necessary tools to compile a driver and testsign it. The latest Visualstudio, SDK and WDK are installed inside the VM (via Ansible).
see
templates/windows
:make build
From there, the VM is exported as a vagrant box through the vagrant-post-processor, and can be imported into Vagrant: see
templates/windows
:make import
Provision the target harnesses
At this point, the windows template is availabel in Vagrant.
windows-x86_64/
make init
to import and define VM intoqemu:///session
make provision_userspace
orprovision_driver
whether you want to setup the usrspace or driver targetOnce that's done, just fuzz the target with
kafl fuzz
The image path is already set in
kafl.yml