Closed wwh1004 closed 3 weeks ago
It seems that the new code is causing the ret not to work.
See commit: https://github.com/TheWover/donut/commit/257977cc98ab2e0da6ae00eae5628c60cb1ad60b pr: https://github.com/TheWover/donut/pull/90
pop rcx
and rsp, 0xFFFFFFFFFFFFFFF0
ret can't really return to shellcode caller.
Just use demo .NET assembly and example usage, it doesn't work.
Until the shellcode is finished, RtlExitUserThread is not called anywhere. Then process will crash because invalid instruction before 'call loader' will be executed. Is it a bug?