TheWover / donut

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
BSD 3-Clause "New" or "Revised" License
3.53k stars 628 forks source link

[Question] Tutorial? #35

Closed ghost closed 4 years ago

ghost commented 4 years ago

I've got a question for the team/the dev. How did you convert your c/c++ source to position independent shellcode? Could you possibly write a tutorial or a youtube video. Very interested!

rasta-mouse commented 4 years ago

https://github.com/TheWover/donut#usage ?

ghost commented 4 years ago

@rasta-mouse im thinking more of how the actual loader got compiled and dumped

odzhan commented 4 years ago

There are lots of tutorials about writing shellcode in C already and Donut is simply based on the same ideas presented in those tutorials. The following are a few links to get you started, but I know there are dozens of examples now in blogs and on github that are all much the same.

Two I've written in the past.