You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kevin Peuhkurinen <ke...@hepcoe.com> on 2005/02/01 14:20:44 UTC

Problem with rules to catch inline images

Hey folks.  I'm seeing a fair bit of spam getting through with embedded 
GIF images, a slightly redacted version being pasted into the bottom of 
this email.  I'm trying to write a rule to catch embedded GIFs, but it 
just doesn't seem to work.  I've tried the following:

full                KP_GIF2         /name=".{1,8}\.GIF"/i
score             KP_GIF2         0.1

and

full              KP_GIF3         /Content-Type\: image\/gif\;/i
score           KP_GIF3         0.1

Neither of these are firing.   Any ideas?

Thanks,
Kevin


 From - Tue Feb  1 07:26:30 2005
X-Account-Key: account1
X-UIDL: AAAK7NqAAAgtpma5Rl/L1ikghkc3s3NF
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Received: from jedi.hepcoe.com ([XXXXXXXXXXX]) by exch-prod.hepcoe.com 
with Microsoft SMTPSVC(6.0.3790.0);
  Tue, 1 Feb 2005 05:06:35 -0500
Received: from localhost ([127.0.0.1])
 by jedi.hepcoe.com with esmtp (Exim 4.42)
 id 1Cvuvb-0006ya-BD
 for kevin.peuhkurinen@hepcoe.com; Tue, 01 Feb 2005 05:06:35 -0500
Received: from jedi.hepcoe.com ([127.0.0.1])
 by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 26687-07 for <ke...@hepcoe.com>;
 Tue,  1 Feb 2005 05:06:34 -0500 (EST)
Received: from newfirewall.hepcoe.com ([XXXXXXXXXXX] 
helo=fw-prod.hepcoe.com)
 by jedi.hepcoe.com with smtp (Exim 4.42)
 id 1CvuvB-0006x1-3P
 for kevin.peuhkurinen@hepcoe.com; Tue, 01 Feb 2005 05:06:09 -0500
Received: from smtp01.tidc.telus.com ([66.203.199.217]) by 
fw-prod.hepcoe.com; Tue, 01 Feb 2005 05:06:03 -0500 (Eastern Standard Time)
Received: (qmail 21437 invoked from network); 1 Feb 2005 10:06:01 -0000
Received: from unknown (HELO 207.219.111.25) (61.174.186.211)
  by 0 with SMTP; 1 Feb 2005 10:06:01 -0000
Received: from mdnwjn.probe.net (HELO oengs64) ([159.133.187.140])
          (envelope-sender <ns...@probe.net>)
          by ebwze.probe.net (Postfix) with smtp
          for <ke...@hepcoe.com>; Tue, 01 Feb 2005 04:02:19 -0600
Message-ID: <16...@pantygirl.com>
From: "Estelle Hightower" <xx...@caboodles.com>
To: "Kennedy" <ke...@hepcoe.com>
Subject: Re: Clinoril 500/80mg repertory
Date: Tue, 01 Feb 2005 04:02:19 -0600
MIME-Version: 1.0
To: kennedy@hepcoe.com
Subject: mild Lortab may make you drowsy
Content-Type: multipart/related;
   boundary="------------011109050304050804020004"
X-Spam-Status: No, hits=3.278 tagged_above=-5 required=3.5 tests=BAYES_01,
 FVGT_m_MULTI_ODD2, FVGT_m_MULTI_ODD3, HTML_MESSAGE, RCVD_IN_NJABL_DUL,
 RCVD_IN_SORBS_DUL, RCVD_NUMERIC_HELO
X-Spam-Level: ***
Return-Path: xxhpiis@caboodles.com
X-OriginalArrivalTime: 01 Feb 2005 10:06:35.0957 (UTC) 
FILETIME=[B69F0E50:01C50845]


This is a multi-part message in MIME format.

--------------011109050304050804020004
Content-Type: multipart/alternative;
        boundary="------------010902060907010108080001"

--------------010902060907010108080001
Content-Type: text/plain;
        charset="windows-1251"
Content-Transfer-Encoding: 7bit

him, said with a smile, You should have moved your master not to
exclaimed, O foolish creature that I am! For the sake of a
A SICK STAG lay down in a quiet corner of its pasture ground.
then zoomed off to the airport.  I believe he was cutting it rather close.

--------------010902060907010108080001
Content-Type: text/html;
         charset="windows-1251"
Content-Transfer-Encoding: 7Bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
</HEAD>
<BODY><p><FONT SIZE=1></FONT><A 
href="http://gqstprfwc.annualize6lesser.com/?TM4eihDDf0MJJtQ"><FONT></FONT>

<font></font><IMG SRC="cid:vlsnxke_vsnales_joufbqo" border="0" 
ALT=""></A></p><p><FONT size=1>stores were closing up, and I knew Burger 
King would remain open for a Think of past tradesmen tradesperson who no 
longer have a place<BR>means being pushed and pulled.  But I would 
rather be respected<BR>
shop getting fixed by Apple, and one was my mom's computer, 3,000 each 
other and with computers, and has drastically changed the<BR>
himself, and by a wily stratagem succeeded.  How handsome is the 
faults.  Hence it is that men are quick to see the faults of<BR>
valuable commodity information that will keep them ahead of the 
expressions.  For instance, if we were to look at a painting on a<BR>
connected to the same stream of thought, there is  room for when 
occasion called him one day into the city, he left the sheep<BR>
integration, what will be the dominant culture adapted by all?   
experienced before. In their desire to retain that freedom from their 
reptilian<BR>
THE PIGEONS, terrified by the appearance of a Kite, called upon case of 
special needs children   those with learning disabilities<BR>
discover if the Cat in her change of shape had also altered her The 
computer is a tool created by the scientist and then<BR>
character is qualified. If no combination of the present scores 
interests you, water sprinklers running, ka chick, ka chick, ka chik.  I 
realized I was in a<BR>
 Once you've passed all of these obstacles and reached your destination, 
you service; for when the gold was there, you had it not, as you did<BR>
are suddenly the saviors of the souls of the aliens. But at least it is 
a way   Excess  of information    the latest news coming straight from<BR>
   What free trade agreements do for Global companies and there   
methods would have kept beyond me.  The only disadvantage, was<BR>
Arranging to meet elsewhere should be done with the utmost care.  
Parking entertainment, said in the joy of his heart, How glad I am that<BR>
to another. In most cases the cyberart will be presented to the much 
iTunes music that burning it to CD and re ripping it and<BR>
symbols would immediately signify fantasy.  Artists will have to 
wretched little sluggard! what shall I do to you? While I am<BR>
many a trap and snare, observed from a safe distance the trick of puzzle 
is simple: Each letter in the encoded document represents an unencoded<BR>
gun at people who were chasing me, but the gun wouldn't work right.  
Finally guessing game which will reduce the risks for patients.  Virtual<BR>
are a production of very precise and clean final drawings.  These the 
town really is. If each of your characters in a party of six is at the<BR>
 Castle HillStone is the home of Lord Slayer. Slayer is a fanatic about 
hunting,<br>    Modern man is the victim of the very instruments he values

</FONT></p>
</BODY>
</HTML>


--------------010902060907010108080001--

--------------011109050304050804020004
Content-Type: image/gif;
     name="Xvctxl.GIF"
Content-Transfer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fE3qfI1oSwLmeGSqZ/Gmi
Isqc74mhn/miEiqj24mi23mfPjpG5dmj9JmgJGGgO8Sbl1mXhBlGdkmdtEmhJEqcqgmgVGqd5vmc
tcmjhDSeu7mkx7mgVwqgDCobgvkVacoSa2oU4vmmcBqncjqndFqndnqneJqnerqnfNqnc/p+bRqY


--------------011109050304050804020004--




Re: Problem with rules to catch inline images

Posted by Kevin Peuhkurinen <ke...@hepcoe.com>.
Never mind.  It looks like SA 2.64 ignores the entirety of inline binary 
components such that "full" does not even expose them.   As it turns 
out, the spammer has made a number of other errors that I  have been 
able to draft rules for.

Kevin Peuhkurinen wrote:

> Hey folks.  I'm seeing a fair bit of spam getting through with 
> embedded GIF images, a slightly redacted version being pasted into the 
> bottom of this email.  I'm trying to write a rule to catch embedded 
> GIFs, but it just doesn't seem to work.  I've tried the following:
>
> full                KP_GIF2         /name=".{1,8}\.GIF"/i
> score             KP_GIF2         0.1
>
> and
>
> full              KP_GIF3         /Content-Type\: image\/gif\;/i
> score           KP_GIF3         0.1
>
> Neither of these are firing.   Any ideas?
>
> Thanks,
> Kevin
>