P
P
ProX_Alex2018-12-28 09:48:11
.NET
ProX_Alex, 2018-12-28 09:48:11

How do you secure a .NET (c#) assembly?

Good time.
Faced with the need to protect the assembly from disassembly, if I may say so in relation to .NET.
Tell me who covers what, and how success helps to protect? I tried the demo version of the .net reactor, but when the parameters are set to the maximum, it is removed by the stock de4dot (maybe it's because the demo? although it says that the functionality is not cut down. Or am I doing something wrong).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ruslan Fedoseenko, 2018-12-29
@ruslanfedoseenko

The only reliable and simple option is to take critical code to native assemblies and pinvok them or make wrappers on c++/cli. There can be a lot of problems with the obfuscator, for example if you are using remouting or wpf.

A
Alex, 2018-12-28
@Alex_At_Net

Have a look at SmartAssembly. Many people use it.

T
Timur Yakubov, 2018-12-28
@Kaidoz

Try to combine several oscillators. For example .Net Reactor + ConfuserEx. After that, remove the signatures that obfuscators leave (detect it easy). Let's say ConfuserEx leaves an attribute with the namespace name, but it's better to cut it out, open sort. In general, it will help protect, although you will have to dance with a tambourine.
It is desirable to make a wrapper in C ++, it will greatly increase the entry threshold if someone wants to open it.
The assembly will be harder to open, but the detections will be from antiviruses (Heuristic analysis).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question