vulnwarex / bin2sc

Binary to shellcode from an object/executable format 32 & 64-bit PE , ELF
Apache License 2.0
71 stars 13 forks source link

does it handle elf binary --> shellcode ? #1

Closed kotee4ko closed 3 years ago

kotee4ko commented 3 years ago

as I can see in source, it's just wrapper around nasm, ld, and objdump.

can this tool convert elf binary to shellcode? for ex, if compile it with musl-gcc and -static

thanks.

SkyBulk commented 3 years ago

binary itself isn't supported yet, but if you provide your custom shellcode it will transform it, however, I am currently busy with another project if you could make a PR with the patch. I will be glad with

kotee4ko commented 3 years ago

https://github.com/kotee4ko/MUSLShell

thanks for the idea, brother.

SkyBulk commented 3 years ago

no problem, but I have a doubt why using musl-gcc in order to build shellcodes? I found more useful to build pretty specific task and write that in assembly, and then use it whatever you want via Process hollowing or another trick