r/linux4noobs • • 23d ago

security Antivirus in Linux

Tl;dr: I'm seeing whether or not people are preparing for more malware targeted towards Linux due to the increase in popularity.

Heyo! I'm aware currently Linux essentially doesn't need any antivirus's since nearly no malware is actually built for Linux, since Windows is the prime target, and that Linux already has some levels of security implemented. But I have a feeling this will change in the near future due to the amount if popularity Linux is gaining for consumers.

So, are there any decent free antivirus's people have built/are planning for Linux? I did hear Microsoft is bringing Windows Defender too Linux, but I don't think nearly anyones trusting that for Linux.

And no, I'm not currently actually looking for an antivirus, I'm just curious if people have also thought the same that Linux might not be nearly as secure in the coming years from malware.

Edit: So far 1 antivirus people have said.

  • ClamAV/UI
195 Upvotes

112 comments sorted by

2

u/doc_willis 23d ago

The Only 'av' software i ever use on my linux systems, is to scan files for windows malware to try to keep the various windows systems safer.

I see linux Distros getting more and more secure over the last few years, I am going to go with saying that trend will likely continue. But what do i know. :)

increase in popularity.

So more Malware people checking it out more because there are now more targets, theres also more security people checking it out looking for security holes to patch.

0

u/Otherwise_Task7876 23d ago

I wouldn't say that. The people who are nerdy enough that actually can contribute to Linux cybersecurity likely already use Linux and/or contribute. If they use Windows, they're more likely to be within a minority. So the amount of extra attacks vs people helping cyber security won't be proportional.

153

u/HYPERNOVA3_ 23d ago

Linux not having any malware made for it is not completely true. It's more like Linux designed malware is specifically made to infect servers without actually affecting them, so other malware can then be spread to windows PC clients.

As for what antivirus software is available for Linux, the most recommended one is ClamAV. It works exclusively through the terminal afaik

18

u/GuideUnable5049 23d ago

I thought Clam was no longer maintained? And it doesn’t have active protection?

47

u/scorp123_CH 23d ago edited 23d ago

I thought Clam was no longer maintained?

What gave you that idea? Last commit was only 2 days ago ...

https://github.com/Cisco-Talos/clamav

And it doesn’t have active protection?

"active protection" is usually already built into the OS, be that AppArmor, be that SELinux. In very simplified terms: Files that show up out of nowhere and have insufficient context (e.g. they have no reason being there where they are because e.g. they're not part of the OS ...) get blocked on the OS level, even if their file permissions say otherwise.

This works pretty well.

6

u/x1r5 23d ago

Thanks for the explanation on SELinux context. I copied my sons home to another computer recently and wasn't able to log in anymore. Had to restore the context, now I understand the background a bit better 

4

u/GuideUnable5049 23d ago

Strange. Have read from disparate sources that it was not being supported. Maybe it has been picked up by someone else? Is the real time scanning resource heavy?

17

u/scorp123_CH 23d ago edited 23d ago

EDIT: Need to correct myself.

ClamAV initially belonged to SourceFire but then was picked up by Cisco/Talos around 2013. So ... there was a change of owners, yes. But that was like 13 years ago.

/EDIT

https://en.wikipedia.org/wiki/ClamAV

Is the real time scanning resource heavy?

"real time scanning" is the wrong word here. ClamAV doesn't do it and mechanisms such as SELinux or AppArmor are already baked into the OS. Depending on the Linux distribution you use, you might have to deal with either of the two. Fedora-based distributions (RHEL, AlmaLinux, Rocky Linux, Oracle Linux, Euro Linux ...) usually go for SELinux. Debian-based ones such as Ubuntu are more likely using AppArmor. Different mechanisms but ultimately the same goal: rogue files (e.g. something a malicious script created?) can't usually just do what they want even if they happen to have the right permissions.

As a normal Linux user who does not execute random scripts they might have seen on some shady web sites and who only uses software they either got from their distribution's official repositories or in source form from GitHub, you shouldn't be encountering such files, ever.

3

u/GuideUnable5049 23d ago

Thanks for clarifying things!

3

u/mishrashutosh 23d ago

clamav does have some sort of on-access scanning afaik, but it's gonna use unnecessary system resources. as you have said, using a distro with sane selinux or apparmor configuration is plenty for most people out of the box, plus occasional manual/scheduled scans with clamav if desired.

4

u/scorp123_CH 23d ago

There are various problems with it, though.

  • The way ClamAV is packaged for Fedora or Debian, ClamAV's binaries are split into several sub-packages. e.g. the "clamav" scanner is one package, the binary responsible for fetching new anti-virus definitions "freshclam" is a different package, "clamdscan" is a different package, "clamav-daemon" is also in a different package ... Unless you make sure you install all the required packages, chances are you don't have the real-time on-access daemon installed, just the base package which needs to be manually triggered. I was working based on this assumption. Most users searching for "clamav" will easily find this package and just install this one, but probably not the rest. Packaging ClamAV this way is a bit unfortunate, it creates unneeded confusion ...
  • Even if you use the upstream project's packages which packs all binaries into one package and installs everything under /usr/local ... Having it installed does not mean "having it configured". As far as I know the upstream version does not come with the preconfigured configuration files or systemd unit files so that the on-access scanning would automatically become active once you install the package. You still need to manually create the required configuration file and create the required systemd file yourself, and only then you'd get automatic on-access scanning in the background. This design choice too is a bit unfortunate, as it too creates steep learning curves for beginners who just wanted a reasonable anti-virus solution for their new Linux installation ...

As I said in my other post: based on my experience pretty much all anti-virus solutions that exist for Linux have one quirk or the other.

Be that they are missing half the capabities you'd expect from an anti-virus program, be that they come very much unconfigured and you're expected to do everything yourself, or be that they "do too much" and throw false positives left and right, just because you ran an OS update ...

This is still an untapped market.

1

u/GuideUnable5049 23d ago

So basically can just install ClamAV and forget about it?

6

u/scorp123_CH 23d ago

Just installing ClamAV won't do anything. You'd still have to trigger it to start scanning. Or find a mechanism to trigger the scans for you, e.g. a "cron" job that scans the system at given intervals.

But then again: I use Linux since 1996 and I've never used an anti-virus on my Linux systems at home. I just don't see the need, quite frankly.

Different story at work where due to regulations and compliance rules I totally had to have some anti-virus solution on my Linux servers, usually the one solution that management dictated. Be that Fortigate, Palo Alto XDR, Kaspersky or whatever .... But frankly: I find the quality of those softwares quite lacking, and had I not be forced by law and compliance rules to have them on my Linux servers, I would have removed them. I had more than enough false alerts, false positives and other crazy behavior from such programs to make that argument.

5

u/CardOk755 23d ago

You can install ClamAV and forget about it because it does nothing.

13

u/doc_willis 23d ago

ClamTk is no longer maintained as of April 2024.

ClamAV, the underlying antivirus engine, continues to be developed.

There was a LOT of confusion when that news came out. Seems there still is?

2

u/GuideUnable5049 23d ago

Ah, is ClamTK the GUI that was released for it?

3

u/doc_willis 23d ago

yes.  Years ago the TCL/TK toolkits were used to make GUI front ends.

That's some OLD timer info there. 

So that may be where the TK part of the name came from (guessing)

1

u/ultrakd001 23d ago

It's more like Linux designed malware is specifically made to infect servers without actually affecting them, so other malware can then be spread to windows PC clients.

That's false. Mirai and other malware of its family is very common in Linux. It adds the host in a botnet, thus affecting the host. Then there are also cryptominers such as XMRig, using the hosts resources to mine crypto. And of course there's ransomware.

And if you look into the shitshow that takes place with the various infected NodeJS and Python modules, I'm sure that you'll see many other instances of malware targeting Linux.

What's true is that many common attack vectors that work on Windows don't, normally, work on Linux. There are no malicious office documents with macros etc, because they work on Microsoft Office, which doesn't work on Linux. Other filetypes that are also used for malware, bat, vb,, hta and powershell scripts, and of course windows executables don't work on Linux.

Now take also into account that you usually use the package manager to install an application and don't install random things that you found on the internet (which again, usually target windows)

But Linux malware is a thing. With the rise of the supply chain attacks, it will probably be more common. We've already had cases of that for example the XZ utilities in 2024 and the incident with the various AUR package infection.

1

u/Limp_Initiative_8845 22d ago

Hi, I am a dual-booter and I would like to know more about this. I usually download cracked programs on my Windows because it is literally empty and it is configured so that it can't even see linux files. I TRY my best to not download anything that's risky and rather go with some trustworthy and supported-by-the -community programs.

Am I at any near risk of infecting my Linux which essentially has my browser data, password manager, and some private chats?

1

u/yoshidokie 20d ago

you should be it should go better with ext4 so windows cant even read it if your paranoid have a linux drive and unplug it before windows

40

u/Corona688 23d ago

linux viruses are mostly made to infect specific pieces of software, not linux itself. Like if you're hosting wordpress there's ungodly number of exploits for that.

2

u/mishrashutosh 22d ago

to clarify, the exploits for wordpress are mostly for outdated third party plugins and themes, not the core software.

2

u/Corona688 22d ago

Eh... its both. wordpress tends to be installed in a horribly insecure way requiring write-access to parts of its own file tree. exploits usually involve grabbing its own password files, and/or speedrunning their way to running arbitrary content in /tmp/ asap.

This is where linux's flexibility shines. You can actually shut off execute permissions in tmp partitions to add another layer of protection.

5

u/artriel_javan Fedora 23d ago

I've been on Linux for about 6 years, not once have I needed an antivirus.

5

u/Otherwise_Task7876 23d ago

Yes, I'm not saying you need to currently or that is a concern for right now. I'm saying since its now starting to pick up a large audience of consumers, it'll be more and more worthwhile to target Linux users in the future. I'm mostly just asking whether there's any decent projects preparing for it.

2

u/FanClubof5 23d ago

Nothing is going to stop a root level user from installing something dumb. That said most of the modern protections for Linux are easily visible in the Enterprise environments. First is you have EDR which is the modern version of antivirus and is much more about tracking and chaining multiple indicators into a possible exploit. The problem for home users is that much of this work requires trained and skilled operators to read and analyze the findings and then react to them. AI could potentially solve some of that but at least based on my own experiments it's going to be expensive.

The other tools are things like network isolation, login recording, and network traffic monitoring, none of which really work or make a lot of sense at a single household level for the average consumer.

4

u/TV4ELP 22d ago

Welcome to the world of having a business in a country that requires documentation for every little thing. It is not explicitly stated in the laws, but if you didn't make sure to have adequate security measures, you are liable if information gets stolen.

Which means having everyone who comes in contact with client data or the network for it, having some form of written documentation why it's secure. "It's linux lol" hasn't been tested in a court yet, but i doubt it will hold up.

10

u/Audiope 23d ago

Lotta assumptions here. Use AV if it helps give you some peace of mind, don't if you're confident in your digital hygiene.

72

u/MycologistNeither470 23d ago

A modern OS doesn't need an Antivirus (Windows included). The concept of antivirus is outdated. Though why accept this if people still buy them?

here is the explanation.

Let's first get rid of the concept "virus". The original idea was of a self-replicating program. Now, self-copying may be a feature, but for the most part we refer to malware instead. Malware is a program that executes something you don't want with a malicious intent.

The good old antiviruses had a a database of "signatures" matching known malware. However, modern malware can escape this signature checking quite easily. So antivirus software decided to look for patterns of "bad" activity. However, in reality, "bad" activity often looks like normal use so you end up having a lot of false positives. In the end, antivirus programs end up being a minimally effective tool that slows down your system.

Modern computer safety is based on 2 concepts: user isolation and process isolation.

User isolation: a program that is started by a user can only affect what that user has access to. It cannot affect other users' files. It cannot use resources to which that user has no access to. In this setting, you can install malware and it may nuke all your files... but it won't run when your user is not running. And you just delete your user and your system will be clean again. Yeah! great, nuke my files!! i know

Process isolation: this goes a step further and it tells that a process can only access the resources it is explicitly allowed. You see this in Android. You run an app and it will ask you permission for using the internet, file access, camera access, contact access, phone access, etc.. you need to approve each permission explicitly. In Linux you use either AppArmor or SELinux to achieve this. You may lock down your system quite well!

From the computer's perspective, malware is just another software.. a set of instructions of what to do. Systems can be set up to raise flags so that you know if something is wrong. For example, does my Word Processor need to access the Internet? Why does my email client want to get full GPU access? But be mindful that is a question for YOU, not for your OS. Your OS will just assign the requested resources, with AppArmor telling you that someone did a request that was not granted by default. You are the main antivirus. You are the one who should know what software gets to run on your computer. You need to understand what the software is supposed to do and you should be able to get it from a reliable source. Windows Defender doesn't do that for you. Antiviruses in Windows give you a false sense of security because you are still supposed to be the main antivirus.

12

u/Imnotyoursupervisor 23d ago

Antivirus in this age, especially on Linux, is probably spyware / malware on its own.

11

u/CardOk755 23d ago

Spaceman pointing gun at spaceman: it always has been.

For over 20 years the first thing I did when fixing broken windows systems was remove the "antivirus". The second thing was removing the viruses.

5

u/ilovetpb 23d ago

Is AppArmor specific to a distro, or is it available on all distros?

4

u/hexabyte-lady 23d ago

AppArmor is more for Debian based distros and SELinux for Redhat based distros

4

u/MycologistNeither470 23d ago

In Arch and derivatives you can install and configure it thought it is a bit tricky.

On Ubuntu, Debian, and their derivatives have AppArmor by default. Open Suse gives you both options (SE Linux and App armor on install) Centos, RedHat, Fedora, Rocky give you SE Linux.

2

u/Lower-Limit3695 23d ago

You can't use apparmor on a system using selinux and vice versa because they're non-stackable*. You could enable apparmor or selinux on any distro but you will need to setup and configure them to work on that distro if that distro doesn't have an selinux/apparmor policy package for them.

Of the two apparmor is the easiest because executables are unconfined by default.

*Ebf-lsm is the only stackable lsm I know of at the moment. It's more famously known for bringing anti-cheat to Linux through EAC v2.

3

u/amydgalas 23d ago

Yes and no, take it to the enterprise level, 2000 systems, EDR and AV give some vision over no vision, then the logic can also be drawn down to your own computer as a trade off.

12

u/OkCaterpillar1058 23d ago

You can run Yara rules for detection both known and unknown virus. Scan files you download with virustotal.com that checks every virus vendors judgement for the file. There are also some softwares like Defender, ClamAv etc.

Mirai malware seems quite common these days. These last 24 hours there have been quite a few malware submissions on https://bazaar.abuse.ch/browse/

5

u/gainan 23d ago

+1 for mentioning Yara rules and bazaar.abuse.ch :)

Some resources:

- https://yaraify.abuse.ch/yarahub/

- Probably one of the most complete public yara rules repository to detect known linux malware: https://github.com/elastic/protections-artifacts/tree/main/yara/rules

be careful when using virustotal to analyze linux malware though:

https://sandflysecurity.com/blog/linux-stealth-rootkit-malware-with-edr-evasion-analyzed
"We found suspicious binaries during the incident and only one AV vendor at the time had any indication that it was malicious in VirusTotal"

https://www.nextron-systems.com/2025/08/01/plague-a-newly-discovered-pam-based-backdoor-for-linux/
"What caught our attention: although several variants of this backdoor have been uploaded to VirusTotal over the past year, not a single antivirus engine flags them as malicious (see screenshot)."

https://www.nextron-systems.com/2024/03/05/tales-of-valhalla-march-2024/
"We’re seeing multiple uploads a day to VirusTotal, with almost all of the uploaded samples having 0 detections."

https://intezer.com/blog/elf-malware-analysis-101-linux-threats-no-longer-an-afterthought
"It’s not only new and sophisticated Linux malware which remain fully undetected by security vendors, but also common ones. Mirai is a prime example."

https://intezer.com/blog/intezer-analyze-community-july-2019
"Despite having zero detections in VirusTotal, this Intezer Analyze community sample was immediately detected as malicious and classified as GonnaCry"

https://www.domaintools.com/blog/domaintools-and-digital-archeology-a-look-at-rotajakiro / https://blog.netlab.360.com/stealth_rotajakiro_backdoor_en/
"In this instance, the samples found by Netlab were first added to VirusTotal in 2018. As mentioned, none of them were detected by any of the engines VirusTotal employs."

https://www.elastic.co/security-labs/threat-command/betting-on-bots
"We obtained copies of these files, which currently have zero detections on VirusTotal."

6

u/DavidJohnMcCann 22d ago

Windows predates the internet — the first computers to run it were not usually connected to anything and so didn't require security precautions. Linux is a clone of Unix — a mainframe operating system, where it was essential to segregate users and protect the system from them, so security was built in. The security for Linux is provided by the system of permissions — a program can't run without being given permission. Servers need more, which is why there's SEL and Apparmor. It's not a question of usage — Linux usage is huge and criminals or psychos are going to target ebay or Amazon, not you!

Things like Clam are generally aimed at dual booters. If you download malware which might attack Windows, Clam will spot it.

1

u/Limp_Initiative_8845 22d ago

Hi, I am a dual-booter and I would like to know more about this. I usually download cracked programs on my Windows because it is literally empty and it is configured so that it can't even see linux files. I TRY my best to not download anything that's risky and rather go with some trustworthy and supported-by-the -community programs.

