Need for an antivirus.?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Ponnumani
Level 1
Level 1
Posts: 15
Joined: Fri Jan 27, 2017 4:41 am

Need for an antivirus.?

Post by Ponnumani » Tue Jan 31, 2017 9:32 am

I read a lot about anti virus for Linux and about clamav( through my previous post). my question is I will use my USB to share files to and from public computers and computers of my friends and all of them are running windows. Mostly they are all affected by virus ( which i found while using AV in windows), though I am now only using Linux (no dual booting and nothing) will there be any chance of those virus affect my system.? I uninstalled wine and play on linux after reading they are not safe . Do i need a antivirus for saving my system? if so bitdefender or comodo which will be better?.
Thanks in advance.

User avatar
Pjotr
Level 21
Level 21
Posts: 13759
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Need for an antivirus.?

Post by Pjotr » Tue Jan 31, 2017 9:44 am

Ponnumani wrote:I read a lot about anti virus for Linux and about clamav( through my previous post). my question is I will use my USB to share files to and from public computers and computers of my friends and all of them are running windows. Mostly they are all affected by virus ( which i found while using AV in windows), though I am now only using Linux (no dual booting and nothing) will there be any chance of those virus affect my system.?

I uninstalled wine and play on linux after reading they are not safe . Do i need a antivirus for saving my system?
No. Antivirus even makes your Linux less secure:
https://sites.google.com/site/easylinux ... t/security
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Need for an antivirus.?

Post by Cosmo. » Tue Jan 31, 2017 10:32 am

The best method to prevent viruses is to omit them. If I know, that some food is poisoned, I would never touch it, even not with poison-secure gloves.

The next question would be, why do you take those files anyway, what type of files are they, that you invite them to your system?

Ponnumani
Level 1
Level 1
Posts: 15
Joined: Fri Jan 27, 2017 4:41 am

Re: Need for an antivirus.?

Post by Ponnumani » Tue Jan 31, 2017 11:04 am

Mostly the files would be ms word documents, ppt, xl, pdf ,simulation results , photos, music and videos. The viruses that i faced in windows are autorun viruses, shortcut and folder creators which will be found on usb eating up the disk space.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Need for an antivirus.?

Post by Cosmo. » Tue Jan 31, 2017 3:23 pm

Ponnumani wrote:Mostly the files would be ms word documents, ppt, xl, pdf ,simulation results , photos, music and videos.
Disable in Office the execution for macros. As far as those files are not created by the friends themselves - this is rather likely in case of office-documents, but rather unlikely in case of multimedia files, download yourself and of course only from a legitimate and trusted source.

I repeat: The best AV is omitting the malware. Common sense is the one trustworthy AV.

Better - additionally - convince your friends, to keep their system clean. Computer-viruses don't fly through the air and a computer does not get infected, because anybody is coughing. They must do something wrong.
Ponnumani wrote:The viruses that i faced in windows are autorun viruses
Windows uses a quite different mechanism for that than Linux.
Ponnumani wrote:shortcut and folder creators which will be found on usb eating up the disk space.
Never heart of such viruses, but also those things get done in Windows with quite different mechanisms.

User avatar
phd21
Level 19
Level 19
Posts: 9451
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Need for an antivirus.?

Post by phd21 » Tue Jan 31, 2017 3:43 pm

Hi "Ponnumani",

I just read your post and the good replies to it. Here are my thoughts on this as well.

Not sure why you started another post on this, since this post is closely related.

You could use the "VirusTotal" online scanner, as was suggested before, which looks like it uses a lot of various antivirus scanners. When I used this it seems to upload the file(s) first, so if there are large files, this could take awhile. And unless I am mistaken, I don't see any options for repairing infected files.
https://www.virustotal.com/

If you have a Google Mail account, you can attach the files to an email and try sending that to yourself, and it will also detect virus and malware. But again, I don't see an options for repairing infected file(s).

And, as I stated in your previous post, you could create bootable CD/DVD or USB flash drive stick(s) of "Kaspersky", "Avira", or "Dr.web", and boot to it, scan and if possible repair the files, and then boot back into Linux Mint. It only takes a short amount of time to boot into Linux Mint, so this is not a big issue.

As of today 01/31/2017, these are the best anti-virus applications that I could find.

The 7 Best Free Linux Anti-Virus Programs, Dec. 2016
http://www.makeuseof.com/tag/free-linux ... -programs/

This may seem obvious, but if you have not made an image back up of your Linux Mint system to an external drive, then you might want to do this before installing one of these, so you can restore if need be. Everyone is supposed to back up anyway.

Comodo Antivirus for Linux (Is one of my favorite installable applications for real time protection for your Linux system)
(*Note: I had to turn off "ublock origin" (ad blocking) in Firefox to download)
Free Linux Antivirus and Mail Gateway
https://www.comodo.com/home/internet-se ... -linux.php

Sophos - Antivirus for Linux
(You have to fill out information before download)
(After extracting the archive file run the "install.sh" script)
https://www.sophos.com/en-us/products/f ... linux.aspx

Download "F-PROT" Antivirus for Linux Workstations - for home use
(After extracting the archive file, read the "readme" file)
http://www.f-prot.com/download/home_use ... linux.html

Kaspersky Anti-Virus 8.0 for Linux File Servers
(also one of my favorite antivirus applications, especially their bootable rescue disk)
(I cannot tell if this is free or not)
Downloads
https://support.kaspersky.com/linux_file80#downloads
Requirements
https://support.kaspersky.com/linux_file80#requirements

Bitdefender Antivirus Scanner for Unices (Linux)
(*End of life cycle - not being updated or supported unless you buy the business edition???)
https://www.bitdefender.com/business/an ... nices.html


Install AVG Free Antivirus On Ubuntu (read link)
Download link no good, see section under "On DEB based systems:"
Run command below to download file, then double click the "deb" file to install. Only see 32-bit version which should work on 64 bit too, application is from 2013, but virus definitions would be updated.
This did download on my Linux Mint 18.1 KDE (64-bit) system and would have installed, if I let it (no errors when clicked, all dependencies satisfied).

Code: Select all

wget http://download.avgfree.com/filedir/inst/avg2013flx-r3118-a6926.i386.deb
Please do configuration with
/opt/avg/av/bin/avgsetup
or
sudo /opt/avg/av/bin/avgsetup

https://www.unixmen.com/install-avg-fre ... on-ubuntu/


ESET NOD32 Antivirus 4 for Linux Desktop (~$40us)
Cross-platform antimalware protection for your Linux machine and external storage media.
https://www.eset.com/us/download/home/

Dr.Web rescue disc or USB
https://free.drweb.com/aid_admin/?lng=en


Hope this helps ...
Last edited by phd21 on Fri Sep 01, 2017 8:57 pm, edited 1 time in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Ponnumani
Level 1
Level 1
Posts: 15
Joined: Fri Jan 27, 2017 4:41 am

Re: Need for an antivirus.? (solved)

Post by Ponnumani » Wed Feb 01, 2017 9:20 am

Thank you guys for helping me and solving my doubts, I have made separate posts because for the slight variation in the topics, which may be useful for new comers like me.

User avatar
jimallyn
Level 18
Level 18
Posts: 8952
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Need for an antivirus.?

Post by jimallyn » Wed Feb 01, 2017 4:15 pm

In the 14 years I have been using Linux, none of my Linux computers have ever been infected with any virus or malware. Nor has the computer of any Linux user that I know of. (And that takes in a lot of Linux users, as I have been active on several Linux forums the entire time.) Not saying it can't happen, just that I've never seen it happen. But it might be a good idea to scan any files you get from Windows users, just in case. I have used VirusTotal (mentioned above) for that.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

User avatar
phd21
Level 19
Level 19
Posts: 9451
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Need for an antivirus.? (solved)

Post by phd21 » Fri Feb 03, 2017 5:11 pm

Hi "Ponnumani",

From all of us responding, you are welcome.

FYI: In the years that I have been using Linux and Linux Mint, I have not had any issues with virus or malware. I had ClamAV and clam-tk installed when I first switched to Linux Mint, but it never found anything, so I removed it.

FYI-2: However, I did just have a recent event within the past week or so that I will describe that did concern me, although nothing happened to my Linux computer. I installed Google Chrome for the first time in awhile because I now have a slightly less ancient under powered computer (7 years old vs 12 years old) that is 64-bit and I could not keep Google Chrome installed before because they stopped supporting 32-bit. After installing Google Chrome, it remembered me from before and started syncing all my stuff from when I had it previously installed. Well, I really love pretty young women in bikinis, and one of the add-ons for "new tabs" was for girls in bikinis. I forgot to "Firejail" (sandbox) Google Chrome at this time (It is now). So, not sure that what I am about to state is directly related to that add-on, but shortly after installing Google Chrome with this add-on, my Chrome browser popped up with a very bad "Ransom Ware" virus message, claiming "Do not exit your browser, or restart my computer, Ransom Ware Virus detected" ... within seconds of reading this message, the very first thing I did was to close (Kill) my Google Chrome browser and restart my computer. My system booted backup fine. Later that night, I booted to my Kaspersky Rescue Disk and let it scan everything over night which came back with no problems. I have since "Firejailed" my Google Chrome browser. I doubt that even a "Ransom Ware" virus could have done any real damage to my Linux operating system, unless it asked for my root login password and I was careless (dumb) enough to give it, but it might have been able to mess up my "/Home" folder and all the gigabytes of stuff in that. Fortunately, nothing bad happened and I have backups. I have not used the excellent Google Chrome browser since then until I get an even newer backup.

Update (04-25-2017): I reinstalled Chrome with that bikini girls add-on without any problems... Tip use "firejail" ...

Hope this helps ...
Last edited by phd21 on Tue Apr 25, 2017 12:51 pm, edited 1 time in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 19
Level 19
Posts: 9451
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Need for an antivirus.?

Post by phd21 » Wed Feb 15, 2017 8:02 pm

Hi "Ponnumani", & Anyone Else Interested in this,

I remembered your post, and there is another Linux anti-virus and anti-malware option that you might consider. I recently ran across an article mentioning this, so I thought I would bring this up to you and anyone else interested in this.

How to Install and Configure maldet (Linux Malware Detect – LMD) February 6, 2017
"Maldet also known as Linux Malware Detect virus scanner for Linux."
https://www.servernoobs.com/how-to-inst ... etect-lmd/

Install Linux Malware Detect
http://www.2daygeek.com/install-linux-m ... -opensuse/

Linux Malware Detect (LMD) - Main website
https://www.rfxn.com/projects/linux-malware-detect/


How to quickly install Linux Malware Detect (LMD) with ClamAV on Ubuntu
modified quote wrote:* Installing ClamAV helps Linux Malware Detect to scan processes faster and more effectively. Using the ClamAV binary as the default scanner engine yields an up to four times faster scan performance and superior hex analysis. This option only uses ClamAV as the scanner engine, and LMD signatures are still the basis for detecting threats.
https://www.globo.tech/learning-center/ ... ubuntu-16/
From a console terminal prompt, type in or copy and paste each line one by one :
quick installation instructions wrote:
Change into directory folder to "/usr/src/".
FYI: Not sure that you have to use the root folder "/usr/src", I used my "/home" default folder without changing to "/usr/src", and it still works...

Code: Select all

cd /usr/src
Download the installation tarball from the project’s web site using command below.

Code: Select all

sudo wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
Extract the contents of the tarball archive file

Code: Select all

sudo tar -xvf maldetect-current.tar.gz
Change into new maldetect directory folder

Code: Select all

cd maldetect*
If you are not in the maldetect folder, the name may have changed, try "ls" to seewhta the current folder is and use that name, like

Code: Select all

cd maldetect-1.6.3
Run the installation script program using the command below:

Code: Select all

sudo ./install.sh
Now let’s configure our Linux Malware Detect installation. We’ll need to make a few basic modifications to the default configuration file, so go ahead and open it in a text editor:

If you do not have the "gedit" text editor installed, then install that first. If you are unsure, then just run the command anyway.

Code: Select all

sudo apt-get install gedit
Edit the LMD configuration file

Code: Select all

sudo gedit /usr/local/maldetect/conf.maldet
Here are the settings as they should look, search for and change only these settings and then save the file when done, and exit the text editor. Where it says "email_addr=", put in your email address in quotes.

Tip Note: I would not choose to automatically quarantine (remove) as a default everything that LMD might find as it is possible that LMD could think that a system file or application file is bad when it is not (false positive); you can always view the report and quarantine (remove) anything you want afterwards; therefore use setting (quarantine_hits="0")

Tip: change this setting if you want to run maldet scan commands without "sudo".
scan_user_access="1"


email_alert="1"
email_addr="youremail@localhost"
quarantine_hits="0"
quarantine_clean="0"
quarantine_suspend_user="0"
scan_clamscan="1"
scan_max_filesize="4096M"




Next, we’ll be installing ClamAV, so that Linux Malware Detect can use it as its antivirus engine.

Code: Select all

sudo apt-get install clamav clamtk clamav-unofficial-sigs  -y
freshclam
Tip: Newer version of ClamTk (5.24) (Desktop GUI front-end to ClamAV) application with addon extensions for various Linux Mint File Managers, including Cinnamon (Nemo), KDE (Dolphin), etc... in easy to download and install Linux Deb files, double click to install.
https://dave-theunsub.github.io/clamtk/
phd21 wrote:05-16-2017 - the newer version of ClamTK ver5.24-1 did not run on my Linux Mint 17.3 KDE system. I had to purge it, then reinstall ClamTK 4.5 from the Software Manager or Synaptic Package Manager (SPM) for it to work, and it does. I have contacted the developer to see if they will update it, as it seems like a minor issue with a theme icon. The ClamTK version in the Mint Software Manager or Synaptic Package Manager (SPM) works fine too.

If you have a problem with the newer ClamTK 5.xx, then run:

Code: Select all

sudo apt-get purge clamtk
Reinstall ClamTK

Code: Select all

sudo apt-get install clamtk
You can then reinstall the ClamTK file manager addon ".deb" files, they still work on any version of ClamTK.
Restart your computer.

See weblinks for more information on using LMD

Examples: May need "sudo" in front of commands, if you did not change "scan_user_access="1".

To scan all the files residing in a specific directory:
To scan your downloads folder

Code: Select all

maldet -a /home/yourusername/Downloads
or

Code: Select all

maldet -a  ~/Downloads

To scan your entire "/home" folder (Documents, Downloads, Music, Pictures, Videos, etc...)

Code: Select all

maldet -a /home
or
Scan files that have been created/modified in the last X days. 5 = the last 5 days.

Code: Select all

maldet -r /home 5
When a scan has completed, you have an option to view the log it created.
scan report saved, to view run: maldet --report 170425-1437.21389
- Just highlight the last part maldet --report 170425-1437.21389, right click copy, and then right click and paste it back into the console terminal prompt and hit enter. To exit the report screen, hit Ctrl-x

The "inotify" monitoring feature is designed to monitor users in real-time for
file creation/modify/move operations. For more information and help, type in "maldet --help", or See the readme file in the maldetect folder.

Code: Select all

sudo apt-get install inotify-tools
Enable real time monitoring of a directory folder.

Code: Select all

maldet -m /home
or a web server folder

Code: Select all

maldet -m /var/www/html/
Check the monitor log file:

Code: Select all

sudo tail -f /usr/local/maldetect/logs/inotify_log

Hope this helps ...
Last edited by phd21 on Fri Jul 19, 2019 7:54 pm, edited 24 times in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

adolf
Level 1
Level 1
Posts: 1
Joined: Fri Feb 24, 2017 6:40 am

Re: Need for an antivirus.?

Post by adolf » Fri Feb 24, 2017 6:51 am

I myself have used Bitdefender with no problem at all.
Last edited by adolf on Tue Feb 28, 2017 9:21 am, edited 1 time in total.

User avatar
Pjotr
Level 21
Level 21
Posts: 13759
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Need for an antivirus.?

Post by Pjotr » Fri Feb 24, 2017 7:03 am

adolf wrote:I myself have used Bitdefender with no problem at all.
Lucky you then. Now improve your security even further, by *removing* that useless risk-increasing AV software. :mrgreen:
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

odtech
Level 2
Level 2
Posts: 98
Joined: Sat Jan 21, 2017 9:25 am

Re: Need for an antivirus.?

Post by odtech » Fri Feb 24, 2017 7:27 am

I've heard of ransomware being desployed through macros in a excel sheet that was delivered by email.
Never open a archive unless you absolutely know who it comes from and what is inside.

User avatar
Pjotr
Level 21
Level 21
Posts: 13759
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Need for an antivirus.?

Post by Pjotr » Fri Feb 24, 2017 7:37 am

odtech wrote:I've heard of ransomware being desployed through macros in a excel sheet that was delivered by email.
Ransomware that was active *in Linux* ? If so, please give the source of your information.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
phd21
Level 19
Level 19
Posts: 9451
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Need for an antivirus.?

Post by phd21 » Wed May 17, 2017 1:41 pm

Hi Everyone,

Just came across some interesting articles regarding this topic that I thought I would share with everyone. These are articles worth reading whether you use Linux Wine or not ...

No Tears (WannaCry=ransomware virus) on Linux Unless you use "Wine"
https://www.suse.com/communities/blog/n ... 2017-05-17


Linked article (post) from the above:
What is the “Wanna Cry” ransomware's possible impact on Linux users?
https://askubuntu.com/questions/914623/ ... 686#914686

Note: Linux users that do use "Wine" could use the supeb "firejail" application to "sandbox" Wine applications to prevent malware from affecting (hurting) the rest of your system.


Hope this helps ...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde


Post Reply

Return to “Newbie Questions”