Article View: news.software.nntp
Article #20400Re: Diabolical anti-spam nnrpd patch
From: Mark Hittinger
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
59 lines
3578 bytes
3578 bytes
Jeremy <jeremy@exit109.com> writes: >So, Joe Greco provided some quick code, which I hacked into nnrpd, which >accepts the spammer's posts and then silently drops them on the floor. >Mr. Spam has been going strong here since Saturday morning, and thinks >he has posted over 95,000 copies of his sex spam -- none of which have >actually been posted. That's 95,000 spams that will never see the light >of day, 95,000 cancels that will never have to be issued, and one >spammer who is wasting his time here instead of spamming from another >ISP. >I have turned the code into a patch, which I present below. Joe did the >code, so give him the thanks; all I did was hack it into nnrpd, test it, >turn it into a patch, and write the instructions, which I'm also including >below. We have a similar patch imbedded in rnews (our nnrpd spools posts to in.coming for later processing by rnews). We do find that most spammers leave a token string in their spam which is either a url or a phone number. Software which looks for these token strings has proven to be a very powerfull tool in the anti spam war here. It may be more efficient in VM terms to reverse the string order testing in the patch. It is probably better to test each filter string against the first byte of the file, then the second byte etc. Traversing large articles for each filter string is somewhat slower. You also need some sort of counter for each filter string that is "hit" so that you can cull your database. I suppose you could get that out of the syslog entry. We find that most spammers here will hit us fairly hard for a week or so and then go away to greener pastures. After the couple of weeks goes by the filter string is never seen again here (usually). Another thing that we see here is that the spammers will either start out on the email side of things and migrate over to news with the same token string in their spam, or they will start out on news and migrate over to email. By implementing the same software modification into "smap" we've got a very good trick up our sleeve. If we obtain a token string from news spam, we can drop it into our "smap" filter and defeat the following email spam before it even goes out (or vice versa with "smap" tokens copied to the news side). Our current work here is to try and unify as much as possible our email and news filtering techniques and to automate them. We'd also like to be able to create a netwide "filter token" database so that spammers who hit one ISP (that contributes to such a netwide database) would never get anywhere by switching to another ISP. A real time query-able (and update-able) netwide filter token database would be even more diabolical MUHAHAHA! It appears that many spammers (by virtue of the scale of their operation) do not have a large list of pigeons' spools to dump their spam onto. Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Technical Details
Message-ID:
<5sq6hq$7g6@dfw-ixnews1.ix.netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<blabla.0009@news1.exit109.com>Show Full Headers
Complete Article Headers
Message-ID: <5sq6hq$7g6@dfw-ixnews1.ix.netcom.com> Subject: Re: Diabolical anti-spam nnrpd patch Date: Tue, 12 Aug 1997 00:00:00 +0000 From: bugs@freebsd.netcom.com (Mark Hittinger) References: <blabla.0009@news1.exit109.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 263922343 Organization: Netcom X-NETCOM-Date: Tue Aug 12 12:29:32 PM CDT 1997 Newsgroups: news.software.nntp