[24343] in Cypherpunks

home help back first fref pref prev next nref lref last post

Re: Hiding strings in objects code

daemon@ATHENA.MIT.EDU (Derek Atkins)
Mon Dec 19 20:12:58 1994

To: Jonathon Fletcher <jonathon.fletcher@psych.stir.ac.uk>
Cc: cypherpunks@toad.com
In-Reply-To: Your message of Tue, 20 Dec 94 00:27:04 +0000.
             <9412200027.AA18993@oss.stir.ac.uk> 
Date: Mon, 19 Dec 94 19:55:06 EST
From: Derek Atkins <warlord@MIT.EDU>

>   I'm looking for a way of concealing the text strings in an object file
> so that they can't be seen. I'd like to use something a little more
> complicated than rot13 :-), but something that's freely usable for
> non-profit use.

I assume you mean so that running "strings" on the binary will not
lead you to anything, right?  You can use an XOR with some weird value
to hide the strings.  Just make sure the value you use will, for
example, set the high bit on the string bytes...

Its is a cheap, free way to hide strings.  It is, by no means, secure.

-derek

home help back first fref pref prev next nref lref last post