Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

Program performances after protection

$
0
0
Hi all,
I'm analyzing the performances of a test program after protection with Sentinel LDK Envelope 7.4
Attached you can find the test program. Without protection the execution lasts 30ms. If I protect the .exe with the default parameters the execution lasts 950ms! I try different settings. For example, selecting only the core method and disabling all the protection (see attached image), the execution lasts 500ms. Decompiling the code, LDK Envelope only added

  1. \u003442172457.\u00336033679((object) null, MethodBase.GetCurrentMethod(), true);
  2.       try
  3.       {
  4. [...]
  5.      }
  6.       finally
  7.       {
  8.         \u003442172457.\u00336033679((object) null, MethodBase.GetCurrentMethod(), false);
  9.       }
So, no encryption nor obfuscation decrease a lot the performaces!

The loophole that I found to obfuscate the code and maintain performances is to deselect all methods, create an empty Dummy method and protect only it (otherwise LDK Envelope does nothing) and select String encryption and Obfuscate Symbols in .NET Default Protection Settings.
Am I doing something wrong or this behavior is correct?

Thank you
Best regards
Matteo

Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>