[Fuzzing with AFL] How to fuzz a simple C program with AFL on Linux

preview_player
Показать описание
In this video, i will explain:
1. how to create a simple C program.
2. how to fuzz it using AFL.
3. how to replicate crashes.
4. How to compile program with ASAN, MSAN in 64 bit mode and how to run it using option "-m none".

Sample program mentioned in the video can be downloaded from here:

Please like and subscribe my channel for more videos related to various security topics:

#afl #fuzzing #linux

Рекомендации по теме
Комментарии
Автор

Apologise for audio quality for this one. It was my first ever video which i created 2 years back.

MrHardik
Автор

Sir, I new to fuzzing wants to know it's basic any good resource about it?

riteshyadav
Автор

Wow, thanks for your introduction. Would you make a video to explain how to implement a harness program ?

nothinghere
Автор

can you please provide the source of sample image.img file or tell me how you generated that? Thanks!

akhilkoul
Автор

i didn't find input file. how to get it?

vaishaliravi
Автор

Thanks for your video. Please add subtitle, I can't understand some important parts:D

amirabaskz
Автор

Please,why I have this problem?
[-] Oops, the program crashed with one of the test cases provided. There are
several possible explanations:

- The test case causes known crashes under normal working conditions. If
so, please remove it. The fuzzer should be seeded with interesting
inputs - but not ones that cause an outright crash.

- Least likely, there is a horrible bug in the fuzzer. If other options

[-] PROGRAM ABORT : Test case results in a crash
Location : perform_dry_run(), afl-fuzz.c:2852

不说-fy
Автор

For me the file of image.img did not work. it produced a crash right away so I made a file image.img with hexedit, containing the content 41 41 41 0A and then it worked. Thanks for the tip! You can also just create a file with nano containing AAA, as you suggested down there. Maybe you can just add this file to the repo, that people have it eve easier?
And after all this: thanks for the easy tutorial how to fuzz a very simple c program!

hbgfefe