Protections of Constants

Strings

NETGuard offers to encode and encrypt string-based data.

Strings are first encrypted using professional standard encryption algorithm to prevent any leak of data.

The encryption part partially relies on x86 machine code generated method to prevent decompilers to retrieve the code logic.Then the newly created piece of code is encoded using state of the art obfuscation techniques to prevent anyone from understanding the code.

The second step actually mutates the code into a meaningless code that makes the method safe from hackers.

this.contextStatusBarPanel.Text = string.Format("CLR {0}.{1}", Environment.Version.Major, Environment.Version.Minor);

Numbers

Numbers in your code can be very sensitive, and reveal a part of your keys. With that in mind, NETGuard uses the same logic we can find in string protection for integers and other numbers : x86 method encoding, strong encryption of actual value coupled with number decomposition.

int num = int.MinValue;
int num2 = int.MinValue;
int num3 = 0;
int num4 = 0;

Last updated