I browse some questionable sites and download pirated files, though I try to stick to sources with a good reputation. Is antivirus worthwhile on Linux, and what else would help?
Is antivirus worth using on Linux if I download from sketchy sites?
Answers
Yes, a scanner can be an extra check, but it won't make a risky download safe. ClamAV is an option for scanning files on Linux. A clean result doesn't guarantee a file is harmless, especially with new or deliberately disguised malware.
Be particularly careful with scripts, binaries, and installers. A site having a good reputation is not the same as every file on it being trustworthy.
Reply to this answer
Linux can run malware too. A malicious program doesn't need your administrator password to read or alter files your user account can access, including files in your home directory. It may need elevated privileges for some system-wide changes, but plenty of damage can happen without them.
Don't enter your password just because an unfamiliar installer asks for it. And don't dismiss a security warning about a download as a false positive without investigating it.
Reply to this answer
For sketchy browsing, I'd start with an up-to-date browser and an ad blocker such as uBlock Origin. They can reduce exposure to unwanted ads and redirects, though they won't vet everything you download.
Sandboxing untrusted apps can help limit what they can access. Check the sandbox permissions rather than assuming it's isolated from all your files.
Reply to this answer
There is also a different reason to run a scanner: checking files that you store or pass along to Windows users. ClamAV can detect some Windows malware even when you're scanning from Linux. That still isn't a guarantee that a file is safe for them to open.
Reply to this answer
Check who the antivirus product is actually designed for before spending time setting it up. Some Linux security products are aimed at organizations and need management infrastructure or support contracts, so they may be awkward for a home computer.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions