.NET obfuscation: how is it done, how safe is it?

I raised the question of obfuscation in another question that someone answered: "Obfuscation does not stop."

Instead of starting the discussion in the comments, I wanted serious community responses to how safe my code is when it gets messy with the obfuscator X, Y or Z, and if any obfuscation tools really do the job.

I am also interested in any explanations that are given to get a general idea of ​​how the obfuscator works.

From my understanding, obfuscation cannot prevent reflection and detection methods, etc., but it makes the code inside the methods less understandable with the help of top variable names. It is not right? What else is he doing?

+3
source share
5 answers

Obfuscation can never be truly safe, as you can always look at MSIL. Even with a good obfuscator, people could play most of your code simply from MSIL, and since you have no choice but to compile MSIL, you really can't do anything.

+5
source

There are ways to do such things - for example, have you ever tried using Reflector on yourself?

, , , , , - . - , - , . , , .

, , . , ,.NET .

+1

.

0

- , , , . , Joel Coehoorn .NET- :

. , . , , - .

Obfuscation, , , :

. . Obfuscate Obfuscate
0

, ISSA "" , Java .NET" - PDF, . , , .

0

Source: https://habr.com/ru/post/1709379/


All Articles