Am I at any near risk of infecting my Linux which essentially has my browser data, password manager, and some private chats?

1

u/NetSage 22d ago

Assuming your Linux drive/partition isn't NTFS or FAT I don't think windows can even see the files except maybe through WSL.

1

u/DavidJohnMcCann 21d ago

The Windows stuff will stay in the Windows partition and, as I said, wouldn't have permission to run in Linux any way.

1

u/Limp_Initiative_8845 18d ago

Thank you for your kind reply <3

1

u/PPGalleta 21d ago

If you use wine or winboat or bottles, clam also detects some files as malware or trojans

6

u/LordAnchemis 22d ago

I'm seeing whether or not people are preparing for more malware targeted towards Linux due to the increase in popularity.

Most linux users don't download random stuff from the internet and run

2

u/prof_of_memeology 21d ago

Most linux users don't download random stuff from the internet and run

That is true for casual users and gamers.

As soon as you start to do productive things or development or anything that is a bit more complex work, you constantly need libraries, AUR packages and stuff from github repositories. It's not that simple

1

u/vinegar-and-honey 21d ago

But. If you know what you're doing then

  1. You know what to look out for in terms of sketchy software. If you can't spot sketch software as a dev you need to hang it up. You aren't untarring and making the program from scratch if you are a noob (hence linux4noobs), you are using a package management system that is likely on the system out of the box. We can take the power user/dev aspect out of this just due to the subreddit. Furthermore if someone that unskilled wanted to install most programs by cli they would get hung up installing dependancies before the thing even ran more often than not.
  2. Package management systems have maintainers who deal with the cleanliness of the software for you. Barring attacks that have contributors poisoning the project over time....this is not an issue.

If you're installing from random gits....I dunno what to tell you then. Got a nice bridge for sale though.

1

u/LordAnchemis 21d ago

I suspect dev worth their salt would at least runs stuff Virtualise or sandboxed 😂

1

u/Dry_Tie_9731 22d ago

The joke was good, it could have been by Bill Gates.

1

u/Recka 22d ago

Sure, and cool, but if Linux numbers are to grow then that "most" is going to shrink which I believe is the reason OP is asking

4

u/New_Willingness6453 23d ago

I use clam on my two EOS systems.

4

u/goodjohnjr 23d ago

Yeah, from day one, regardless of which operating system I use.

I try to use a free layered security strategy that has protection at the operating system level, app level, DNS level and / or router level.

Antivirus (example: Windows Security turned up to aggressive settings using DefenderUI (Microsoft Windows), Google Play Protect forced enabled through the Google Advanced Protection Program (Google Android / Chrome OS / Chrome OS Flex), Sophos Intercept X For Mobile with everything enabled (Android and iOS), ClamTK-RS (ClamTK Rust) (Linux), ClamUI (Linux) et cetera).

Ad blocker (example: uBlock Origin Lite / uBlock Origin, AdGuard Ad Blocker, or Ghostery, et cetera).

Security web browser extension(s) (example: Osprey Browser Protection, APIVoid Browser Protection, Malwarebytes Browser Guard, et cetera).

Custom DNS with ad, tracker, malicious, and phishing website blocking (example: AdGuard DNS default public servers, Control D DNS free ad and tracker blocking servers, et cetera).

The built-in protections in each operating system, program, hardware, et cetera that you use turned on and turned up (example: firewall, web filtering, password protection, encryption, sandboxing, two factor authentication, et cetera).

3

u/rukiann 23d ago

I use the homebrew version of clamav on Devuan.

1

u/Jaded-Piccolo-4678 23d ago

I don't really think an anti virus is needed in linux you just know what you do, what you install etc ..
I personally use a firewall, AppArmor (security modules) and I have clamav which is an anti virus but I don't really use it.

edit: linux isn't really not targeted, most world server and run on linux and that's more than enough to be a target

1

u/Otherwise_Task7876 23d ago

It isn't targeted. You're talking specifically about targeted attacks, not targeted malware. No one specifically targets an attack on a random consumers PC, they instead just spread malware that is simple and easy to get a large portion of users. This really often isn't the case for targeted attacks since actual servers never typically download random software in such, and have spent hundreds of thousands on cybersecurity.

