r/linuxquestions • • Jul 11 '25

Which antivirus do Linux users use?

‎

163 Upvotes

363 comments sorted by

483

u/Clark_B Manjaro KDE Plasma Jul 11 '25 • This

Linux 😁

128

u/n3cro404tauheed_ Jul 11 '25

This is the most Linux answer to a Linux question 💯.

25

u/Dredkinetic Jul 11 '25

It is also the most correct answer though. lol

18

u/Enough_Tangerine6760 Jul 12 '25

Yes anti virus is a windows solution to a windows problem. If all your software comes from the package manager which has been confirmed to be safe av isn't gonna provide much protection at all

→ More replies (12)

60

u/thatnovaguy Jul 11 '25

It's also great birth control

36

u/KosmicWolf Jul 11 '25

Are you implying that talking about Linux to a girl are not good pick up lines? Now it all makes sense...

From now on I'll talk only about GNU then.

8

u/Dredkinetic Jul 11 '25

Just keep it FOSS bruv.

→ More replies (4)

5

u/Tech-Crab Jul 11 '25

: stallman has entered the chat

Unsure how much stock you should take in his advice onnthe ladies, tho 

→ More replies (6)

4

u/Gryffinax Jul 12 '25

If it doesnt work i want my money back

→ More replies (1)

3

u/big_blunder Jul 11 '25

Fortunately my son is someone...

→ More replies (2)

8

u/PaulEngineer-89 Jul 14 '25

Correct but not stating why.

Linux (and Unix) is used on the vast majority of servers. These are systems that are not only more vulnerable because of open ports but also available 24/7 to attack.

The philosophy behind virus checkers is to first wait for an infection to occur then attempt to detect and remove (delete offending files) it. That strategy is simply incompatible with a server environment. Basically viruses would just be a giant DDOS attack going on and servers would be useless.

In a server environment the strategy is to detect vulnerabilities then change the system so that viruses are either blocked or neutered. Some examples;

  1. In Linux the way you debug a program is by compiling a special version with a debugger interface. The normal production version doesn’t have it. And you must be the owner or super user. In Windows the debugger is part of the kernel. Any program can read or write or do arbitrary execution on any program with no safeguards at all.

  2. In Linux we have distributed privileged functions. For instance an email server can read or write anything but only in the area of the disk allocated for system mailboxes. Similarly most critical system services can only access parts of the system with elevated privileges (for instance reading/writing files not owned by the system) in specific limited files or areas. In Windows the Administrator account can basically do anything without restrictions. Much of this is implemented by things like setuid and chroot.

  3. Package repositories are routinely checked first issues before making files public. Stuff can still sneak through but it’s pretty rare. In Windows if it’s not a Windows app you just download, cross your fingers, and install. This is changing but there’s nothing to stop you from bypassing the package manager in Windows. There isn’t in Linux either but package managers are much easier so there is less risk.

  4. Because of #2 and #3 it’s hard to get malware on someone’s machine in the first place. Again it’s rare but quickly patched.

→ More replies (3)

73

u/Manarcahm Jul 11 '25

common sense and linux

2

u/n3cro404tauheed_ Jul 11 '25

Tbh, that's 90% of Linux security right there. The rest is just permissions nd not being reckless.

4

u/3vi1 Jul 12 '25

And the fact that most users only install software from trusted, signed, repositories. Not from 80 different vendors sites where the webmasters may or may not know anything about security.

→ More replies (1)
→ More replies (2)

19

u/nkn_ Jul 11 '25

Applies to windows too, and macOS. I use all three major OSes, haven’t had a virus in almost two decades.

If you have good PC-hygiene and common sense, it’s hard to actually get a virus.

→ More replies (9)
→ More replies (2)

155

u/LBTRS1911 Jul 11 '25

Most don't. It's generally not needed on Linux as virus creators target the more popular Windows. That could change though.

89

u/LavenderDay3544 Jul 11 '25 edited Jul 11 '25

There is a metric fuck ton of malware for Linux. But most of it targets servers where Linux has majority marketshare not the less than 1% of client machines using it.

→ More replies (17)

30

u/squirrel8296 Jul 11 '25 edited Jul 11 '25

It's also easier to build a virus for Windows because of the poor antiquated development practices related to the Windows Registry that largely can't be removed because of Microsoft's focus on backward compatibility from the MS DOS era.

→ More replies (4)

1

u/n3cro404tauheed_ Jul 11 '25

Yup, but do you think that could change as Linux becomes more popular?

25

