You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by night duke <ni...@yahoo.es> on 2007/05/20 17:20:49 UTC
image link
Hi we receive a lot of email with an url link with .jpeg or .png files like:
htttp://urltosee.dot.com/files/images/ururr.jpeg
htttp://urltosee.dot.com/files/images/ururr.png
How can i teach spamassassin to check that url?
Thanks.
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Re: image link
Posted by guenther <gu...@rudersport.de>.
On Sun, 2007-05-20 at 19:01 +0200, night duke wrote:
[...]
> http://img201.imageshack.us/img201/4164/4wfkn8cp0.jpg
> Important symbol report
[...]
> This is a spam message, can spamassassin check the url and the image
> 4wfk....jpg and show if it's spam or not.
I believe, Matt already answered the question about downloading images
for analysis...
> Matt Kettler <mk...@verizon.net> escribió:
[...]
> > If you're suggesting having it follow the link and download the image
> > for analysis, that's very unwise. This is a great way for spammers to
> > track what messages are being processed, by using custom URLs (ie: web
> > bugs). It's also a great way for them to detect what IPs appear to be
> > fetching them automatically for analysis, and start returning different,
> > potentially slow to process, information to those servers and DoS them.
As for checking the URI itself, this has been discussed a few days ago.
If you do not expect legitimate mail to contain imageshack.us URIs, it
should be fairly easy to write an uri rule. See the docs or the list
archives.
guenther
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
RE: image link
Posted by Keith De Souza <ke...@genesisgroupuk.com>.
Hi Henrik,
Thanks for your input with this, I'll tweak it accordingly and run some test
through it and see how it goes. Really appreciate this...
Cheers
Keith
-----Original Message-----
From: Henrik Krohns [mailto:hege@hege.li]
Sent: 24 May 2007 09:45
To: users@spamassassin.apache.org
Subject: Re: image link
On Thu, May 24, 2007 at 09:13:20AM +0100, Keith De Souza wrote:
> Hello,
>
> Did you manage to get an answer to this? I'm receiving quite a few image
> links through which are spam and like you, I noticed that they all
contained
> the text imageshack.us in them i.e.(sorry to spam your inbox):)
>
> http://img87.imageshack.us/my.php?image=ylaon5ftta5.jpg
> http://img78.imageshack.us/my.php?image=4tnaaa6.png
>
> How can I write a uri rule just to score image links with the text
> imageshack.us in it? What will the general expression be?
I've catched all with these.
uri HK_IMGHOST
/[\/.](?:imagehosting\.com|imagehost\.ro|imagecloset\.com|imageshack\.us|2an
d2\.net|afreeimagehost\.com|6x\.to|xs\.to)\/.{0,50}?\.(?:jpg|gif|png|img=|im
age=)/i
describe HK_IMGHOST Link to image in imagehosting service
score HK_IMGHOST 3
body __hk_body_over_400b /.{400}/
meta HK_IMGHOST_400 (HK_IMGHOST && !__hk_body_over_400b)
describe HK_IMGHOST_400 Link to image in hosting and very small body
score HK_IMGHOST_400 3
Tune scores are appropriate.
-hk
RE: image link
Posted by Keith De Souza <ke...@genesisgroupuk.com>.
Hi Henrik,
Thanks for this again, I've tweaked it and ran some test and it's scoring
all variations of this image link. Much appreciated..
Cheers
Keith
-----Original Message-----
From: Henrik Krohns [mailto:hege@hege.li]
Sent: 24 May 2007 09:45
To: users@spamassassin.apache.org
Subject: Re: image link
On Thu, May 24, 2007 at 09:13:20AM +0100, Keith De Souza wrote:
> Hello,
>
> Did you manage to get an answer to this? I'm receiving quite a few
> image links through which are spam and like you, I noticed that they
> all contained the text imageshack.us in them i.e.(sorry to spam your
> inbox):)
>
> http://img87.imageshack.us/my.php?image=ylaon5ftta5.jpg
> http://img78.imageshack.us/my.php?image=4tnaaa6.png
>
> How can I write a uri rule just to score image links with the text
> imageshack.us in it? What will the general expression be?
I've catched all with these.
uri HK_IMGHOST
/[\/.](?:imagehosting\.com|imagehost\.ro|imagecloset\.com|imageshack\.us|2an
d2\.net|afreeimagehost\.com|6x\.to|xs\.to)\/.{0,50}?\.(?:jpg|gif|png|img=|im
age=)/i
describe HK_IMGHOST Link to image in imagehosting service score HK_IMGHOST 3
body __hk_body_over_400b /.{400}/
meta HK_IMGHOST_400 (HK_IMGHOST && !__hk_body_over_400b) describe
HK_IMGHOST_400 Link to image in hosting and very small body score
HK_IMGHOST_400 3
Tune scores are appropriate.
-hk
Re: image link
Posted by Henrik Krohns <he...@hege.li>.
On Thu, May 24, 2007 at 09:13:20AM +0100, Keith De Souza wrote:
> Hello,
>
> Did you manage to get an answer to this? I'm receiving quite a few image
> links through which are spam and like you, I noticed that they all contained
> the text imageshack.us in them i.e.(sorry to spam your inbox):)
>
> http://img87.imageshack.us/my.php?image=ylaon5ftta5.jpg
> http://img78.imageshack.us/my.php?image=4tnaaa6.png
>
> How can I write a uri rule just to score image links with the text
> imageshack.us in it? What will the general expression be?
I've catched all with these.
uri HK_IMGHOST /[\/.](?:imagehosting\.com|imagehost\.ro|imagecloset\.com|imageshack\.us|2and2\.net|afreeimagehost\.com|6x\.to|xs\.to)\/.{0,50}?\.(?:jpg|gif|png|img=|image=)/i
describe HK_IMGHOST Link to image in imagehosting service
score HK_IMGHOST 3
body __hk_body_over_400b /.{400}/
meta HK_IMGHOST_400 (HK_IMGHOST && !__hk_body_over_400b)
describe HK_IMGHOST_400 Link to image in hosting and very small body
score HK_IMGHOST_400 3
Tune scores are appropriate.
-hk
RE: image link
Posted by Keith De Souza <ke...@genesisgroupuk.com>.
Hello,
Did you manage to get an answer to this? I'm receiving quite a few image
links through which are spam and like you, I noticed that they all contained
the text imageshack.us in them i.e.(sorry to spam your inbox):)
http://img87.imageshack.us/my.php?image=ylaon5ftta5.jpg
http://img78.imageshack.us/my.php?image=4tnaaa6.png
How can I write a uri rule just to score image links with the text
imageshack.us in it? What will the general expression be?
Thanks in advance.
Cheers
Keith
-----Original Message-----
From: Mark || Stream Service [mailto:quicki@streamservice.nl]
Sent: 21 May 2007 11:03
To: users@spamassassin.apache.org
Subject: Re: image link
Hello,
In relation to this:
- Is it possible to block all messages that contain an url or sites on that
url? For example to block all messages that have an url to imageshack.us
(and an image from there)?
No URL has to be opened, but it has to give it a certain score so it is
easier to block. Almost all messages that come through at this moment
contain an url to imageshack.us.
With kind regards, Met vriendelijke groet,
Mark Scholten
Stream Service
Web: http://www.streamservice.nl/
E-mail: mark@streamservice.nl
NOC: http://www.mynoc.eu/
NOC e-mail: noc@streamservice.nl
Tel.: +31 (0)642 40 86 02
Fax: +31 (0)20 20 101 57
KVK: 08141074
BTW: NL104278274B01
----- Original Message -----
From: "Matt Kettler" <mk...@verizon.net>
To: "night duke" <ni...@yahoo.es>
Cc: <us...@spamassassin.apache.org>
Sent: Monday, May 21, 2007 4:42 AM
Subject: Re: image link
> night duke wrote:
>> I mean:
>>
> <snip>
>> <ma...@comm.com>
>> http://img201.imageshack.us/img201/4164/4wfkn8cp0.jpg
>>
>>
>> This is a spam message, can spamassassin check the url and the image
>> 4wfk....jpg and show if it's spam or not.
>>
>>
> Then this part of my orignal message applies. You're basically asking to
> be tracked, targeted and DoSed.
>>
>>
>> If you're suggesting having it follow the link and download the image
>> for analysis, that's very unwise. This is a great way for spammers to
>> track what messages are being processed, by using custom URLs (ie:
>> web
>> bugs). It's also a great way for them to detect what IPs appear to be
>> fetching them automatically for analysis, and start returning
>> different,
>> potentially slow to process, information to those servers and DoS
>> them.
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ¡Descubre una nueva forma de obtener respuestas a tus preguntas!
>> Entra en Yahoo! Respuestas
>>
<http://es.answers.yahoo.com/;_ylc=X3oDMTEzNWwxbTZtBF9TAzIxMTQ3MTQxOTAEc2VjA
01haWwEc2xrA3RhZ2xpbmVz>.
>
>
Re: image link
Posted by Duncan Hill <sp...@cricalix.net>.
On Mon, May 21, 2007 11:03, Mark || Stream Service wrote:
> Hello,
>
>
> In relation to this:
> - Is it possible to block all messages that contain an url or sites on
> that url? For example to block all messages that have an url to
> imageshack.us (and an image from there)?
I posted a suggestion of a SA rule for this in the 'new "technical" spam'
thread. SA won't block, but tools using SA could search for the ruleset
firing.
Re: image link
Posted by Mark || Stream Service <qu...@streamservice.nl>.
Hello,
In relation to this:
- Is it possible to block all messages that contain an url or sites on that
url? For example to block all messages that have an url to imageshack.us
(and an image from there)?
No URL has to be opened, but it has to give it a certain score so it is
easier to block. Almost all messages that come through at this moment
contain an url to imageshack.us.
With kind regards, Met vriendelijke groet,
Mark Scholten
Stream Service
Web: http://www.streamservice.nl/
E-mail: mark@streamservice.nl
NOC: http://www.mynoc.eu/
NOC e-mail: noc@streamservice.nl
Tel.: +31 (0)642 40 86 02
Fax: +31 (0)20 20 101 57
KVK: 08141074
BTW: NL104278274B01
----- Original Message -----
From: "Matt Kettler" <mk...@verizon.net>
To: "night duke" <ni...@yahoo.es>
Cc: <us...@spamassassin.apache.org>
Sent: Monday, May 21, 2007 4:42 AM
Subject: Re: image link
> night duke wrote:
>> I mean:
>>
> <snip>
>> <ma...@comm.com>
>> http://img201.imageshack.us/img201/4164/4wfkn8cp0.jpg
>>
>>
>> This is a spam message, can spamassassin check the url and the image
>> 4wfk....jpg and show if it's spam or not.
>>
>>
> Then this part of my orignal message applies. You're basically asking to
> be tracked, targeted and DoSed.
>>
>>
>> If you're suggesting having it follow the link and download the image
>> for analysis, that's very unwise. This is a great way for spammers to
>> track what messages are being processed, by using custom URLs (ie:
>> web
>> bugs). It's also a great way for them to detect what IPs appear to be
>> fetching them automatically for analysis, and start returning
>> different,
>> potentially slow to process, information to those servers and DoS
>> them.
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ¡Descubre una nueva forma de obtener respuestas a tus preguntas!
>> Entra en Yahoo! Respuestas
>> <http://es.answers.yahoo.com/;_ylc=X3oDMTEzNWwxbTZtBF9TAzIxMTQ3MTQxOTAEc2VjA01haWwEc2xrA3RhZ2xpbmVz>.
>
>
Re: image link
Posted by Matt Kettler <mk...@verizon.net>.
night duke wrote:
> I mean:
>
<snip>
> <ma...@comm.com>
> http://img201.imageshack.us/img201/4164/4wfkn8cp0.jpg
>
>
> This is a spam message, can spamassassin check the url and the image
> 4wfk....jpg and show if it's spam or not.
>
>
Then this part of my orignal message applies. You're basically asking to
be tracked, targeted and DoSed.
>
>
> If you're suggesting having it follow the link and download the image
> for analysis, that's very unwise. This is a great way for spammers to
> track what messages are being processed, by using custom URLs (ie: web
> bugs). It's also a great way for them to detect what IPs appear to be
> fetching them automatically for analysis, and start returning
> different,
> potentially slow to process, information to those servers and DoS
> them.
>
>
>
>
> ------------------------------------------------------------------------
>
> ¡Descubre una nueva forma de obtener respuestas a tus preguntas!
> Entra en Yahoo! Respuestas
> <http://es.answers.yahoo.com/;_ylc=X3oDMTEzNWwxbTZtBF9TAzIxMTQ3MTQxOTAEc2VjA01haWwEc2xrA3RhZ2xpbmVz>.
Re: image link
Posted by night duke <ni...@yahoo.es>.
I mean:
----- Mensaje reenviado de lois484@asian-adult-links.com -----
Fecha: Fri, 18 May 2007 13:22:36 +0200
De: lois Henry <lo...@asian-adult-links.com>
Responder-A: lois Henry <lo...@asian-adult-links.com>
Asunto: Hot market, report.
Para: jech@comm.com
http://img201.imageshack.us/img201/4164/4wfkn8cp0.jpg
Important symbol report
I also knew that they would try to hide, and anybody who provided haven, help, food, would be held accountable by the United States of America.
This is a spam message, can spamassassin check the url and the image 4wfk....jpg and show if it's spam or not.
Matt Kettler <mk...@verizon.net> escribió:
night duke wrote:
> Hi we receive a lot of email with an url link with .jpeg or .png files
> like:
>
> htttp://urltosee.dot.com/files/images/ururr.jpeg
> htttp://urltosee.dot.com/files/images/ururr.png
>
> How can i teach spamassassin to check that url?
Can you be more specific? What do you want spamassassin to check about
it? It should already check the URL itself against surbl.org, uribl.com,
etc.
Or are you suggesting the the triple-t in htttp:// is inhibiting SA's
ability to understand that it's a URL?
If you're suggesting having it follow the link and download the image
for analysis, that's very unwise. This is a great way for spammers to
track what messages are being processed, by using custom URLs (ie: web
bugs). It's also a great way for them to detect what IPs appear to be
fetching them automatically for analysis, and start returning different,
potentially slow to process, information to those servers and DoS them.
---------------------------------
¡Descubre una nueva forma de obtener respuestas a tus preguntas!
Entra en Yahoo! Respuestas.
Re: image link
Posted by Matt Kettler <mk...@verizon.net>.
night duke wrote:
> Hi we receive a lot of email with an url link with .jpeg or .png files
> like:
>
> htttp://urltosee.dot.com/files/images/ururr.jpeg
> htttp://urltosee.dot.com/files/images/ururr.png
>
> How can i teach spamassassin to check that url?
Can you be more specific? What do you want spamassassin to check about
it? It should already check the URL itself against surbl.org, uribl.com,
etc.
Or are you suggesting the the triple-t in htttp:// is inhibiting SA's
ability to understand that it's a URL?
If you're suggesting having it follow the link and download the image
for analysis, that's very unwise. This is a great way for spammers to
track what messages are being processed, by using custom URLs (ie: web
bugs). It's also a great way for them to detect what IPs appear to be
fetching them automatically for analysis, and start returning different,
potentially slow to process, information to those servers and DoS them.