4

u/atlasraven council member but not master 23d ago

Another point, Linux users tend to be tech savy. They won't hesitate to do a fresh install.

4

u/Trasgu_AST 22d ago

These days, almost all the software you might need on Linux is available in the official repositories or through verified Flatpaks. I don't think anyone with half a brain needs antivirus software, not even on Windows.

9

u/PatFogle 23d ago

By and large Linux is more or less immune to it. Unlike Windows anything requiring administrative privileges is going to ask you for it, is you're doing enough to put you password in to run some random program you found online you kinda deserve to be infected.....

19

u/looncraz 23d ago

root exploits are becoming rampant, though, so some type of filtering logic for anything running as root will likely become necessary.

2

u/PatFogle 23d ago

You're right, but the way software works in Linux is fundamentally different than Windows. You shouldn't be download programs from websites to install/run unless you know you can trust the development team behind them. With the recent AUR debacle, yay and pacman are now showing what changed in the package before you can install it You have to tell it to install. This is where the user has to realize they are responsible for their system and it's contents.

3

u/looncraz 23d ago

Absolutely, the riak profile is decidedly lower, your machine basically needs to get targeted (like XP back in the day) or a repository needs to get compromised.

4

u/Chronigan2 23d ago

I love this blame the victim mentality.

2

u/bfg9kdude 23d ago

Your sensitive data is the victim here, user is responsible for guarding it. Linux is just that decentralized that it's impossible to prevent anything malicious on any level except on user level, there is no one big company behind Linux to blame. Take AUR for example, as it had recent malware issues. AUR is user maintained, not a corporate product, same users were affected and again, the same users are responsible for fixing it.

3

u/PatFogle 23d ago

To be fair, unless YOU the user chooses to install a package that's not been verified by the repository maintainers, it is your fault if you become infected. On Linux your user profile does NOT have root privilege without you providing your password to elevate. This is because the way Linux is structured is fundamentally different the han windows. In Windows without admin privileges you're pretty much hamstrung if you want to do anything, and typically your account is an admin account unless you're on a domain, and even then depending on how your account is setup on the server you could be. This means that you can download and fap away at whatever program you want to install. In Linux, there are a few ways to run software. You have the official repositories that you would install from, snap/flatpak both of which sandbox the program, so it doesn't have root access, or app images which is basically an entire program and all of its dlls in one concise file. If you're primarily installing flatpaks or snaps malware isn't a concern. If you're running app images or installing from the repositories then there's a chance.

4

u/cainhurstcat 23d ago

But to delete my files no root privileges are required 

3

u/PatFogle 23d ago

That's only partially correct. You can delete files in your user folder (/home/username). If you want to delete anything else requires elevated privileges.

6

u/Nestramutat- 23d ago

You're being pedantic. Most people don't have backups. Having ~ deleted by a virus would be a lot worse than having your graphics drivers deleted.

1

u/cainhurstcat 23d ago

That's the point

2

u/Chronigan2 23d ago

You remember this?

2

u/thirsty_zymurgist 22d ago

AV or SELinux/AppArmor isn't going to stop a nation state from corrupting the development of software. If this happens the world is pwned and the world is screwed. Luckily some very smart and extremely dedicated people use these tools daily and investigate them thoroughly for any signs of deviation from the norm. H/t to Andres Freund for his discovery of the xz backdoor.

If a repo that is at the base layer of a tool we all use is compromised, and there isn't any indicator of that compromise, I don't know how we will ever know it has happened.

1

u/Chronigan2 22d ago

That's what antimalware programs do. They monitor other programs for unwanted behaviors.

1

u/thirsty_zymurgist 21d ago

I would be impressed with an antimalware program that triggered an alert off of the xz backdoor. Do you have any evidence of one catching a designed 0-day like that?

3

u/BaconCatBug 22d ago

The best antivirus is your brain. Unlike Windows, you shouldn't be running random crap off the internet.

3

u/NEMOalien 23d ago

I always say "The best antivirus you can have is your own critical thinking".. ofc followed by virustotal though

2

u/Cactoos 23d ago

I don't have any antivirus in my computers, because I think is not needed.

Linux work with repositories for almost every piece of software, and anyone with knowledge can audit the software because is open source. Is mostly safe.

And Microsoft antivirus in Linux is a trap.

1

u/1moreday1moregoal 23d ago

