You are here
Home > Reviewed > Crypto Obfuscator – Protect Your Code And Intellectual Property

Crypto Obfuscator – Protect Your Code And Intellectual Property

Fallback Image

crypto obfuscator shieldCrypto Obfuscator – There are a few things that I consider rather important when developing an application for resale. Two of those are licensing and protecting your source code.

If you had to sell an application, would you be confident enough that the source could not be reverse engineered? There are free tools that can be downloaded that are very good at doing just that.

One of the ways to protect your code is through obfuscation. There are various tools that you can use. You can even use the community edition of Dotfuscator that comes with Visual Studio to protect your code. This however is basic obfuscation.

Crypto Obfuscator – Unobfuscated Decompile Test

If you are looking for something that offers more than the basic obfuscation, check out Crypto Obfuscator For .Net by LogicNP Software. I had the chance to give it a whirl, and I was impressed with the level of obfuscation it provided. To test it, I created a basic application that read the major towns in South Africa from a Web Service (I used WebserviceX.NET that serves 6,000,000+ web services transactions every day).

Crypto Obfuscator

I then passed the selected town to the GetWeather operation for the Web Service that returned a simple weather forecast.

returned weather forecast

As you can see, it’s a bit cool this evening.

solution explorer in visual studio

The application isn’t complex at all. It consists of a Web Service reference, a class called Forecast and a Windows Form to display the results.

justdecompile executable

Using JustDecompile from Telerik I decompiled the executable created by the application output. As you can see, the Forecast DLL and form are clearly visible in the decompiled code.

decompiled source code

This is the code displayed to us in JustDecompile. As you can see it is very easy to understand what is going on in the form load event.

crypto obfuscator

Here is some more code, this time from the class called Forecast.  All this code was gleaned from using Telerik’s JustDecompile tool.

Crypto Obfuscator – Obfuscated Decompile Test

Let’s run our assembly through Crypto Obfuscator. Start the tool and click on the ‘Add Assemblies’ button.

crypto obfuscator

Crypto Obfuscator is really very straightforward and easy to use.

Crypto Obfuscator

As you can see, there are quite a few settings across multiple tabs that you can configure.

crypto obfuscator advanced protections

Having a look at just the Advanced Protections of the obfuscation settings, you will see the different options available to you. These are:

  • Encrypt Strings
  • Encrypt Constant Values/Arrays
  • Encrypt Method Bodies (IL Code)
  • Protect Against ILDASM
  • Enable Anti-Debug + Anti-Tracing Protection
  • Enable Tamper Detection

Go ahead and configure your obfuscation settings, and then click on the Obfuscate button.

file size before obfuscation

When the obfuscation is complete, an output folder will be created for you with the obfuscated exe. In the screenshot above, the exe displayed is the un-obfuscated exe.

obfuscated exe

Having a look at the obfuscated exe you will notice that the exe has increased in size, but this is natural as obfuscation does add extra ‘code’. Let’s go ahead and look at the obfuscated exe using Telerik’s excellent JustDecompile tool.

Obfuscated code assembly

Having a look at the output, we can see that it looks quite a bit different.

obfuscated form load

Something that resembles Form Load is obfuscated and does not make sense at all. I could also not even find the Forecast class I created. Even for me (who knew the layout of the code) couldn’t string any code together or infer what the code is doing from looking at the obfuscated output. The chances are that anyone else who looks at your code will not get very far.


You can obfuscate assemblies, XBAP and WSP projects, VSTO projects, ClickOnce apps, Silverlight projects, WPF projects, SQL CLR assemblies, Mono assemblies, ASP.Net projects, WinRT assemblies, Unity 3D assemblies and Controls, Components and Libraries. Another great feature is that you can integrate obfuscation into your Visual Studio projects. After integration, assemblies are automatically obfuscated when you build your Visual Studio project.

As you can see, the obfuscated code is very secure. Crypto Obfuscator is a great and affordable product for any developer or company wanting to secure their IP. Download A Free Trial Of Crypto Obfuscator For .Net today, and see what the application can do to secure your code.

Dirk Strauss
Dirk is a Software Developer and Microsoft MVP from South Africa. He loves all things Technology and is slightly addicted to Twitter and Jimi Hendrix. Apart from writing code, he also enjoys writing human readable articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has yet to master.

Similar Articles