Re: [malware-list] TALPA - a threat model? well sorta.

From: Helge Hafting
Date: Mon Aug 18 2008 - 06:02:43 EST


Press, Jonathan wrote:
-----Original Message-----
From: malware-list-bounces@xxxxxxxxxxxxxxxx [mailto:malware-list-
bounces@xxxxxxxxxxxxxxxx] On Behalf Of Peter Zijlstra
Sent: Friday, August 15, 2008 6:37 AM
To: Helge Hafting
Cc: linux-kernel@xxxxxxxxxxxxxxx; malware-list@xxxxxxxxxxxxxxxx;
hch@xxxxxxxxxxxxx;
andi@xxxxxxxxxxxxxx; viro@xxxxxxxxxxxxxxxxxx;
alan@xxxxxxxxxxxxxxxxxxx; Arjan van
de Ven
Subject: Re: [malware-list] TALPA - a threat model? well sorta.

On Fri, 2008-08-15 at 12:07 +0200, Helge Hafting wrote:
It seems to me that this "scan on file open" business is the
wrong way to do things - because it reduces performance.

If you scan on file open, then your security sw is too late and
getting in the way.

The problem is that you have to account for the cases where the malware
made it onto the system even if you were trying to catch it ahead of
time. For example:

- Administrator turns off or reduces AV protection for some reason for
some period of time. It happens all the time.
Everything is "dirty" again when AV sw restarts.
- New infection makes it onto the machine before the signatures have
caught up with it. This also happens. There is an ongoing PR race
among AV vendors about who was faster on the draw to get out signatures
to detect some new malware. The fact that this race exists reflects
that reality that there is some window during which new malware will
make it onto some number of machines before the scanners catch up.
And when new signatures arrive, everything is dirty again. Well, you can optimize
and say that everything only need to be checked with the new signatures,
since they passed the old ones already. Maybe that helps performance a little.

The "clean" concept works fine, just make sure dirtying happens in all these
extra cases.


Helge Hafting
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/