Skip to content

Installation

David edited this page Dec 9, 2019 · 5 revisions

Docker

Using the provided docker container you simply import the tar file, e.g.:
cat /path/to/curiousafldocker.tar | sudo docker import - curiousafldocker:latest and start the container using:
sudo docker run -it curiousafldocker bash

Refer to this tutorial, or other resources on how to use docker.

Manual Installation

Thrift dependency

follow https://thrift-tutorial.readthedocs.io/en/latest/installation.html

After installation, make sure to run sudo ldconfig, so the newly installed packages are available.

python dependencies

The projects "special" dependencies are listed in requirements.txt. Install them via pip3, or with:
pip3 install -r requirements.txt

After successfully installing thrift and the pip packages above, build Curious afl with
make afl-fuzz

AFL setup

Independent of installation mode AFL needs your system to be setup so so notifications are relayed differently:

sudo -i
echo core >/proc/sys/kernel/core_pattern
cd /sys/devices/system/cpu
echo performance | tee cpu*/cpufreq/scaling_governor

AFL can optionally be configured to skip these checks if root is not available. However, this misconfiguration will result in a performance degration.

Clone this wiki locally