ClamAV

Discussion in 'all things UNIX' started by paul1149, Jan 4, 2018.

  1. paul1149

    paul1149 Registered Member

    Joined:
    Aug 3, 2010
    Posts:
    23
    Hi guys,
    I've been looking at ClamAV for my Debian-based Linux machine. I like the granularity the command line affords, though it takes time to get the hang of it.

    Does anyone know how to set up an exclusions file that will work in conjunction with a command line scan? A lot of speed can be gained by exclusions of directories, large files, and certain file types, but the number of directory exclusions I would have are too great to conveniently place in a command line (or even in a bashrc file alias, as I am using).

    Thanks.
     
  2. oliverjia

    oliverjia Registered Member

    Joined:
    Jul 21, 2005
    Posts:
    1,930
    If you don't share files with Windows users, no need to use AV on Linux at all.
     
  3. fblais

    fblais Registered Member

    Joined:
    Jul 31, 2008
    Posts:
    1,369
    Location:
    Québec, Canada
    I don't use an AV with Linux either.
    That said, I think ClamAV is mostly used with Linux mail servers. (but I may be wrong too)
     
  4. Scott W

    Scott W Registered Member

    Joined:
    Sep 21, 2008
    Posts:
    666
    Location:
    USA
    So I guess that means not even opening email attachments from 'trusted' Windows users! :(
     
  5. NormanF

    NormanF Registered Member

    Joined:
    Feb 20, 2009
    Posts:
    2,888
    You don't need AV on Unix: that applies both to Mac and Linux.

    A good firewall is more than enough.
     
  6. Scott W

    Scott W Registered Member

    Joined:
    Sep 21, 2008
    Posts:
    666
    Location:
    USA
    What is the basis for that statement? o_O
     
  7. NormanF

    NormanF Registered Member

    Joined:
    Feb 20, 2009
    Posts:
    2,888
    Malware doesn't infect UNIX. If you need to install an AV, its to protect Windows users.

    I've never had a malware problem with my Mac or with Linux.
     
  8. The Red Moon

    The Red Moon Registered Member

    Joined:
    May 17, 2012
    Posts:
    4,102
    this is total nonsense.
    Although linux malware is a small number ,it does exist and can infect a linux system if run as root.Also if the distro repositries were compromised then there is an infection vector.
    Dont forget that the linux mint site itself was compromised,so anything is possible.
     
  9. fblais

    fblais Registered Member

    Joined:
    Jul 31, 2008
    Posts:
    1,369
    Location:
    Québec, Canada
    Maybe it should be rephrased "Windows malware can't infect UNIX".
    There's probably very few unix-targeted malware around.
     
  10. cruelsister

    cruelsister Registered Member

    Joined:
    Nov 6, 2007
    Posts:
    1,692
    Location:
    Paris
    The Red Moon- You are absolutely correct; actually the first malware I wrote was for UNIX systems as these at the time were the most lucrative targets (errors of a misspent youth).

    But Norman makes a very important statement as his feeling is also the prevailing "wisdom" by both Rookies and Pros in that UNIX is not especially vulnerable to malware attack- hardly the case! So we have both Security Researchers and Corporations concentrating on Windows. This is an issue in that with Windows we talk of Zero-Day malware, whereas with Unix/Linux, essentially unprotected, we may talk about Zero-Year (if you get my drift...).
     
  11. Scott W

    Scott W Registered Member

    Joined:
    Sep 21, 2008
    Posts:
    666
    Location:
    USA
    Wouldn't Linux PCs also be vulnerable to the Meltdown/Spectre exploits?
     
  12. Jo Ann

    Jo Ann Registered Member

    Joined:
    Jan 6, 2007
    Posts:
    620
    Yup
     
  13. Scott W

    Scott W Registered Member

    Joined:
    Sep 21, 2008
    Posts:
    666
    Location:
    USA
    Ouch!
     
  14. paul1149

    paul1149 Registered Member

    Joined:
    Aug 3, 2010
    Posts:
    23
    There is file sharing with windows machines, there are windows programs operating under WINE, there are cross-platform browser exploits, and there are firmware exploits, which the Linux user ought to be concerned about. Linux is less susceptible than Windows, but not immune. My aim is to have an on-demand scanner, which I would use periodically, and on downloads I wasn't sure of. I think that is a reasonable protocol for a Linux user at this point in time.
     
  15. SuperSapien

    SuperSapien Registered Member

    Joined:
    Apr 9, 2015
    Posts:
    230
    @ paul1149

    You may also want to look into Firejail.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.