Shellcode Template: easily modifiable shellcode template for Windows x64/x86
Shellcode Template
An easily modifiable shellcode template for Windows x64/x86
How does it work?
This template is heavily based on Austin Hudson’s (aka SecIdiot) TitanLdr It compiles the project into a PE Executable and extracts the .text section.
Example
The entrypoint of the shellcode looks like this. Of course, this can be changed for your need. First, we need to initialize needed libraries and functions by using our custom written GetModuleHandle and GetProcAddress.
Btw as you can see we can use normal strings in our shellcode. This is because we include the .rdata section into our shellcode at linking time. And GET_SYMBOL gets the pointer to the function or string via its relative offset to GetRIP()
Install & Use
git clone https://github.com/Cracked5pider/ShellcodeTemplate.git
Next, you would need to change the project name in the makefile from ShellcodeTemplate to whatever you want Then you can compile the project by using make.
make // to compile x64 and x86
make x64 // to compile only x64
make x86 // to compile only x86
Source: https://github.com/Cracked5pider/