How to Encrypt a *.Res file?
Here is my problem. Im making a Serial Key Activation Wrapper for executables.
Where i load the target i have from a Target.rc and compile it to a Target.res
I then later start the target from memory by loading the executable stored in the resource table.
Now, this is a good way to make a executable wrapper. However, its not safe at all loading it memory wise. Anyone can just open my protected exe file with my bundled target and just use ResHack and safe the Resource stub as binary and boom its not protected anymore.
So now i'd like to encrypt the resource file somehow. Since im loading the resource into a resource data.
It would be easy to decrypt. But since im using brcc32.exe to compile the Target.rc its kind of hard to encrypt the resource. The packer scheme i made only goes for the resource filestream, not memorystream, so they can easly see all the strings there.
So what i need is a way to protect my resource stub from being read and exported from my wrapper exe.
Only my wrapper exe should be able to decrypt the resource before actually loading it up.