4 ms·
At the same time popular Linux distributions do almost nothing to prevent fingerprinting.
by codedokode 3y ago
At the same time popular Linux distributions do almost nothing to prevent fingerprinting.
- fsflover 3y agoYou can use Tor Browser for that.
- codedokode 3y agoI meant fingerprinting by third-party applications like messengers, IDE etc.
- kaba0 3y agoThey have absolutely zero security as well. I love/use them very much, but we really should stop being so naive, it only takes a single bad apple..
- GoofballJones 3y agoGuess the old replies to that of "oh, but it's open source! Anyone can see the code...so there's no need for security because the OS is secure because anyone can see the code! See? Any bugs and they're fixed in like hours. Don't worry!" At least that's what I used to hear all the time. We've now seen that was hogwash.
- vorpalhex 3y agoAppArmor, sandboxing, jails, chroot.. what other feature do you want? Linux will let you have the most locked down box in the world if you want.
- kaba0 3y agoThe only linux distro that has meaningful security is android. Linux sandboxing scene is completely broken for end-user usage, it’s only good for CICD pipelines. If I want to open a file with a program, I don’t want to see an empty drive, neither do I want to kill the program - there should be a proper interaction between the user and the program, like mobile OSs do. Flatpak does have something like that, but only for files and not even that is seamless (plus flatpaks mix packaging with security for no good reason, imo). You literally run basically everything as the same user, every document, family photo is saved, and thus available for r/w by any process, as those share the exact same privilege. This includes that npm install with millions of dependencies as well, that could literally install a screensharing malware with clear access to any internet site and you wouldn’t even notice. The age-old xkcd is still true: the only thing secured is being able to install a video driver.
- vorpalhex 3y agoFlatpak works fine for this. The discord flatpak only has access to my downloads. If I want to tweak that, I run the flatpak customizer UI. It's sort of vaguely annoying to have to restart the app. Or I just run it in docker and only mount what I want. No VM overhead since cgroups are native.
- codedokode 3y agoWhat you are suggesting is basically to write the code yourself. That's equivalent to "Linux distributions do not have proper security out of the box".
- vorpalhex 3y agoNowhere did I suggest anything involving touching code or even raw config file.
- vorpalhex 3y agoThat's blatantly false, you have a variety of tools at hand from VMs to containers to AppArmor policies. Whether those tradeoffs are worth it for you are a decision you can make. "I don't want to make that decision! I want total privacy!" - Great, use Tails which is a distro that goes all in on privacy.
- codedokode 3y agoWhat you suggest is to write a sandbox yourself and solve all the issues (e.g. fix all software to work inside sandbox). For example, software might need an access to a certain DBUS service, but you don't want to grant it an access for all other services. Out of the box DBUS doesn't provide means for that. Out of the box there is no way to prevent an app from getting information about a videocard (e.g. though Vulkan or OpenGL). And so on. Regarding AppArmor, how do you write a policy that would allow a text editor to open only files that user has chosen in Open dialog? In this case we can say that Windows is also absolutely secure - you can just write a kernel driver that would protect sensitive data from applications.
- vorpalhex 3y ago1. Enable AppArmor 2. Done Your distro already has AppArmor files for your distro software. You can also kick it into learning mode if you desire. You could also just stick to flatpaks/snaps - totally sandboxed. You could choose Whonix where every app is an isolated VM. Or choose tails where any egress is locked down and monitored.