// COMPLETE THREAD

Source code obfuscation

6 expanded posts ยท every known parent and child

NODE db6f4741Source code obfuscation
Is anyone familiar with tools that can be used to 
obscure source code so that it builds, but no longer
contains comments or useful variable or procedure
names?

Thanks,
-- Lucky Green <shamrock@cypherpunks.to> PGP encrypted email preferred.
   "Tonga? Where the hell is Tonga? They have Cypherpunks there?"
NODE b4c982cbRe: Source code obfuscation
Lucky Green writes:
> 
> Is anyone familiar with tools that can be used to 
> obscure source code so that it builds, but no longer
> contains comments or useful variable or procedure
> names?


cfront. 

-- 
Eric Murray  Chief Security Scientist  N*Able Technologies  www.nabletech.com
(email:  ericm  at  lne.com   or   nabletech.com)          PGP keyid:E03F65E5
NODE 71a9dd7aRe: Source code obfuscation
On Tue, 28 Oct 1997, Lucky Green wrote:

> 
> Is anyone familiar with tools that can be used to 
> obscure source code so that it builds, but no longer
> contains comments or useful variable or procedure
> names?
> 
> Thanks,
> -- Lucky Green <shamrock@cypherpunks.to> PGP encrypted email preferred.
>    "Tonga? Where the hell is Tonga? They have Cypherpunks there?"
> 

Gimpel Software makes C-Shroud (commercial).  They also have a very good
Lint utility.

--- reply to tzeruch - at - ceddec - dot - com ---
NODE b506bec3Re: Source code obfuscation
-----BEGIN PGP SIGNED MESSAGE-----

In <Pine.BSF.3.96.971028165130.13198F-100000@pakastelohi.cypherpunks.to>,
on 10/28/97 
   at 04:52 PM, Lucky Green <shamrock@cypherpunks.to> said:

>Is anyone familiar with tools that can be used to 
>obscure source code so that it builds, but no longer
>contains comments or useful variable or procedure
>names?

Write it in ASM, 99.9% woun't have a clue to what it is. :)

- -- 
- ---------------------------------------------------------------
William H. Geiger III  http://www.amaranth.com/~whgiii
Geiger Consulting    Cooking With Warp 4.0

Author of E-Secure - PGP Front End for MR/2 Ice
PGP & MR/2 the only way for secure e-mail.
OS/2 PGP 2.6.3a at: http://www.amaranth.com/~whgiii/pgpmr2.html                        
- ---------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850
Comment: Registered_User_E-Secure_v1.1b1_ES000000

iQCVAwUBNFYOgY9Co1n+aLhhAQGMIAQAx42lvkz9dynJF5jwjmzenn9VrjwNS1MB
hq93tq2X8kQVjrZq4D+pmztCdFqatMiO4a4q0xLuwewQQ4gH7mcpVo5OixPONldr
oS/rd6bf/U8yNDQvW9N+1nh2nzOV01UFoXbz0hUjhgvZpQlvs0Xs+2V1CVk1q6hA
3jhSS8ZwSaI=
=ckXx
-----END PGP SIGNATURE-----
NODE 09a1145cRe: Source code obfuscation
If you can generate useful source code, you should be able to write a 
useful parser that strips out comments. You can also "search and replace" 
variable names w/ obscure ones - just dont miss any.  ;)

-r.w.

On Tue, 28 Oct 1997, William H. Geiger III wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> In <Pine.BSF.3.96.971028165130.13198F-100000@pakastelohi.cypherpunks.to>,
> on 10/28/97 
>    at 04:52 PM, Lucky Green <shamrock@cypherpunks.to> said:
> 
> >Is anyone familiar with tools that can be used to 
> >obscure source code so that it builds, but no longer
> >contains comments or useful variable or procedure
> >names?
> 
> Write it in ASM, 99.9% woun't have a clue to what it is. :)
> 
> - -- 
> - ---------------------------------------------------------------
> William H. Geiger III  http://www.amaranth.com/~whgiii
> Geiger Consulting    Cooking With Warp 4.0
> 
> Author of E-Secure - PGP Front End for MR/2 Ice
> PGP & MR/2 the only way for secure e-mail.
> OS/2 PGP 2.6.3a at: http://www.amaranth.com/~whgiii/pgpmr2.html                        
> - ---------------------------------------------------------------
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: cp850
> Comment: Registered_User_E-Secure_v1.1b1_ES000000
> 
> iQCVAwUBNFYOgY9Co1n+aLhhAQGMIAQAx42lvkz9dynJF5jwjmzenn9VrjwNS1MB
> hq93tq2X8kQVjrZq4D+pmztCdFqatMiO4a4q0xLuwewQQ4gH7mcpVo5OixPONldr
> oS/rd6bf/U8yNDQvW9N+1nh2nzOV01UFoXbz0hUjhgvZpQlvs0Xs+2V1CVk1q6hA
> 3jhSS8ZwSaI=
> =ckXx
> -----END PGP SIGNATURE-----
> 
>
NODE 667c301bRe: Source code obfuscation
Lucky Green <shamrock@cypherpunks.to> writes:
> Is anyone familiar with tools that can be used to obscure source
> code so that it builds, but no longer contains comments or useful
> variable or procedure names?

Do a search on ANDF -- not sure of the acronym's meaning anymore, but
I think there is a GNU version, so perhaps there is a working system
that can be had.

I think it's for architecturally independent distribution -- "compile"
or mangle your source with the ANDF system, and then finish the
compile (compile the garbled C code) on the target system.

(Odd thing for GNU to get involved in what with their source
availability theme.)

Adam
-- 
Now officially an EAR violation...
Have *you* exported RSA today? --> http://www.dcs.ex.ac.uk/~aba/rsa/

print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`