173
you are viewing a single comment's thread
view the rest of the comments
[-] mtset@beehaw.org 16 points 1 year ago

Poor data management practices on the part of this admin.

[-] Lowbird@beehaw.org 9 points 1 year ago

It seems like yes, but also:

To make matters worse, it appears that the admin targeted in the raid was in the middle of maintenance work which left would-be-encrypted material on the server available in unencrypted form at the time of seizure.

[-] dan@upvote.au 3 points 1 year ago* (last edited 1 year ago)

What type of maintenance work leaves the drive unencrypted?

[-] drwho@beehaw.org 4 points 1 year ago

The drive wasn't encrypted, a not-encrypted database dump was on the laptop when the raid happened. It might have had to do with gearing up for the Mastodon update that caused us a lot of grief across Fedi a couple of weeks back. Or it could have been database server debugging; the timing was incredibly bad.

[-] dan@upvote.au 2 points 1 year ago* (last edited 1 year ago)

But if the drive wasn't encrypted, how is it "would be encrypted material"?

I'm surprised that people are hosting Mastodon servers without full disk encryption given the overhead isn't significant plus the fact that people have private messages in the DB.

[-] wim 5 points 1 year ago

Just FYI, when your drive is encrypted, and the system is up and running, the keys for the encryption are in memory and thus recoverable. And even if they were magically protected by something like SGX or a some secure enclave, you can still interact with the machine and the filesystem while it is running.

So full disk encryption is NOT a silver bullet to data protection when being raided.

[-] Butters@lemmywinks.com 3 points 1 year ago

Right, and then these comments about “encrypted database” the server application needs to be able to access that data, so it will have the key in its config somewhere right?

[-] drwho@beehaw.org 2 points 1 year ago

Yep. And homomorphic encryption is still very far away from being usable. Efficiency aside, the technology is patent encumbered, which is slowing down research into making it usable.

[-] dan@upvote.au 2 points 1 year ago

Yeah I didn't realise they'd capture the memory. I though they just unplug the server and take it.

You could potentially have something that recognizes that the server is being tampered with and automatically shuts it down.

[-] drwho@beehaw.org 1 points 1 year ago

Folks have been working on that for a while. I don't know if there are any usable tricks for that, though, been away from the game too long.

[-] drwho@beehaw.org 2 points 1 year ago

Additionally, hardware-based solutions for attackers have been known for about fifteen years now. Wiebetech, for example, sells a nifty gadget that you plug into a UPS and then carefully slide over the power connector of a running machine. Then you pull the plug from the wall and the machine stays powered up. Net result: Contents of RAM are intact, encrypted drives are still accessible because the OS is still up.

[-] algebro@algebro.xyz 1 points 1 year ago* (last edited 1 year ago)

AFAIK it's not that easy to access data on the machine while it's running unless they can bypass the lock screen. People pick stupid passwords for their user accounts so it's totally possible to get in in those cases, but otherwise dont you need really sophisticated side channel attacks to get data out of memory on locked system? It's not like there is some port on the MOBO you can just plug into to get access to RAM

[-] HumbleFlamingo@beehaw.org 1 points 1 year ago

I did some work on this a decade or so ago in college. Data stays in memory a lot longer than you'd think at room temp, like minutes, not seconds. If you spray the modules down with an upside down compressed air can, you have plenty of time to remove it, and plug it into some that can dump it to persistent storage.

[-] drwho@beehaw.org 1 points 1 year ago

It's also possible to keep the lockscreen from coming up. The mouse cursor jigglers that folks buy as pranks these days started off as another device LEOs use during raids. I think Wiebetech invented that one, too.

As for dumping the contents of RAM from a running machine, look up "memory forensics." It's a thing that LEOs have done for quite a few years as well.

[-] adespoton@lemmy.ca 1 points 1 year ago

The DB itself is encrypted (usually).

And FDE wouldn’t have helped if the disk was currently mounted and the admin logged in; LEO attempts to preserve things as they are, they don’t just unplug the hardware and walk away with it.

[-] dan@upvote.au 3 points 1 year ago

The DB itself is encrypted (usually).

Which DBs support encryption? Genuinely curious, since I usually use full-disk encryption and so often don't have a need to configure encryption in individual services.

they don’t just unplug the hardware and walk away with it.

Huh, I thought that's exactly what they do during a raid. TIL.

this post was submitted on 26 Jul 2023
173 points (100.0% liked)

Technology

37702 readers
398 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS