Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > c# > november 2009 >

c# : Obscuring .NET code


John Olbert
6/17/2005 7:27:02 PM
We are working on our first large .NET C# program.

We create programs that run analytical instruments for chemists. Many
programs contain complex algorithms which represent very significant
investments in research.

We were surprised by how a program like Reflector.exe can disassembler the
source code, even from a Release version.

Can you recommend one or more commercial programs that can obscure .NET C#
code in the Release mode?

Any suggestions would be appreciated.
--
John Olbert
Jeremy S
6/17/2005 9:22:24 PM
To provide the most protection for your investment, you should both (1)
obfuscate your code and (2) use some licensing system.

For obfuscation, the professional edition from PreEmptive Solutions
generally receives good reviews:
http://www.preemptive.com/

This link is to an eBook that does a great job of explaining obfuscation in
the .NET world (and why/when you need both to obfuscate and use a licensing
system):
http://www.desaware.com/products/books/net/obfuscating/index.aspx

Desarare also has a first-class licensing system:
http://www.desaware.com/products/licensingsystem/index.aspx

-HTH

[quoted text, click to view]

Bob Powell [MVP]
6/18/2005 12:00:00 AM
Code obfuscators are the answer to this. They alter the maethod and variable
names, add complex execution paths and inject code that crashes the ILDASM
disassembler.

Two good ones are Dotfuscator that comes in a community edition with Visual
Studio but has a disadvantage of being expensive to license the full version
and Xenocode which is a good tool and not too expensive although perhaps a
little harder to use.

If you want to protect your algorithms these tools will deter casual or
inexpert would-be hackers but to be honest, anything that you can code can
be analysed by someone with enough determination. Reverse engineering is a
fact of life.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





[quoted text, click to view]

LogicNP
11/20/2009 10:08:52 PM
Take a look at Crypto Obfuscator ( http://www.ssware.com/cryptoobfuscator/obfuscator-net.htm ) which offers good obfuscation and protection against decompilers such as Reflector as well as dissassemblers, ILDASM, debuggers, profilers, etc.


From http://www.google.co.in/url?sa=t&source=web&ct=res&cd=2&ved=0CAsQFjAB&url=http://www.developmentnow.com/groups/post.aspx?newsgroupid=36&threadid=544752&rct=j&q="We+create+programs+that+run+analytical+instruments+for+chemists"&ei=s4IHS-KMMoPWtgO1usjACQ&usg=AFQjCNHh_PlvFJdTttLbGqJ11wbclcTPSA

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button