this post was submitted on 10 Jun 2023
25 points (96.3% liked)

Linux

48052 readers
726 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've read that standard containers are optimized for developer productivity and not security, which makes sense.

But then what would be ideal to use for security? Suppose I want to isolate environments from each other for security purposes, to run questionable programs or reduce attack surface. What are some secure solutions?

Something without the performance hit of VMs

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (2 children)

Where did you read that and which arguments did the authors make?

Many times, the configuration of Docker is the issue, e.g. mounting stuff like files from /etc/ or the Docker socket from the outside, using insecure file permissions or running the application as root user.

If you use rootless Docker or Podman, you already eliminated one of the security risks. The same goes for the other mentioned things.

What exactly do you mean by "questionable programs"? If you want to run malware, you shouldn't do so in an environment where it can break out of anything. There's the possibility of hardware virtualisation which prevents many of the outbreaks possible, but even then, exploits have been found.

You're really only secure if you run questionable software on an airgapped computer with no speakers and never run anything else on it.

What would be your use case?

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

There are multiple use cases I have in mind, but one of them is running proprietary software I don't outright trust. For example, zoom video conferencing for work, or steam for games.

[–] [email protected] 6 points 1 year ago

Docker isnt build for these type of Programms. You should look into sandbox environments to test these apps.

[–] [email protected] 1 points 1 year ago

Try firejail and flatseal for that.

[–] [email protected] 1 points 1 year ago (1 children)

How come no speakers? Is it to prevent your ears from being blasted just in case, or is there malware that can be transmitted through audio?

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Dang, that's wild. there is some insane malware out there