Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219353 > unrolled thread

Anti-malware for my personal Debian workstation?

Started byl0f4r0@tuta.io
First post2020-02-23 09:50 +0100
Last post2020-02-23 20:10 +0100
Articles 19 — 11 participants

Back to article view | Back to linux.debian.user


Contents

  Anti-malware for my personal Debian workstation? l0f4r0@tuta.io - 2020-02-23 09:50 +0100
    Re: Anti-malware for my personal Debian workstation? <tomas@tuxteam.de> - 2020-02-23 10:00 +0100
    Re: Anti-malware for my personal Debian workstation? Ivan Jurišić <ivan@jurisic.org> - 2020-02-23 10:20 +0100
      Re: Anti-malware for my personal Debian workstation? deloptes <deloptes@gmail.com> - 2020-02-23 20:00 +0100
    Re: Anti-malware for my personal Debian workstation? mlnl <mlnl@mailbox.org> - 2020-02-23 13:10 +0100
      Re: Anti-malware for my personal Debian workstation? Philippe LeCavalier <support@plecavalier.com> - 2020-02-23 18:40 +0100
        Re: Anti-malware for my personal Debian workstation? mlnl <mlnl@mailbox.org> - 2020-02-23 19:40 +0100
      Re: Anti-malware for my personal Debian workstation? Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-02-23 19:00 +0100
      Re: Anti-malware for my personal Debian workstation? Ben Lavender <ben@airnet.org.uk> - 2020-02-23 20:40 +0100
    Re: Anti-malware for my personal Debian workstation? Philippe LeCavalier <support@plecavalier.com> - 2020-02-23 20:10 +0100
      Re: Anti-malware for my personal Debian workstation? Reco <recoverym4n@enotuniq.net> - 2020-02-23 21:20 +0100
        Re: Anti-malware for my personal Debian workstation? Philippe LeCavalier <support@plecavalier.com> - 2020-02-23 23:10 +0100
      Re: Anti-malware for my personal Debian workstation? Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-23 23:30 +0100
        Re: Anti-malware for my personal Debian workstation? Philippe LeCavalier <support@plecavalier.com> - 2020-02-24 00:40 +0100
          Re: Anti-malware for my personal Debian workstation? deloptes <deloptes@gmail.com> - 2020-02-24 07:50 +0100
          Re: Anti-malware for my personal Debian workstation? Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-24 14:50 +0100
      Re: Anti-malware for my personal Debian workstation? <tomas@tuxteam.de> - 2020-02-24 10:10 +0100
        Re: Anti-malware for my personal Debian workstation? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-24 15:50 +0100
    Re: Anti-malware for my personal Debian workstation? Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-23 20:10 +0100

#219353 — Anti-malware for my personal Debian workstation?

Froml0f4r0@tuta.io
Date2020-02-23 09:50 +0100
SubjectAnti-malware for my personal Debian workstation?
Message-ID<zCV7A-3CT-9@gated-at.bofh.it>
Hi,

I understand the pro of having a Linux antivirus on a Linux server, especially a mail or file server.
However I'm writing to you here for a personal Linux workstation (Debian 10) and I think I have a rather safe higiene on the internet globally already (I'm really careful on what I click on or download or configure).

Considering the fact I am human so not perfect at all + other notions like defense in depth / layered defense... would you recommend having a Linux anti-malware?

If so, what do you think please about:
* ClamAV?
* Sophos antivirus for Linux?
* Comodo antivirus for Linux?
* F-Prot antivirus for Linux Workstations?

These are the only free (as in free beer) solutions I've found for Linux. Do you have other suggestions?

My criteria are:
* maintained software with frequent signatures updates
* $ free (OSS would be the icing on the cake)
* renowned in its sector* no bloatware (I prefer if it's lightweight. I don't care if there is no GUI)* resident protection would be nice. At least it should scan my downloads on the fly and proceed to automatic scans at regular intervals
Besides, do I really need an anti-rootkit solution like chkrootkit or Rootkit Hunter?

Thanks a lot in advance :)
Best regards,
l0f4r0

[toc] | [next] | [standalone]


#219354

From<tomas@tuxteam.de>
Date2020-02-23 10:00 +0100
Message-ID<zCVhf-3Gn-5@gated-at.bofh.it>
In reply to#219353

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020 at 09:47:18AM +0100, l0f4r0@tuta.io wrote:
> Hi,
> 
> I understand the pro of having a Linux antivirus on a Linux server, especially a mail or file server.
> However I'm writing to you here for a personal Linux workstation (Debian 10) and I think I have a rather safe higiene on the internet globally already (I'm really careful on what I click on or download or configure).
> 
> Considering the fact I am human so not perfect at all + other notions like defense in depth / layered defense... would you recommend having a Linux anti-malware?

No.

Keep your system up to date. Be reasonably careful with
executable content downloaded off the 'net (javascript,
I'm looking at you, but also pdf, random instructions to
do "curl foo://bar | sudo bash -" or something). Do backups.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#219355

FromIvan Jurišić <ivan@jurisic.org>
Date2020-02-23 10:20 +0100
Message-ID<zCVAC-42o-15@gated-at.bofh.it>
In reply to#219353

[Multipart message — attachments visible in raw view] — view raw

My choice is ClamAV. Easy for use and configure.

Dana 2020-02-23 09:47, l0f4r0@tuta.io je napisao(la):

> Hi,
> 
> I understand the pro of having a Linux antivirus on a Linux server, especially a mail or file server.
> However I'm writing to you here for a personal Linux workstation (Debian 10) and I think I have a rather safe higiene on the internet globally already (I'm really careful on what I click on or download or configure).
> 
> Considering the fact I am human so not perfect at all + other notions like defense in depth / layered defense... would you recommend having a Linux anti-malware?
> 
> If so, what do you think please about:
> * ClamAV?
> * Sophos antivirus for Linux?
> * Comodo antivirus for Linux?
> * F-Prot antivirus for Linux Workstations?
> 
> These are the only free (as in free beer) solutions I've found for Linux. Do you have other suggestions?
> 
> My criteria are:
> * maintained software with frequent signatures updates
> * $ free (OSS would be the icing on the cake)
> * renowned in its sector* no bloatware (I prefer if it's lightweight. I don't care if there is no GUI)* resident protection would be nice. At least it should scan my downloads on the fly and proceed to automatic scans at regular intervals
> Besides, do I really need an anti-rootkit solution like chkrootkit or Rootkit Hunter?
> 
> Thanks a lot in advance :)
> Best regards,
> l0f4r0

[toc] | [prev] | [next] | [standalone]


#219367

Fromdeloptes <deloptes@gmail.com>
Date2020-02-23 20:00 +0100
Message-ID<zD4DU-10x-7@gated-at.bofh.it>
In reply to#219355
Ivan Jurišić wrote:

> My choice is ClamAV. Easy for use and configure.
> 

but without commercial antivirus database updates, you can not do much.

I also think those are usable for servers and businesses with multiple
users. Otherwise it simply does not pay off.

[toc] | [prev] | [next] | [standalone]


#219359

Frommlnl <mlnl@mailbox.org>
Date2020-02-23 13:10 +0100
Message-ID<zCYf8-5G8-5@gated-at.bofh.it>
In reply to#219353
Hi l0f4r0@tuta.io,

l0f4r0@tuta.io wrote:

>Considering the fact I am human so not perfect at all + other notions
>like defense in depth / layered defense... would you recommend having
>a Linux anti-malware?

I have used clamav, linux malware detect with 3rd party repos like
sanesecurity just for fun and for some time to see, what you can do
beside commercial products. I had only a few postive, Windows related
matches and a lot of false positives - and think about the 0-day
problem with all anti-malware or the capabilities of state
sponsored cracker groups or CNA/CNE groups inside military/civil
state organizations ;)

I think, it is more important & usefull to audit & harden/secure your
system, kernels (KSPP), services and applications with IDS/IPS (e. g.
Samhain), MACs like AppArmor, systemd-analyze security unit, secured
sudoers file, use of additional 2FA tokens and so on... 

-- 
mlnl

[toc] | [prev] | [next] | [standalone]


#219364

FromPhilippe LeCavalier <support@plecavalier.com>
Date2020-02-23 18:40 +0100
Message-ID<zD3ov-kH-27@gated-at.bofh.it>
In reply to#219359

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020, 07:03 mlnl <mlnl@mailbox.org> wrote:

> Hi l0f4r0@tuta.io,
>
> l0f4r0@tuta.io wrote:
>
> >Considering the fact I am human so not perfect at all + other notions
> >like defense in depth / layered defense... would you recommend having
> >a Linux anti-malware?
>
> I have used clamav, linux malware detect with 3rd party repos like
> sanesecurity just for fun and for some time to see, what you can do
> beside commercial products. I had only a few postive, Windows related
> matches and a lot of false positives - and think about the 0-day
> problem with all anti-malware or the capabilities of state
> sponsored cracker groups or CNA/CNE groups inside military/civil
> state organizations ;)
>
> I think, it is more important & usefull to audit & harden/secure your
> system, kernels (KSPP), services and applications with IDS/IPS (e. g.
> Samhain), MACs like AppArmor, systemd-analyze security unit, secured
> sudoers file, use of additional 2FA tokens and so on...
>
> --
> mlnl

I've been using Sophos since it came out and clamav for many years prior
and I prefer Sophos.

I definitely disagree with merely doing backups and updates. You could say
the same for any OS. That is no means of keeping yourself safe.

[toc] | [prev] | [next] | [standalone]


#219366

Frommlnl <mlnl@mailbox.org>
Date2020-02-23 19:40 +0100
Message-ID<zD4ky-TN-11@gated-at.bofh.it>
In reply to#219364
Hi Philippe,

Philippe LeCavalier <support@plecavalier.com> wrote:

>I definitely disagree with merely doing backups and updates. You could
>say the same for any OS. That is no means of keeping yourself safe.

I agree. I have not witten about backups & updates - they are obvious
and so not worth to mention.

-- 
mlnl

[toc] | [prev] | [next] | [standalone]


#219365

FromNicholas Geovanis <nickgeovanis@gmail.com>
Date2020-02-23 19:00 +0100
Message-ID<zD3HQ-rj-11@gated-at.bofh.it>
In reply to#219359

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020, 6:03 AM mlnl <mlnl@mailbox.org> wrote:

>
> I think, it is more important & usefull to audit & harden/secure your
> system, kernels (KSPP), services and applications with IDS/IPS (e. g.
> Samhain), MACs like AppArmor, systemd-analyze security unit, secured
> sudoers file, use of additional 2FA tokens and so on...
>

I agree with this strongly. I believe AppArmor is enabled and configured
properly at install on recent Ubuntu. I stick with it. I worked with true
MAC before SElinux, but I became a fan of RedHat's targeted-mode (IIRC),
it's easier to administer than a true full SElinux environment but not
necessarily intended for multi-user-login environments.

Also don't ignore Extended ACLs, though Im not sure if all filesystem types
support them. They became standardised in SysV unix but not broadly used.

My hope is that some type of MAC becomes standard, default installation of
linux someday. But not many agree with me I guess. I dont believe that the
added administration work is a net loss. I dont find it any more complex
than other admin work.

-- 
> mlnl
>
>

[toc] | [prev] | [next] | [standalone]


#219370

FromBen Lavender <ben@airnet.org.uk>
Date2020-02-23 20:40 +0100
Message-ID<zD5gB-1tL-1@gated-at.bofh.it>
In reply to#219359
I agree with this deeply. It's surprising the amount of machines I see 
that have some fancy subscription-based and expensive AV but have the 
firewalls, SELinux, UAC disabled along with weak filesystem and sharing 
ACLs.

It's fine to get a good AV running on the system but they don't detect 
all malware, and I've always run with that being something like 50% of 
malware being detected.

Good security practices is the best first line of defence, believe me 
I've seen the evidence when it's not.

On 23/02/2020 12:02, mlnl wrote:
> Hi l0f4r0@tuta.io,
>
> l0f4r0@tuta.io wrote:
>
>> Considering the fact I am human so not perfect at all + other notions
>> like defense in depth / layered defense... would you recommend having
>> a Linux anti-malware?
> I have used clamav, linux malware detect with 3rd party repos like
> sanesecurity just for fun and for some time to see, what you can do
> beside commercial products. I had only a few postive, Windows related
> matches and a lot of false positives - and think about the 0-day
> problem with all anti-malware or the capabilities of state
> sponsored cracker groups or CNA/CNE groups inside military/civil
> state organizations ;)
>
> I think, it is more important & usefull to audit & harden/secure your
> system, kernels (KSPP), services and applications with IDS/IPS (e. g.
> Samhain), MACs like AppArmor, systemd-analyze security unit, secured
> sudoers file, use of additional 2FA tokens and so on...
>

[toc] | [prev] | [next] | [standalone]


#219368

FromPhilippe LeCavalier <support@plecavalier.com>
Date2020-02-23 20:10 +0100
Message-ID<zD4Nz-1jq-7@gated-at.bofh.it>
In reply to#219353

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020, 14:04 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> > defense in depth / layered defense... would you recommend having a Linux
> > anti-malware?
>
> No.  All those only try to recognize known threats.  When a threat is
> known, the security hole it exploits is also known, and the fix for it
> already exists as well, so updating your distribution to the latest
> security fixes is a better solution since it doesn't just protect you
> from those known threats but it also protects you from unknown threats
> using the same security holes.
>
>
>         Stefan
>
That's not true. Sophos has ai learning and threat analysis mitigation
tactics built in.
Phil

>

[toc] | [prev] | [next] | [standalone]


#219373

FromReco <recoverym4n@enotuniq.net>
Date2020-02-23 21:20 +0100
Message-ID<zD5Tj-1W9-7@gated-at.bofh.it>
In reply to#219368
	Hi.

On Sun, Feb 23, 2020 at 02:07:00PM -0500, Philippe LeCavalier wrote:
> On Sun, Feb 23, 2020, 14:04 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 
> > > defense in depth / layered defense... would you recommend having a Linux
> > > anti-malware?
> >
> > No.  All those only try to recognize known threats.  When a threat is
> > known, the security hole it exploits is also known, and the fix for it
> > already exists as well, so updating your distribution to the latest
> > security fixes is a better solution since it doesn't just protect you
> > from those known threats but it also protects you from unknown threats
> > using the same security holes.
>
> That's not true. Sophos has ai learning and threat analysis mitigation
> tactics built in.

An impressive mitigation tactic indeed [1]:

September 2012: Sophos' anti-virus suite identified various
update-mechanisms, including its own, as malware. If it was configured
to automatically delete detected files, Sophos Antivirus could render
itself unable to update, required manual intervention to fix the
problem.


That and promoting non-free software here, at this list? Boo.

[1] https://en.wikipedia.org/wiki/Antivirus_software

Reco

[toc] | [prev] | [next] | [standalone]


#219376

FromPhilippe LeCavalier <support@plecavalier.com>
Date2020-02-23 23:10 +0100
Message-ID<zD7BM-31a-29@gated-at.bofh.it>
In reply to#219373

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020, 15:13 Reco <recoverym4n@enotuniq.net> wrote:

>         Hi.
>
> On Sun, Feb 23, 2020 at 02:07:00PM -0500, Philippe LeCavalier wrote:
> > On Sun, Feb 23, 2020, 14:04 Stefan Monnier <monnier@iro.umontreal.ca>
> wrote:
> >
> > > > defense in depth / layered defense... would you recommend having a
> Linux
> > > > anti-malware?
> > >
> > > No.  All those only try to recognize known threats.  When a threat is
> > > known, the security hole it exploits is also known, and the fix for it
> > > already exists as well, so updating your distribution to the latest
> > > security fixes is a better solution since it doesn't just protect you
> > > from those known threats but it also protects you from unknown threats
> > > using the same security holes.
> >
> > That's not true. Sophos has ai learning and threat analysis mitigation
> > tactics built in.
>
> An impressive mitigation tactic indeed [1]:
>
> September 2012: Sophos' anti-virus suite identified various
> update-mechanisms, including its own, as malware. If it was configured
> to automatically delete detected files, Sophos Antivirus could render
> itself unable to update, required manual intervention to fix the
> problem.
>
>
> That and promoting non-free software here, at this list? Boo.
>
> [1] https://en.wikipedia.org/wiki/Antivirus_software
>
> Reco
>

Mistakes happen. Dear mongering is a more useless tactic ;) you can point a
bad scenario in every single product or project imaginable. It is
inevitable.

>
>

[toc] | [prev] | [next] | [standalone]


#219377

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2020-02-23 23:30 +0100
Message-ID<zD7V7-37T-1@gated-at.bofh.it>
In reply to#219368
>> > defense in depth / layered defense... would you recommend having a Linux
>> > anti-malware?
>> No.  All those only try to recognize known threats.  When a threat is
>> known, the security hole it exploits is also known, and the fix for it
>> already exists as well, so updating your distribution to the latest
>> security fixes is a better solution since it doesn't just protect you
>> from those known threats but it also protects you from unknown threats
>> using the same security holes.
> That's not true.

Which part?

> Sophos has ai learning and threat analysis mitigation tactics built in.

In which way does it make my statement false?

And more importantly, are there known cases where it detected an attack
before the corresponding security hole had been found?  How common are
those cases, compared to the added risk (and performance and resource
cost) of running that software?


        Stefan

[toc] | [prev] | [next] | [standalone]


#219378

