CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

Smack em in the mouth I say!

 
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Mac

Guest
IP: 203.40.*.*






PostPosted: Sun Jun 08, 2003 10:06 am    Post subject: Smack em in the mouth I say!
Reply with quote

G'day all,

Sorry if this is starting to sound like a back tracking vinyl but I reckon we need to attack the material not the faceless, untrackable and often fraudulent characters who spam.

The idea of adding auto-bounce to filters is just about the best idea I have heard of. That way I get to read promotion for subjects that interest me and pretend to my self that the rest has been shoved down the mouths they came from.

Since installing my filters (see More Spammers Than Spam) I have had to make just two adjustments and my spam has fallen by about 60%.

I think all we need now is a good on-line tutorail on how to create and edit filters for Mail Washer and the Internet World will be a better place to live.

Best regards

Mac Twisted Evil

Back to top
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16542

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Sun Jun 08, 2003 12:36 pm    Post subject: Re: Smack em in the mouth I say!
Reply with quote

Mac wrote:
The idea of adding auto-bounce to filters is just about the best idea I have heard of. That way I get to read promotion for subjects that interest me and pretend to my self that the rest has been shoved down the mouths they came from.

I know you meant "pretending" as in "they won't even know I peeked in" but if you read the many recent threads about the bouncing function, you'll realize that "pretending" can also be interpreted as "I'm only kidding myself that bouncing makes any difference whatsoever".

Quote:
Since installing my filters (see More Spammers Than Spam) I have had to make just two adjustments and my spam has fallen by about 60%.

Once you read some of the threads, you'll find that users have not always met with the same success you claim.

Quote:
I think all we need now is a good on-line tutorail on how to create and edit filters for Mail Washer and the Internet World will be a better place to live.

I take it you tried Gary's filters and played with them a bit. I've found that the most complicated part is the RegExpr function which I agree isn't explained very well by FireTrust documentation. Some recent threads: 'how to filter these: 3otsng76vs62@yahoo.com', 'RegEx filter for "spam tricks" to get past detecti', 'MW Sample Filters updated: 2003-06-02a', etc. have helped me understand the filters better. Gary even posted an excellent site to get the complete RegExpr syntax. Sorry I can't find the thread at the moment.

Back to top
View users profile Send private message
mole

Lieutenant
Lieutenant
Premium Member

Joined: Mar 15, 2003
Posts: 201
Location: Afghanistan
Premium

PostPosted: Sun Jun 08, 2003 3:18 pm    Post subject:
Reply with quote

MWP comes with many ways to "filter"

1. By DNS Blacklists - these are awesome at a 95% average catch rate, picking out country specific ip origins like flypaper. I use 10 in a row.

2. By the new community based human verified CFS system which Firetrust is currently developing.

3. By email blacklists eg . *@yahoo.com

4. By manually created filters

You have to understand that pro spammers can only tackle option 4. They are most concerned with 1-3.


_________________
.BIZ rocks!
Back to top
View users profile Send private message Visit posters website
gary

Lieutenant
Lieutenant
Premium Member

Joined: Dec 22, 2002
Posts: 260
Location: Dallas/Ft. Worth, USA
Premium

PostPosted: Sun Jun 08, 2003 3:50 pm    Post subject:
Reply with quote

Ike, was it this one? http://zez.org/article/articleprint/11/

In addition to the normal Regular Expression syntax, when working with MailWasher, also remember:

* Case independence is turned on, so if you want to search for all caps, for example, you need to toggle it iff using (?-i) before your filter. (?i) turns it back on.

Example: (?-i)GUARANTEED(?i)

* The header is treated as a block of text, and not as separate lines. If you want to search for the beginning or end of a specific header line, you'll need to use (?m). I think they were looking at changing the default operation of this a while back, though, so you might want to test it.

Example: (?m)^Message-ID:\s+<.+@[\w\.-]+>

* Remember that Regular Expressions are "greedy" by default. That is, they will try to match as much as possible, so you might end up with unintended results. For example, if you have the string "stack sack smack", you might think that ".*ack would match the first "stack...". But NNNOOOOooo! It matches the entire string! And when you start using "*" things get really nasty. As a consequence, you'll end up with filters that sometimes match almost the entire contents of a message body. To turn off greediness, use (?-g). To turn it off for a single expression, use a question mark after the quantifier (.+?ack) This brings us to:

THE most important thing to remember seems to be that "*" and "?" do not work the same in Regular Expressions as they do in DOS. This trips almost everyone up! These are used to follow up a character (usually ".", actually, which is like the DOS "?") to tell how many times to match something.

Test? = match "Tes" or "Test"
Test* = match "Tes" or "Testtttttt"
Test+ = match "Test or "Testtttttttttt"

I've been working on a filters FAQ, but as usual, the project is taking longer than expected. If there's anything in particular that you think needs to be in there, please let me know!

