HD serial number and restoring from backup
Quote:
Originally posted by philbell
... As the installation key uses the HD serial number and encryps it, it is unique to that particular machine. ...
Have you ever thought about that the harddisk could get defect and has to be changed? - Imagine you are two weeks on holiday while an Administrator at the customer is restoring a backup to a new harddisk and your program does not work. He would need a new key immediately...
Just a little note about it...
Hi,
Just to give my experience about it...
I have made before installation processes that are virtually impossible to brake. How's that?, well i did use the serial
number from factory of the HD, yes, the one that doesn't change even with the format, but unfortunatly this only works
in old M$DO$ because the process to retrieve the serial number involves some interrupts or whatever that i don't really
get completly (the reason was explained using C examples, and i don't use C).
So, about using the serial number that it's stamped after each format in the HD, well i did one simple .com tiny
program using DEBUG.COM of about 20 bytes to change the HD's serial number and all i needed to know in advance is
the new serial number to stamp by myself, and the practical use for this?, Just to serialize the installation disks that
i used to install my programs.
Quote:
It is IMPOSSIBLE to crack the code, this software takes the hard drive number on your pc and generates a 20 digit code from that. EVERY time the program is loaded, the HDD number is re-checked.
If the method of protecting this program is based only in the HD's serial number then you just have to change the HD's
serial number in every computer that you want to install it and their protection scheme will be gone...for good?
If this is the case, i don't think that any of us will like this to happen to our apps....
Saludos...;)
HAHAHAHAHHAHAHAHAHAHHAHAHA
ROFLMAO @ "No one mentioned the Windows OEM key."
sorry, that's just hysterical
anyone ever hear of a dongle?
or you could just use a dongle............
Hash Functions and One-Time Pads.
Everything that can be built, can be broken.
When you disassemble an EXE file, it gives you the source of the file in assembly. Then for example if you wrote in your program something like: If SerialNum = GeneratedNum Then, then in the assembly code, you might see something like JE 98765432.
JE stands for "Jump if Equal", in hex: &H74&.
A cracker/hacker can get the offset of this jump and change it from 74 (JE) to 75 (JNE - Jump if Not Equal).
And that brings us to...
If you wrote something like:
Code:
If SN = Serial Then
'Register the software
Else
'Display an error message
End If
A hacker can change the file so it will be as if you wrote:
Code:
If SN <> Serial Then
'Register the software
Else
'Display an error message
End If
Which means that whatever serial the user enters will work, except the actual serial number :).
.
.
.
But on the other hand, there are a few things that CAN'T be cracked, like One-Time Pads or Hash Functions.