Hiding Registry Information From Readability in Assembler
-
Friends i have made a registry entry using MFC application written in visual studio 2012 64bit and i compiled it when i open the exe in assembler it shows some unreadable text but the exact registry path of mine is seen cleary.How to hide this or secure the entry... Please share your ideas...
-
Friends i have made a registry entry using MFC application written in visual studio 2012 64bit and i compiled it when i open the exe in assembler it shows some unreadable text but the exact registry path of mine is seen cleary.How to hide this or secure the entry... Please share your ideas...
If all that interests you is obfuscation, any simple routine (such as XORing the string with another string) will hide the string. However, any serious attempt at reverse-engineering your code will use an API logger to see what your code is actually doing. As it is always possible to intercept a Windows API, any serious attempt to hide a registry key is doomed to failure. You might want to look into encrypting the contents of the key (i.e. using a binary blob rather than a string). Many encryption algorithms exist, depending on the level of security required.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
-
If all that interests you is obfuscation, any simple routine (such as XORing the string with another string) will hide the string. However, any serious attempt at reverse-engineering your code will use an API logger to see what your code is actually doing. As it is always possible to intercept a Windows API, any serious attempt to hide a registry key is doomed to failure. You might want to look into encrypting the contents of the key (i.e. using a binary blob rather than a string). Many encryption algorithms exist, depending on the level of security required.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
Daniel Pfeffer wrote:
(i.e. using a binary blob rather than a string).
I agree. :thumbsup:
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles