Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obfuscation of .NET exe/dll [duplicate]

Possible Duplicate:
.NET obfuscation of a DLL: how can I protect my code?

Hi all,

I'm using .net framework 4.0 and making any program. When i finished it, i publish it and get my programs exe. But any 3rd party softwares decompiles my exe and anybody views my codes. For example : alt text

How do i save my code?

Thanks all...

like image 475
ismailperim Avatar asked Nov 29 '10 13:11

ismailperim


People also ask

What is DLL obfuscation?

This means that if you have a public DLL or executable that your business is distributing, anyone with a copy of your executable can open it up in a . NET decompiler like dotPeek, and directly read (and copy) your source code. Code obfuscation can't prevent this process—any . NET DLL can be plugged into a decompiler.

What is .NET obfuscation?

Obfuscation is pretty simple (in concept), the idea is to alter your code in such a way that it makes the code much harder for a human to understand if they look at it using . NET reflection.

How do I know if a DLL is obfuscated?

... the easiest way to look at this is probably ILSpy -- you don't have to write your own ObfuscationChecker. https://github.com/icsharpcode/ILSpy . You load the obfuscated dll, and it displays the assembly attributes at the very top. You can also inspect the quality of the obfuscation that way.

What does obfuscate EXE mean?

Code Obfuscation is the process of modifying an executable so that it is no longer useful to a hacker but remains fully functional. While the process may modify actual method instructions or metadata, it does not alter the output of the program.


1 Answers

You could use an obfuscation tool, like Dotfuscator or Eazfuscator.NET.

Eazfuscator.NET is free, Dotfuscator has a limited Community Edition, but is lacking many of the features available for free in the other product.

UPDATE

Eazfuscator.NET is now commercial. This link provides a download link for the last free version and lists some alternatives (as of September 2012)

like image 52
Patrick McDonald Avatar answered Sep 23 '22 23:09

Patrick McDonald