With regard to filtering in general, there seem to be a couple of camps out there. Some people don't think it's effective (obviously I have good results, or I would not keep up with them). Databases like CFS will be a huge help, but it's good to have something to help locate the spam in the first place so that it can be added to the database. DNS blacklists give me a lot of false positives (even my own domain is blacklisted!). The bad thing about the DNS blacklists is that they often try to blackmail ISP's into changing their policy by blacklisting huge address ranges. I happen to fall into one of those ranges. Ironic, no?

Here's the short and tall of it: Try the different methods and find out what works best for you, or use a combination of methods. Everyone's spam is different.


_________________
Gary


Last edited by gary on Mon Jun 09, 2003 4:14 am, edited 1 time in total
Back to top
View users profile Send private message
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16542

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Sun Jun 08, 2003 7:40 pm    Post subject:
Reply with quote

gary wrote:
Ike, was it this one? http://zez.org/article/articleprint/11/

Actually no ... but it's another good reference. The one I was referring to can be found at the web site for the maker of the RegExpr.exe function you referred to in one of your posts that I can't seem to locate.

Quote:
I've been working on a filters FAQ, but as usual, the project is taking longer than expected. If there's anything in particular that you think needs to be in there, please let me know!


Looking forward to it. Cool Sounds like you should be getting paid by FireStorm. I mean, you are doing their job for them! Very Happy [/quote]

Back to top
View users profile Send private message
gary

Lieutenant
Lieutenant
Premium Member

Joined: Dec 22, 2002
Posts: 260
Location: Dallas/Ft. Worth, USA
Premium

PostPosted: Sun Jun 08, 2003 8:09 pm    Post subject:
Reply with quote

Oh - http://anso.da.ru or http://anso.virtualave.net/delphi_stuff.htm#TRegExpr ?


_________________
Gary


Last edited by gary on Mon Jun 09, 2003 4:49 am, edited 1 time in total
Back to top
View users profile Send private message
Mac

Guest
IP: 203.40.*.*






PostPosted: Mon Jun 09, 2003 4:11 am    Post subject:
Reply with quote

G'day Ike,

No I seriously meant by "pretend" that based on many years of experience in web site creation and management, that I know very well that a whole heap of bounced messages are never returned to source and yes there is certainly the risk of increased spam.

More importantantly though (Aussie spelling) I do accredited Internet Research for a number of clients so there are certainly some subjects on which I am happy to receive unsolicited e-mail (spam).

Gary's excellent work with filters are giving me that option and saving me a whole lot of time developing my own.

Well done Gary and thanks for your input Ike.

Regards

Mac

Back to top
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16542

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Mon Jun 09, 2003 4:47 am    Post subject:
Reply with quote

gary wrote:
Oh - http://anso.da.ru or http://anso.virtualave.net/delphi_stuff.htm#TRegExpr?

Yup that's the one. The help files (either downloaded or online) give a lot of syntax info.

Back to top
View users profile Send private message
Skah_T

Corporal
Corporal


Joined: Jun 05, 2003
Posts: 51
Location: USA

PostPosted: Wed Jun 11, 2003 10:29 pm    Post subject:
Reply with quote

gary wrote:
In addition to the normal Regular Expression syntax, when working with MailWasher, also remember...


Gary,

These are great to know (?-i, ?-g, etc). I have this thread bookmarked, but am wondering if these are documented somewhere officially? I couldn't find it in the help or on the web site.

Scott


_________________
--- Skah T ---
DragonShadow Industries
Back to top
View users profile Send private message Visit posters website
gary

Lieutenant
Lieutenant
Premium Member

Joined: Dec 22, 2002
Posts: 260
Location: Dallas/Ft. Worth, USA
Premium

PostPosted: Wed Jun 11, 2003 11:35 pm    Post subject:
Reply with quote

I don't think Firetrust documented the extended patterns & modifiers, since they didn't write the RegExp piece. They point you in the direction of the author. Download this help file and take a look: http://anso.virtualave.net/RegExpE.zip
You find it's very ... eh, helpful! Very Happy

If you're used to Perl, it's the same syntax. However, some of the whackier Perl extended patterns are not included in this implementation, to my knowledge. I was going to put this stuff in an FAQ, but I don't know that it's worth it, since the stuff is in the helpfile, above.


_________________
Gary
Back to top
View users profile Send private message
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16542

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Fri Jun 13, 2003 5:40 am    Post subject:
Reply with quote

gary wrote:
I don't think Firetrust documented the extended patterns & modifiers, since they didn't write the RegExp piece. They point you in the direction of the author. Download this help file and take a look: http://anso.virtualave.net/RegExpE.zip
You find it's very ... eh, helpful! Very Happy

Thanks Gary. Actually I found it after you posted the reference to RegExp above. Yup .... helpful would be an understatement! Very Happy Very Happy

Quote:
If you're used to Perl, it's the same syntax. However, some of the whackier Perl extended patterns are not included in this implementation, to my knowledge.

I knew it looked familiar .... Surprised

Quote:
I was going to put this stuff in an FAQ, but I don't know that it's worth it, since the stuff is in the helpfile, above.

Perhaps the FAQ could just reference the RegExp help file.

Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer