Obfuscating asm code

Joerg Sonnenberger joerg at britannica.bec.de
Wed Oct 12 11:44:40 PDT 2005


On Wed, Oct 12, 2005 at 07:09:13PM +0100, Jonathon McKitrick wrote:
> 
> Are there any good ways to obfuscate asm code that would work in a library?  I
> know there are things like encryption of binaries and such, but it seems these
> really only work in the Win32 world.
> 
> What are some good ways to hide/obfuscate asm routines in a typical BSD
> executable or library?

You mean beside compiling it with gcc -O3? Encryption is normally not
done on the BSD, because it doesn't add real value. You can always force
a coredump after all. Doing something like JIT decryption needs support
in the application and is more annoying than helping against determined
hackers.

Joerg





More information about the Users mailing list