Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Hiding information from hex editors.

Hi All,
I am using the following code to pull down information from the system.
I use the information as a form of checker everytime my program loads up.
I use a seperate program to write the encypted version of the system info at the time of initial installation. The software has only the decrypter built into it which pulls the information from the various locations and decrypts it and then checks it against the various system information.
The problem i have is that when i read my compiled exe ina hex editor i can see where my info is being pull down from so it is possible to work out what my key is.

eg.
With wmiWin32Object
For Each wmiWin32Object In wmiWin32Objects
DoEvents

Text1(4).Text = .Name
Text1(0).Text = .ProcessorId
Text1(3).Text = .SystemName
Text1(2).Text = DriveSerial("C")
Text1(1).Text = Registry_Read("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\", "ProductId")

DoEvents
Next
End With

If i read the hex editor i can see processorid, system name, drive serial and so fourth... These values are used to build my key.
How can i get around having this information displayed ina hex editor.
A bit long winded explination, but i hope it helps understand what i am talking about.

Many Thanks for your time.
[1350 byte] By [imz] at [2007-11-11 8:15:23]