Shellcode Compiler is a program that compiles C/C++ style code into a small, position-independent and NULL-free shellcode for Windows. It is possible to call any Windows API function in a user-friendly way.
Shellcode Compiler takes as input a source file and it uses it’s own compiler to interpret the code and generate an assembly file which is assembled with NASM (http://www.nasm.us/).
What is Shellcode?
* In hacking, a shellcode is a small piece of code used as the payload in the exploitation of a software vulnerability. It is called “shellcode” because it typically starts a command shell from which the attacker can control the compromised machine, but any piece of code that performs a similar task can be called shellcode.
* Because the function of a payload is not limited to merely spawning a shell, some have suggested that the name shellcode is insufficient. However, attempts at replacing the term have not gained wide acceptance. Shellcode is commonly written in machine code.
Shellcode Compiler does NOT have anything to do with the exploitation process! It will generate a shellcode that can be used for an already existing exploit.
Shellcode Limitations:
– Difficult (may be really complicated to write your own shellcode)
– NULL free (may not contain a NULL character – most common)
– Small size (may have a limited space to run)
– Alphanumeric (may need to be alphanumeric)
– Detection (may be detected by antivirus or IDS/IPS
Usage and download:
git clone https://github.com/NytroRST/ShellcodeCompiler && cd ShellcodeCompiler cd Release shellcodecompiler.exe -h Or bUild within Visual Studio right Click ShellcodeCompiler.sln then open with Visual STudio Build Solution
Source: https://github.com/NytroRST