this post was submitted on 06 Aug 2023
80 points (90.8% liked)

Linux

47380 readers
1059 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
 

Do you have any antivirus recomendations for Linux.

you are viewing a single comment's thread
view the rest of the comments
[–] gammarays@lemm.ee 18 points 1 year ago (4 children)

I don't understand why we keep telling new users that it is useless to use an antivirus on Linux. For people with computer knowledge, sure. However more widespread Linux adoption will mean more casual users will start using it. Most of them don't have the "common sense" that is often mentioned ; these users will eventually fall for scams that tell them to run programs attached in emails or random bash scripts from the internet. The possibility is small, but it's not zero, so why not protect against it?

[–] XTL@sopuli.xyz 16 points 1 year ago* (last edited 1 year ago) (3 children)

Because snake oil is not helping, or a working substitute.

Security is a process, not a solution.

[–] skullgiver@popplesburger.hilciferous.nl 2 points 1 year ago (1 children)

Processes alone don't warn you when your browser gets exploited or when npm install/pip install/cargo install triggers a cryptolocker/credential stealer/cryptowallet stealer. And yes, you could containerise everything and separate everything in virtual machines and run QubesOS and whatever, but most people don't do that because that's a terrible pain in the ass.

Security is a process, and smart use of antivirus software is just one step of that process.

[–] bushvin@pathfinder.social 1 points 1 year ago (1 children)

The problem with AV s/w in my experience, is that they do not work very well, and hinder the system’s functioning, because they provide duplicate behaviour of existing solutions and compete with them directly.

In one instance I discovered McAfee to disable write access to /etc/{passwd,shadow,group} effectively disabling a user to change their password. While SELinux will properly handle that by limiting processes, instead of creating a process that would make sure those files aren’t modified by anyone.

People need to understand Linux comes pre-equipped with all the necessary tools and bolts to protect their systems. They just don’t all live in the same GUI, because of the real complexity involved with malware…

[–] bushvin@pathfinder.social 1 points 1 year ago

Security is a process, not a solution.

Well put!

[–] gammarays@lemm.ee 0 points 1 year ago (1 children)

You might be legitimately annoyed by the amount of free antivirus software on Windows that don't offer good protection, on top of being filled with ads. But I don't agree that scanning for malicious files and preventing dangerous commands (regardless of how good the implementation is) can be labelled as snake oil.

[–] CaptainAniki@lemmy.flight-crew.org 2 points 1 year ago (1 children)

But what are you protecting against, though? What exploit? What CVE? Where's the privilege escalation from the desktop? What application? What "Linux Virus" are you concerned about?

[–] sugar_in_your_tea@sh.itjust.works -2 points 1 year ago (1 children)

As Linux gets more popular, malware will target Linux, it's just a matter of time. So right now it's not a big problem, but hopefully Linux gets popular enough that it happens.

[–] CaptainAniki@lemmy.flight-crew.org 1 points 1 year ago (1 children)

People say this all the time and it's never been true.

[–] sugar_in_your_tea@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (1 children)

You could say the same about macOS, but now that gets targeted, and Linux has about the same amount of reported userbase as macOS now. So if Linux continues to gain traction, I expect it to follow macOS in becoming a target for malware. Maybe it'll take longer because of the fragmentation, but I think we'll get there.

[–] CaptainAniki@lemmy.flight-crew.org 1 points 1 year ago (1 children)
[–] sugar_in_your_tea@sh.itjust.works 1 points 1 year ago (1 children)
[–] FoxBJK@midwest.social 14 points 1 year ago

Same thing happened on macOS. We used to say it’s immune because everything was written only for Windows. That stopped being true a long time ago and the majority of web servers have been running Linux for a decade. Doesn’t seem so crazy to me that someone would want to regularly scan their Linux boxes for bad code.

[–] lemmyvore@feddit.nl 8 points 1 year ago (1 children)

You should protect against it, but antiviruses are not the answer. It's more efficient to prevent breaches by building good security into software by design (and keeping your system up to date) than to play an endless game of catch-up enumerating pieces of malware after they're already circulating.

Windows tried this approach and it turned into a mess, antivirus companies turned into villains themselves and it still didn't fix the underlying problems. Eventually they came around to actually fixing security problems, and keeping Windows up to date, and offering a curated source of apps and so on.

You can still use scanning on Linux, but apply it efficiently on entry points, like attachments in your email client or your Downloads dir. Don't run a scanner all the time on all your processes and files, that's a gross waste of resources.

It also makes no sense for a properly secured modern system. Take for example Android, where a userspace antivirus can't work because userspace processes are isolated from each other, and a system level antivirus cannot be trusted because it needs to download signatures externally and can (and probably will) be a breach of privacy.

[–] gammarays@lemm.ee 1 points 1 year ago

I basically agree with all the points you are making. Only scan downloads, email attachments and whatnot. Don't try to play cat and mouse with sophisticated malware because that's a waste of resources. I don't think software like this exists?

Perhaps SELinux on desktop is the way to go as other posts are suggesting, although I heard that it has some usability problems and can break some programs.

[–] Potatos_are_not_friends@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Schrödinger's Linux fanbase

Linux is so much better and easy to use for casual users. But in order to use it, you have to understand terminal, bash scripting, understand permissions, understand the difference between various flavors, etc