N.E.P.T.R

u/Neptr@lemmy.blahaj.zone
13 posts · 716 comments

Recent posts

Recent comments

Things sandboxed by Firejail share the same host kernel. Therefore, kernel vulnerabilities could allow for privilege escalation.

Firejail itself is a security-hole. It is a massive root SetUID binary which can and has been used for privilege escalation. I avoid it entirely. Unprivileged sandboxes are better, but lack the built-in profiles provided by Firejail.

If I was trying to sandbox malware, I would use sydbox. It is memory safe (unlike Firejail or Bubblewrap), unprivileged (unlike Firejail), secure sandbox by default (unlike Bubblewrap), extensively uses all relevant Linux security features/modules (more than any other), and actually helps to stop LPE by re-implementing or denying dangerous syscalls like in the case of many of the recent vulnerabilities. Biggest caveat is that it's not for beginners, even though it abstracts a lot of the complexity. I'd also neverbrun malware in just a sandbox, but use that alongside a proper VM.

TL;DR No sandbox will save you from good malware. Firejail might be enough for script kiddies, but could make your system more vulnerable to privilege escalation attacks. Avoid installing things you don't need.

You don't need to say the words "sandboxed" or "isolated" to say effectively the same thing. Your goal with distrobox was to keep the AUR malware separate from your normal system, no?

Security through obscurity is not security. The malware can do the same data exfiltration regardless of root access because the AUR malware has been about stealing secrets in user-readable directories. Setting a custom home for distrobox does not disallow access to the normal one.

Say for example that your default user home is /home/user and you set the distrobox home to /tmp/home

If you run ls $HOME inside distrobox it will list files in /tmp/home, but just as easily you could run ls /home/$USER and it would list in your default home. Or alternatively just use the find command and steal secrets without targeting the user home.

This is because changing the user home through distrobox doesn't do anything about preventing directory traversal to your default home.

If your goal is to create a different environment and you don't care that it won't stop malware, use Incus or Podman directly. Distrobox is the wrong choice.

My point was simple: when dealing with malware, distrobox is not an effective method of creating a "different environment" because that is antithetical to its stated goals.

You can do whatever you want, I am not here to police your choice on your personal system. I only take issue with recommending this strategy to others.

Distrobox is not an isolated environment, it is quite the opposite. They say so themselves on their page:

Security implications

Isolation and sandboxing are not the main aims of the project, on the contrary it aims to tightly integrate the container with the host. The container will have complete access to your home, pen drive, and so on, so do not expect it to be highly sandboxed like a plain docker/podman container or a Flatpak.

I would argue that Docker isn't a good way to stop malware either, since it is highly vulnerable to sandbox escape leveraging the shared host-guest kernel, like the many of LPEs that have been found in the last few months (example using copy-fail).

Docker is not a secure sandbox, Podman is not a secure sandbox, Flatpak is not a secure sandbox. Use a VM, or better yet, don't use the AUR.

Wizard101.

I probably have over 10k hours in that piece of shit. Autistic obsession for like 5 years straight. Been playing on and off since it came out. Fuck Kingsisle, fuck microtransactions, fuck them lying about it being "free-to-play", fuck features that only exist to incentivize paying. I still like the game in some ways, it just isn't a good game.

Proprietary OS. Idc if it is "Linux". Android is Linux, and AOSP is open source. Why use a proprietary Linux distro over something like GrapheneOS which is fully free and open source software. I don't think any person who cares about their privacy should use SailfishOS. It really seems like privacy-washing and OSS-washing. I say kick proprietary Linux distros out of the community.

on not very brave · c/microblogmemes · 1 pts · 25d

If you are on Android, just know it has much weaker security because it is a webview browser with no per-site process isolation. WebView browsers are just reskinned weaker Chromium. Also, of your devices is no longer receiving updates, your webview (built in to the OS) may be very out of date, and Browsers are the most exploited platform.

If you are on iOS, it is just reskinned Safari (WebKit). If you are on desktop, it should be fine (just still chromium).

Avoid Fedora Flatpaks (their repo, not Flathub) because of broken apps. OBS got pissed at them a while back for user reporting bugs that were only present in the downstream repackaging by Fedora. Broken af.

on Bottom surgery soon · c/transmemes · 1 pts · 25d

I've been making that joke since highschool, where I'd ask my friend if they took their boobs off at night.

on Tattoo · c/transmemes · 12 pts · 31d

The swastika as a religious symbol is one thing (it was a symbol of peace for much longer than it was for hate), but as a tattoo I would say that is a big "fuck no" from me.

on Tattoo · c/transmemes · 10 pts · 31d

One of those looks like a straight up swastika (bottom left and up one).