Portland Center Stage logo
128 NW Eleventh Ave, Portland, OR 97209 · 503-445-3700 · www.pcs.org
Portland Center Stage logo

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.