Comments (3)
See when I try to run the afl-fuzz.exe binary, if I add a higher number for the timeout, it will reach the limit and fail as well, I don't know what is wrong.
C:\winafl\bin32>afl-fuzz.exe -i dumb_files -o findings_dir -D ..\DynamoRIO\bin32
-t 20000 -- -coverage_module notepad.exe -fuzz_iterations 5000 -target_module n
otepad.exe -target_offset 0x73BB -nargs 2 -- c:\Windows\System32\notepad.exe @@
WinAFL 1.03 by [email protected]
Based on AFL 1.96b by [email protected]
[] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[] Deleting old session data...
[+] Output dir cleanup successful.
[] Scanning 'dumb_files'...
[+] No auto-generated dictionary tokens to reuse.
[] Creating hard links for all input files...
[*] Attempting dry run with 'id_000000'...
1 processes nudged
[-] The program took more than 20000 ms to process one of the initial test cases
.
Usually, the right thing to do is to relax the -t option - or to delete it
altogether and allow the fuzzer to auto-calibrate. That said, if you know
what you are doing and want to simply skip the unruly test cases, append
'+' at the end of the value passed to -t ('-t 20000+').
[-] PROGRAM ABORT : Test case 'id_000000' results in a hang
Location : perform_dry_run(), ..\afl-fuzz.c:2504
from winafl.
I have tried again, now I am getting this error below:
C:\winafl\bin32>afl-fuzz.exe -i dumb_files -o findings_dir -D ..\DynamoRIO\bin3
-t 20000 -- -debug -logdir debug -coverage_module notepad.exe -fuzz_iterations
10 -target_module notepad.exe -target_offset 0x1409 -- notepad.exe @@
WinAFL 1.03 by [email protected]
Based on AFL 1.96b by [email protected]
[] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[] Deleting old session data...
[+] Output dir cleanup successful.
[] Scanning 'dumb_files'...
[+] No auto-generated dictionary tokens to reuse.
[] Creating hard links for all input files...
[*] Attempting dry run with 'id_000000'...
0 processes nudged
ERROR: The process "-1" not found.
[-] PROGRAM ABORT : Cannot kill child process
Location : destroy_target_process(), ..\afl-fuzz.c:2120
The Debug Log:
Module loaded, notepad.exe
Module loaded, dynamorio.dll
Module loaded, WINSPOOL.DRV
Module loaded, drreg.dll
Module loaded, drwrap.dll
Module loaded, drmgr.dll
Module loaded, drx.dll
Module loaded, winafl.dll
Module loaded, COMCTL32.dll
Module loaded, VERSION.dll
Module loaded, KERNELBASE.dll
Module loaded, USER32.dll
Module loaded, KERNEL32.dll
Module loaded, SHELL32.dll
Module loaded, OLEAUT32.dll
Module loaded, SHLWAPI.dll
Module loaded, COMDLG32.dll
Module loaded, msvcrt.dll
Module loaded, RPCRT4.dll
Module loaded, ole32.dll
Module loaded, GDI32.dll
Module loaded, MSCTF.dll
Module loaded, ADVAPI32.dll
Module loaded, ntdll.dll
Module loaded, LPK.dll
Module loaded, SECHOST.dll
Module loaded, IMM32.dll
Module loaded, USP10.dll
In pre_fuzz_handler
Module loaded, CRYPTBASE.dll
Module loaded, UxTheme.dll
In OpenFileW, reading C:\winafl\bin32\findings_dir.cur_input
In OpenFileW, reading C:\Windows\Fonts\staticcache.dat
from winafl.
Hi Ivan,
I am just closing it, I was doing a mistake regarding to the target_offset, I found a target offset that open and close the file and everything worked beautifully !.
Here is the test command that I used:
C:\winafl\bin32>..\DynamoRIO\bin32\drrun.exe -c winafl.dll -debug -target_module
KERNEL32.dll -target_offset 0x4eaa8 -fuzz_iterations 5 -nargs 5 -- C:\Windows\s
ystem32\notepad.exe test.txt
from winafl.
Related Issues (20)
- Compilation failed HOT 3
- Documented build commands do not generate winafl.dll HOT 9
- How to stop WinAFL properly? HOT 1
- Winafl + Libprotobuf-mutator
- WinAFL Internal Crash at PC 0x5a1a456e HOT 6
- PROGRAM ABORT : Unexpected result from pipe! expected 'P', instead received '' HOT 1
- ERROR while building winafl HOT 1
- Error: Can't open .cur_input
- drrun.exe and afl-fuzz.exe giving error when -fsanitize=address flag given to compile target
- PROGRAM ABORT : Test case 'id_000000' results in a crash HOT 3
- Occur time out when init test case
- Incorrect detection count threads on multiCPU motherboards HOT 2
- Winafl doesn't want to start, reading other issues didn't help
- PROGRAM ABORT : CreateNamedPipe failed, GLE=231 HOT 2
- tmin: Proposing del_len option for improved speed HOT 2
- Is dumb mode (-n) currently implemented? HOT 4
- My output keeps showing a timeout HOT 8
- problem about finding crashes HOT 6
- not running under DR HOT 4
- No expected output when using standalone debug mode of WinAFL client HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winafl.