Re:Hetzner Servers Compromised
by scott_karana on Thursday June 06, 2013 @01:09PM
(#5833662)
Agreed, but typically /boot isn't automounted when it's a separate partition, which means they would need a root-access compromise already.
Re:Hetzner Servers Compromised
by mike_esspe on Thursday June 06, 2013 @01:48PM
(#5833950)
Hetzner allows to netboot any server via admin panel. After booting into recovery os, you can modify unencrypted parts as you wish.
They can replace the booting kernel. Unless you use SecureBoot, TPM or some such thing, there is no way to protect against that (assuming that the attacker has access to the shut-down system at one point and you boot it later).
Re:Hetzner Servers Compromised
by FooBarWidget on Thursday June 06, 2013 @02:09PM
(#5834111)
The trick is putting all important data in the encrypted part. The unencrypted part must be reconstructable in an automated manner. If you are paranoid and you assume that all unplanned reboots are attacks, then you can reconstruct the unencrypted part every time. Tools like Chef make this relatively easy.
The kernel lives on /boot, and could be subverted to lie about its uptime to convince you that there was no unplanned reboot.
This is the same methodology I use, and I think about these attacks a lot. There is no good/cheap way to verify a remote execution environment right now with commodity hardware. :/
Re:Hetzner Servers Compromised
by FooBarWidget on Thursday June 06, 2013 @05:16PM
(#5835225)
That's not possible. Even if you fool the kernel, you still can't mount the encrypted disk. The fact that the encrypted disk is not mounted is proof that there has been an unplanned reboot.
Wow, do you actually reconstruct /boot on every unplanned reboot, yourself?
Re:Hetzner Servers Compromised
by FooBarWidget on Thursday June 06, 2013 @05:14PM
(#5835213)
I don't know. Ever since we set up encrypted disks we haven't had an unplanned reboot. I was simply pointing out that this is a possibility that we've considered.
It's relatively easy on Linux, where /boot is usually not encrypted.