winafl icon indicating copy to clipboard operation
winafl copied to clipboard

[WinAfl] [DynamoRIO] winAfl crash when using "Sample delivery via shared memory"

Open salihboshnak opened this issue 7 months ago • 1 comments

HI

Setup details:

OS: Windows Server 2022 Standard, 21H2, 64bit OS, x64-based processor, 40 cores WinAFL with DynamoRIO:

winAFL: 1.17 based on AFL 2.43b compiled 64bit version with visual studio 2022

DynamoRIO: 11.3.0 took the already compiled binaries ( did not compile it my self )

I implemented the sample delivery via regular file and also via shared memory

when i run the shared memory version i get the following error:

WinAFL internal crash at PC 0x00007ff6212b2afc

Image

on the "Status Screen", i get the following error message 0 processes nudged nudge operation failed, verify permissions and parameters.

Important Note: the frequency of this error is bigger when using parallel fuzzers ( for example: using 1 master and 3 slaves )

compared to regular sample delivery via disk, this error is not triggered even in parallel fuzzers

Note: shared memory sample delivery was implemented according to the given example: https://github.com/googleprojectzero/Jackalope/blob/6d92931b2cf614699e2a023254d5ee7e20f6e34b/test.cpp#L41 https://github.com/googleprojectzero/Jackalope/blob/6d92931b2cf614699e2a023254d5ee7e20f6e34b/test.cpp#L111

salihboshnak avatar May 28 '25 06:05 salihboshnak

Hi, can you reproduce the issue using https://github.com/googleprojectzero/Jackalope/blob/main/test.cpp as target, or only with your custom target? How often does the issue occur?

ifratric avatar May 28 '25 13:05 ifratric