Skip to content

How to create muiltiple kAFL instances for different target #329

@ycdxsb

Description

@ycdxsb

I am currently working with kAFL to fuzz Windows kernel drivers and have a question about its capabilities. Specifically, I want to know if it is possible to run multiple kAFL instances simultaneously on the same host to fuzz different targets, such as distinct Windows kernel drivers. For instance, I would like to fuzz Driver A with 4 CPU cores and, at the same time, fuzz Driver B with another 4 CPU cores, leveraging available system resources.

Based on my understanding of kAFL, I first need to duplicate the directory: kAFL/kafl/examples/windows_x86_64, for example, into kAFL/kafl/examples/windows_x86_64_driver1 and kAFL/kafl/examples/windows_x86_64_driver2. Then, I need to modify the corresponding Makefile and other files for each driver to compile the harness and prepare the respective snapshot. However, I am unsure whether this approach might lead to conflicts during the subsequent fuzzing process, such as issues with communication between QEMU and kAFL. Could you provide some suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions