Paip. Enhanced Security --.net C # source code prevention of decompilation and source code encryption

Source: Internet
Author: User

Paip. Enhanced Security ----.net C # source code prevention of decompilation and source code encryption

1. First of all, during the design, the module dll can be divided according to the importance level, or different languages can be used for development. Important modules are developed using compiled languages such as Vc and VB ..

2. Variable and method name: use a language that you only know as a variable or method name. Do not use English or Chinese to name the variable ..

This language can only be understood by yourself. Generally, the Dialect in a certain place is the best choice, and it can be mixed with dialects in several places .. in this way, you can still understand it without affecting ease of operation .. for those who do not understand these languages, it is similar to name obfuscation...

3.CodeObfuscation Encryption

Maxtocode: I used v3.2 2007 and v3.5 2008 to crack the version. v3.5 prompts a memory read/write error. After obfuscation is removed, only encryption is required ..
However, after processing, both versions prompt that the Il format is incorrect... although it does not affect the use, this box is displayed in each new window, so you have to pass.

Dnguard trial. v4.3.1 is good. Obfuscation and encryption are supported, that is, the generated EXE prompt has expired... Check the website, registration for a year requires 99 USD. Give up ..

We had to use the tool "dotfuscator sofeware service" v5.0.2300 that comes with vs2010 .. This tool is only obfuscation and cannot be encrypted ..
If DLL is obfuscated, all public method name variables are retained, and private obfuscation... My DLL is only about 10% obfuscated .. Because many DLL methods are public, you cannot change them.
Therefore, the mixed EXE has a good effect, and 90% has all changed. Only 10% of the public names remain unchanged .. Oh ..

Netreactor. V4.3.1: Find another tool, netreactor. V4.3.1, support for obfuscation and encryption .. then I processed the DSS EXE and used NR to process it. The effect is good .. you can also set lisense and time limit. the Unregistered version will pop up an unregistered box ..

4. shelling .. After being processed with NR .. Basically. However, to prevent foolproof attacks, you can use vmprotect. v2.08 for Shell encryption... very powerful... because VMP cannot be processed directly. NetProgram..

After these checkpoints, your. Net source code should be very safe ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.