Closed synap5e closed 2 years ago
If i recall correctly we had this issue with Donut and the C3 framework a while ago and I'm pretty sure we just used our own SEH wrapper - https://github.com/FSecureLABS/C3/blob/master/Src/Common/FSecure/WinTools/StructuredExceptionHandling.cpp
C3 throws a lot of exceptions and the shellcode is completely stable, so you can get this working
Yep, if you're doing a lot of C++ exception handling, I recommend using a wrapper for the payload that has more full-featured support for SEH/VEH. I have personally borrowed the one from C3 or Blackbone before.
I have a x64 PE exe compiled from C++ converted to donut shellcode. It appears the donut shellcode crashes when the module throws/catches an exception.
Is this expected/unsupported? I can produce a minimal testcase if that would help.