Quote:
|
Originally Posted by artiomix I have an idea how to close password in installation script: every installation script would be prepared for each user personally with arbitrary passwords for QSET. |
Good call. As you say, predictable passwords are a bad thing even if nobody knows how to predict them yet.
Quote:
|
Originally Posted by artiomix The main idea is not to show contents of update package as it may contain vital data like source code of QSET components and others. |
I was afraid you were going to say something like that. Your basic problem is the same problem faced by DRM systems: Encryption only protects information from
unintended recipients. Your customer is the
intended recipient in the exchange therefore encryption will not be effective protection. Woolly thinking like "actually the DVD player is the intended recipient." is why people still expect encrypted DVDs to be foolproof.
In the first instance I'd rip out the DVD and floppy drives. Lock down the BIOS and only boot from the main HDD. To be really paranoid, use case switches so the system knows when the case has been opened and can refuse to boot at all, then during the tech support call you can tell them they voided the service agreement and offer to sell them a new one.
If that can't be done, then the only measure I can think of that would actually provide reasonably effective protection would be to use a
trusted platform module (TPM) in your QSETs. Put all of the update programs on a separate, encrypted partition or disk image that gets mounted at boot time and seal the key with the TPM. That way if they boot with Knoppix or suchlike then they will be unable to unseal the key because of the different boot process. Then you can rely on the normal operating system protections to keep the user away from the unencrypted partition.
Finally, if neither of these options are workable, obfuscate as hard as you can, port your script to a compiled language, precompile the updates, and develop a plan for what to do when the customer does get their hands on the key.
Let us know how you get on,
Chris...