Skip to content

nanAdair/scarab

Repository files navigation

Scarab

A obfuscation program generator for 32bit programs written in C.

Usage

Generate the object files of your source code

gcc -c test.c

Make a big relocatable object file

ld -static -r /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/crtbegin.o -L/usr/lib/gcc/i686-pc-linux-gnu/4.8.2 -L/usr/lib -L/lib test.o -lgcc -lgcc_eh -lc_nonshared /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/crtend.o /usr/lib/crtn.o -o obj.o 

Run our program to make obfuscation version of your own program

./main obj.o /usr/lib/libc.so.6 /usr/lib/ld-2.19.so

The program is output

Or you can just use the script run.sh

About

obfuscation project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages