Antivirus for (mailservers on) FreeBSD

David Kelly dkelly at HiWAAY.net
Thu Jun 12 18:07:03 PDT 2003


On Thursday 12 June 2003 02:58 pm, Bill Moran wrote:
> David Kelly wrote:
> > How does "antivirus mail filtering" differ significantly from spam
> > filtering?  Seems to me these two should be one and the same as
> > "spam" is a form of malicious code.
>
> No, no, no.  Not even close.
>
> While it may seem that way to an end-user, programatically it's very
> different.
>
> Bayesan matching is generally done for spam, as it seems to be the
> best approach.  This involves checking for a LARGE number of
> conditions and assigning a percentage likelihood for each that it is
> indicative of spam. Once _every_ condition has been checked, the
> email is labeled spam or not based on the sum of the liklihoods of
> all matched rules.  This is VERY cpu intensive.

So what? If you are already pushing the message thru a spam filter then 
while you are at it and have the message in hand then run a malicious 
code check. If you are going to check for malicious code anyhow then it 
shouldn't ultimately take more CPU cycles to do it from the spam filter 
interface.

No matter such malicious code is often hidden in .zip or .exe 
attachments. Simply look there too.

I am not suggesting use of optimized-for-spam search techniques against 
malicious code, but optimized-for-code techniques from within the same 
framework.

-- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


More information about the freebsd-chat mailing list