this post was submitted on 31 Mar 2024
11 points (56.3% liked)
Linux
48328 readers
636 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
An antivirus wouldn't protect against the xz exploit. Imagine it did pull down the database of hashes and found a malicious xz binary, what is it going to do?
It can't quarantine it, because that would break programs. It could update it, but shouldn't your package manager be the one in charge of that? So the best it can do is notify you of the exploit... Which also feels like a thing the package manager should be doing.
I think instead of an antivirus, we should have a stricter permissions model. Certain applications can identity locations as "private" which blocks untrusted applications. So a random file you downloaded won't be able to read your browser cookie jar or Discord session.
Random files you download from the internet should be executed in an unprivileged context which requires a "do you want this application to have access to this?" prompt whenever it does something sketchy.
Interestingly, afaik, Valve already runs Windows games in a secure container when using Proton. Fun fact.
I'd add that if one of the basic libraries is compromised, you can't trust the anti-virus or really any other program on that system.
Yep, the antivirus might need a compression library to manage its database. :P
The xz issue might not directly affect an anti-virus, so maybe in this specific case, it would work fine. But it wouldn't be hard to come up with another library that would make the anti-virus moot. And even in the xz situation, doesn't it affect systemd?
All bets are off when you can no longer trust low level software like this.
Also, the Ken Thompson Hack comes to mind.
Didn't Guix solve that one with its full-source bootstrap?
Sorta.
You still need to trust a full Linux kernel and x86 hardware system.
I am not familiar with that. From a quick glance it looks like the new HURD. But I think even there you're relying on the work of others.
I did not know that about proton. Interesting.