QRXqrx / Havoc-Study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Havoc Study

Now the prefuzz has been migrated to the new repository: https://github.com/Tricker-z/havoc-mab

Environment

ESC servers with 128-core 2.6GHz AMD EPYC™ROME 7H12 CPUs and 256 GiB RAM. The machine runs on Linux 4.15.0-147-generic Ubuntu 18.04 with RTX 2080ti.

Setup

Fuzzing with the original fuzzers

To fuzz with the original fuzzers, please refer to the following links which are the corresponding tutorials:

Fuzzing with integrating Havoc via socket

Take FairFuzz integrated with the modified havoc as an example

# make the socket version of havoc & fairfuzz
$ cd AFL/afl-socket           && make -j
$ cd FairFuzz/fairfuzz-socket && make -j

# start the fuzzers respectively (Fairfuzz & Havoc)
# PORT_NUM: port number for the socket communication
# RUN_TIME: running time for each round in seconds (default=3600)
# ROUND_NUM: total number of execution rounds (default=12)
# FUZZ_IN: input seed directory
# CLIENT_OUT:output path for the client
# SERVER_OUT: output path for the server, i.e., Havoc

$ fairfuzz-socket/afl-fuzz -p $PORT_NUM -c -l $RUN_TIME -w $ROUND_NUM -i $FUZZ_IN -o $CLIENT_OUT -- /path/to/program [params] @@
$ afl-socket/afl-fuzz -p $PORT_NUM -s -l $RUN_TIME -w $ROUND_NUM -d -i $FUZZ_IN -o $SERVER_OUT -- /path/to/program [params] @@

Fuzzing with Havoc DMA

# build
$ cd Havoc_DMA && make -j

# start fuzz
$ Havoc_DMA/afl-fuzz -d -i $FUZZ_IN -o $FUZZ_OUT -- /path/to/program [params] @@

Havoc Programs

Programs Neuzz MTFuzz QSYM FairFuzz MOPT SUM Selected ?
readelf 1 1 1 3 done
nm 1 1 1 3 done
objdump 1 1 1 1 4 done
size 1 1 1 3 done
strip 1 1 2 done
harfbuzz 1 1 2 done
libjpeg 1 1 1 3 done
mupdf 1 1 1 3 done
libxml 1 1 2 --
zlib 1 1 2 --
lepton 1 1
openjpeg 1 1
tcpdump 1 1 2 done
file 1 1
libarchive 1 1
audiofile 1 1
ffmpeg 1 1
c++ flip 1 1 2 --
xmlint 1 1 done
readpng 1 1
jhead 1 1 done
tiff2bw 1 1 done
mp42aac 1 1
exiv2 1 1
mp3gain 1 1
pdfimages 1 1
sam2p 1 1
avconv 1 1
w3m 1 1
mpg321 1 1
infotocap 1 1
podofopdfinfo 1 1

About

License:Apache License 2.0


Languages

Language:C 78.5%Language:C++ 10.0%Language:Shell 4.4%Language:Makefile 3.1%Language:Python 2.7%Language:Rust 0.5%Language:JavaScript 0.3%Language:HTML 0.3%Language:TypeScript 0.2%Language:Dockerfile 0.1%Language:Java 0.0%Language:CodeQL 0.0%Language:PLpgSQL 0.0%Language:Rich Text Format 0.0%