zementmischer
2012-04-27, 08:03 PM
Here's the source code and binaries of my own version of wechoid.
I was mainly interested in AIRCOM's standard custom and extended custom callbacks of their locking code generator and wrote this small tool to verify my findings.
As you may know, the standard and extended custom locking criteria is used by SafeNet's customers to customize the locking code for their own needs (wow, I definitely should customize - ehm - modify the first two sentences and use another word instead of 'custom').
The default locking selector of AIRCOM is 1260 (0x500) which means that the locking code only depends on these two selectors:
0x100 - determines wether the program is running under a VM or not
0x400 - returns the hard disk serial number
AIRCOM has used the source code from WinSim's DiskId32 to retrieve the hdd serial number - which was a nice thing because DiskId32 is freely available and I only had to download the source code myself.
I didn't used anything from the RMS SDK - everything is dynamically loaded from lsapiw32.dll (which is included).
Hence the source code is also an example what you can do without having the SDK.
26811
I was mainly interested in AIRCOM's standard custom and extended custom callbacks of their locking code generator and wrote this small tool to verify my findings.
As you may know, the standard and extended custom locking criteria is used by SafeNet's customers to customize the locking code for their own needs (wow, I definitely should customize - ehm - modify the first two sentences and use another word instead of 'custom').
The default locking selector of AIRCOM is 1260 (0x500) which means that the locking code only depends on these two selectors:
0x100 - determines wether the program is running under a VM or not
0x400 - returns the hard disk serial number
AIRCOM has used the source code from WinSim's DiskId32 to retrieve the hdd serial number - which was a nice thing because DiskId32 is freely available and I only had to download the source code myself.
I didn't used anything from the RMS SDK - everything is dynamically loaded from lsapiw32.dll (which is included).
Hence the source code is also an example what you can do without having the SDK.
26811