this post was submitted on 31 Mar 2024
11 points (56.3% liked)

Linux

48328 readers
641 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 understand that no Operating System is 100% safe. Although this backdoor is likely only affects certain Linux desktop users, particularly those running unstable Debian or testing builds of Fedora (like versions 40 or 41), **Could this be a sign that antivirus software should be more widely used on Linux desktops? ** ( I know this time is a zero-day attack)

What if, malicious code like this isn't discovered until after it's released to the public? For example, imagine it was included in the initial release of Fedora 40 in April. What if other malware is already widespread and affects more than just SSH, unlike this specific case?

My point is,

  • Many people believe that Linux desktops don't require antivirus software.
  • Antivirus can at least stop malware once it's discovered.
  • Open-source software is protected by many parties, but a backdoor like this one, which reportedly took 2 years to plan and execute, raises my concern about being more cautious when choosing project code maintainers.
  • Linux desktops will likely be targeted by more attacks as they become more popular.

IMO, antivirus does not save stupid people(who blindly disable antivirus // grant root permission) but it does save some lazy people.

OS rely heavily on users practicing caution and up-to-date(both knowledge and the system). While many users don't follow tech news, they could unknowingly be running (this/any) malware without ever knowing. They might also neglect system updates, despite recommendations from distro maintainers.

This is where antivirus software can be useful. In such cases, users might be somewhat protected once the backdoor signature is added to the antivirus database.

Thankfully, the Linux community and Andres Freund responded quickly to this incident.

you are viewing a single comment's thread
view the rest of the comments
[–] savvywolf@pawb.social 51 points 7 months ago* (last edited 7 months ago) (7 children)

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.

[–] limelight79@lemm.ee 22 points 7 months ago (1 children)

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.

[–] savvywolf@pawb.social 9 points 7 months ago (1 children)

Yep, the antivirus might need a compression library to manage its database. :P

[–] limelight79@lemm.ee 6 points 7 months ago (1 children)

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.

[–] bacon_pdp@lemmy.world 2 points 7 months ago (2 children)

Didn't Guix solve that one with its full-source bootstrap?

[–] Atemu@lemmy.ml 1 points 7 months ago

Sorta.

You still need to trust a full Linux kernel and x86 hardware system.

[–] limelight79@lemm.ee 0 points 7 months ago

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.

load more comments (5 replies)