FromPhilippe LeCavalier <support@plecavalier.com>
Date2020-02-24 00:40 +0100
Message-ID<zD90R-3JZ-3@gated-at.bofh.it>
In reply to#219377

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020, 17:28 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> >> > defense in depth / layered defense... would you recommend having a
> Linux
> >> > anti-malware?
> >> No.  All those only try to recognize known threats.  When a threat is
> >> known, the security hole it exploits is also known, and the fix for it
> >> already exists as well, so updating your distribution to the latest
> >> security fixes is a better solution since it doesn't just protect you
> >> from those known threats but it also protects you from unknown threats
> >> using the same security holes.
> > That's not true.
>
> Which part?
>
> > Sophos has ai learning and threat analysis mitigation tactics built in.
>
> In which way does it make my statement false?
>
> And more importantly, are there known cases where it detected an attack
> before the corresponding security hole had been found?  How common are
> those cases, compared to the added risk (and performance and resource
> cost) of running that software?
>
>
>         Stefan
>
You want to debate the validity of running av on any system these days is
ridiculous and not a conversation I want to be part of.

>
>

[toc] | [prev] | [next] | [standalone]


#219381

Fromdeloptes <deloptes@gmail.com>
Date2020-02-24 07:50 +0100
Message-ID<zDfIZ-7R0-5@gated-at.bofh.it>
In reply to#219378
Philippe LeCavalier wrote:

>> > Sophos has ai learning and threat analysis mitigation tactics built in.
>>
>> In which way does it make my statement false?
>>
>> And more importantly, are there known cases where it detected an attack
>> before the corresponding security hole had been found?  How common are
>> those cases, compared to the added risk (and performance and resource
>> cost) of running that software?
>>
>>
>> Stefan
>>
> You want to debate the validity of running av on any system these days is
> ridiculous and not a conversation I want to be part of.

I think you missed that he said "compared to", which is not exactly what you
mean. I think the discussion and question is valid.

[toc] | [prev] | [next] | [standalone]


#219389

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2020-02-24 14:50 +0100
Message-ID<zDmhr-3no-5@gated-at.bofh.it>
In reply to#219378
> You want to debate the validity of running av on any system these days is
> ridiculous

Then it should be trivial to prove me wrong by pointing to the large
body of evidence to support your claim.


        Stefan

[toc] | [prev] | [next] | [standalone]


#219384

From<tomas@tuxteam.de>
Date2020-02-24 10:10 +0100
Message-ID<zDhUw-U6-43@gated-at.bofh.it>
In reply to#219368

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 23, 2020 at 02:07:00PM -0500, Philippe LeCavalier wrote:
> On Sun, Feb 23, 2020, 14:04 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 
> > > defense in depth / layered defense... would you recommend having a Linux
> > > anti-malware?
> >
> > No.  All those only try to recognize known threats.  When a threat is
> > known, the security hole it exploits is also known, and the fix for it
> > already exists as well, so updating your distribution to the latest
> > security fixes is a better solution since it doesn't just protect you
> > from those known threats but it also protects you from unknown threats
> > using the same security holes.
> >
> >
> >         Stefan
> >
> That's not true. Sophos has ai learning and threat analysis mitigation
> tactics built in.

And a lot of snake oil to boot. I totally agree with Stefan: for an OS
with a working and transparent patch/release cycle, "classical" AV
strategy is nonsense.

Besides, the real threats are elsewhere these days, cf. [1] (hint:
the data you care about isn't in /usr/bin).

Cheers

[1] https://xkcd.com/1200/

-- tomás

[toc] | [prev] | [next] | [standalone]


#219391

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2020-02-24 15:50 +0100
Message-ID<zDndw-3VZ-5@gated-at.bofh.it>
In reply to#219384
On Mon, Feb 24, 2020 at 10:03:58AM +0100, tomas@tuxteam.de wrote:
> I totally agree with Stefan: for an OS
> with a working and transparent patch/release cycle, "classical" AV
> strategy is nonsense.

The only sensible use of an anti-virus program on Linux is on a mail
server (or certain kinds of firewalls/proxies), to detect Windows viruses
that are passing through.

The use of an anti-virus program on Linux, which attempts to detect
Linux viruses, is patently ridiculous.  There just *aren't* any.  That
isn't the threat model that you need to worry about.

When you're talking about Linux security, on desktops, you're mostly
looking for holes in web browsers, office suites, media players, etc.

On Linux servers, you're looking for holes in the network services
that are exposed to the world.

[toc] | [prev] | [next] | [standalone]


#219369

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2020-02-23 20:10 +0100
Message-ID<zD4Nz-1jq-9@gated-at.bofh.it>
In reply to#219353
> defense in depth / layered defense... would you recommend having a Linux
> anti-malware?

No.  All those only try to recognize known threats.  When a threat is
known, the security hole it exploits is also known, and the fix for it
already exists as well, so updating your distribution to the latest
security fixes is a better solution since it doesn't just protect you
from those known threats but it also protects you from unknown threats
using the same security holes.


        Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web