Nytro Posted November 10, 2016 Report Share Posted November 10, 2016 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 15 Quote Link to comment Share on other sites More sharing options...
TheTime Posted November 10, 2016 Report Share Posted November 10, 2016 Daca vrei sa adaugi la proiect optiunea de a testa un shellcode deja existent (nu doar unul proaspat generat): http://pastebin.com/HeJfjxwg Usage: C:\Temp> TestShellcode.exe shellcode.bin E bazat pe codul scris de tine, nimic nou sub soare. Util si pentru CTF. Quote Link to comment Share on other sites More sharing options...
Nytro Posted November 10, 2016 Author Report Share Posted November 10, 2016 Buna idee, thanks! Si da, trebuie sa creez un nou thread, sa incerc sa nu crap procesul, in caz de fail la shellcode. Quote Link to comment Share on other sites More sharing options...
UnixDevel Posted November 10, 2016 Report Share Posted November 10, 2016 nice tool to have good job man 1 Quote Link to comment Share on other sites More sharing options...
Nytro Posted December 15, 2016 Author Report Share Posted December 15, 2016 1 5 1 Quote Link to comment Share on other sites More sharing options...
cjack Posted December 16, 2016 Report Share Posted December 16, 2016 Amazing tool guys! And opensource too, thanks for sharing 1 Quote Link to comment Share on other sites More sharing options...
Nytro Posted March 2, 2017 Author Report Share Posted March 2, 2017 Am rescris codul, era un singur fisier mare, acum arata mai normal. Sper ca in curand sa ii pot face update-ul pe care vreau sa il fac. https://github.com/NytroRST/ShellcodeCompiler 3 Quote Link to comment Share on other sites More sharing options...
theeternalwanderer Posted March 2, 2017 Report Share Posted March 2, 2017 @Nytro, ai un spatiu la sfarsitul linkului. 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2017 Report Share Posted March 2, 2017 1 hour ago, Nytro said: Am rescris codul, era un singur fisier mare, acum arata mai normal. Sper ca in curand sa ii pot face update-ul pe care vreau sa il fac. https://github.com/NytroRST/ShellcodeCompiler Scuza-ma ca intreb, cat ti-a luat sa rescrii asta ? Quote Link to comment Share on other sites More sharing options...
Nytro Posted March 2, 2017 Author Report Share Posted March 2, 2017 Cateva ore bune. Nu e tocmai rescris, e aranjat si grupat pe clase mai exact, ca era un singur fisier cu mult cod. Quote Link to comment Share on other sites More sharing options...
Olatunji09 Posted April 7, 2017 Report Share Posted April 7, 2017 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 ? Quote Link to comment Share on other sites More sharing options...
Nytro Posted April 10, 2017 Author Report Share Posted April 10, 2017 Not yet. Quote Link to comment Share on other sites More sharing options...
Che Posted April 12, 2017 Report Share Posted April 12, 2017 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 ? Quote Link to comment Share on other sites More sharing options...
Nytro Posted April 12, 2017 Author Report Share Posted April 12, 2017 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). 2 Quote Link to comment Share on other sites More sharing options...
Nytro Posted January 25, 2019 Author Report Share Posted January 25, 2019 ShellcodeCompiler was updated! It uses now @keystone_engine to assemble shellcodes! https://github.com/NytroRST/ShellcodeCompiler Quote Link to comment Share on other sites More sharing options...
Nytro Posted August 4, 2019 Author Report Share Posted August 4, 2019 Am adaugat suport pentru Windows x64, Linux x86 si Linux x64. https://www.defcon.org/html/defcon-27/dc-27-demolabs.html#Shellcode Compiler 2 3 Quote Link to comment Share on other sites More sharing options...