donut -f my_beacon.exe -o beacon.bin -a 2 -z 2
The GUI is intuitive and includes helpful tooltips:
Donut (created by TheWover and odzhan) is the de facto standard for generating position-independent shellcode from EXEs, DLLs, or .NET assemblies. It produces a small, self-contained loader stub that extracts and executes the target PE in memory.