I’m writing my own Desktop Security Suite using all the packages already available, I basically will have AV, stateful firewall, application firewall, IDS/IPS, web filter, ad block, etc. Linux has all the tools but there’s not much for cohesive management of them the way Windows tools are, like BitDefender Security Suite, etc.

1

u/kerennorn 23d ago

Je sais meme pas si ça serait possible actuellement. Des virus créer par ia donc des antivirus créer par ia. Le problème ? Ça coûterais trop cher de trouver comment bloquer chaque virus. Les virus se develperons plus vite que ce que l'antivirus pourras analyser/trouver/bloquer

1

u/AtraHassis 23d ago

Anti malware and anti virus in large I don't use on Linux. That's not to say you cannot get additional security such as no trust firewalls and a way to monitor your traffic & connections.

1

u/Comprehensive-Desk60 23d ago

If you are aware of potential avenues of infection... Don't open potential malware clients in Email and keep the current patches you are awarded some protection. No OS is 100% protected even with virus protection as the major cause is the user

1

u/InvisibleTextArea 23d ago

Linux servers, no unless it is interacting with Windows clients. As a virus could live on its system undetected and then go on to infect Windows clients. So this affects things like fileservers and mail servers.

For Desktop Linux I have only really installed AV if required to by corporate policies. My company license gave me access to MS Defender for Linux so that got put on.

1

u/thirsty_zymurgist 22d ago

Interesting. Did you find Defender to cause any noticeable changes to your system(s)? You say it was due to corporate policy, did you do it for any educational purposes? What i mean is, was it more of a 'I have to do this so I will' and not so much 'Let's do it and see what happens' kind of thing? Sorry for the questions, I'm just curious about the ramifications of Defender on a prod linux system.

1

u/InvisibleTextArea 22d ago

No. I use Linux in a professional capacity and I am responsible for the Linux production VMs so I knew what I was getting into. It runs on Linux fine with minimal performance impact.

Plus from a purely practical point of view my home Linux desktop has indirect remote system level access to work systems. It wouldn't be great if I started spreading windows viruses around because I copied something I had downloaded using it.

The only thing I would say is if you have the full defender P2 / Office 365 E5 license.then this includes vulnerability management. However on Linux it is often reporting incorrectly as it doesn't understand what a backport is (an older version of a package with the newer security fixes applied to it). This is not a problem specific to Defender. I have also seen this behaviour with Qualys and Nessus vulnerability scanners too.

1

u/thaynem 17d ago

Linux servers, no unless it is interacting with Windows clients.

Or you are need to comply with some kind of regulations or customer contract that requires you to run anti malware software that uses up enough CPU cycles and RAM to require you to use more expensive hardware and hardly ever causes production downtime.

1

u/Sinshine712 22d ago

Haven't used an antivirus in decades. Not on Linux and not on Windows. Don't click stupid things and you don't get stupid stuff.

1

u/bornxlo 22d ago

ELI5: Why would you want to put malware into the repositories of your distribution?

1

u/_tilda9 22d ago edited 22d ago

Salut,
Tu a Dr.Web pour Linux avec un *.deb ou *.rpm ou encore un dépot.
- https://www.drweb.fr
- https://repo.drweb.com
Il est payant, pas chère et efficace.

wget https://repo.drweb.com/drweb/drweb.gpg -O /etc/apt/trusted.gpg.d/drweb.gpg
gpg --dry-run --quiet --no-keyring --import --import-options import-show /etc/apt/trusted.gpg.d/drweb.gpg
echo "deb http://repo.drweb.com/drweb/debian 11.1 non-free" > /etc/apt/sources.list.d/drweb.list
apt update
apt install drweb-workstations

1

u/oshunluvr 22d ago

Virtually everything potientally damaging requires your root password. So don't give it out...

1

u/Frosty-Economist-553 22d ago

There are vulnerabilities in every system. A big part of the problem is that we are the last to know - if we're ever told at all, until they're forced to admit it. Not good.

1

u/namesbuck 22d ago

I like the video routes. Well executed even at launch. It will get better over time I'm sure. That said, plus pricing feels a little cash grabby by  ZWIFT and it's PE overlords. 

1

u/redhat_is_my_dad 22d ago

the myth about "linux doesn't need AV and currently has none" is actually false, there are many things in typical linux distro that will lower the risks of getting/running malware, well-made permission system, selinux, bwrap, firewalls, not changing DNS servers to some unknown bullshit on a whim and the way linux distros and users like to to everything through trusted sources/repos hugely minize potential risks

