Jump to content
Nytro

[RST] ShellcodeCompiler

Recommended Posts

Shellcode Compiler

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/).

 

Shellcode compiler was released at DefCamp security conference in Romania, November 2016.

 

Link: https://github.com/NytroRST/ShellcodeCompiler

 

  • Upvote 15

Share this post


Link to post
Share on other sites

Buna idee, thanks! Si da, trebuie sa creez un nou thread, sa incerc sa nu crap procesul, in caz de fail la shellcode.

Share this post


Link to post
Share on other sites

Cateva ore bune. Nu e tocmai rescris, e aranjat si grupat pe clase mai exact, ca era un singur fisier cu mult cod.

Share this post


Link to post
Share on other sites
On 11/11/2016 at 0:24 AM, Nytro said:

Shellcode Compiler

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/).

 

Shellcode compiler was released at DefCamp security conference in Romania, November 2016.

 

Link: https://github.com/NytroRST/ShellcodeCompiler

 

can you make a shellcode that executes embeded exe with process hollowing technique ?

Share this post


Link to post
Share on other sites
On 4/11/2017 at 0:18 AM, Nytro said:

Not yet.

Executabilul este generat/compilat folosind nasm sau il face el de la zero ? Practic programul este ca si MS Visual Studio sau cum anume compileaza executabilul ? Face call si executa nasm ca sa produca executabilul, nu ?

Share this post


Link to post
Share on other sites

ShellcodeCompiler primeste ca parametru un script (limbaj asemanator cu C/C++) si genereaza cod ASM. Acel cod ASM e asamblat cu NASM si rezulta shellcode-ul.

PS: Acel ASM generat e creat special sa functioneze ca un shellcode (gaseste dinamic functiile pe care le apeleaza, parametrii sunt pusi pe stack, inclusiv sirurile de caractere).

 

 

  • Upvote 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...