Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net Obfuscator Problems

I am building some applications and decided it was time to run my code through an obfuscator. I downloaded and used Eazfuscator.NET and then after installing the application I downloaded Ispy to see just how well the process worked.

What I found was that I could still easily see a lot of the code, for instance most logic on my routines was there in some parts of my background workers. Yes the strings were changed but some poritions which I would consider fairly important were visible.

For instance when I build the application authentication key there are certain items which I attach to the key before I run my encryption. These items were visible in when I used Ispy to view the assembly. The passphrase to my encryption library was concealed, but I feel like this is still more information than I would want someone to be able to see.

My question is - is this normal behavior when using an obfuscator? Or should I be trying other ones?

like image 495
Mitch Miller Avatar asked Mar 27 '12 12:03

Mitch Miller


People also ask

What happens when .NET solution is obfuscated?

Obfuscation makes it much more difficult for attackers to review the code and analyze the application. It also makes it hard for hackers to debug and tamper with your application.

How do you fix obfuscate?

Press F12 to open Developer Tools inside Chrome. Now switch to the Scripts tab, right-click and choose De-obfuscate source. That's it!

Is obfuscated code slower?

The more advanced obfuscation is used, the slower the obfuscated code is executed. Name obfuscation does not affect the performance and should always be used.

What is .NET obfuscator?

Spices - Spices.Net Obfuscator is a . Net code obfuscation, protection and optimization tool that offers the wide range of technologies to completely protect your . Net code and secure your data.


1 Answers

Use following settings for Eazfuscator.NET to get better results:

[assembly: Obfuscation(Feature = "code control flow obfuscation", Exclude = false)]
[assembly: Obfuscation(Feature = "PEVerify", Exclude = false)]
[assembly: Obfuscation(Feature = "encrypt symbol names with password mypassword", Exclude = false)]
[assembly: Obfuscation(Feature = "encrypt resources [compress]", Exclude = false)]

in your assembly info file

like image 174
Marcin Avatar answered Oct 23 '22 09:10

Marcin