LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2019, 09:08 AM   #1
mediator_ram
LQ Newbie
 
Registered: Apr 2019
Posts: 4

Rep: Reputation: Disabled
Antivirus


Is antivirus necessary for Linux? Even without antivirus does our data's will be safe or not?
 
Old 04-25-2019, 09:13 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by mediator_ram View Post
Is antivirus necessary for Linux? Even without antivirus does our data's will be safe or not?
Well, this question has been asked over, and over again.

The short answer is: it depends.

The longer answer is: It depends on your environment, and the risk you are at. In a lot of cases (particularly for desktop Linux), the answer would probably be, no, or probably not. You need to work out what risk (if any) your machine(s) is at of getting a virus to begin with. I do use Sophos Antivirus myself, but it's never found any Linux virus before. But they do exist, just nowhere near as much as Windows viruses do. So you're at a far less risk just by using Linux.
 
2 members found this post helpful.
Old 04-25-2019, 09:25 AM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
I think more than anything else it's down to user competence.

The data is only as safe as the user is knowledgeable. Your data may be safe on your drive, but get a firewall. Don't open a browser as root. Don't open a browser as root on WINE. Don't share your password online. Don't open an attachment if you don't know who it's from. Don't blindly copy and paste things into your terminal.

I have never had a virus issue on Linux and, I believe, part of the reason that Linux viruses are so uncommon - apart from a lot fewer of them being written - is because Linux users tend to be a lot more technically aware. Adopt some basic understand of how people get viruses rather than relying on a program to do your sweeping up for you.

Last edited by Lysander666; 04-25-2019 at 09:27 AM.
 
1 members found this post helpful.
Old 04-25-2019, 10:55 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
It's not completely impossible to get a virus in Linux. Proof-of-concept viruses have certainly been created. Whether there are any out there in the wild is another question.

Linux is intrinsically more secure because:
a) You do not usually browse the Web or read your email as root. If you do, you're an idiot and deserve what you get!
b) Most viruses and worms are written to execute in a Windows environment and won't work in Linux.
c) Downloads from the Web, even if they are able to run under Linux, don't have the execute bit set by default. You have to set it by hand.

The main risk is that a Linux machine in a mixed network can act as a "Typhoid Mary", picking up viruses without being affected by them and passing them on to machines that run Windows. This could also happen if you exchange MS Office files by email with other users and the files get infected by macro viruses. In such cases, it might be worth installing ClamAV.
 
2 members found this post helpful.
Old 04-25-2019, 11:09 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
If you try to find information on any current "Linux virus" which is both in the wild and less than 10 years old, you're going to struggle.

Security is not about personal virus scanners. The latter is a Windows thing and any AV software for *nix systems is usually targeted at mail servers - to stop malware spreading via attachments, etc.

For example: https://www.clamav.net/
Quote:
ClamAV® is the open source standard for mail gateway scanning software.
https://www.clamav.net/documents/introduction
Quote:
...designed especially for e-mail scanning on mail gateways
There are something like 50 odd viruses or less specific to Linux and as I've said, the vast majority are old and not actually "in the wild", by contrast there are millions of Windows viruses.

//edit: you should also be wary of the typical "virus industry" purveyors of proprietary anti-virus software which have provided a Linux port. Just because they are 'selling' it, doesn't mean that it's needed - just more snake oil from those who have profited the most from the Windows malware mess.

Last edited by cynwulf; 04-25-2019 at 11:19 AM.
 
1 members found this post helpful.
Old 04-25-2019, 11:53 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
https://en.wikipedia.org/wiki/Linux_malware
 
1 members found this post helpful.
Old 04-25-2019, 01:42 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
To be fair, the professional versions of Windows, when configured correctly, did not require much in the way of anti-malware either. The problem was that "easy to use" features were allowed by default.
I fear Android suffers from this also, since most people who use computers prefer ease of use to security. I imagine such idiots living in a wotld where simply giving your name allows you to pay for anything you like. Such is the ignorance of "the common man".
 
1 members found this post helpful.
Old 04-25-2019, 01:58 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
As has been said, servers providing email services should be scanning incoming emails for virii. ClamAV does an excellent job of maintaining virus checks and providing that capability.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Antivirus for Lunix similar Norton Antivirus for Windows Chivozertsev Linux - Software 3 02-22-2022 04:40 PM
Antivirus survey: Do you run an antivirus program on linux? atom Linux - General 29 09-03-2009 03:22 PM
Mail server - Content Scanning - Antivirus Solution?? Dr Solomon Linux - Networking 3 02-12-2002 11:29 AM
FYI: Antivirus scanner DoS with zip archives unSpawn Linux - Security 0 08-14-2001 07:11 AM
antivirus for linux Dups Linux - Software 6 06-21-2001 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration