Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters
The Shellcode in loader.bin i have generated it downloading in Releases the last version of donut, later i have executed the next command
donut.exe -i msfvenompayload.exe -f bin -o loader.bin
later i have try to execute this code, but i dont get any error, just restart explorer.exe process , i have checked the api parameters at https://learn.microsoft.com/en-us/windows/win32/procthread/process-security-and-access-rights and https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualalloc for make sure all seems correctly, but when i try execute just dont show any error just restart explorer.exe process, but, if i gen shellcode directly from msfvenom and load it like this
when i execute this code it give me meterpreter session , but with the donut shellcode gen no, what is wrong? is me or is donut tool who are bad?, i hope someone can help me to fix this, thanks :)
Note: When i try to generate donut shellcode with -f 5 for python file output and try load i get same issue restarting explorer.exe process but no handler receiving.
Hi, This is the Code i'm testing,
The Shellcode in loader.bin i have generated it downloading in Releases the last version of donut, later i have executed the next command
later i have try to execute this code, but i dont get any error, just restart explorer.exe process , i have checked the api parameters at
https://learn.microsoft.com/en-us/windows/win32/procthread/process-security-and-access-rights
andhttps://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualalloc
for make sure all seems correctly, but when i try execute just dont show any error just restart explorer.exe process, but, if i gen shellcode directly from msfvenom and load it like thiswhen i execute this code it give me meterpreter session , but with the donut shellcode gen no, what is wrong? is me or is donut tool who are bad?, i hope someone can help me to fix this, thanks :) Note: When i try to generate donut shellcode with -f 5 for python file output and try load i get same issue restarting explorer.exe process but no handler receiving.