LinuxQuestions.org
Visit Jeremy's Blog.
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, 09: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, 09:22 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, CentOS, ChakraOS
Posts: 262
Blog Entries: 5

Rep: Reputation: 180Reputation: 180
If you are sharing your files with windows machines, it doesn't hurt to have some antivirus.
 
Old 08-22-2015, 10:25 AM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: BSD & Linux - As long as they are Lightweight
Posts: 1,500

Rep: Reputation: Disabled
Welcome aboard.

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

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 03:55 PM   #5
LinuxUser42
Member
 
Registered: Nov 2010
Distribution: Lubuntu, Raspbian, Openelec, messing with others.
Posts: 142

Rep: Reputation: 18
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, 10:21 PM   #6
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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, 10:42 PM   #7
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

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, 11:33 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,378
Blog Entries: 15

Rep: Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux Antivirus ghandizzle8 Linux - Newbie 11 11-09-2011 08:54 PM
Antivirus survey: Do you run an antivirus program on linux? atom Linux - General 29 09-03-2009 04:22 PM
Antivirus for Lunix similar Norton Antivirus for Windows Chivozertsev Linux - Software 1 03-31-2005 08:56 AM
antivirus for linux porous Linux - Software 11 11-07-2003 03:24 PM
Linux Antivirus Nightmatrix Linux - Software 19 08-20-2003 08:36 PM


All times are GMT -5. The time now is 02:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration