Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Daniel0xcc opened this issue May 29, 2019 · 9 comments

Comments

@Daniel0xcc
Copy link

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**
@ifratric
Copy link
Collaborator

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).

@Daniel0xcc
Copy link
Author

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

@MortalAndTry
Copy link
Contributor

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

@Daniel0xcc
Copy link
Author

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 ?

@MortalAndTry
Copy link
Contributor

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

@Daniel0xcc
Copy link
Author

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

@Daniel0xcc
Copy link
Author

Daniel0xcc commented May 29, 2019

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

@MortalAndTry
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants