this post was submitted on 20 Dec 2024
24 points (96.2% liked)

Linux

8297 readers
135 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I've got kind of a weird use case where I have a lot of laptops used for specifically for sensitive customer environments. These aren't used by everyone all the time, but only when the need arises. We need to have persistence when needed, but in some environments where exfiltration is a concern, we need to be able to work with a machine that 'forgets'.

Basically I need something like a live distro installed on the local system. but somehow allow luks encrypted persistence volumes on USB or something so our folks can maintain their own persistence when its allowed. I've used TAILS in the past for this, but some contracts specifically stipulate no USBs, and from what I understand, TAILS on HD is an adventure...

I've never heard of anything like this, and I don't have the funding to spin our own distro at the moment. Anyone have any suggestions?

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 12 hours ago

We used to use virtual box on windows with an immutable hard disk to boot the environment with storage, for persistence, elsewhere (usb for example) if required. Just used standard ubuntu for the guest distro.

Once you shut down the VM the vhd reverts to as installed. It's a bit painful distributing the system but can be done.

You can prevent ordinary users messing with the immutable setting as well if that is a concern.

[–] [email protected] 1 points 15 hours ago

Your "or something" confuses me. It's either a machine that forgets, or it isn't. USB drives are a good idea, but it they aren't allowed, then I don't see how you can accomplish this.

Is an encrypted persistent share that requires a manual password sufficient?

I think your options are

  1. Normal, bog-standard persistence (no special security)
  2. Persistence only on USB
  3. Persistence only on a network-mounted share
  4. Persistence in an encrypted share
  5. No persistence
[–] [email protected] 8 points 1 day ago

Just dd any ISOHybrid to an internal disk.

[–] [email protected] 3 points 1 day ago

Something like LPS/TENS would fit your needs exactly, but it stopped being supported in 2021. It was essentially Tails but was built to be run from a wide verity of sources (we used to network boot onto PCs that had no hard drives at all, but had local network share access).

[–] [email protected] 3 points 1 day ago (1 children)

Knoppix used to do this. Not sure if it's still around.

Another approach is to stop access to exfilltration routes like USB and network.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (2 children)

Yes, it's still around: KNOPPER.NET – KNOPPIX, although the "latest" version dates to 2021.

[–] [email protected] 3 points 1 day ago

Oh wow this brings back memories when we had to verify that hard drives were wiped successfully before disposal and we used knoppix on live CDs. Good to see that it somehow still lives.

[–] [email protected] 2 points 1 day ago

niiice, I hadn't heard of Knoppix in years! I'll add that to the list for assessing today! thanks!

[–] [email protected] 1 points 23 hours ago* (last edited 23 hours ago)

You probably want someone with some knowledge and experience as this sounds like something that could easy be screwed up. You don't want to just install some run of the mill distro and call it a day for many reasons. What industry is this and what are the requirements?

I would ask on [email protected] since the people here may or may not have much business experience. The Linux community is notorious for good intentioned but ultimately poor recommendations.

[–] knobbysideup 0 points 1 day ago (2 children)
[–] [email protected] 2 points 23 hours ago

That's not what immutable distros are

[–] [email protected] 3 points 1 day ago

oh awesome! I had no idea there were so many. I'll have the team start assessing some of these