VB.NET SIMPLE STRING OBFUSCATOR SCRAMBLER

I made a small program that will help you hide and make harder to modify strings inside code. The idea was borrowed from the following project Small String Obfuscator which is for C++ only. However I am using VB.NET thus I had to write a new string obfuscator for VB.NET. The idea of the obfuscator is the following:

Sometimes you place strings in your project like this following “VB.NET STRING SCRAMBLER /www.blog.exrockets.com/”

Which would appear somewhere on your application or during certain action as shown here

Now if you open the application file in a HEX editor you can easily identify the string in question

And then you can modify it to something else

Which would appear modified in the new file, something that we wouldn’t like to happen.

How does the VB.NET SIMPLE STRING OBFUSCATOR SCRAMBLER work is like this:

-enter the string that you would like to scramble in the first window
-VARIABLE1 contains the array of individual scrambled characters of the string
-VARIABLE2 contains the final string recovered from the array of scrambled characters
-DUMMY VARIABLE contains random text strings for additional confusion

When you press the “SCRAMBLE” button the string is broken into characters. Each character is converted to ASCII code to which a random number is added. Then the character is expressed as the difference between the former and the random number. Then between each two consecutive characters a random string with random length is written which has no purpose other than confusion. Finally the scrambled characters are assembled in a third variable which will contain the initial string.

Now when you open the application file with a HEX editor, the text string will look like some other code and it would be difficult to identify and modify.

 

DOWNLOAD String_Scrambler.exe

Leave a Reply

Your email address will not be published.