Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I obfuscate my c# code, so it can't be deobfuscated so easily? [closed]

I release a bunch of tools for free, but recently I have began to sell an application, that has private research, and people have been able to get my source code, and one person publically released my entire source. I spent a lot of time on this program, just to have someone crack it, and release my entire source.

How can I go about protecting my program? I have tried HWID, but people are still able to crack it. I know I am limited by C#, but it the most convenient to use. I just need a way to protect my programs from people trying to do this.

like image 249
Ben Avatar asked Oct 03 '13 15:10

Ben


People also ask

How do I obfuscate my code?

Encrypting some or all of a program's code is one obfuscation method. Other approaches include stripping out potentially revealing metadata, replacing class and variable names with meaningless labels and adding unused or meaningless code to an application script.

How do you obfuscate in Objective C?

Objective-C code cannot be 100% obfuscated. There are some open source and some commercial tools that will obfuscate the class name, the custom methods and variables, but be aware that they can easily break and crash your app.

Can you obfuscate C++?

If you are a C++ developer, one method to help protect your C++ applications built with C++ software is to use a technique known as code obfuscation. In the event that malicious programmers attempt to reverse engineer your code, it can make your code very difficult for them to understand.

Should I obfuscate my code?

It's essential to hide business logic and code to make it harder for attackers to gain access and start debugging and tampering with your app. (They often repackage an application with malicious code.) 3. Code obfuscation can drastically reduce file size, and download times can be reduced drastically as well.


1 Answers

You could have a look at the many obfuscation tools that are out there, for example these:

  • http://gapotchenko.com/eazfuscator.net
  • http://orangeheap.blogspot.nl
  • http://confuser.codeplex.com (succeeded by https://yck1509.github.io/ConfuserEx/ and then again by https://github.com/XenocodeRCE/neo-ConfuserEx)

  • http://ntoolbox.com)

like image 78
Sebastiaan van den Broek Avatar answered Sep 28 '22 10:09

Sebastiaan van den Broek