Just a modern packer for Elf binaries ( linux executables )
Just make a simple
chmod +x make.sh && ./make.sh
There is a small script shell which regererates the test executale : regen.sh
You have just to do :
./regen.sh
Thus test is recompiled.
Help :
./main <target_file> xor : target_file is encrypted (only xor encryption) with a random key
./main <target_file> not : target_file is encrypted (xor and not encryption) with a random key
./main <target_file> xorp : target_file is encrypted (complex encryption) with a random key
@XOR
Encryption :
base_addr[i] ^= random_int;
where base_addr[i] represents each bytes of the .text, and random_int a random int ^^
@NOT
base_addr[i] = ~base_addr[i] ^ random_int;
where base_addr[i] represents each bytes of the .text, and random_int a random int ^^
@XORP
base_addr[i] = ~base_addr[i] ^ random_int;
base_addr[i] ^= x;
x = ~x;
where base_addr[i] represents each bytes of the .text, and random_int a random int ^^