LinuxQuestions.org
Visit Jeremy's Blog.
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 08-22-2015, 08:20 AM   #1
jason74
LQ Newbie
 
Registered: Aug 2015
Location: michigan
Distribution: ubuntu
Posts: 1

Rep: Reputation: Disabled
does linux need antivirus


do i need antivirus using ubuntu
 
Old 08-22-2015, 08:22 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
If you are sharing your files with windows machines, it doesn't hurt to have some antivirus.
 
Old 08-22-2015, 09:25 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,484

Rep: Reputation: Disabled
Welcome aboard.

No, you don't need antivirus software on Linux or BSD.
 
Old 08-22-2015, 10:41 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
no BUT !!! maybe yes

if say you are running Fedora or RHEL and did NOT disable SELinux

there is really NO virus that is able to " Also run on linux" that can install
-- or if in your home folder then a reboot uninstalls it

BUT
if you share things with OTHER people on Windows machines and they share with YOU
you can be a carrier -- just like " typhoid Mary "

for those
Scan using the FREE and ALREADY in your distros repos
"ClamAV "

so for ubuntu
Code:
sudo apt-git update
sudo apt-git install clamav
then read the instructions on the clam web site
 
Old 08-22-2015, 02:55 PM   #5
LinuxUser42
Member
 
Registered: Nov 2010
Distribution: Lubuntu, Raspbian, Openelec, messing with others.
Posts: 143

Rep: Reputation: 19
As you can tell from the replies, only you can really decide.
Linux is more resistant to viruses then Windows (last time I read, something like three viruses, rarely seen), but that isn't the only issue that Windows users face.
Both can get rootkits, etc. A lot of that deals with your security practices.

As stated, if you setup your Linux box, as a network share for a bunch of Windows users, antivirus could help catch things your Windows users choose to share over the network.
 
Old 08-22-2015, 09:21 PM   #6
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
note:
Quote:
apt-git
should read:
Quote:
apt-get
"viruses" do exist for linux and attacks can be targeted to include multiple o/s's but most target Msoft PC's because this is the easiest method.
Clamav will clear out stuff that will affect your windows using friends that you share files with, however, it is not like a constantly running anti-virus on windoze, you have to run it as a scan. That said you can run it as an active email scanner, not much use if you don't use an email client.
Best way to keep a linux system clean is to keep it updated. You don't have to go outside of protected areas to get software and that is a great bonus.

Fred.
 
Old 08-22-2015, 09:42 PM   #7
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
I have run Linux as my primary operating system for about 15 years (Meaning... no dual booting with Windows,... Only 1 Windows system around for "just in case purposes" [flashing roms, setup for devices with no Linux support, etc.]). I played with it for several years before that. In all that time I have neither run an anti-virus program on my Linux systems, nor have had myself attacked remotely. I will say that I keep my systems updated.

Your biggest threats when running Linux are social engineering attacks (weak passwords). Secondary to that is enabling SSH and not modifying the port... Telnet should never be used (by default, it is disabled on just about all major distros). Third, running apps that you get from 3rd party repositories, that cannot be trusted (you wouldn't need run many 3rd party repositories, and really never would need to run one that isn't from a trusted source).
 
Old 08-22-2015, 10:33 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
My take on this:

It never hurts to have protection, even if the system is, by nature, moderately immune.

ClamAV is currently the best recommended, and can protect you fairly well. Even though Viruses and such malware target Windows, there are some that now target Darwin, BSD, and Linux based systems, and the damage these can do can be catastrophic, at times. Most of the ones targeting Darwin based systems, like Apple/Mac OS-X, target firmware and other embedded systems in computers. Linux and BSD normally get rootkits. Remember, even with AppArmor, SELinux, and other built-in stuff, nothing is 100 percent.

My recommendation, if you think you need it, get it.

ClamAV + rkhunter + iptables can protect you very well. I run ClamAV daemonized along with iptables, and have rkhunter ran via a cronjob at regular intervals. I haven't had any issues, yet, but I'd rather drop a few CPU cycles and a small chuck of RAM and be safe than sorry.
 
  


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
Linux Antivirus ghandizzle8 Linux - Newbie 11 11-09-2011 07:54 PM
Antivirus survey: Do you run an antivirus program on linux? atom Linux - General 29 09-03-2009 03:22 PM
antivirus for linux porous Linux - Software 11 11-07-2003 02:24 PM
Linux Antivirus Nightmatrix Linux - Software 19 08-20-2003 07:36 PM

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

All times are GMT -5. The time now is 11:16 PM.

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