u/acejavelin69 Jul 11 '25

Unlikely... Linux 's separation of system and userspace makes it very difficult for viruses to do their thing. It's inherently more secure. That isn't to say there isn't malware and other malicious software out there, but isolation and the fact the majority of software comes from curated repositories makes the chances extremely low by comparison to say Windows. Linux is just a poor target for hackers and generally not worth their effort as it takes a lot more work to get around a multitude of safeguards natively built into the system... Basically it's not "low hanging fruit" and it's more work than it's worth.

11

u/n3cro404tauheed_ Jul 11 '25

Basically, Linux isn’t bulletproof but hackers don’t wanna waste bullets on it either.

→ More replies (4)

6

u/Historical-Ad399 Jul 11 '25 edited Jul 12 '25

Since Vista, Windows has also protected its system files. The software repo, imo, is the big thing that separates the two. In Windows, you just get used to downloading things from the internet granting privilege escalation requests all the time and don't really think about it. A malware writer in Linux could also request admin privileges, but users are more likely to be suspicious.

Even without root access, though, malware can still be pretty painful regardless of platform. They can still access all your personal files and can still execute code.

The fact that the average Linux user is much more tech savvy than the average Windows user is also going to make things a lot harder for malware writers. Malware enters your system through social engineering the vast majority of the time these days, and Linux users are less likely to click a suspicious link and run whatever software ends up on their computer.

→ More replies (10)

3

u/squirrel8296 Jul 11 '25

While plenty of viruses attack a desktop, generally a desktop is not the intended final target, it is more so a means to an end. Servers are generally higher value targets than individual desktops and currently most web servers are powered by Linux. So, if it was going to change, we would have seen it at least somewhat changing already. If a desktop is the intended final target, unless it is some super high value target, social engineering is generally the more effective method of attack.

Add in the poor and antiquated development practices related to the Windows registry that are not applicable on Linux and Windows' generally awful separation of system and user spaces, all of which don't exist on Linux also makes Linux a much more difficult target.

5

u/Jethro_Tell Jul 11 '25

meh, Maybe, but if you install all your programs out of the repos and have user separation it's a lot less of a concern than the garbage windows is(was?) slinging.

Obviously, still could get owned with the old pdf in an email thing or link on a site but the vector is so much smaller when most of what you do goes though a multi-user system and package repos.

→ More replies (5)
→ More replies (16)

4

u/visualglitch91 Jul 11 '25

None

1

u/n3cro404tauheed_ Jul 11 '25

That’s the spirit of 90% of Linux users lol.

44

u/[deleted] Jul 11 '25

I use my head, strict SElinux policy, containers and namespaces, browser based plugins like noscript to prevent viruses from infecting me. If I ever have to run something fishy I will do so with isolation from my OS.

10

u/Abject_Abalone86 Fedora | Hyprland Jul 11 '25

Yeah SELinux and a decent head is all you need 

→ More replies (3)
→ More replies (2)

21

u/FatDog69 Jul 11 '25

We tend to NOT need or have a virus scanner on linux because:

  • Linux is less popular for PC's so hackers tend to not focus on operating system types of viruses.

  • Unix then Linux was created to be multi-user and multi-processing. So security and isolating one user or process from others were early features and continue to be an important feature of the system.

  • Linux is designed with the idea of "least permissions necessary". Using the PC with linux works after you log in, but you are running with an account that does not have global or admin permissions. If malware or a virus or other suspicious code tries to install because YOU did something like download software from a strange site - the OS blocks things by default. If YOU try to install something new or do something to the system - you have to type your admin password over and over again. It's a pain on a new machine for the first few days but this tends to protect the system from a lot of malware.

Windows was designed to run on a PERSONAL computer. Once you log in - you can do everything/anything to the system because only 1 person should be using it. There is only 1 user, it is you and if you install malware - then the OS does not care. It's YOUR MACHINE.

These differences in concepts are why Linux machines tend to not need a virus scanner.

3

u/a3a4b5 Fedora + GNOME apologist Jul 12 '25

Which is kinda ironic, because Linux is marketed as a system that you own and can do whatever the fuck you want, whereas Windows is marketed as a product owned by a company and licensed to you, in which you can't do what you want.

But, in the end, if you know what you're doing, you can make Windows do whatever the fuck you want, too.

→ More replies (2)

7

u/gainan Jul 11 '25

opensnitch, since almost all malware requires internet access nowadays. It gets the job done.

And run the apps isolated from the host.

27

u/vextryyn Jul 11 '25

ClamAV is real simple and easy to setup. At some point anyone saying you don't need an AV is gonna get boned and you don't wanna be one of em.

While yes there aren't as many viruses available for Linux, they still exist and the more people that start using Linux the more interest there is in making viruses.

12

u/Booty_Bumping Jul 11 '25 edited Jul 11 '25

Setting up ClamAV on a desktop can actually worsen your security posture. It has no builtin sandboxing for its file parsing written in C, that is expected to be handled by a wider system, such as email exchange software. For desktop use, this part of it has to be run as root for it to work properly. So an exploit in file parsing could be bad news, if for example a web browser cache file contains ClamAV-exploiting malware. It's not really properly built for endpoint security, it's more for scanning linux servers for the presence of windows viruses originating from user-generated content.

4

u/AviationAtom Jul 12 '25

Ironically, one of the best use cases for ClamAV is to scan for files with Windows viruses 🙃

→ More replies (2)

7

u/revicon Jul 11 '25

On debian, the best anti virus is...

sudo apt get update

sudo apt get upgrade

Translate to your distro of choice. An up-to-date linux system is the best defence against exploits.

3

u/intelligent-prize320 Jul 11 '25

It's not technically “antivirus” in the sense of detecting viruses, but most people use either AppArmor or SELinux to prevent exploits doing much harm in the first place.

5

u/Own_Shallot7926 Jul 11 '25 edited Jul 11 '25

Windows viruses are more prevalent for a few reasons.

First, you download Windows software by searching for it on the internet. There's a "software store" but no one uses it. It's insanely easy to pass off a malicious installer as if it's a trusted product.

Second, Windows generally only has one user who can gain administrator privileges at the click of a button. If you run an .exe and press "yes" on the warning from SmartScreen... Then it now has full privileges to do basically anything on your computer.

Mainstream Linux distros use package managers which contain only trusted software designed to work with your specific OS version. In order to download packages from other sources, you would have to explicitly import + trust them. There are built it mechanisms to check that repositories and packages are legitimate using unique fingerprints. Graphical desktop applications are usually "sandboxed" with no access to underlying system resources.

Linux processes are also isolated only to the user running them. In a properly configured system (i.e. one you didn't intentionally break) the most damage a "virus" could do is to your individual home directory. You would have to run a process as root, confirm this with your password and likely give that application special privileges via SELinux for it to do much else.

TLDR: writing generic "viruses" for Linux is useless because almost no one uses it, the default security stance is so strong that it makes success unlikely and even when you do succeed, the scope of what you can steal or break will be highly limited.

I'll add that third party antivirus on any operating system is a dangerous proposition. You're giving a black box product the highest level of access possible and blindly trusting it to do no harm. If I'm a bad actor, I'm not trying to hack your useless little laptop. I'm going to sneak some backdoor code into Clam AV and let it rip on all of the systems where it's installed as root. Windows Defender works great. Default Linux works great. Don't mess with it if you're a casual user who doesn't know better. Sometimes doing nothing is the right move.

3

u/rsa1 Jul 12 '25

In a properly configured system (i.e. one you didn't intentionally break) the most damage a "virus" could do is to your individual home directory.

To be fair, a lot of damage can be done with that alone. If you use Linux as a daily driver, it's likely that you have important documents that you could lose or worse, have spyware send to the attacker.

→ More replies (2)

11

u/jeffcgroves Jul 11 '25

clamav but, as u/LBTRS1911 notes, most Linux users don't need virus protection. In addition to there being fewer viruses, Linux users tend to be more intelligent and understand the difference between executable and non-executable files

19

u/agfitzp Jul 11 '25

Linux users tend to be more intelligent

Experience, knowledge and intelligence are three different things. An experienced Windows user (it's been around for 30 years) is likely to have more knowledge than a new linux user.

Which one is more intelligent? Probably the one who doesn't brag about it online.

→ More replies (9)

4

u/Death_IP Jul 11 '25

The user having "known file extensions" disabled:
"Ah yes, let me download and open the manual.pdf.exe. "

→ More replies (1)

4

u/froli Jul 11 '25

My head + all the built-in security features in Linux + browser plugins like noscript, decentraleyes and uBlock Origin (it blocks more than ads) + FOSS and up-to-date software on all my network gear (OpenWRT, OPNSense, PiHole) + having a separate VLAN for IoT devices + not using dodgy apps for controlling hardware (you know, when you buy a cheap gadget on Aliexpress and the app is on a Google Drive? Big no-no in this house)

2

u/[deleted] Jul 11 '25

Clam AV

2

u/SaintEyegor Jul 11 '25

We’re supposed to run AV on our Linux systems to check a box on the DISA STIGS but we’ve never found a single infected file on thousands of Linux systems. Seems pointless but ya have to check that box or the security wankers get all fussy.

2

u/Bathroom_Humor Jul 11 '25

As Linux gets more popular, it will likely get more attention from Malware devs. As such I'm pleased to know that my subscription to Common Sense 2025 is fully compatible with both Windows and Linux.

2

u/serunati Jul 11 '25

Linux and all *nix platforms were developed with access and security before user experience was really a thing.

So much harder to compromise from a disconnected attack like malware attachment. Directed attacks are more even if the same services are listening. But linux is far choosier on “answering the phone” with how network ports are exposed.

TLDR : Windows focus on user experience had them make bad design choices that were exploited years after implementation. *nix focus on least privileged user definitions with only elevated (sudo/root) when necessary keep it safer.

All that to say *nix can be a carrier in allowing payloads for windows to cross the ecosystem. But if we started shutting down emails with compromised payloads in transit, then how could you order from Temu?

2

u/Sinaaaa Jul 11 '25

If I download something semi-fishy, then upload it to virustotal before running it, though it's been a long time.

2

u/OneOldBear Jul 11 '25

When I used to be a heavy Linux user, I used Sophos. Now I'm, nearly exclusively, a Mac user and I still use Sophos.

2

u/kombiwombi Jul 12 '25 edited Jul 12 '25

Mostly they use RPM or Deb to avoid trojans by only installing from trusted software repositories and they use sandboxed web browsers and mail clients to limit malware installation via the browser.

Essentially much of the basic security stance recommended for computers is already present in Linux out of the box.

The other big difference is the type of user. There are a lot of system administrators, computer hobbyists, and computer engineers. This makes phishing less likely to succeed.

This different type of user means that developers also think differently. The typical response of a developer to a security situation in Linux is to deny and log. the typical response to a security situation in Windows is to ask the user -- like they can know on the information immediately available, it's essentially not security but shifting blame. For example I was copying files and in a situation where Linux would have errored due to user IDs on disk not matching, Windows offered to chown the files. Except that wasn't portrayed to the user as a fundamental change to the security of those files.

Clearly marking security actions with sudo has been a massive security win for Linux. This per-action grant of escalated privilege is clearly the correct security choice, to the extent that many distributions won't allow a login to the equivalent to Windows 'Administrator' account.

Similarly the derided 'command line administration' has also been valuable as it makes security consequences clearer l.

Plain text configuration files have also been a good choice. There are lots of tools for managing source code, and Linux gets to ride on those. Whereas there needs to be explicit tools for the Windows Registry.

Corporate users of Linux laptops can gain a lot by leveraging the security surrounding Linux servers. Eg: there's no reason they shouldn't send logs to the SEIM log ingester.

Linux at the moment could tighten security more but this isn't done because it annoys users with a loudhailer who have barely got over SELinux. Most significant of those would be ending all session processes at logout. But also extending SELinux into home directories (eg, files arriving into ~/Downloads not being excutable or input to interpreters without superuser action).

→ More replies (3)

3

u/zardvark Jul 11 '25

Linux isn't affected by most virus', but Linux can be a carrier. Many Linux servers run clamav as a friendly gesture to Windows users. It's of course optional whether you want to run clamav on your workstation, or not.

→ More replies (6)

1

u/[deleted] Jul 11 '25

I don’t see the need to use any antivirus software. Linux is secure enough.

1

u/cheesemassacre Jul 11 '25

We don't use AV, some people use Apparmor or SElinux but that's not really an antivirus.

1

u/Hradcany Jul 11 '25

Nothing. I didn't even use one in Windows.

1

u/PedalUp Jul 11 '25

That's the neat part. I don't.

1

u/FantasticAnus Jul 11 '25

Personally I don't.

1

u/Better-Quote1060 Jul 11 '25

For desktop..nothing

1

u/marozsas Jul 11 '25

None. Standard security features (appArmour/SELinux) and not downloading/installing software from untrusted repositories is enought.

1

u/Harryisamazing Jul 11 '25

None quite honestly, as the probability of system wide viruses are low on linux and also using common sense online... I've never given it much thought

1

u/Rinzwind Ubuntu Cinnamon; Arch KDE Jul 11 '25

Never have. Never will.

Up to now(!) all those scanners are only to scan windows files. and to then block them or send them to windows machines in your network.

Keep to the basic rules (things like: good password, no software you do not use, services you do not need stopped, always update) and you will be fine if you use your system as a regular system

(if you use it for a business it is another case ;) )

1

u/Cautious-County-5094 Jul 11 '25

We use brain. Really majority of malware infection ar coused by pure user idiocy.

1

u/MasterGeekMX Mexican Linux nerd trying to be helpful Jul 11 '25

As King T'Challa from the Marvel MCU once said:

We don't do that here

1

u/digiphaze Jul 11 '25

ClamAV but I only use it to scan attachments on my email server and really its only for the protection of others on Windows.. Otherwise its not really needed.

1

u/laurmlau Jul 11 '25

Well to be honest, on the servers, Bitdefender GravityZone Enterprise with EDR

1

u/rcentros Jul 11 '25

I (rarely) use ClamAV to check for viruses on attachments Windows users email me before passing it on to other Windows users.

1

u/daniel_hanna Jul 11 '25

best linux users know what they are doing and what they are installing plus most packages are actully open source well know packages it is hard to get a virus

1

u/[deleted] Jul 11 '25

My 🧠

1

u/[deleted] Jul 11 '25

We don't. We are just careful not to download any script or run any command that we don't know what it does.

1

u/[deleted] Jul 11 '25

Common sense. Most malware is for Windows anyway.

1

u/RavenA04 Jul 11 '25

Nothin man. Just out here raw doggin the World Wide Web.

1

u/Syhai11 Jul 11 '25

The human one.

1

u/Original_Garbage8557 Jul 11 '25

Clamav if needed. Most hackers don't want to time spend too much time to develop a virus that can only attack few people.

1

u/ricperry1 Jul 11 '25

Obscurity.

1

u/V2UgYXJlIG5vdCBJ Jul 11 '25

ClamAV, even though it’s full of false positives. Rootkit Hunter for servers especially.

1

u/diegotbn Jul 11 '25

I use common sense.

But if you absolutely must use one, clamav seems to be the standard. This is what we use at work for our cloud servers to satisfy regulatory requirements. Clamav can be a major drain on resources if you don't configure it.

1

u/[deleted] Jul 11 '25

We don't

1

u/TwntyKnots Jul 11 '25

Common sense.

1

u/[deleted] Jul 11 '25

Their brain and their OS (which linux then)

1

u/zakazak Jul 11 '25

I tried Bitdefender Securitycloud but it has no GUI on the client and doesn't work with Atomic OS :(

1

u/mc031992 Jul 11 '25

Anti... what? o.O

1

u/Chaotic_Fart Jul 11 '25

Common sense

1

u/DIYnivor Jul 11 '25

    #/usr/bin/env bash       sleep(60)       exit(0)

1

u/FBI_psyop Jul 11 '25

I use kaspersky virus removal tool.

1

u/Appropriate-Kick-601 Jul 11 '25

Typically none. There are some av that work on Linux but there isn't much point because there are very few malware made for Linux so even if you did download something it would only be able to touch, like, your wine prefix? Boohoo, purge it and re-download. Even then it probably wouldn't even do anything because wine isn't windows, it's just close enough to fool windows programs.

1

u/[deleted] Jul 11 '25

Common sense, just like any other platform should and does.

1

u/Wooden-Ad6265 Jul 11 '25

clamshell ???

1

u/Mr_ityu Jul 11 '25

As a user , i am the biggest virus to my system

and based on the numerous times I've infected it and then fixed it, i'm its best antivirus too

1

u/LavenderDay3544 Jul 11 '25

Not using random sketchy software. Just use what's in trusted package repost and you don't need anti-virus.

1

u/redhawk1975 Jul 11 '25

best av is linux kernel

1

u/Registry0466 Jul 11 '25

Selinux and firewalld

1

u/f00l2020 Jul 11 '25

Cortex from Palo. You can't get away from running AV in a corporate environment

1

u/Denny_Pilot Jul 11 '25

The same one as for Windows - common sense

1

u/Kaiserium Jul 11 '25

Common sense.

1

u/Domipro143 CachyOS Jul 11 '25

Brain.

1

u/yestaes Jul 11 '25

Basically, the brain is the best antivirus.

Don't get me wrong, but on Linux, it is hard to see an antivirus.

1

u/dl33ta Jul 11 '25

I run defender only for insurance reasons. I connect to a lot of different networks and I need plausible deniability that any virus that appears on a remote network didn't come from me.

1

u/Cleecz Jul 11 '25

Yeah we use the kernel parameter "mitigations=off"

1

u/edempoa Jul 11 '25

Foque em sempre fazer as atualizações de segurança do sistema e vc não vai ter problemas com vírus.

1

u/No-Volume-1565 Jul 11 '25

Best antivirus, free: common sense 😉

1

u/BearlyDave Jul 11 '25

The mind-antivirus.

1

u/imascreen Jul 11 '25

Common sense, I think

1

u/jumpyant Jul 11 '25

Great question 😄

1

u/deadcatdidntbounce Jul 11 '25

This is similar to asking which AV Mac users use.

Linux and SELinux have been enough. That may change.

1

u/Lik-dem-skeetas Jul 11 '25

I have not used anti virus software for 15 years, most of them are a scam

1

u/Far_Support1335 Jul 11 '25

Is that a trick question 🤔

1

u/r3d51v3 Jul 12 '25

Hope and excuses like “people don’t target Linux”. Recently, someone almost inserted a backdoor into a compression library that would have given access to vast numbers of systems. It’s impossible to know if and how endpoint security products would have handled that (probably not well) but it’s proof that people can and will attack Linux.

It’s true that run of the mill malware isn’t as common on Linux and if you’re a simple desktop user you’re probably fine without an AV. However, corporate/business users should practice in depth security which may include an antivirus such as ESET/McAffee or other endpoint security platforms for Linux in addition firewalls, network security, monitoring and other mechanisms for detecting threats.

1

u/untemi0 Jul 12 '25

Common sense

1

u/No-Blueberry-1823 linux grasshopper Jul 12 '25

I mean without being snarky, I do use Malwarebytes as a browser extension. And you do have to be careful there are certainly ways you can trip yourself up. Linux is not guaranteed a way to stay virus free. You have to have good habits and not take foolish risks. It helps to to have a sandbox I think

1

u/Iservel Jul 12 '25

Common sense 🤷🏻

1

u/skyfishgoo Jul 12 '25

the one called "just use your distro's app store for software"

problem solved.

1

u/Daedae711 daeDev Jul 12 '25

ClamAV if anything at all

1

u/[deleted] Jul 12 '25

Sadly none, mostly because they're idiots.

1

u/KeyDoctor1962 Jul 12 '25

Common sense

1

u/ben2talk Jul 12 '25

"Linux Users" generally use no antivirus. I haven't used it since 2007.

Antivirus might be useful to a SysAdmin taking responsibility for protecting Windows systems if they're sharing files to vulnerable systems.

It's also for Sysadmins running High-Value servers (web, database, cloud) using Apache/MySQL or whatever...

For home users, they should already be responsible if they have a Windows machine to ensure it's safe, so they wouldn't need to use antivirus also on the Linux machine.

1

u/ChickenSpaceProgram Jul 12 '25

i don't click sketchy links

1

u/realvolker1 Jul 12 '25

SELinux on Fedora, Bubblewrap on Arch

1

u/[deleted] Jul 12 '25
  1. Sophos home

  2. ClamAV

1

u/zmaint Jul 12 '25

Common sense has always been the best, regardless of OS.

1

u/jerwong Jul 12 '25

I usually don't but when I've had work compliance requirements, it's been ClamAV, Sentinel One, or McAfee.

1

u/Nietechz Jul 12 '25

Common Sense

Luck

You don't need more.

1

u/Tinker0079 Jul 12 '25

ClamAV, Wazuh

1

u/bufandatl Jul 12 '25

My brain. Not busting shady websites and executing software from shady sources is the best way to be safe.

1

u/Specialist-Piccolo41 Jul 12 '25

I use Clamtk and in 40 runs it only found 1

1

u/[deleted] Jul 12 '25

Clamp

1

u/Organic-Value-2204 Jul 12 '25

Rkhunter, chkrootkit, ClamAV

1

u/FFF982 Jul 12 '25

Malware developers rarely bother with Linux desktop support 😢

1

u/Internal_Skirt_7531 Jul 12 '25

ClamAV is included in a lot od distro !!

1

u/KlausBertKlausewitz Jul 12 '25

at the company: MDATP

edit: of course because we have to

1

u/siodhe Jul 12 '25

While it's certainly possible for some foolishly downloaded email attachment to either trick the email reader into running it, have a use of sudo or a privilege-escalation bug inside it, etc.... the wide variation in Linux flavors, the fact that Linux user's by default don't have root access, and that they're less likely to just run random suspicious files, mean that antivirus software is practically unnecessary. Most virii in the Windows realm happen because of Microsoft's crappy architecture, disinterest in end-user safety, the large number of users running with Adminstrator enabled, monoculture ecosystem, broad desktop deployment and being the obvious first target for these attacks, and to some extent, the end-users themselves.

1

u/Remarkable-Ad9145 Jul 12 '25

"To be of no use to anyone"

1

u/BikePlumber Jul 12 '25

There is anti-virus software available for Linux.

It generally scans for Windows infections in files, so as not to pass infected files.

1

u/AsleepDetail Jul 12 '25

I got in the habit of STIGing my home systems as I do at work so I don’t run anything specifically on any Linux host at home. Work is another story to get and maintain ATO

1

u/su1ka Jul 12 '25

Antivirus for Windows and Mac users. For linux probably one of the best GUI analytics/security thing is Safing Portmaster

1

u/Igoru1 Jul 12 '25

are you going to release malware into the developers' nest? They're all computer pros. I don't

1

u/MegasVN69 Jul 12 '25

Yourself

1

u/SurFud Jul 12 '25

If you want to scan a specific file or files, Clam TK is an option, but generally speaking, most users don't need anything. Simply do your updates. Cheers

1

u/blargathonathon Jul 12 '25

While Linux CAN get viruses, that’s not the main security problem in Linux. Windows has fundamental flaws that make it easier for viruses to infect. Linux is more vulnerable when its network and security settings are too permissive, and when some piece of software has a vulnerability.

Linux hacks are usually about getting access to a system and then escalating that access to include admin privileges.

You can defend against that by disabling incoming SSH (unless you need it), restrictive firewall settings, and only installing software from trusted sources.

1

u/Rogermcfarley Jul 12 '25

I don't use one, had Linux installed for over 5 years on my PC

1

u/vanji77 Jul 12 '25

You can delete all Linux on your PC with one command. Why should viruses help you? 😁 At the moment, the share of Linux is still small for attackers to start sending out a virus. For now, their victim is Windows. Also, due to fresh updates, the community is working on this every day.

1

u/Nihal_uchiwa Jul 12 '25

Yeahs thats what i was thinking as i bought a 2 year antivirus from macfee before switching to linux

1

u/More_Purpose2758 Jul 12 '25

I don’t see malware often on Linux systems if someone is using it as a daily driver.

Home use: use AV if you’re downloading stuff

Corporate use: you definitely need AV

1

u/Azure_Draco Jul 12 '25

sign clamav, clamtk. Are the only open source Anti-Virus software.

But why? Yes, Linux can get infected; however, since everything IS partitioned to kingdom come. What can a virus, spyware, malicious-ware do? Steal your information?

Learn to firewall your choosen Operating System. Linux IS a DIY consistent project, after all.

1

u/ZestyRS Jul 12 '25

Everyone’s mostly giving sarcastic answers but a real would would be clamav

1

u/penguin359 Jul 13 '25

To protect my Linux users, I just use Linux. To protect my Windows users, I run ClamAV especially as part of the email server scanning for incoming Windows viruses in emails.

1

u/[deleted] Jul 13 '25

Just use NixOS, it’s Non-FHS-Compliant and doesnt even feature a shell if you dont want it too

1

u/Kodamacile Jul 13 '25

an immutable filesystem.

1

u/prof_dr_mr_obvious Jul 13 '25

I only run a virus scanner on my mail server. Nothing on my desktops since they all run Linux.

1

u/cjmarquez Jul 13 '25

Just avoid questionable websites or in the Linux case, avoid questionable software repositories, viruses/hacking are easy to dodge by pure common sense. Or at least most of it.

1

u/knuthf Jul 13 '25

Clam AV used to be the antivirus for Linux. But first investigate what you are asking about. "Virus" is when you download things and they do different things to what you intended. A photo starts to run code, a film runs scripts that report back to you what else you are doing. You cannot run a picture or a film here, you can only watch them with applications. This is not Windows.

1

u/onequbit Jul 13 '25

the off button

1

u/UnsuspiciousCat4118 Jul 13 '25

Linux has a much better software supply chain so most casual users don’t need an AV solution.

1

u/mindtaker_linux Jul 13 '25 edited Jul 13 '25

Linux and Ufw(uncomplicated firewall) are all you'll need.

1

u/DeviceFlaky3842 Jul 13 '25

Typically if you keep your system patched and don't download weird shit off the Internet you're fine on pretty much any platform. If you really want to though you can go nuts with SELinux, FirewallD, disable remote ports you aren't gonna use and disable root access for ssh.

1

u/UniversityOfPi Jul 13 '25

Windows Defender is pretty good these days.

1

u/stevehastings Jul 13 '25

Well... I mean on linux you can just run chkrootkit or rkhunter, and say it shows a rootkit on port 45454. All you do is list open files like this: lsof -i udp:45454 and it will tell you what file is using port 45454. Then you can delete that file. You could also save a copy to disk, and reverse engineer the program to learn from it. Linux in general is very easy to infect with a virus but only on through the desktop side. What I mean is, it's very easy to write a trojan into an app. It's also very easy to create a virus inside a linux app for the desktop. But as far as the net facing side, it's exponentially harder. But you did ask for antivirus. If I'm thinking about a virus that infects a desktop app on linux and then spreads to other apps on the desktop, I can see that being done. Even an app that just erases all the other apps, etc etc. The sky is the limit. But a person could easily do this by designing malicious apps for linux. But to my limited knowledge, no one does this. The linux problems that existed were mostly worms, and rootkits. I've not really seen viruses and trojans for linux personally. But they do exist. Anyway. for a complete list of antivirus software that ACTUALLY SCANS FOR TRUE LINUX INFECTIONS go to wikipedia and see this link. https://en.wikipedia.org/wiki/Linux_malware You will notice that linux is vulnerable to ransomware, trojans, viruses, worms, botnets and more. Good luck.

1

u/[deleted] Jul 14 '25

Linux user? Anti virus? I just have a DNS and VPN server in the corner of my room. No firewall because I trust MYSELF not to connect to suspicious websites and domains. Linux users just use Linux as the antivirus because of how secure it is.

1

u/apblogg Jul 14 '25

All other comments aside, Rootkit scanning is good practice though and comes in the form of chkrookit, clamAV, etc.

1

u/jaybird_772 Jul 14 '25

Hit any suspicious file with an updated clamav just in case. Even if you can't be infected, others could be. Linux viruses do exist, so it might be a good practice to auto-scan downloads. You'd have to write a script to do that though since there usually isn't anything systemwide that's automated for this. And there probably shouldn't be.

1

u/H_Sn3rk Jul 14 '25

None. The first line of defense is Linux having a really small market share making it unattractive for malware creators. The second is, if you are tech literate enough to use Linux, then you won't fall for downliading malware

1

u/Interesting_Sort4864 Jul 14 '25

Keeping software up to date, paying attention to what you download and never running anything with sudo unless you know exactly what it is.

1

u/PM__ME__PEANUTS Jul 14 '25

We were using Sentinel One in my org

1

u/es20490446e Develops Zenned OS Jul 14 '25

It's called: having the source code available.

1

u/IndyGibb Jul 15 '25

Arch

Edit: (btw)

1

u/iguanamiyagi Jul 15 '25

You actually do need one, if you run things like wine and plan to use it without common sense involved too much.

1

u/i_am_blacklite Jul 15 '25

Common sense.

1

u/Juntepgne Jul 15 '25

The User

1

u/Grand_Comfort_7044 Jul 15 '25

Common sense. Not click every link that comes in front of your cursor, not open any zip package which comes from some dubious site, install programs only from legit sources, don't use root all times, etc. Fun fact this also works, I know unpopular opinion, for older OS's like XP without any antivirus software.

1

u/vadeNxD Jul 15 '25

Windows Defender

1

u/Open_Mortgage_4645 Jul 15 '25

None. Viruses aren't an issue with Linux.

1

u/Throwaway-48549 Jul 15 '25

Common sense, Linux, and clamav.

1

u/cduston44 Jul 15 '25

Anti what?

1

u/Hixxbollen Jul 15 '25

ClamAV is the only one I have tried

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

1

u/[deleted] Jul 16 '25

None.

1

u/walmartbonerpills Jul 16 '25

Gcc and grep. If you can't trust it, read it and build it yourself. Easier said than done, but most Linux users get their binaries from respectable sources.

It's a lot harder to trick someone into downloading and running their own binaries. Most users won't chmod +x strange files. If they know how to do that they know how to not download malware

1

u/barriosmuriithi Jul 17 '25

You guys using antivirus?

1

u/nmariusp Jul 18 '25

I have never heard of anyone using any antivirus program with realtime protection enabled on Linux.

1

u/Desperate_Sky9997 Aug 03 '25

Whats an antivirus