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

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

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
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 934
Comments: 25
block bottom
spacer spacer

Blacklist domain?

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

Trooper
Trooper


Joined: Sep 12, 2003
Posts: 10
Location: Canada

PostPosted: Wed Oct 08, 2003 12:53 pm    Post subject: Blacklist domain?
Reply with quote

If at all possible, can you add a column checkbox to blacklist domain?

Currently, there is a column with a check box to blacklist the sender; in order to blacklist the domain of the sender, we need to right click on the user and select blacklist domain from the dropdown selection. It would be much easier and faster if a column with 'blacklist domain' were available.

thanks!

Paul

Back to top
View users profile Send private message
Haplo

Trooper
Trooper


Joined: Mar 14, 2003
Posts: 19
Location: USA

PostPosted: Fri Oct 17, 2003 9:16 pm    Post subject:
Reply with quote

It would also be nice to have a keystroke to blacklist a domain. Something like Ctrl+- (that's "control minus") or Alt+-

And similarly Ctrl++ (that's "control plus") or Alt++ to add entire domain to the friend list.

Back to top
View users profile Send private message
denn988

Sergeant
Sergeant


Joined: Sep 19, 2003
Posts: 91
Location: Afghanistan

PostPosted: Fri Oct 17, 2003 9:36 pm    Post subject:
Reply with quote

Why not just allow the user to map their own keyboard shortcuts?


As to blacklisting domains....perhaps that should not be any easier. It might do some good to allow the user the chance to think about it for an extra second before they blacklist an entire domain.

Most of the SPAM is using random faked addresses anyway and blacklisting an entire domain based on what one spammer sends to you is the equivalent of driving a 5/8" nail into a board using a 5# sledgehammer. If you do that, you can pretty much kiss that board goodbye.

Back to top
View users profile Send private message
Pilaar39

Trooper
Trooper


Joined: Sep 12, 2003
Posts: 10
Location: Canada

PostPosted: Sat Oct 18, 2003 12:53 am    Post subject:
Reply with quote

denn988 wrote:
As to blacklisting domains....perhaps that should not be any easier. It might do some good to allow the user the chance to think about it for an extra second before they blacklist an entire domain.


Well.. I am blacklisting domains all the time.. it just takes an extra step to right click and scroll down to select the option to do it.. would be faster to have a check box.

While on the subject, I find living in North America, 99.9% of all email originating from other countries is spam; personally, I commuinicate with very few outside of the US and Canada, and those that I do, I add to my friends list. This brings me to me next suggestion:

Why not have an option to blacklist by country? Right now I have tons of blacklists like *@*.it , *@*.pl , *@*.cz , etc... on and on for many countries. It would be nice to have a option that lists all countries with check boxes beside them, so that I can automatically create the country blacklist entries.. maybe even have an option to select 'all' countries, and then I can simply unckeck the few that I want to keep off the blacklist. Probably easier that way Smile

Back to top
View users profile Send private message
denn988

Sergeant
Sergeant


Joined: Sep 19, 2003
Posts: 91
Location: Afghanistan

PostPosted: Sat Oct 18, 2003 2:55 am    Post subject:
Reply with quote

pilaar39,

Here are several filters that you can cut and paste into your 'filters.txt' file that might help you.

They are based on IP addresses rather than "faked" e-mail addresses and will do a much better job of trapping mail originating from outside ARIN.

The first three will look for IP address in the 'Received from:' lines in the header that originated from RIPE (Europe), APNIC (Asia-Pacific), and LACNIC (Latin America).


[enabled],"RIPE (Europe)",RIPE,16711808,AND,Delete,EntireHeader,containsRE,"(?# list of IP blocks assigned to RIPE - must be updated as required )^Received: from [^[]*?\[(62|8[0-2]|19[345]|21[237])(\.[1-2]?\d?\d?){3}\]"

[enabled],"APNIC (Asia-Pacific)",APNIC,16711808,AND,Delete,EntireHeader,containsRE,"(?# list of IP blocks assigned to APNIC - must be updated as required )^Received: from [^[]*?\[(6[01]|20[23]|21[01]|21[89]|22[0-2])(\.[1-2]?\d?\d?){3}\]"

[enabled],"LACNIC (Latin America)",LACNIC,16711808,AND,Delete,EntireHeader,containsRE,"(?# list of IP blocks assigned to LACNIC - must be updated as required )^Received: from [^[]*?\[20[01](\.[1-2]?\d?\d?){3}\]"



The next filter will identify most IP addresses that are designated as IANA - Reserved. These IP addresses should NEVER appear in an e-mail header, unless the line they appear in was forged.


[enabled],"IANA RESERVED","IANA RESERVED",180,AND,Delete,EntireHeader,containsRE,"(?# list of IP blocks reserved by IANA - must be updated as required )^Received: from [^[]*?\[([1257]|2[37]|3[1679]|4[129]|5[089]|7\d|8[3-9]|9\d|1[01]\d|12[0-6]|17[3-9]|18[0-79]|19[07]|22[3-9]|2[34]\d|25[0-5])(\.[1-2]?\d?\d?){3}\]"

If you need to know where to find the block assignment (for periodic updates) follow this link for the file location at IANA (Internet Assigned Numbers Authority)

Notes:

When you paste these into your filters.txt file, do NOT allow any extra carriage returns between filters. In other words, each of these filters should be on the line immediately following the last filter.


These filters are set up to flag and mark for deletion any messages that they find. They will not blacklist or bounce any message as set up. You have the option of changing that through the filter edit dialog box.

I would recommend that you don't bounce or blacklist based on any automated function.

Also, these filters are set up to NOT take precedence over the freinds list. I suggest you leave them that way....and at the least add "*@firetrust.com" to your friends list (as well as anyone from those areas that you want to receive mail from). Some of their mail originates from RIPE, some from APNIC and some from ARIN, so you don't wan't them flagged.



Last edited by denn988 on Sat Oct 18, 2003 3:19 am, edited 1 time in total
Back to top
View users profile Send private message
stan_qaz

Premium Member


Joined: Mar 31, 2003
Posts: 10576

Premium

PostPosted: Sat Oct 18, 2003 3:07 am    Post subject:
Reply with quote

denn988, I added these three and they are working for me, all three are getting hits.


_________________
Questions? Try the wiki
http://wiki.castlecops.com/MailWasher_Pro
Back to top
View users profile Send private message
denn988

Sergeant
Sergeant


Joined: Sep 19, 2003
Posts: 91
Location: Afghanistan

PostPosted: Sat Oct 18, 2003 4:11 am    Post subject:
Reply with quote

stan_qaz wrote:
denn988, I added these three and they are working for me, all three are getting hits.


They work for me too Cool

If you liked those, here is another little filter addition for you.

If you have some kind of SUBJECT filter, add the following rule to it (as an OR - "any rule is satisfied")

The ENTIRE HEADER
CONTAINS
Subject: =?ISO-8859-1



Beginning your Subject line with "=?ISO-8859-1" is an encoding sequence for the subject that is used to obsfucate the contents of the subject line so that filters cannot find anything. When used correctly, the ""=?ISO-8859-" at the beginning of the subject line will NOT appear in the subject box of any e-mail client.

I fyou want to prove this, send yourself an e-mail with the following for the subject:

Quote:
Subject: =?iso-8859-1?B?aGk=?=


Notice how it appears in the subject line after you receive the e-mail back..... then look at the full headers and see the difference.



The ONLY times I have ever seen this used (and it is used quite a bit) is when it is used by Spammers. I have NEVER seen it used in legitimate e-mails.


NOTE:

This is NOT a RegExp, and the rule must be set up to look at the ENTIRE HEADER. If you try to set it up to look at the "Subject field" it won't work.

Back to top
View users profile Send private message
karms

Guest
IP: 162.47.*.*






PostPosted: Tue Dec 09, 2003 2:14 pm    Post subject:
Reply with quote

denn988, what priority should your IP Address filters take in the filters.txt file?

Back to top
ManiacJoe

Sergeant
Sergeant


Joined: Nov 25, 2003
Posts: 114
Location: Seattle, WA, USA

PostPosted: Sat Dec 13, 2003 7:20 am    Post subject:
Reply with quote

denn988 wrote:
They are based on IP addresses rather than "faked" e-mail addresses and will do a much better job of trapping mail originating from outside ARIN.


As an alternate method, some of the DNS databases can be added to your "origin" filters. However, since these are lookups done over the internet, the text filters shown above might be quicker.

See www.blackholes.us for database samples.

Back to top
View users profile Send private message
MON

Guest
IP: 159.134.*.*






PostPosted: Sun Dec 14, 2003 1:39 pm    Post subject: Domain blacklist
Reply with quote

Smile
I have read the suggestions for filter enhancement, and will, with trepidation, try them out. (I have lots of international valid contacts & don't want to risk losing mail from them.)
However, getting back to the original request, I too use the 'add entire domain to the blacklist' which has shortened my blacklist substantially, and would like the option to be more visible.

Back to top
Perry

Lieutenant
Lieutenant


Joined: Oct 19, 2003
Posts: 291
Location: USA

PostPosted: Tue Dec 16, 2003 7:08 am    Post subject:
Reply with quote

denn988 wrote:
stan_qaz wrote:
denn988, I added these three and they are working for me, all three are getting hits.


They work for me too Cool

If you liked those, here is another little filter addition for you.

If you have some kind of SUBJECT filter, add the following rule to it (as an OR - "any rule is satisfied")

The ENTIRE HEADER
CONTAINS
Subject: =?ISO-8859-1



Beginning your Subject line with "=?ISO-8859-1" is an encoding sequence for the subject that is used to obsfucate the contents of the subject line so that filters cannot find anything. When used correctly, the ""=?ISO-8859-" at the beginning of the subject line will NOT appear in the subject box of any e-mail client.

I fyou want to prove this, send yourself an e-mail with the following for the subject:

Quote:
Subject: =?iso-8859-1?B?aGk=?=


Notice how it appears in the subject line after you receive the e-mail back..... then look at the full headers and see the difference.



The ONLY times I have ever seen this used (and it is used quite a bit) is when it is used by Spammers. I have NEVER seen it used in legitimate e-mails.


NOTE:

This is NOT a RegExp, and the rule must be set up to look at the ENTIRE HEADER. If you try to set it up to look at the "Subject field" it won't work.


Here is a non-spam mail with which this filter will fire on. This little goodie at Budweiser probably is costing companies millions in lost production ;"

www.budweiser.com

Select Give lip, upload a picture, do the dirty work, then send it. It will have:

Subject: =?ISO-8859-1?B?U29tZW9uZSBpcyBnaXZpbmcg?=
=?ISO-8859-1?B?eW91IGxpcCAtIHdpdGggaGVs?=
=?ISO-8859-1?B?cCBmcm9tIEJ1ZHdlaXNlci5j?=
=?ISO-8859-1?B?b20h?=


The subject in Outlook will read:

Someone is giving you lip - with help from Budweiser.com!

Perry

Back to top
View users profile Send private message Visit posters website
geo_splash_12

Guest
IP: 80.100.*.*






PostPosted: Wed Dec 24, 2003 10:44 am    Post subject: Filtering ip domains
Reply with quote

The regexp filters are fine and nice, but did anyone ever debug them? Also, are there updates of these filters? As a matter of fact I do receive valid mail from all over the world and it can be very relevant. Filtering all mail from China is not an option for me since I have friends there that send me e-mail. And the same will be true for the rest of the world. So I designed an easier way out to at least to be able to detect whether I got a valid reply at my e-mail. All my outgoing e-mail contains the text

PGPkey: 0x0EDD917F (Please keep this line in replies)

where the PGPkey belong to me. There is very little change that anyone
got that same key. The filter simply looks for the presence of that line in my incoming e-mails. Later in outlook this mail is directed to a reply directory.

Back to top
stan_qaz

Premium Member


Joined: Mar 31, 2003
Posts: 10576

Premium

PostPosted: Fri Dec 26, 2003 4:48 am    Post subject:
Reply with quote

geo_splash_12, several folks have made suggestions like this but you are the first I've seen to suggest the idea of using the PGP key, not a bad idea.


_________________
Questions? Try the wiki
http://wiki.castlecops.com/MailWasher_Pro
Back to top
View users profile Send private message
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16505

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

PostPosted: Fri Dec 26, 2003 6:37 am    Post subject: Re: Filtering ip domains
Reply with quote

geo_splash_12 wrote:
The regexp filters are fine and nice, but did anyone ever debug them?

Trust me, if they didn't work, there would be lots of posts that say so. I've certainly been using all the regex filters posted in this thread, in fact use most of the ones Denn988 has posted with great success. I still have many of Gary Partain's filters enabled but no longer get very many hits on them.

geo_splash_12 wrote:
Also, are there updates of these filters?

Once in a while Denn988 or someone else might post a followup but this is a hit and miss affair. After all, we're all MWP users and post here on a voluntary basis. Gary actually kept his filters current and occasionally posted updates at his web site but he hasn't been active here for a while. Got his premium membership and left us to our own devices it seems....

geo_splash_12 wrote:
As a matter of fact I do receive valid mail from all over the world and it can be very relevant. Filtering all mail from China is not an option for me since I have friends there that send me e-mail. And the same will be true for the rest of the world.

Then the filters posted in this topic, except for the IANA RESERVED, may not be appropriate for you. If you could rely on your friends list, perhaps you'd be OK but that doesn't allow for someone who might contact you by referral.

geo_splash_12 wrote:
So I designed an easier way out to at least to be able to detect whether I got a valid reply at my e-mail. All my outgoing e-mail contains the text

PGPkey: 0x0EDD917F (Please keep this line in replies)

where the PGPkey belong to me. There is very little change that anyone
got that same key. The filter simply looks for the presence of that line in my incoming e-mails. Later in outlook this mail is directed to a reply directory.


Great idea! By knowing that key, I take it responders could send you encrypted messages as well. As long as you can discount the possibility of people initially contacting you without that key, who might compose a new message rather than replying, or who might carelessly delete that line when replying, you've got a foolproof scheme! Wink


_________________
imageCastleCopsWiki
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