Closed ghost closed 8 years ago
Hi,
Well, quite a handful... let's go!
Hope I have helped you. :)
Thanks a lot MurariAlex. You helped me a lot. But with your suggestions I got some little more questions.
You might be thinking why I am referring all the time Windows 10 in my problems. As you already said that the thing is not related to OS versions. But I am actually not able to believe in that point because after I used Maximum preset to protect my .exe file it runs in Windows 7 like charm. But the same file doesn't start in Windows 10 don't know why.
I asked this beacuse I will then protect my .exe file with the best security methods by ConfuserEx. Then I will check the protected file in different OS versions like Windows XP, 7, 8, 8.1 and 10. If any of the OS gives any problem I will then start deleting one protection method's like resource name changing or other and then test it on those operating systems. But for this first I need to protect my .exe file with the utmost protection ConfuserEx have.
Please help me here. Thanks in advance...
Hi,
Some protections may not be compatible across different versions of .NET framework, like the JIT anti-tamper. What you can do is customize protections, or remove some of them to know which one is crashing your app.
Follow these steps to customize the protections and use the CLI:
Example:
<rule pattern="true" inherit="false">
<protection id="anti ildasm" />
<protection id="anti tamper" />
<protection id="constants" />
<protection id="ctrl flow" />
<protection id="anti dump" />
<protection id="anti debug" />
<protection id="invalid metadata" action="remove" />
<protection id="ref proxy" />
<protection id="resources" />
<protection id="rename" >
<argument name="renXaml" value="false" />
</protection>
</rule>
Is this example, I am removing the invalid metadata protection and modifying the rename protection, the XAML elements will not be renamed in this case. It´s just an example, in the link that I provided in the previous comment, you can learn all arguments that can be customized in each protection.
To use use this file, just drag and drop it on the confuser.CLI.exe or pass it as argument to it. :)
Can you please provide me the best security and compatible configuration of all the 10 protection methods? The configuration should be for the best protection until it reaches any incompatibility.
This help would be really appreciated.
Thanks in advance...
Each app is unique, for my needs I only remove resources encryption and XAML renaming (when the app is WPF):
<protection id="anti ildasm" />
<protection id="anti tamper" />
<protection id="constants" />
<protection id="ctrl flow" />
<protection id="anti dump" />
<protection id="anti debug" />
<protection id="invalid metadata" />
<protection id="ref proxy" />
<protection id="resources" action="remove" />
<protection id="rename" >
<argument name="renXaml" value="false" />
</protection>
This is for my scenario, but I can´t balance protection and compatibility for you. You gotta try it for yourself until you reach a satisfatory level in your scenario.
Got it...Thanks a lot man for all your help. All the confusions are now cleared. Thanks a lot again.
Hello,
Really sorry to post my questions here in the issue tracker of github. But got no other way as ConfuserEx don't have any support forum or something like that.
My questions are as follows:
Developers, please if possible reply to these questions of mine to get all my confusions cleared about this software.
Thanks in advance...