XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Image,rtf,pdf Spam

Reply to this topicStart new topicStart Poll

> Image,rtf,pdf Spam, seems to be comming back
ciuly
Posted: Jun 14 2009, 07:56 PM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 1843
Joined: 29-November 05



While not seeing this kind of spam for years I started to receive it a little while ago (maybe a couple of months).
it started out with regular text spam (I'm talking about the same kind of spammer, same kind of products, same kind of domains (as in naming conventions).
So I wrote myself a small filter in bash to take those out using regular expressions. It's working quite nicely, rejecting about 90-95% of the spam. The rest of th 5-10% is same kind of email which requires tweaking the regexes OR new spam.
Now, the new spam is what bothers me. As I said, these guys escaleted. From simple text, they went on to html, then rtf, pdf and finally gif/jpg and here it got nasty.
Until how, I managed (based on the file format) to come up with regex rules for the mime encoded file (basically, the same area from the file gets encoded the same, true for html, rtf and partially on pdf). but in case of gif, jpg they didn't bother to just create the file and leave it like that, no, every gif/jpg which I received, the same in content, was different in colors (yesterday) then a couple with added noise/lines and today it was different in size and transformations (mainly wave-ing, with different wave-length (I hope these are the right terms in english as I just translated them from my language smile.gif ))

Long story short, this new kind of spam is rendering my filter useless as no 2 images share "binary" commonalities, only content. and it is almost the exact same content (same 2 words, same 2 pictures and one web address which sometimes differes; well, what I received the past 2 days)

I have spent entire day on ocr tools and filters. none give good results.
I tried fuzzyocr as a filter and tools:
- gocr
- ocrad
(from command line on the initial, easy, images I received)
I couldn't get tesseract build on my system (RH 9), which I know is not supported, but I gave it a try.
Needless to say none of the tools got even close to detect the words in the images. I tried tweakign the commands line with no success.

Having the entire day wasted on this issue, I'm turning to some inside help: what can I use for this kind of spam? something free please smile.gif


--------------------
I hate looking up all this information every time I create a new topic so here goes:
I'm running XMail v 1.26 on linux centos 5 CLI-only kernel 2.6.18-194.32.1.el5 with filters.out having one filter, filters.post-data having 5 custom filters (first one SA), filters.pre-data having 2 custom filters and SA v 3.3.1 running on Perl v 5.8.8 with a weekly crontab entry for sa-update
PMUsers WebsiteYahoo
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Fighting SPAM | Next Newest »

Reply to this topicStart new topicStart Poll