wh1t3h47 / afl_pidgin

Fuzz pidgin dbus by using AFL++ and clang's ASAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

afl_pidgin: Hacking pidgin

Markdown Shell Script CMake Vim C

By wh1t3h47 (Antonio Martos Harres) - github.com/wh1t3h47

Fuzz pidgin via dbus by using AFL++ instrumentation (clang)

This project was just a test to see if I could handle AFL++ and had enough knowledge to fuzz the Pidgin messenger, it's by no means a complete approach, but still a successful one.

I coded this in about a day and got AFL++ running with 8 threads, it fuzzed for about 8 hours (my computer couldn't handle anymore and was forcefully shut down, not even sysrq would work)

It took me about 180 lines of C code and 100 more of shell, I used argv fuzzer to mutate dbus data and wrote a small wrapper to forward dbus messages from argv.

Warning

The fuzzing proccess is very resource intensive, ASAN is very memory hungry (afl even recommends limiting it), so this can halt your machine, please save all your work and be aware that your machine may lag

Building

./build_pidgin.sh

Fuzzing

sleep 3 && ./afl_start.sh

About

Fuzz pidgin dbus by using AFL++ and clang's ASAN


Languages

Language:C 69.6%Language:Makefile 21.9%Language:Shell 5.4%Language:XS 1.1%Language:M4 0.7%Language:Roff 0.5%Language:Python 0.4%Language:NSIS 0.3%Language:Perl 0.2%Language:C# 0.0%Language:Tcl 0.0%Language:XSLT 0.0%Language:HTML 0.0%