has anyone implemented any sort of 'secure boot' using TPM 1.2 modules on the server boards using CentOS 6.x ? I'm not finding much concrete stuff on how to setup and manage a system like this, but I've been asked to research it for a security application internally at my job. our primary application for the TPM is for client authentication certificates in an SSL application (the machine with the TPM is an unmanned embedded client, that accesses webservices on a remote server which needs to authenticate this client). We've already done similar client authentication using USB Tokens, but would like to use TPM for this in the future. I think the client authentication part is pretty straight forward, using Trousers and so forth and PKCS#11 to access the keys. Once we get the client authentication side working, we'd like to also secure the OS itself to prevent tampering, presumably using trusted grub and such? is this typically used in conjunction with disk encryption such that the TPM module supplies the decryption keys? does linux have any concept of signed executables, kernel, and so forth? would replacing the RPM keys with keys signed by our own certificate authority such that the TPM would be involved in RPM authentication be practical? (yes, I know, this would mandate using a private yum repository, and building/signing all our own system components). I realize this will greatly complicate system management, security is always a tightrope act. -- john r pierce 37N 122W somewhere on the middle of the left coast
On 5/19/2013 2:06 PM, Reindl Harald wrote:> Am 19.05.2013 22:59, schrieb John R Pierce: >> >is this typically used in conjunction with disk encryption such that the >> >TPM module supplies the decryption keys? does linux have any concept >> >of signed executables, kernel, and so forth? would replacing the RPM >> >keys with keys signed by our own certificate authority such that the TPM >> >would be involved in RPM authentication be practical? > did you not read any IT news in the last year? > forget it on CentOS / RHEL currently > > even Fedora is far far away from what you think you need and the > complete chain of trust is more or less impossible on a opensource > system without make any 3rd party kernel module completly impossible > > https://fedoraproject.org/wiki/Secureboot > http://www.networkworld.com/community/blog/microsofts-secure-boot-red-hat-request-ignites-linus-torvalds-nsfw-flame-war >TPM is not the same as the new secureboot UEFI BIOS stuff. this is an optional module (tamperproofed so if its unplugged, it erases) on most server motherboards, you initialize it with your OWN security keys if you want to use it, Microsoft has nothing to do with it. TPM has been around since 2006 or earlier. -- john r pierce 37N 122W somewhere on the middle of the left coast
On 5/19/2013 2:41 PM, Reindl Harald wrote:> your question was*clearly* secure boot > and before UEFI secure boot*nobody* cared about TPM on OS systemsso basically, you're saying you can't use a TPM to secure a linux system? hey, saves me a lot of work. I'll tell my boss it can't be done. -- john r pierce 37N 122W somewhere on the middle of the left coast