31
submitted 9 months ago* (last edited 9 months ago) by MigratingtoLemmy@lemmy.world to c/selfhosted@lemmy.world

Hi everyone, I found the great question on booting encrypted drives, and since I'm somewhat paranoid I'd like to ask a follow-up:

When the key to decrypt the drive is input into the system, I'm assuming it stays in the RAM till the time the computer shuts downs. We know that one could, in theory, get a dump of the contents of the RAM in such a state, if done correctly. How would you deal with this problem? Is there some way to insert the USB, decrypt the drive, and then remove the USB and all traces of the key from the system?

Thanks!


Edit: link to the question I referenced: https://feddit.de/post/6735667

you are viewing a single comment's thread
view the rest of the comments
[-] 4am@lemm.ee 6 points 9 months ago

If an attacker wants your encrypted data that bad, they will attack the running machine and use it to access the data, they will not steal a key and then attempt to physically remove the drive.

Drive encryption is for prevention of access when the drive is offline, it doesn’t protect a running system which can access that data.

If you are worried about the key being accessed while the machine is running, focus on hardening access to the machine via network, etc.

[-] MigratingtoLemmy@lemmy.world 1 points 9 months ago

This machine will not be connected to the Internet, and the only way to get to it would be a VLAN-hopping attack (in which case, I'll have to think of something else)

this post was submitted on 17 Dec 2023
31 points (100.0% liked)

Selfhosted

39473 readers
618 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS