NODE f5469eb5Hiding strings in objects code
Jonathon Fletcher <jonathon.fletcher@psych.stir.ac.uk>Mon, 19 Dec 94 16:28:54 PST
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.
Any suggestions as to which I should use ?
-Jon
--
Jonathon Fletcher,
j.fletcher@stirling.ac.uk
NODE bb90e931Re: Hiding strings in objects code
Derek Atkins <warlord@MIT.EDU>Mon, 19 Dec 94 16:55:37 PST
> 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