winafl icon indicating copy to clipboard operation
winafl copied to clipboard

Win afl crash immediately after start fuzzing : : : PROGRAM ABORT : CreateProcess failed, GLE=193

Open Daniel0xcc opened this issue 5 years ago • 9 comments

Hey, I try to Fuzz some program with ( WIN-AFL ) and i got an issue that look like that :

**[-] PROGRAM ABORT : CreateProcess failed, GLE=193.
         Location : create_target_process(), c:\work\winafl\source\afl-fuzz.c:2330**

Daniel0xcc avatar May 29 '19 09:05 Daniel0xcc

Most likely an error in your command line, e.g. does the path to the target .exe contain spaces (if so, you need to quote it).

ifratric avatar May 29 '19 11:05 ifratric

I wrote it like this : afl-fuzz.exe -Y -i x -o y -t 1000 — -fuzz_iterations 25000 — program.exe @@

Daniel0xcc avatar May 29 '19 11:05 Daniel0xcc

-coverage_model ? -target_model ? -target_offset ? Try adding these parameters

MortalAndTry avatar May 29 '19 11:05 MortalAndTry

Ok I will try thanks, i have to put one of this Parma’s to instrumentation’s sector.

Note I use CMD it will not cause an issue ?

Daniel0xcc avatar May 29 '19 11:05 Daniel0xcc

cmd is ok , I remember that the -nargs parameter is also required. ( if you use powershell you need a command like this ...... -- program.exe '@@' )

MortalAndTry avatar May 29 '19 11:05 MortalAndTry

I have a last question 😅. Those params have a value ? for example ( -time 1000).

Daniel0xcc avatar May 29 '19 12:05 Daniel0xcc

can someone show me how he write that command ? please I stuck.. :(.

Daniel0xcc avatar May 29 '19 15:05 Daniel0xcc

afl-fuzz.exe -i in -o out -D .......\DynamoRIO-Windows-7.1.17963-0\bin64 -t 20000 -- -coverage_module test.exe -fuzz_iterations 5000 -target_module test.exe -target_offset 0x13a0 -nargs 2 -- test.exe @@

MortalAndTry avatar May 30 '19 01:05 MortalAndTry

You need to read the documentation and readme.txt carefully.

MortalAndTry avatar May 30 '19 01:05 MortalAndTry