3 ms·
No, you can have the initrd boot to a dropbear sshd that allows the operator to ssh in on reboots and provide the key.
by sneak 5y ago
No, you can have the initrd boot to a dropbear sshd that allows the operator to ssh in on reboots and provide the key.
- suifbwish 5y agoWouldn’t that part of the disk then need to be unencrypted?
- sneak 5y agoYes, it does. It's pretty small, though, on the order of 100MB.
- andrewnicolalde 5y agoThere are also options like the Zymkey[1] which is essentially an add-on TPM which can auto-decrypt the disk if it detects that the Raspberry Pi and SD card it is connected to have not changed. Not sure how difficult that would really be to defeat given enough effort though. [1] https://www.zymbit.com/zymkey/ https://www.zymbit.com/zymkey/
- fho 5y agoIf you count on the device running "forever", or at least until you pick it up again, you could also just store the key on the device and delete/destroy it (the key) on boot.
- asteroidp 5y agoWhy in god's name would you pick it up later? Installing it in the first place was a huge risk. Removing it is just doubling down
- Severian 5y agoSomething like dnscat2 would ultimately be better in my opinion. Have it connect once to get the disk key, decrypt, and end the process. Then have your device do it's thing, and once a condition is met, spin it back up, transmit the data (using small packet sizes and very large delays to possibly avoid IDS) and exfiltrate what's needed.