DragonFly BSD
DragonFly users List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Obfuscating asm code


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 20:41:47 +0200
Mail-followup-to: users@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]