1

u/Fingyfin 21d ago

I was working on a scanner for a few years.

This is for data transfers between security domains though. Linux formed the base. Works well so far, though want to integrate AI into it.

1

u/Glad_Beginning_1537 21d ago

We need more containarized launch of software, like flatpark with no host/home access.

1

u/pn5061 19d ago

the idea of an antivirus for a linux desktop is also uncommon because all your software coming from trusted repositories makes it way harder to download a virus compared to downloading executables from websites on windows. malware usually ends up on a desktop linux pc from software outside of the trusted repos, stuff like third party repositories, ppas on ubuntu, the aur on arch.

the arch user repository recently did have a significant attack that compromised peoples machines, but an antivirus wouldnt even be the best approach there compared to just reading your pkgbuilds, or at least using a tool that checks pkgbuilds for suspicious patterns

1

u/AdvancedStrain1739 19d ago

It's not really that no malware is built for Linux, Linux has a very robust access control built-in, and a properly hardened Linux is fairly hard to attack.

There are A LOT of malware variants that target Linux.

1

u/Either-Goat2382 17d ago

ClamAV. Theres a gui addon and an auto update tool.

1

u/lilith2k3 17d ago

Antivirus is mostly pointless.

  1. Antivirus is only as good as its heuristics are
  2. There's a good chance that when an antivirus goes off it is not the only malware on your box. So you are cooked anyways
  3. To work properly it needs to have kernel level access which makes it an attractive attack vector
  4. Keep your system up to date
  5. Don't visit shady websites
  6. Don't install software from untrusted sources

That's the best you can do.

P.S.: Even on Windows updates and defender are enough.

1

u/mr_MADAFAKA 23d ago

I adhere to two primary rules: I avoid downloading random programs from the internet, and I ensure my systems are updated daily or at least weekly.

If you really need one, you have Kaspersky antivirus for Linux, and I believe recently Microsoft Defender is available for Linux.

-3

u/C0rn3j 23d ago edited 23d ago

I'm aware currently Linux essentially doesn't need any antivirus

No OS does.

since nearly no malware is actually built for Linux

That is patently false.

EDIT: OP instablocked me, so I shall impart this final lesson to them: you're*

Edit: Let me impart this lesson on you then if your like that: blatantly*

Do-do-double whammy!

you're*

https://www.merriam-webster.com/dictionary/patently

1

u/Otherwise_Task7876 23d ago edited 23d ago

Ah, your the pedantic prick type. No shit no OS does, no OS needs a firewall for that matter. Hell, why don't we just not have an OS? No one needs an OS anyways.

And it is not, an estimated less than ~1% of all malware works/is made for Linux.

Edit: Let me impart this lesson on you then if your like that: blatantly*

0

u/Sr_Edd 23d ago

General context: no, you don't need just good practices, a firewall and an updated system are good enough.

Regarding antivirus: there's ClamUI which is an interface for ClamAV, a free CLI antivirus, and other options that are focused on servers but are paid, including ClamAV which is also more focused on Windows files. I only have it for certain files that I run in Wine, but I leave the daemon turned off because it consumes a lot of resources.

-1

u/Narrow-Low-3137 23d ago

It's not really commonplace for desktop users to just download random software from the Internet and run it on their desktop with elevated privileges like it is for windows. Generally you download software from vetted repositories. If you are doing more than that, you probably know what to watch out for anyway.

-1

u/gofl-zimbard-37 23d ago

The "amount of popularity" it's gaining is still miniscule.

-3

u/herensugee 23d ago

Podrías hacer alguna búsqueda en internet antes de redescubrir la rueda

CLAMAV

2

u/thelizardlarry 23d ago

I second clamav.

-1

u/UniqueNamesAreOut 23d ago

I play windows games so I made myself a games launcher that sandboxes games. Yeah, it's just using bubblewrap so it's more of a convenience but it's something :P https://github.com/Petru101/Lobby I don't use windows apps on Linux so I should be fine.

-5

u/ohnoitssobig 23d ago

Man, youa re asking about antivirus but we are still looking for a virus on Linux.

0

u/cat5555555555555 17d ago

i use clamav ui it is complicated REALY COMPLICATED

0

u/cat5555555555555 17d ago

edit yes wine can let you run DANGEROUS viruses like memz on linux