Slashdot Mirror


Using Statistics to Cause Spammers Pain

mlamb writes "Statistical mail classifiers like PopFile save time on the part of their users, but don't do anything to actively combat spam. I just published an article that suggests a way to use classifier output against a spammer while they're connected to your SMTP server, and I'm launching a project called TarProxy to implement it."

334 comments

  1. Nice idea by TheViciousOverWind · · Score: 2, Interesting

    But what if the spammer sends a message to a (good) SMTP server which haven't got the system, and the SMTP server in turn tries to deliver the "spammail" to the right SMTP server, won't that hurt the good SMTP server, who just tries to do it's job?

    --
    My <1000 UID is with a hot chick
    1. Re:Nice idea by LowneWulf · · Score: 5, Insightful

      Most mail servers will only forward mail from users of their own domain. If the mailserver is sending spam for one of their legitimate users, I feel no pity for them if their server slows down.

      If they forward mail from anyone who sends them mail, then they are an open relay, and again, they deserve what they get for leaving an open relay up.

    2. Re:Nice idea by TheViciousOverWind · · Score: 3, Interesting

      But then the only way the actual spammer would be sending from your server is if you have an open relay? So the idea would be to set up false open relays? But wouldn't the spammer just black/whitelist the servers? The place where I work once got hit by a spammer, (because we used some matt formmail script), it all happened automatic in steps: - Some webspider found out about the formmail.cgi - The spider sends a mail to some hotmail account - 15 minutes later (I guess after confirming the mail got through) it started sending mails non-stop. - 30 minutes later, we could see some other type of traffic (The bot apparently sent out mails about the open relay to other spammers (possible persons who bought access to the open relays?)). All the while we were on the phone with the police computer-crime department, which didn't know what to do. Then we denied those users access to the network and patched up the security breach (We were waiting to do that, while talking to the police, in the hope that they could actually do something, since the spammer were spamming "right now"... But apparently they were quite clueless).

      --
      My <1000 UID is with a hot chick
    3. Re:Nice idea by Snowgen · · Score: 5, Insightful

      what if the spammer sends a message to a (good) SMTP server which haven't got the system, and the SMTP server in turn tries to deliver the "spammail" to the right SMTP server, won't that hurt the good SMTP server, who just tries to do it's job?

      The situation you're describing is called relaying.

      If you start with the assumption that spammers are evil, then the logical conclusion is that there is no such thing as a "good" SMTP server that would relay mail on a spammer's behalf. Servers that do are either in collusion with the spammer, or are mis-configured to allow anonymous relaying. A server that willingly acts in collusion with evil is, by definition, evil. The level of stupidity necessary to allow your sever to act as an open relay also, by definition, precludes being considered a "good" server.

      So the short answer to your query is that it's a non-issue. A truly good server will, by definition, never relay spam!

    4. Re:Nice idea by Anonymous Coward · · Score: 2, Insightful
      I suppose a fake open relay that forwards nothing is definitely an idea that has merit. However, it still doesnt really hit back. Now, a fake open relay that is a tarpit, as per the article, would be pretty good.

      However, I guess the 'blank relay' is good as a time waster, because they THINK its succeeding. Whereas a tarpit open relay will eventually be ignored.

      As anything, they will evolve to counter these kind of subterfuges, mapping out known good relays could just be done programmatical by either make sure it actually forwards or doesnt hog bandwidth.

      So the only really good solution would be to close all open relays, and tarpit all valid SMTP recievers. Hardly likely to happed, tho =( I guess we will just have to hope there is someday a common denominator alternative to SMTP, and that it actaully gets used!

    5. Re:Nice idea by freeweed · · Score: 2, Insightful

      An open relay is different than the formmail.cgi vulnerability. Ok, so they can result in the same thing, but when people talk about open relays they usually mean production SMTP servers which accept mail from anywhere, instead of verifying the source domain first.

      Matt's formmail script isn't really intended for use as a mail server, but on a webserver (ok, so I'm arguing semantics here :) to just fire off the odd email easily for the admin.

      As for your questions, the idea is *not* to set up false open relays per se, but to set up servers that tie up the 'upstream' mail server. Tarpitting is a pretty cool idea if you ask me - it hurts no one but the spammer, if implemented properly. As for blacklisting/whitelisting servers, sure, let the spammers. Note that if enough people tarpitted, eventually spam wouldn't get *anywhere* - spammers could spam each other all they want, but none of it would ever get delivered.

      Unfortunately the critical mass for this to really work is very, very large.

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
    6. Re:Nice idea by stand · · Score: 2, Interesting
      Unfortunately the critical mass for this to really work is very, very large.

      I don't think this is necessarily true. As the article points out, setting it up on a few servers would be sufficient to get things started provided those few servers were the right ones. I'll leave it as an exercise to the reader to determine which servers they should be.

      I don't think they should be doing this in Java though. Java is not a text parsing language and this thing really requires some text parsing muscle. Cross platform ability isn't as important.

      --
      Four fifths of all our troubles in this life would disappear if we would just sit down and keep still. -C. Coolidge
    7. Re:Nice idea by Maditude · · Score: 1
      I don't think this is necessarily true. As the article points out, setting it up on a few servers would be sufficient to get things started provided those few servers were the right ones. I'll leave it as an exercise to the reader to determine which servers they should be.

      Hmmm, the BIG isp's with thousands of users, who would be hard-pressed to provide the horse-power for such a system in the first place?
    8. Re:Nice idea by enigmiac · · Score: 0

      what about the spammers with half a brain, and a spare computer to install linux and sendmail? I personally use localhost as my default smtp, and have no problems. aren't you glad I'm not a spammer?

    9. Re:Nice idea by AntiNorm · · Score: 1

      But what if the spammer sends a message to a (good) SMTP server which haven't got the system

      Said SMTP server would have to be an open relay, which would hardly let it qualify as "good."

      --

      I pledge allegiance to the flag...
      of the Corporate States of America...
    10. Re:Nice idea by secolactico · · Score: 1

      But what would be a more pressing need for this to take place: hardware muscle or bandwidth?

      Sometime ago, someone (can't remember who) came up with a tar pit for the nimda virus and one of the warnings I remember was that this was very bw expensive.

      --
      No sig
    11. Re:Nice idea by Anonymous Coward · · Score: 0

      See, that looks like a troll, but at some level, I *know* you meant exactly what you wrote.

      Alright, I'll raise your local smtp server with 7 chained local smtp servers, each one relaying mails to the next so it's virtually totally untraceable.

      Your move.

    12. Re:Nice idea by jonadab · · Score: 3, Interesting

      > > Unfortunately the critical mass for this to really work is
      > > very, very large.

      Yes, it is large.

      > I don't think this is necessarily true. As the article points
      > out, setting it up on a few servers would be sufficient to get
      > things started provided those few servers were the right ones.

      Let me guess: Yahoo's several dozen, AOL's however many, and
      the ones at Earthlink, demon.co.uk, and MSN -- and I close?

      That's a very large critical mass, not in terms of the number of
      servers, but in terms of the amount of mail handled (and, therefore,
      the amount of server beef needed to implement any such measures).

      > I don't think they should be doing this in Java though. Java is
      > not a text parsing language and this thing really requires some
      > text parsing muscle. Cross platform ability isn't as important.

      No need to sacrifice the cross-platformness. Perl is a GREAT
      text processing language, performs faster than Java, and as an
      added bonus is much more cross-platform (provided you don't need
      a GUI (which for this you don't)). It does use quite a bit of
      RAM sometimes, but so does Java. And doing SMTP stuff in Perl
      is really easy. (Net::SMTP rocks in a significant way.) And
      any operating system that's remotely appropriate for use as a
      mail server probably comes with Perl out of the box these days.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    13. Re:Nice idea by minas-beede · · Score: 5, Interesting

      There's a few spammers who send direct from their own IPs. If you want to tarpit them just tarpit the traffic from their Ips - you don't need to analyze anything.

      For other spam, through open proxies or open relays, you are not hurting the spammer to tarpit. If the spammer is working through open proxies and if you got enough tarpits going then you could hurt them, but until there's enough tarpits there is still zero (0.000) percent pain to the spammer. Some open proxes are slow with one or two tarpits, the others are fast enough to keep the spammer's server fully busy. He only cares if he's running his server flat out. Delays at one or more open proxies mean little.

      Right now I'm trapping spam on a relay spam honeypot. It comes to the honeypot from open proxies - theer's nothig I can learn about the spammer by learning about the proxies. It comes (usually) as 99-recipient spam messages. This particular spammer uses imbedded comments in his spam to evade Bayesian filters. Makes no difference to me - I see it is spam. I have no valid email to filter out - everything is spam. That's one of the beauties o a honeypot - the spammer does yor filtering for you.

      Somewhere over 20,000 recipients so far, since Wednesday. Here's a tiny sample, showing the URL's he advertises and the random comments he uses to defeat filters:

      [a href="http://www.directmailorderbrides.com/?oc=239 0]"A ni[!--HVtu--]ce la[!--HVtu--]dy

      [a href="http://www.flati.com/silagra/"]L[!--WPVizB-- ]im[!--WPVizB--]ited

      (I replaced agle brackets with square brackets - tou'll have to imagine them restored.)

      I have no filter, no smarts of any kind. The honeypot is a mail server with the output queue stopped. I got the spammer to start sendng spam by delivering to him three of his relay test messages - he'd sent so many I decided to see who he was, what spam I'd get if I did deliver.

      I'm trying various ways to hurt the spammer but I've not yet delivered enough hurt - he's still operating. Other spammers have succumed more readily - this guy is better at hiding himself.

      Note, by the way, that he puts no comments in the URL - if you filter on those (or remove comments before filtering - that would be easy) the spam instantly is revealed. One guy simply rejects any email message with three repeated comments in a line (this spam is laced with the comments throughout, not just in the http lines.) The spammer's clever way of obscuring the spam is useful in identifying the spam - no points for Spammy.

      Windows users with a permanent connection can step into running a relay spam honeypot very easily: they can run Jackpot: http://jackpot.uk.net/

      There is at least one open proxy honeypot out there: Google in news.admin.net-abuse.email for it. These can be very wicked - create your own for even more fun. Or create your own open relay honeypot - see if you can make it even more wicked.

      (Oversize reply packets from an open proxy honeypot might have a very interesting efffect.)

    14. Re:Nice idea by cicadia · · Score: 1
      what about the spammers with ... a spare computer to install linux and sendmail?

      Well, that's kind of the target victim of this program, actually. The people who get their connections slowed down are the ones who use their own SMTP client to connect directly to the tar-proxy. (And not the ones who use open SMTP relays, as the parent post to yours points out.)

      --
      Living better through chemicals
    15. Re:Nice idea by Shoten · · Score: 4, Interesting

      First off, you are incredibly wrong. Almost all spam is bounced off of servers that relay...that is, they forward mail for users of any domain. That's why this concept exists; spammers search for "open relays" (that's why they're called that, btw) and use them. TarProxy would look like a normal open relay to the spammer, and therefore he would use it.

      Unfortunately, there is a problem. Before TarProxy there was another thing, called a "teergrube" or "tarpit." What it did was slow down the connection (with things like ICMP source-quench and psychotically small TCP window sizes) so that it acted like a spam speed bump. In the meanwhile, it didn't actually forward any of the spam anyhow. Why didn't this technology become more widespread? I'm glad you asked! Because it was trivial for the guys who develop spammer software to recognize these systems, have their software detect such behavior, and cease using them within less than a minute. And that's what will happen with a TarProxy, alas.

      --

      For your security, this post has been encrypted with ROT-13, twice.
    16. Re:Nice idea by Zeinfeld · · Score: 2, Insightful
      Tarpitting is a pretty cool idea if you ask me - it hurts no one but the spammer, if implemented properly.

      As with all vigilante actions, it works pretty well if only the bad guys get a lynching.

      The problem with these teergrubbing type schemes is that they typically only hurt the innocent victims caught by accident. It is very unlikely that a bulk email sender program does not have code in it to detect slow connections and abort. Otherwise the bulk sender is going to fail at the least network problem.

      Bulk senders are in any case coded with multiple threads, either by using a threads package like pthreads or in some cases the threading is simulated by maintaining a state machine for each connection. The teergrubbing scheme described only causes pain if the bulk sender is single threaded and blocks when connecting to a single slow server.

      Vigilante hacking frequently goes wrong. Coupling a vigilantge hacking scheme up to a heuristic detection scheme is pure stupidity.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    17. Re:Nice idea by FyRE666 · · Score: 1

      An open relay is different than the formmail.cgi vulnerability. Ok, so they can result in the same thing, but when people talk about open relays they usually mean production SMTP servers which accept mail from anywhere, instead of verifying the source domain first.

      Well this isn't my interpretation. An open relay is an SMTP server that both accepts mail from anywhere (as many SMTP servers will for legitimate reasons) but also RELAYs in on to anywhere else. And SMTP server should only ever relay for trusted machines on a network, or (in the case of ISPs) from machines that can be identified, booted and the culprit possibly brought to court if they decide to spam.

    18. Re:Nice idea by Anonymous Coward · · Score: 0

      SMTP servers receive inbound mail for your users too. I run several block lists and dump the SPAM into a bad bin. It is manually reviewed a couple times a day and false positives dealt with accordingly. Sorting the trash by numerous columns, If I see too many hits from a certain IP or domain, I will look into it further. Adding chronic spammers to my Do Not Call list is quick and easy. They keep knocking but they can't come in. Life moves on. I have had to resort to blocking entire netblocks to keep some of the pros out - they are running that many servers.

    19. Re:Nice idea by flatus · · Score: 2

      What good is this tarpit if the senders software senses a slowing connection and then the sender starts opening new connections to send mail. The key for the sending software is to maximize bandwidth usage so by knowing the bandwidth and utilization the software could open 1000000 connections (if it is run on FreeBSD).

    20. Re:Nice idea by thecap · · Score: 1

      NO! Just because a server forwards a message does not mean it is an open relay. I have an address at uiuc.edu which is forwarded to my personal machine with SMTP. If I run TarProxy on my machine the uiuc.edu mail host will be slowed down when it forwards spam it accepted for my uiuc.edu address. More significantly, all my forwarded mail from uiuc.edu will be slowed down.

      A reasonable solution would be configuring TarProxy to never slow down certain mail hosts, which you trust. A system with many unaware users who forward mail may not have such an easy solution. Perhaps a host should only be slowed down if most messages it sends is spam.

    21. Re:Nice idea by Gantoris · · Score: 1
      What do you mean by inocent victim? The spammers arn't and neither are any open mail relays they may be using. As the relays are part of the problem, alerting them by throttling their smtp connections may be a good thing.

      And about bulk mailers aborting on slow connections, isn't that the point? Hasn't the throttling software just succeeded by stopping 1 or more spams? If the mailer simply tries again on another server then we can hope that that server has the software as well, hence why the article points out that there needs to be a critical mass before it will become efective.

    22. Re:Nice idea by shamilton · · Score: 1
      The level of stupidity necessary to allow your sever to act as an open relay also, by definition, precludes being considered a "good" server.

      Not quite. If qmail's control/rcpthosts file is missing, it behaves as expected, but acts as an open relay with no warnings whatsoever. (eyeroll) this has burned me a few times.

      In one case, it got my block listed in SPEWS. Now, let me give a small rant about SPEWS. SPEWS has to be one of the biggest disservices on the entire Internet. They don't bother to only blacklist hosts that are known open relays. They don't bother to only blacklist blocks. Oh no. They just blacklist the /24. So if you are on a /26 or /28 (VERY common colo assignments) and your neighbor gets buried, you get it up the ass too. They are very difficult to get off of. They ignore email and telephone calls. These guys are far worse than the spammers they are supposedly trying to prevent, because they result in tremendous amounts of false positives and lost mail. Whenever one of my clients or neighbors gets a block buried, the phone rings off the hook for the next two weeks because random messages are getting thrown away by admins stupid enough to actually use spews as a blacklist.

      Seriously, please boycott them. Use a heuristic spam detector like spamassassin which tags messages instead of throwing them away.

      sh

      --
      "[A] high IQ is like a Jeep; you will still get stuck, just farther from help!" --Just d' FAQs, c.g.a
    23. Re:Nice idea by stand · · Score: 1
      Let me guess: Yahoo's several dozen, AOL's however many, and the ones at Earthlink, demon.co.uk, and MSN -- and I close?

      That would be a good start but my point is that it is a difficult problem. It's sort of like the problem of training a neural net to do something useful. Lots of repetition works, but if you can pick the right few lessons, you can save a lot of time.

      The other big problem would be convincing AOL, Yahoo etc. that it would be in their interest (or at least not against their interest) to slow down mail delivery under certain circumstances. Not an easy sell.

      I agree with you that Perl would be a better choice than Java for this particular job. Python would work nicely as well. Java just isn't suited for it. I think the guy is just trying to pad his resume by using Java ;-)

      --
      Four fifths of all our troubles in this life would disappear if we would just sit down and keep still. -C. Coolidge
    24. Re:Nice idea by Zeinfeld · · Score: 2, Insightful
      What do you mean by inocent victim? The spammers arn't and neither ....

      I mean that I simply don't believe that crappy heuristics are accurate enough to use to target attacks. Paul Graham's claim of zero false positives is simply not credible when you compare his claims against the prior experience of using naive (and not so naive) Bayesian filtering.

      So don't imagine for a second that this plan to hurt spamers is not going to backfire on people who are neither spam senders or run misconfigured email relays. This plan is not going to hurt a single spam sender, competent bulk email software has always ontained measures to abandon attempts to connect to slow hosts.

      If the fantasyland claims about the effectiveness of filtering technology were true spam would be an easily solved problem. Unfortunately the MIT conference had only two decent research papers on applying Bayesian filtering to spam, this despite the fact that these were the only solutions papers selected - Judge, Shein and Berkowitz were providing informal descriptions of the problem and not solutions. The first was the talk by the Microsoft research group guy who set out the way to measure the effectiveness of spam detection algorithms. The second was the talk by the MIT undergrad on his class project which was the only one that presented actual comparative data. Unsurprisingly to those of us who have worked on Bayesian approaches to events data in the past the results were considerably mixed. In the end it turned out that the most effective scheme was to use least squares fit rather than the Baysian stuff and the most effective technique turned out to be to look at the message headers rather than the content.

      And about bulk mailers aborting on slow connections, isn't that the point? Hasn't the throttling software just succeeded by stopping 1 or more spams?

      No the point of teergrubbing is to try to hurt the spam sender. As I showed it does not hurt the spam sender at all. You can stop the spam by simply aborting the connection on the server side so no teergrubbing does nothing to stop spam, the premise the scheme starts from is that you already have a mechanism that does that.

      Ultimately this proposal is simply another well intentioned scheme by someone who simply can't see or does not care that their half-baked idea might backfire baddly and create more problems than it solves. It is the same sort of thinking that is behind the idots who run SPEWS. I was at a recent meeting of the top ISPs to discuss the spam problem, turned out that everyone of them had been listed on SPEWS. So 70%++ of the US Internet population has been b,ocked by SPEWS how can people claim that there is NO collateral damage with a straight face? Oh yes that's right they don't answer anything they are completely unaccountable. And yes contrary to the lies put out on the SPEWS site they do list for frivolous reasons, one of the things that can get you listed on SPEWS is simply complaining about them.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    25. Re:Nice idea by rplacd · · Score: 2, Informative

      I don't see why adding heuristics to a spam throttling device will make it work worse. It should make it work a lot better.

      The package I use at the isp I do random consulting for is spamthrottle. It handles the case of multiple connections from a single address (or range of addresses), along with tarpitting. It works really well --
      there have been no incidents since I applied the patch, and no (legit) users have called in to complain about the mail server.

      I started using it because some customers would mailbomb remote users. Unfortunately the way the ISP's dialup auth stuff works, we really don't know who the users are, so we can't kick them off permanently. It's a combination of no caller-id (we have E1s, not PRIs), and a bad scratch card account scheme by the previous management.

    26. Re:Nice idea by vanyel · · Score: 1
      it was trivial for the guys who develop spammer software to recognize these systems, have their software detect such behavior, and cease using them within less than a minute. And that's what will happen with a TarProxy, alas.

      I can only hope! At least I and my users would stop getting it.

    27. Re:Nice idea by Melibeus · · Score: 1

      From my understanding of the Baysean filter, it ignored all HTML tags completely so spurious comments like in your example would not affect the filter at all.

    28. Re:Nice idea by minas-beede · · Score: 1

      Then the spammer is totally wasting his time (which is fine by me.)

      One of the MIT people got press mention for his comments about this "diabolical" means of obscuring the content of the spam. Maybe he was using a traditional word-based filter. In any case the comments would fail to obscure if the filter first removed all comments.

    29. Re:Nice idea by Shoten · · Score: 1

      Um, you're missing what a teergrube does. It doesn't stop people on its network from getting spam (remember, it's the server being treated as an open relay that acts as a teergrube), but rather anyone. When spammers ignore a teergrube, it has no positive impact on anyone; the spam just gets routed through a real open relay and still gets to its intended recipients. In short, a teergrube does not sit at the end point, it sits at the relay point.

      --

      For your security, this post has been encrypted with ROT-13, twice.
    30. Re:Nice idea by Zeinfeld · · Score: 1
      I don't see why adding heuristics to a spam throttling device will make it work worse. It should make it work a lot better.

      Put the bullshit aside. Spam Bayes is not infallible, it is a guess. It is not a good idea to select hack-back targets by guessing.

      My company does managed security services. A huge proportion of attacks turn out to be hack-back attempts gone wrong.

      The problem of spam is minor compared to the problem of chronic unreliability that half baked anti-spam schemes are creating in the email system. Ten years ago you used email because it was reliable, not any more.

      I started using it because some customers would mailbomb remote users

      Outgoing rate limitations are one thing. Teergrubbing is completely different. What is needed however is fixing the SMTP protocol to deal with mail bombing. Add a refused code to the SMTP protocol so that a mail server knows that the recipient is not going to accept further mails from an abuser

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    31. Re:Nice idea by feenberg · · Score: 1

      While it is likely that a spammer (not sure why you call them bulk mailers) will want to modify his software to drop slow connections, he often doesn't have control over the SMTP server he is using. It may belong to his ISP, or be an open relay. If the tarproxy is widespread, the open relay will be closed, and the ISP will drop the spammer as being to costly. If nothing else, this could close the last 10% of smtp servers that open relay.

    32. Re:Nice idea by vanyel · · Score: 1

      Yes, but you said the same thing would happen to TarProxy, and TarProxy does sit at the endpoint.

    33. Re:Nice idea by winnetou · · Score: 1

      Not quite. If qmail's control/rcpthosts file is missing, it behaves as expected, but acts as an open relay with no warnings whatsoever. (eyeroll) this has burned me a few times.

      In one case, it got my block listed in SPEWS


      The lax reaction by the ISP which ignored the spam reports, caused the listing to be expanded from your /32 to a wider block.

      Now, let me give a small rant about SPEWS. SPEWS has to be one of the biggest disservices on the entire Internet. They don't bother to only blacklist hosts that are known open relays. They don't bother to only blacklist blocks. Oh no. They just blacklist the /24. So if you are on a /26 or /28 (VERY common colo assignments) and your neighbor gets buried, you get it up the ass too.

      Only if you have a lazy provider (like yours) which allows morons (like you) who repeatedly open their relay. If your provider would have acted promptly (suspending you the first time until you found someone qualified to operate as root; kicking your sorry ass the second time), the listing would not have grown to a /24.

      They are very difficult to get off of. They ignore email and telephone calls.

      They don't ignore email (but they only have spamtraps: if the spam stops, the listing goes away). They don't have a telephone number, so they can't ignore telephone calls.

      [snip]

      Seriously, please boycott them. Use a heuristic spam detector like spamassassin which tags messages instead of throwing them away.

      If I use SPEWS, I don't have to throw messages away, I refuse to accept them. Almost invariably this means the spammer could not steal bandwidth and diskspace); if the email was legitimate the sender will immediately know that the email was not accepted, which is much than an email which will end up in a spam folder.

    34. Re:Nice idea by shamilton · · Score: 1
      Only if you have a lazy provider (like yours) which allows morons (like you) who repeatedly open their relay. If your provider would have acted promptly (suspending you the first time until you found someone qualified to operate as root; kicking your sorry ass the second time), the listing would not have grown to a /24.

      You sir, are an Idiot. Not to mention entirely uninformed. There are no "spam reports". There is no /32s growing to a /24. They just bury the whole block. Not that they bother to check ARIN for the actual block boundaries.

      As for an ISP booting clients for having an unintentional open relay for an hour, well, such a stupid idea isn't so surprising from an idividual as stupid as yourself. Go start an ISP, go try it. We get this shit almost every day. People screw up, they fix it, life goes on. Really though, thanks for the suggestion, I appreciate it. It's just that it was, you know, completely stupid. Keep trying though, you might make a good one some day.

      sh

      --
      "[A] high IQ is like a Jeep; you will still get stuck, just farther from help!" --Just d' FAQs, c.g.a
    35. Re:Nice idea by winnetou · · Score: 1
      You sir, are an Idiot. Not to mention entirely uninformed.

      Well, at least I am an uninformed idiot whose mailserver isn't an open relay.

      There are no "spam reports". There is no /32s growing to a /24. They just bury the whole block. Not that they bother to check ARIN for the actual block boundaries.

      As a satisfied user of SPEWS, I would like to see some proof. When you accused SPEWS of ignoring phone calls, you made a factual error: SPEWS can not be called, so they can't ignore phone calls.

      As for an ISP booting clients for having an unintentional open relay for an hour, well, such a stupid idea isn't so surprising from an idividual as stupid as yourself. Go start an ISP, go try it.

      May I remind you that I am not listed? Perhaps I am not as stupid as you think. For example I did not suggest booting clients on the first incident, I suggested suspending their connection until they fixed the problem.

    36. Re:Nice idea by shamilton · · Score: 1
      Well, at least I am an uninformed idiot whose mailserver isn't an open relay.

      Nor is mine.

      As a satisfied user of SPEWS, I would like to see some proof. When you accused SPEWS of ignoring phone calls, you made a factual error: SPEWS can not be called, so they can't ignore phone calls.

      No, I made a linguistic error. What proof would you like? What is there to prove? They are so shady that there are no records of anything. I could show you unanswered emails, but they would be too easily faked to be relevant.

      May I remind you that I am not listed? Perhaps I am not as stupid as you think. For example I did not suggest booting clients on the first incident, I suggested suspending their connection until they fixed the problem.

      So what? I am representing a colo facility with dozens of servers and thousands of addresses. Of all this, there are occasional errors. The fact that you suggest booting a client AT ALL due to a technical error goes to show how ignorant you are. If a client is intentionally spamming we give them the boot right away. If they are an open relay, even if due to incompetence, they fix it or we fix it. Suspending their account would be stupid. We would lose the client. Terminating their account would be stupider. You are what, 13? Shall I unplug their drop and send them an email stating "haha fag u should use m$ winblows cuz u dont kno how to configure ur server by the way i use linux"? No, we kindly inform them of the problem, like people over the age of 15 interested in making money and retaining good business relationships. Then the client brings in more servers or traffic or other clients, and I get to do really great things, like eat.

      sh

      --
      "[A] high IQ is like a Jeep; you will still get stuck, just farther from help!" --Just d' FAQs, c.g.a
    37. Re:Nice idea by Bob+MacSlack · · Score: 2, Interesting

      I was just thinking about this. The poster said that one email came through initially to check that the relay works. If this email doesn't get sent, then the spammer knows its not an open relay and moves on. This is all automatic as well, so wouldn't cause them and grief. But what if you set it up to allow that first message? So the relay gets marked as open, distributed to other spammers, but then when the real spam starts, it all goes to /dev/null? The spammer wouldn't even know it was happening unless they were continually checking to make sure. Eventually it would get blacklisted, but not before it caused their servers to waste a bit of time and save a few people's mailboxes a message. Maybe even combine this with the tarproxy idea of slowing the connections to maximize their wasted time.

      But I agree, something definitely needs to be done about smtp, it is WAY past its prime. Spam is a battle that must be fought on many fronts, but the servers are definitely the most important.

    38. Re:Nice idea by jazman · · Score: 1

      Ok, so suppose I run a tarpit, a spammer tries to spam me and spots the tarpit, backs off, and I don't get his spam. Where exactly was the flaw in this plan? This would appear to be better than the original aim as it means the spam doesn't arrive in the first place.

      Ok, so Joe Sixpack still gets spam, but when he finds out all his geek friends have eliminated spam he'll soon start asking his ISP why he can't have this feature.

    39. Re:Nice idea by winnetou · · Score: 2, Informative
      They are so shady that there are no records of anything.

      They aren't, they publish rather extensive proof why they list an IP address or range.

      I could show you unanswered emails, but they would be too easily faked to be relevant.

      From the SPEWS FAQ:
      Q41: How does one contact SPEWS?
      A41: One does not. SPEWS does not receive email

      I am surprised your mailserver didn't inform you that spews.org does not answer at port 25.

      The fact that you suggest booting a client AT ALL due to a technical error goes to show how ignorant you are. If a client is intentionally spamming we give them the boot right away. If they are an open relay, even if due to incompetence, they fix it or we fix it. Suspending their account would be stupid. We would lose the client.

      Not suspending the client means you are spamming lots of people. My clients don't like spam, hence I use SPEWS to stop the spam from your IP range(s).

      No, we kindly inform them of the problem, like people over the age of 15 interested in making money and retaining good business relationships.

      That decision is rather bad for your relationship with other providers. The Internet is a collection of networks, if you only care about your income and knowingly and willingly allow open servers to send spam, don't expect others to spend bandwidth and CPU time to filter the few legitimate messages from the flood of spam.
      Once again, I remind you that I am not listed by SPEWS, just like 99.8% of the Internet.

    40. Re:Nice idea by Zeinfeld · · Score: 1
      While it is likely that a spammer (not sure why you call them bulk mailers)

      Which indicates that like most of the idiots who are proposing these types of hack-back schemes you have not bothered to even try to understand the full problem.

      A bulk mailer is a program that sends out mail in bulk. A bulk mailer can be used to send spam but not all bulk mail is spam. One of the largest bulk mailers on the internet is C|Net which sends out a billion pieces of mail a year. Other bulk mailers include American express and United Airlines, all of which send 100% opted in messages to their customers who requested them.

      will want to modify his software to drop slow connections, he often doesn't have control over the SMTP server he is using. It may belong to his ISP, or be an open relay.

      Very few of the spam senders are using open relays these days. Most have their own dedicated connections. ISPs who block outgoing port 25 usually implement rate limiting as well.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    41. Re:Nice idea by mi · · Score: 1
      It's sort of like the problem of training a neural net to do something useful.

      The mother of all simplifications...

      --
      In Soviet Washington the swamp drains you.
  2. Anti-Spam software by Visaris · · Score: 4, Insightful

    This may be just a little off topic, but the thing is that I always have to go through all my mail by hand to make sure I didn't miss anything important anyways. No anti-spam software out there seems to save me this hassle... So to this day I haven't stuck with any. It doesn't look like this will be better.

    --

    I am a viral sig. Please help me spread.
    1. Re:Anti-Spam software by stinky+wizzleteats · · Score: 5, Interesting

      I've been using bogofilter for a while now as a pass-through tagging mechanism. I filter on the client side based on the tag information. This sounds a lot like what you are doing.

      The only thing close to a false positive I've gotten was having to dumpster dive into my spam folder to retrieve an amazon order confirmation.

      Bayesian filtering really works, but you have to train the filter correctly and with as large a corpus as possible.

    2. Re:Anti-Spam software by cyphem · · Score: 2, Informative

      Try to use SpamNet from cloudmark!
      This one bases on a kind of P2P system which allows users to block Spam while this is reported to the main servers.
      So if someone has blocked the message before, every SpamNet user doesn't have to do it again, because Spam is moved to a different folder automatically (they using checksums and stuff i think)
      A problem still might be then, that this software is for Outlook only.
      But nevertheless a good (though not perfect) system. I'm pretty satisfied with it.

      Hope that helped...

      cyphem

      --
      Reading this signature is senseless so don't do it.
    3. Re:Anti-Spam software by Dopeskills · · Score: 1, Insightful

      He mentions in the article that the software is set by default to recieve all messages and simply just slow down the connection of spammers. The default settings would eliminate problems with false positives.

    4. Re:Anti-Spam software by Scooter · · Score: 2, Interesting

      I didn't think there was a solution available to this either - but I have since implemented a SpamAsassin script that logs in to my IMAP mailbox at my ISP, deletes all the spam, and then fires up fetchmail to grab what's left. I did loads of testing and kept the spam in a seperate folder for a few weeks just in case, but it never deleted anything that wasn't spam - so now I don't bother moving it - it just zaps it stright off the IMAP server. Yeah one day it might delete some non spam - but what the hell. It accepts "whitelists" for known good recipients. Some spam still gets through - but nothing like the 150 odd I used to get each day. Of course this doesn't really stop the spam being delivered to my ISP - and wasting bandwidth etc etc, but at least I don't have to stare at 30 variants of the Nigerian scam, 10 invitations to a bigger penis, and (more worringly for me) bigger breasts, 15 or so attachments (.scr, .jpg.pif, and those real cunning ones with 100 spaces before the extension - lol), and for some reason beyond my capacity, a fair old amount of email about septic tanks. About 35% of this email was from Korea/China but most of it was from the USA.

      I can reccomend SpamAsassin - I'd never used Perl before and probably never will again (nothing against perl - I'd just rather use one script language for my own stuff, and I happened to see PHP first!) but like most script languages it was easy enough to cobble something together, using SA and the imap perl module.

    5. Re:Anti-Spam software by Scooter · · Score: 1

      Oops - I meant "known good senders" :-/

    6. Re:Anti-Spam software by lboxman · · Score: 2, Informative

      This isn't exactly consumer anti-spam software anyway, unless you are a consumer running an SMTP server. The idea is that it slows down the spammer, and the few odd false positives that get slowed down as well should be relatively insignificant. So, even if it misses some spam and classifies a very small amount of non-spam as spam, it could still do the job because it will still make it harder for the spammer to spam.

      --
      Regexes are like cocaine. The first hit is pretty good, but afterwards you try to use them to solve all your problems.
    7. Re:Anti-Spam software by CaptainCarrot · · Score: 1

      I'm using POPFile. So far it's processed over 10,000 incoming emails and has given me exactly 3 false positives. There are always a handful of false negatives, but it's a whole lot better than sorting through >100 spam messages a day by hand. It was a bit of an effort to train up, but no more effort than you're going through right now.

      --
      And the brethren went away edified.
    8. Re:Anti-Spam software by Anonymous Coward · · Score: 0

      Right, until some dick and his friends start blocking everything that comes into their email.

    9. Re:Anti-Spam software by helmutjd · · Score: 1

      I think the whole point of this project is not to help individual users, but to reduce the overall problem of spam. If enough admins implement this system, it'll be a serious PITA for spammers, which will reduce the amount of spam they can send, which reduces the amount of junk you have to sift through. So in the long run, yes, it should help.

    10. Re:Anti-Spam software by FatigueStrain · · Score: 1

      I would highly recommend bogofilter too. I recently switched to it from SpamAssassin and it is really much more effective (at least for me). So far its missed about 6 spam out of 2000 and only given two false positives (both automated replies from registering online, which is understandable).

      The thing I really love is that bogofilter is that it is continuosly trainable. If a spam leaks through to the inbox I can tell bogofilter right away that it made a mistake and bogofilter will update its keyword database. SpamAssassin tended to just make the same mistakes over and over again.

    11. Re:Anti-Spam software by cyphem · · Score: 1

      this might happen, but does not really affect the system i think. due to a 'rating' system, the relevance of your blocks changes... and so only reasonable blocks will take effect. (you can unblock also) on the other hand, what do i care if some might block every email they get? my private mail can't be affected at all... so long...

      --
      Reading this signature is senseless so don't do it.
    12. Re:Anti-Spam software by KyleCordes · · Score: 1

      I've recently switched from SpamAssasin to POPFile for the same reason. With SA, once the version I had became slighly outdated, spammers had found ways to write spam that didn't set it off, and a steady flow got through. With POPFile, I generally only ever see one or two of a new flavor of spam, since after a couple of reclassifications the rest gets detected.

    13. Re:Anti-Spam software by bergeron76 · · Score: 2, Interesting

      Bayesian filtering is a great technology, but the OSS movement really needs to tread-lightly or get some legal beagles to help us analyze the implications of inherently using it, because MSFT has a patent on it. We (the OSS community) need to make sure that we can easily and indisputably prove "prior-art" in the event that MSFT tries to overwhelm some of our best projects with _expensive_ legal tactics.

      I can't help but think that we need to _really_ be on our guard with regard to things like this, becuase I wouldn't put it past MSFT, et al. to soak up much of the good IP (Intellectual Property) and then try to "drop the hammer" on us down the road.

      Just my .02 cents...

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
    14. Re:Anti-Spam software by Anonymous Coward · · Score: 0

      You'll get over that. I resisted the filter process for this very reason but the one my ISP uses (Postini) seems to do a good job. I used to check every day but never found a legitimate email that had been fitlered. Then I checked once a week. Then I just stopped checking.

      In fact, I wish I could set it to be even more selective. I still get around 50 spams a day that make it through.

    15. Re:Anti-Spam software by stinky+wizzleteats · · Score: 2, Interesting

      We (the OSS community) need to make sure that we can easily and indisputably prove "prior-art"...

      Done.

    16. Re:Anti-Spam software by *nixie · · Score: 1

      SpamNet is a commercial version of Vipul's Razor, which runs on Unix systems and is certainly not Outlook-only. I believe the two (SpamNet and Razor) access the same checksum database.

    17. Re:Anti-Spam software by Anonymous Coward · · Score: 0

      Well then you're both missing out on the latest version of Spamassassin (2.50) that includes Bayesian classification on top of an impoved spamassassin engine. This is working wonders for me.

  3. Interesting idea by Quasar1999 · · Score: 4, Interesting

    Just one question... what if the spammer doesn't connect to your SMTP server to send billions of messages from it? What if the spammer (with half a brain, and some scripting ability), only sends a few emails through your SMTP server? Most SMTP servers are wide open still, and simply sending 10 emails on one server and moving on to another open server would be so low that statistical usage wouldn't show anything on the radar screen... or did I not understand what you are trying to do?

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
    1. Re:Interesting idea by TheViciousOverWind · · Score: 3, Insightful

      That would still hurt the spammer alot, since it would take waaay more time for him to send all the spam, instead of just doing it through one big bulb.

      --
      My <1000 UID is with a hot chick
    2. Re:Interesting idea by EnlightenedDuck · · Score: 1
      As I understand the system, it is meant for those receiving spam, not those unwittingly relaying it. The basic idea is that the laggier the network, the longer it takes to send a message. So if your mailserver pretends to be laggy, it will take more time for a computer to send Spam. Thus, less spam is sent. It has the added advantage of since it accepts every message (though it takes longer if it thinks the message is spam), there is no cost to the user for false positives. Set up the system on enough mailservers, increase the time it takes to send spam, and you decrease the volume of spam that can be sent from one computer, thus increasing its cost to send. As an additional benefit, those systems with open relays will be slowed down significantly if they are being used for spam, hopeuflly getting the sysadmin to do something about it.

      This, of course, assumes I'm reading the article correctly:)

      --
      Quack!Quack!.....QUACK!!
    3. Re:Interesting idea by Osty · · Score: 5, Insightful

      Two things here. First, this article wasn't about preventing spammers from using your SMTP server as a relay, but in slowing down the reception of mail at the end-point SMTP server. This will ripple up the chain to hurt the spammers by slowing down the relays they use. Second, it doesn't matter whether I get 10 spam emails or 10,000. One of the goals of TarProxy is to be ubiquitous. I may only receive 10 spammy emails, but my running instance of TarProxy will determine that those are of sufficient spamminess to throttle bandwidth to each of those connections. At the same time, you're doing the same on your SMTP server, and Joe over there is, and so is Susie, and so on. If everybody (defined as "a large number of smtp servers", and not necessarily "everybody") is running such a service, the spammers will be hurt. You're right that a single individual using this won't make much difference, but that didn't seem to be the goal of the article.

    4. Re:Interesting idea by EnlightenedDuck · · Score: 2, Informative
      Also, forgot to mention before, its not the traffic that is being analyzed, but the spamminess of the message.

      Bayesian methods would work well for this (mind you, I'm a pretty staunch frequentist on most issues). You could set up a prior probability of a message being spam based on where it is being sent from (one could even create a centralized list somewhere, such as exist for which IP's send a lot of spam) - if the message is from a suspect server, start off suspecting its spam - if its from your friend's mail server, be more skeptical. Then taking any of the piece-by-piece approaches, update your probability of spam, and act accordingly. This should help minimize the delerious affects on innocent servers, who just happen to send the odd piece of mail that looks like spam.

      --
      Quack!Quack!.....QUACK!!
    5. Re:Interesting idea by ATMAvatar · · Score: 3, Insightful
      As I understand the system, it is meant for those receiving spam, not those unwittingly relaying it. The basic idea is that the laggier the network, the longer it takes to send a message. So if your mailserver pretends to be laggy, it will take more time for a computer to send Spam. Thus, less spam is sent. It has the added advantage of since it accepts every message (though it takes longer if it thinks the message is spam), there is no cost to the user for false positives.

      Nope - you missed what the article was saying. The mailserver being used by the spammer would be slowed down.

      I propose that the running probability from the classifier be used to throttle the connection with the offending server. If an incoming message looks like spam [1], the connection could be slowed dramatically, consuming the spammer's resources and wasting their time [2].


      "Throttling" is when you send ICMP choke packets to a sender, which in turn tells the connection to stop sending so many packets. It's generally used to tell a sender that you cannot handle the number of messages it is sending.

      Now, what this article proposes is that mailservers use software that statistically analyzes messages, and based upon the likelihood of a message being spam, may send choke packets to the sender. You essentially spam the smammer with choke packets until the spammer's SMTP connection slows to a crawl.

      At this point, the spammer can either deal with sending *maybe* a small handful of emails at a time, or give up on spamming. For those businesses that make money off spamming, this would destroy their ability to make any decent money.
      --
      "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
    6. Re:Interesting idea by siskbc · · Score: 1
      simply sending 10 emails on one server and moving on to another open server would be so low that statistical usage wouldn't show anything on the radar screen

      Assuming such a solution were to be widely used, it would work. To send a million emails using an open server/10 emails would require one to fine 100,000 of them. Yes, there are that many out there, but this would dramatically increase a spammer's "cost."

      --

      -Looking for a job as a materials chemist or multivariat

    7. Re:Interesting idea by zackbar · · Score: 2, Insightful

      But the spammer could simply be running multiple threads sending spam.

      Sure, one thread is slowed down while it connects to that one server sending throttling packets, but the others won't.

      So while one thread is slowed down waiting to sending packets slower to that server, add'l threads will be creating with the excess cpu.

      Even with 90% of the smtp servers using Tarpit, it would just means that the spammer's machine would have 10 times as many spam threads as he would otherwise.

      Perhaps I'm missing something. I hope so, because anything that hurts a spammer is good.

    8. Re:Interesting idea by minas-beede · · Score: 4, Interesting

      Spammers have done exactly that. A year ago almost all relay spam I trapped came as two 21-recipient spam messages followed by about an hour of silence.

      My current spammer is sending 99-recipient spam, and sometimes he sends as many as 10 in one session. All the spam stays on my system - he is totaly wasting his time.

      I've seen a lot of recent single-recipient spam, I've seen single spam messages with recipient counts in the thousands. Much relay spam reaches my relay spam honeypot from open proxies. I think thee was some in January that came direct from the spammer.

      This (running a relay spam honeypot) is easy for many Windows users - try it yourself: http://jackpot.uk.net/

      Linux users can make Jackpot work (it's in Java) or they could jimmy sendmail (or some other MTA) to be a honeypot - do it on a second Ip with no other email function. The MTA I use is so old it doesn't know EHLO. You don't need sophisticated tools to beat the spammers.

    9. Re:Interesting idea by helix400 · · Score: 3, Funny
      Yep, like he explained rather hilariously:

      "This would transform the server into a sort of dynamic tarpit, in which the spamminess of the incoming message affects the viscosity of the tar"

      Its quotes like this why I love Open Source projects. =)

    10. Re:Interesting idea by Warped-Reality · · Score: 1

      I don't know much about SMTP, but why leave it "public" - why not require a login/password to send mail from it? then they can't solicit your SMTP server

      --
      This is not the greatest sig in the world, no. This is just a tribute.
    11. Re:Interesting idea by cornjones · · Score: 1

      i am not very familiar w/ the icmp choke. Couldn't the spammer just ignore them, or filter them at a fw level? If they did that wouldn't it get around this?

  4. Real, actual pain? by Anonymous Coward · · Score: 0

    That's great! Sign me up right away. Man, Linux IS cool.

  5. Quite sad.. by Aliencow · · Score: 3, Insightful

    That we need all these technicalities to try and fight spam... But this is just like people trying to fight piracy, there will always be a new way to get around security. Actually, what we needed was authenticated SMTP from the beginning...

    1. Re:Quite sad.. by magickalhack · · Score: 2, Insightful

      *wry grin*
      Authenticated? Authenticated by whom? Who gets to determine who has the authority to send messages and who doesn't. I run my own mail server, therefore I, and anyone else I permit, can send mail through it. Are you suggesting that I shouldn't be allowed to run something as simple and utilitarian as a mail server?

      Now granted, adding authentication to SMTP in the beginning would have been nice, and useful, but it wouldn't have prevented, and it won't now solve, the spam problem.

      --
      This Sig Kills Fascists
    2. Re:Quite sad.. by metalpet · · Score: 1

      That's quite a different problem.
      As much as it is difficult to stop people from doing whatever they want on their own desktop, it is much easier to control what happens on your own servers (still a far cry from easy, but much easier than desktop-control nonetheless).

      The alternative to technical spam solutions is legal spam solutions, which involves closing down the borders of your national "internet" at some point, since chinese spammers have never cared much about US laws.

      I'd rather give "these technicalities" a chance.

    3. Re:Quite sad.. by Aliencow · · Score: 1

      Yes, but with authentication, it would somewhat reduce the problem of open relays... Altough I guess some people in some far far away countries would run it with a guest/anonymous login... Therefore my point still stands, technology won't cure spam... What would is if people never ever bought anything from spam, or got caught in scams. It's pretty scary. Here in Quebec, our average IQ is so low that 23 people reported getting caught by the Nigerian scam for a total of 9 million $ !

    4. Re:Quite sad.. by 40000 · · Score: 1

      In the last few days I've got spam advertising Hooked On Phonics (hop.com) and Lloyds TSB bank (UK). The bank advertising was made to sound respectable but it was nothing more than spam (sent by 247mail.com).
      Even if people stopped buying weight loss pills and sending their details to "Nigeria" (I don't mind getting those messages because there is never more than 1 per day and they are funny to read), they would still be getting spam from large companies, probably more often because they would know people were reading e-mail instead of deleting it all.

  6. Exactly ... by SuperDuG · · Score: 5, Funny
    Back to old punishments ... Tar and Feathering ...

    Exactly how it should be.

    Perhaps public floggings and other corperal punishment as well.

    However I have to wonder if all spammers are really sane ... I just got an email about chicks who crave small penis's and those who crave big penis's and then emails about penis enlargement and viagra online purchases, it just seems weird that there is so much concern for my penis. Perhaps we should just imprison them on an island as they might find tar and feathering a bit kinky and enjoy it.

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
    1. Re:Exactly ... by $$$$$exyGal · · Score: 0, Offtopic
      Some spammers want you to be bigger (penis), and some spammers want you to be smaller (waist). I don't need help with either of those arena's, and yet I get tons of spam. I guess the spammers don't believe that I'm a woman. They need to join the club ;-).

      --sex

      --
      Very popular slashdot journal for adul
    2. Re:Exactly ... by Anonymous Coward · · Score: 2, Funny
      & not all slashdot readers believe that you're a woman either.

    3. Re:Exactly ... by Anonymous Coward · · Score: 0

      But the pictures are nice.

    4. Re:Exactly ... by socalmtb · · Score: 1

      Better yet, put the spammers in the stocks, those medevial torture device where one's hands and head are restrained between two pieces of wood so they can't move.

      Then, put the caputred spammer in the middle of -- insert favorite geek trade show here -- and let the average slashdotter have his way with him, in any way deemed appropriate.

    5. Re:Exactly ... by ThatMadeNoSense · · Score: 0

      I don't need help with either of those arena's

      That made no sense.

  7. tar pits dont work by Anonymous Coward · · Score: 0, Redundant

    tar pits do nothing new or exciting. so far the most optimal is bayesian or other algorithmic filtering. Its a shame Google won't release their search algorithm for spam :-)

    1. Re:tar pits dont work by zatz · · Score: 1

      A tarpit is a network countermeasure, whereas algorithmic filtering is a way of identifying spam, typically so that a user doesn't have to see it. How can you compare them directly?

      --

      Java: the COBOL of the new millenium.
    2. Re:tar pits dont work by Anonymous Coward · · Score: 0

      If you will look at the article referenced in the oritinal article, you'll see that Mr. Lamb is proposing exactly using Bayesian filtering to make the decision to throttle/tarpit the incoming mail. Sounds to me like a great idea. You still process and accept spam, you just do it very S L O W L Y. If enough people do so, then the spammers ability to send out x messages in a specific amount of time drops and impacts his bottom line.

  8. Uh... by jdreed1024 · · Score: 3, Insightful
    I just published an article that suggests a way to use classifier output against a spammer while they're connected to your SMTP server,

    But, but, but, why would they be connected and sending spam through your server? Unless you run an open relay. And you don't run an open relay, do you? Do you?!

    --
    There is no sig, there is only Zuul.
    1. Re:Uh... by highcaffeine · · Score: 5, Insightful

      In his article he actually does address this very question. He even gives, what I feel at least, is an interesting answer.

      So, you don't run an open relay. You're not going to slow down the spammer directly, but you will slow down all the connections that come from that open relay to your mail server. For a particularly abused open relay, that could lead to such problems that the admin of that open relay will finally get a clue and look in to configuring their server properly.

      Hence, a cascading effect that will eventually harm the spammers. Admins of open relays that get a clue will tighten their servers, thus depriving the spammers of one more relay they can abuse.

    2. Re:Uh... by feepness · · Score: 2, Funny

      But, but, but, why would they be connected and sending spam through your server? Unless you run an open relay. And you don't run an open relay, do you? Do you?!

      Now if there were only a way to use Bayseian filters to detect people who didn't RTFA and slow down their ability to post.

    3. Re:Uh... by erikdotla · · Score: 1

      I don't think you get it. He's talking about throttling down the bandwidth of all incoming mail based on it's spamminess. It doesn't care where it comes from. He's not talking about Open Relay directly at all - he's not suggesting you open up your server as an Open Relay then Tarpit the outgoing spam that you allow spammers to send from it. That would just be moronic.

      He's speculating that if every incoming spam was slowed down, it would make spam less economical in general.

      --
      # Erik
    4. Re:Uh... by Anonymous Coward · · Score: 0

      How about not allowing people to post for ten minutes after they've clicked on the link to the article. And if you don't follow the link, you don't get to post at all!

      What boring place this would become then... ;-)

    5. Re:Uh... by MindStalker · · Score: 1

      Ok, here is how SMTP works, when I'm sending email to say me@comcast.net I can either connect to my smtp server and send the email, and that smtp server will in turn lookup comcast's smtp server and send the email to comcast smtp server at smtp.comcast.net and that server (will pass it around intenerally to the server that holds email, or generally for smaller networks it is the server that holds email).
      Or I can set my smtp server to smtp.comcast.net for just that message, and send an email to me@comcast.net Now I can't send any email through that smtp if I'm not sending it to a comcast email address (unless comcast is my isp).
      So basically comcasts smtp server accepts incoming mail from the world for its customers and accepts outgoing email from its customers for the world. An open relay of course it one that allows the world to send email to the world. So yes they would be contacting you to send spam through your server if they were sending the email to a customer of yours and you are an isp or email provider of some sort.

    6. Re:Uh... by minas-beede · · Score: 1

      "For a particularly abused open relay, that could lead to such problems that the admin of that open relay will finally get a clue and look in to configuring their server properly."

      Before I ran an open relay honeypot I ran an open relay (Bad. Yes.) It didn't need anyone slowing down receipt of email to be a problem - Spammy sent enough one Saturday to make it a problem anyway. But I'd have noticed if there'd been just one foreign message (I found the spam when I did a regular check of the queue to see if the email was moving OK.)

      But the real point of this post is to say I strongly agree. I so strongly agree that I suggest that blocklist users consider giving a "disk full" code when they reject from open relays rather than "550 we do not relay." This would mean, I think, that the open relay would keep trying to deliver the spam - the point is that the open relay queue might get clogged and draw attention to the problem.

      I'm not sure what would happen if it was an open proxy being used. It would be interesting to find out. For an open proxy the more intersting thing to do might be to give a completely nonstandard reply, possibly confusing the spamware into paralysis. It's nice to contemplate.

    7. Re:Uh... by jdreed1024 · · Score: 1
      Yeesh. It was a joke. Remind me to use humor tags next time for those who don't get it.

      And don't bother explaining how SMTP works. I know that I don't have to run an open relay to get spam. The point is, he says while "[the] spammer is connected to your SMTP server" (emph. mine). The spammer him/her/itself would not be connected to my SMTP server unless I ran an open relay. (Almost all spammers use open relays at some point in their mail route, usually as the server they initially connect to - if they didn't, it would be a hell of a lot easier to track to them down). A mail server delivering mail on behalf of the spammer might be connected to my server, but that's different.

      --
      There is no sig, there is only Zuul.
    8. Re:Uh... by Alsee · · Score: 1

      might be to give a completely nonstandard reply, possibly confusing the spamware into paralysis.

      I doubt it would have any more effect than giving a standard denial message or simply dropping the connection. Spamware doesn't really care about fixing problems so it doesn't care what went wrong. It will simply try connecting to a different mail server.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  9. Mod Parent Up by Anonymous Coward · · Score: 0

    Injuring spammers is always +5 Funny.

  10. Using Statistics to Cause Spammers Pain by SexyTr0llGal · · Score: 1

    I have a lot of experience in this area: "You know, Ralsky, 100% of spammers that I track down get castrated on the spot."

    1. Re:Using Statistics to Cause Spammers Pain by Anonymous Coward · · Score: 0

      hehehe...

      SexyTrollGal... nice name, hehe, i know who your trying to piss off!

      nice job buddy!

    2. Re:Using Statistics to Cause Spammers Pain by ThatMadeNoSense · · Score: 0

      i know who your trying to piss off!

      That made no sense.

  11. This is too complicated by dacarr · · Score: 3, Informative

    The simpler method is still SMTPAUTH. Now we just have to convince the world that this is a Good Thing.

    --
    This sig no verb.
    1. Re:This is too complicated by stetsds · · Score: 2, Insightful

      SMTPAUTH helps you not being an open relay.
      But if you want to receive any mail at all, you'll have to accept anonymous SMTP connections from any odd server out there. You just don't relay those mails.

    2. Re:This is too complicated by entrigant · · Score: 2, Funny

      This is why we should have a central authorized mailer list. This list would specify all servers allowed to send e-mail of any type. Naturally this system would be maintained by the homeland security department and personally overseen by John Ashcroft. Also, naturally, all e-mails will have to pass through a gateway on the server that maintains this central database to allow for inspection. This way every terrorist who uses the word DeCSS or MP3 in an e-mail can be promptly arrested and thrown in a holding cell for an indefinate amount of time. Additionally, as I'm sure all of you guessed, any encryption used should have a backdoor for official government use. We all know this is a perfectly logical and reasonable requirement. In order to prevent spam and protect the country from terrorists (which includes people who play(ed) DooM, watched DVD's in Linux, burned the US flag, openly admited to being gay, and/or protested against the government in any shape, form or fashion) we must be able to monitor all communications.

    3. Re:This is too complicated by spickus · · Score: 1

      Knock it off Pointdexter.

      --
      Indecision is the key to flexibility.
    4. Re:This is too complicated by entrigant · · Score: 1

      Holy shit are you someone I know irl?

    5. Re:This is too complicated by Anonymous Coward · · Score: 0

      hear, hear.

      If SMTPAUTH was built into *all* smtp servers, even clueless admins might use it.

    6. Re:This is too complicated by Anonymous Coward · · Score: 0

      SMTPAUTH?
      Total nonsense. You obviously never managed anything resembling a mail server.

      Suppose your server (which you don't actually have since you obviously never managed anything resembling a mail server) features SMTP_AUTH.
      Now I send a gazillion get rich mails to
      a@loser.com
      aa@loser.com ..
      zzzzzzzz@loser.com

      At least some of them will work, others will bounce (and fail).
      So what good is SMTP_AUTH going to do for you?

    7. Re:This is too complicated by Anonymous Coward · · Score: 0

      We already know who you are. And stop thinking about committing that crime by playing an mp3 next June, please. We know what you are thinking.

  12. Slowing down the mail server by starling · · Score: 5, Funny

    TarProxy is written in Java,

    Well, that's one way to do it.

    1. Re:Slowing down the mail server by pboulang · · Score: 4, Funny
      HA!

      Please don't do that when I'm drinking hot coffee. . . .

      --

      This comment is guaranteed*

      *not guaranteed

    2. Re:Slowing down the mail server by Anonymous Coward · · Score: 0
      In the interest of protecting young girls from being sexually assaulted, I also must point out that one of Java's principal developers is an admitted, convicted pedophile.

      Since I don't support pedophilia, I won't use Java.

  13. OpenBSD Spam Blocking Engine by Incadenza · · Score: 5, Interesting

    The hurt-back part of the project is not new. Theo de Raadt is working on just that, in connection with an IP number list (much faster, so suitable for busy servers):

    Very simply, this hangs the full list of ~12,000 spam-sending IP/mask entries listed at www.spews.org off a pf(4) rdr-anchor (which is only entered for port 25). When connections from these spammers arrive they are redirected to a daemon which minimally fakes the SMTP protocol with very low overhead -- for multiple connections at the same time -- and then the message is left on the sender's queue by providing a 550 return code.

    The theory here is that most spam still comes in via open relays, and the only way we are going to convince them to clean up their act is to waste _their_ disk space, their time, and their network bandwidth more than they waste ours. For those spammers who drop messages when they received a 550, well, we have not wasted any further time or network bandwidth, and even in that situation I think some of the might remove an address if they receive a 550.

    1. Re:OpenBSD Spam Blocking Engine by Anonymous Coward · · Score: 0
      This is new? I've been running such a server for years on a SunOS system. Connections from allowed senders get a sendmail spawned to deal with them, everyone else gets logged.



      -- and then the message is left on the sender's queue by providing a 550 return code.


      Ummm, all 500 level return codes are non-transient errors, and all of them should result in the message bouncing immediately. Only very badly broken servers will keep trying after such an error -- but then, I've found that there are a considerable number of badly broken servers that keep trying. And trying.

      ... I think some of the might remove an address if they receive a 550.


      Unfortunately, almost all spam I see these days comes through broken misconfigured servers acting as relays and is sent using a bogus envelope sender. Thus, the spammer never sees the bounce message.


      Even those spammers that don't use relays with bogus addresses don't remove addresses when they get bounces. I've got spammers who have gotten "unknown user" for every piece of crap they've tried to stuff into my mailbox and they keep trying to stuff the same crap into the same mailbox.

    2. Re:OpenBSD Spam Blocking Engine by mindriot · · Score: 3, Insightful
      in connection with an IP number list (much faster, so suitable for busy servers)

      Another big advantage of going by IP numbers is simply this: I have an IMAP mail account at my university that I use, but I have some external Email addresses as well, which are configured to forward their mail to the university server. Now, if the university's server will add tar based on the message content, I suppose the external mail provider will not be too happy about being slowed down. I would suppose there are quite a number of users simply forwarding mails from one account to another. Maybe (depending on how many people actually use automatic forwarding capabilities) "innocent" servers could be slowed down due to forwarding mail to a "dynamic tarpit", and maybe there are some providers that would not be too happy about such stuff... on the other hand, tarpitting by IP lists seems a little more practical then. But I suppose only practice will show which works best.

    3. Re:OpenBSD Spam Blocking Engine by Anonymous Coward · · Score: 0
      I would suppose there are quite a number of users simply forwarding mails from one account to another. Maybe (depending on how many people actually use automatic forwarding capabilities) "innocent" servers could be slowed down due to forwarding mail to a "dynamic tarpit", and maybe there are some providers that would not be too happy about such stuff...
      The amount of spamminess in that stream of forwarded mail would have to be fairly high for it to have a noticeable impact on the 'innocent' server. The only way spam works is because the spammers send out such HUGE volumes that even the slightest rate of 'hits' (reaching a receptive person who actually buys their crap) pays off. Spammers don't send a few dozen or even hundred emails out at a time - they send tens of THOUSANDS of them over any given connection to be able to harvest a handful of hits.

      But, suppose you're right -- maybe the innocent server operators should consider putting their own spam tarpits up! We can prove to the 'There ought to be a law!' crowd that we geeks can police Cyberspace just fine, thank you.

      Posting as AC from work computer, but you can figure out who I am...
      SVM, ERGO MONSTRO

    4. Re:OpenBSD Spam Blocking Engine by mla_anderson · · Score: 1

      I use the forwarding system to avoid spam altogether...A forwards to B which forwards to C which forwards to A...not a single spam gets through, although I might be missing out on some legitimate email as well, hmmm

      --
      Sig is on vacation
    5. Re:OpenBSD Spam Blocking Engine by Rich0 · · Score: 1

      When connections from these spammers arrive they are redirected to a daemon which minimally fakes the SMTP protocol with very low overhead -- for multiple connections at the same time -- and then the message is left on the sender's queue by providing a 550 return code.

      Keep in mind that one advantage of the system being proposed here is that it doesn't discard false-positives. They get delivered slowly, but they still make it. Presumably their acceptance would help refine the statistics and result in their not being flagged as spam in the future.

      Your system essentially discards mail, which is risky. I've never seen a spam filter which didn't delete an email I wanted to receive (often list traffic). This system allows for an in-between solution other than just trashing mail.

    6. Re:OpenBSD Spam Blocking Engine by quintessent · · Score: 1

      The above solution would be good for someone who has posted honey-glazed e-mail addresses for the harvesters to consume.

  14. Tar and Feathering my ass! by Rai · · Score: 1

    Napalm and lit matches!

    Dip them all in gravy and lock them in a room with a dozen wolverines on PCP.

  15. Not good enough! by NetDrain · · Score: 1

    That can't possibly cause as much pain as the tried and true solutions to spam:

    - Castration
    - Firebombings
    - Slow torture
    - an intercontinental ballistic missle strike

  16. OpenBSD's spamd by almeida · · Score: 5, Informative

    This is the same thing as OpenBSD's spamd, which Theo de Raadt wrote specifically to cause spam relays pain. spamd uses some new features of pf and blacklists from Spews to create a tarpit for incoming messages from known spam relays. It was even discussed on Slashdot in this article. Also, Daniel Hartmeier, pf developer extraordinaire and all around good guy, wrote a little piece about annoying spammers using pf, spamd, and bmf.

    1. Re:OpenBSD's spamd by isn't+my+name · · Score: 2, Interesting

      Actually, it isn't quite the same thing. What spamd does is to use up resources on open proxies by sending back a bunch of bounces. He identifies these by using SPEWS, or some other list of open proxies. The side effect of this is that you will be bouncing all messages from them. If you are unfortunate enough to have a business relationship with someone with an open proxy, then you have just stopped any ability to communicate via e-mail by running spamd.

      However, if the idea suggested in the article are implemented, you will still be using up resources on the open proxy, but only for those messages that are actually spam. You can still receive e-mail from idiots running open proxies if you have the misfortune of needing to.

    2. Re:OpenBSD's spamd by almeida · · Score: 2, Informative

      Yes and no. spamd uses whatever list you give it. pf just forwards any incoming SMTP connections from a certain list of hosts to the spamd. Theo suggests using lists from Spews. However, Daniel uses bmf to build his own blacklist. If you want to get your point across to open relays, go the Spews route. If you want a solution with less collateral damage, use Daniel's approach.

  17. bad ideas to stop spam by Anonymous Coward · · Score: 0

    authentication doesn't do much. Companies should at least try to adopt it. I think any windows user is competent enough to run windows update, and any unix user is competent to get a new client that supports it. I think IETF has a mail extentions , but I'm not sure. That is basically just for sending mail though.

    turn off relays.

    Perhaps you could scan the internet for open relays and notify the sys admin that someone is spamming from their network? And their ISP too? That might work to some extent.

    Alot of spammers buy webhosting from people in korea and other asian countries cause the admins dont hawk like US providers do.

    Maybe ICANN should implement something in the root DNS servers that force mail lookups through some blacklist?

  18. First post... by Anonymous Coward · · Score: 4, Funny

    I was hoping to get first post, but my connection got throttled back to nothing....

  19. Parallel by Spazmania · · Score: 4, Insightful

    Nonsense. The spammer will just run the connections in parallel. The slower they get the more he'll run. He already does this to some extent. All this will accomplish is to tie up resources on YOUR mail server.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    1. Re:Parallel by Anonymous Coward · · Score: 0

      The more connections he opens, the bigger target he becomes.

    2. Re:Parallel by Jeremi · · Score: 2
      Perhaps so... in which case you could modify your program so that after a certain amount of such abuse, it blacklists the abusing IP address -- ie. it drops all connections from that IP address and refuses to accept any more from it.


      (Yeah, I know, then the spammer can just connect from other IP addresses... but you have to admit it would be a pain for him to have to do that)

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    3. Re:Parallel by coolgeek · · Score: 1
      My thought exactly...Just increase the number of sending threads.

      The tarpit idea will only work if in tarpit mode a bunch of "nop" style replies are sent back to the spammer to increase their bandwidth usage. Hopefully, this would be on the order of 10 bytes back to them for each byte they send to us. This would actually slow them down, or if not, at least increase their bandwidth bill. If it hits hard enough in the pocketbook, maybe they'll employ countermeasures to disconnect when they see the flood coming back their way...In that case, problem solved.

      Which leads to another idea...disconnect when spamminess reaches a certain threshhold, then block sending IP ala PortSentry. Combined with some automated-whitelisting (like whitelist every domain my server sends to) to avoid false-positives, this could be effective.

      --

      cat /dev/null >sig
    4. Re:Parallel by Anonymous Coward · · Score: 0

      RTFA - This issue is addressed by being able to configure the number of simultaneous connections and the number of throttled connections. For example you could configure 100 total connections and 10 unthrottled ones. The other 90 spamier messages would be throttled. After that point, the really spammy messages simply get dropped.

    5. Re:Parallel by letxa2000 · · Score: 4, Insightful
      I more or less agree. I actually tried this approach about a year and a half ago. I modified my Sendmail server to analyze incoming mail during the DATA phase of the SMTP connection. While it was just a simple text filter rather than a cool Bayesian approach, the idea was the same: Cause pain to the spammer because even if I filter the spam before I see it, the spammer has already done his damage. The problem is you can't really do anything to slow him down once they're on the DATA phase and the data is coming in because there is no handshaking at that point. So all I did was have Sendmail close the connection as soon as it recognized something that was sure to be spam.

      I gave up on this approach. While there was a satisfaction in looking at my message log and seeing all the spam I had hung up on, spammers would often just keep trying to deliver. Some of the worst software would try a second or two after I hung up on them so they literally pounded my system. It didn't cause any problems except for a little bit of bandwidth, but it certainly didn't seem to phase the spammer.

      The fact is, there's not much you can technically do to hurt the spammer. Even if everyone implements this there's no reason why spam software can't open up hundreds of tasks running in parallel and simply be patient when necessary. It could even make spam worse because spam software might evolve to where it DOES send spam out in parallel hundreds at a time by default [forgive me if this is already the case, I have no idea what capabilities spam software has].

      The fact is, the only way to make spam go away is to make the response rate go down. This approach gives you, as the admin, a certain satisfaction but it really won't reduce spam--it'll just make spam software more advanced. The only way to make the response rate go down is make sure the spam doesn't get to the user, and that's filtering. Feel free to implement this system, but once the thrill of sticking it to some spammers gets old you'll be back to where you were--with the filters doing the real work.

    6. Re:Parallel by WolfWithoutAClause · · Score: 3, Insightful
      All this will accomplish is to tie up resources on YOUR mail server.

      The spammer already IS tying up 30-50% of the resources on the mail server; if you throttle the bastards back they'll end up using less. What would you prefer a few hundred megs of spam on your hard disk or a few kilobytes of spam that trickled in over a few days till they eventually kill the run. This way you save both bandwidth AND disk space.

      Either they use their own server, in which case they're easy to spot. Or they use someone else's- in which case chances are, it isn't engineered for lots of parallel connections.

      This scheme may actually work.

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    7. Re:Parallel by vanyel · · Score: 1
      Even if everyone implements this there's no reason why spam software can't open up hundreds of tasks running in parallel and simply be patient when necessary.

      At least it's consuming his resources and slowing down the rate he can spam *you*. And if they try parallel delivery to each server, it might get mailservers to implement a 1 (or N) connection per client restriction. Though there's another tarpit for ya: pass any connections > N to a light-as-possible dribbler
      e..........h.............l...............o.....
      ...
      5........5..........0........n.......o........s... ....p......a........m.........

    8. Re:Parallel by jez9999 · · Score: 1

      I might be missing something here, but isn't "lots of parallel connections" about as inconspicuous as an elephant amont kittens? I mean, if one IP has 50 connections which have been attributed a spam probability of 0.9, surely you could:
      a) permban the IP
      b) slow down ALL connections for that IP or
      c) just limit concurrent connections per IP to, say 1 or 2?

    9. Re:Parallel by WolfWithoutAClause · · Score: 1
      I might be missing something here, but isn't "lots of parallel connections" about as inconspicuous as an elephant amont kittens?

      The multiple connections won't typically be attached to your server, they'll usually be scattered all over the internet- you'd have to correlate across the internet to count the connections. Tricky...

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    10. Re:Parallel by Spilver · · Score: 1
      All this will accomplish is to tie up resources on YOUR mail server.

      It will tie up the resources on the open relay, and it is the open relay that will get hurt most. The spammer himself may not even notice anything amiss (unless he spams directly), as the relay should queue the mails for later delivery.

      Whether this is good or bad is another matter, but it may just create an evolutionary pressure that will clean away open relays...

    11. Re:Parallel by Spazmania · · Score: 1

      if you throttle the bastards back they'll end up using less

      Less of which resource? My mail servers collectively move about 500,000 messages a day. The most scarce resources is # of processes and # of connections. If I deliberately throttle any of them by any noticeable amount, I'm going to double or triple my requirement for those resources.

      Among spamming methods, there's about an even split. Half are direct-spamming from their dynamic dialup and the other half are relaying.

      Your modern direct-spammer uses optimizing software which adds parallel connections to the limit of his bandwidth. He wants to push the maximum amount out before his account gets canned. Check your logs for the direct-spammer. His message already arrives slowly because he's saturating his link.

      Your relay spammer will never notice that you're throttleing him. You'll throttle the relay he's abusing, but so what? If the admin notices, he'll "fix" it with a reboot. His software likely supports parallel delivery of individual messages and he's usually on broadband or better. If his software were smart enough to throttle the number of connections to each individual server, it'd be smart enough not to relay in the first place. So, by throttling you're setting up a situation where he'll open one connection for each message he wants to send and sit there like that until you're done throttling him.

      The only time throttling becomes interesting is if your server is the relay being abused. In every other case, it burns more resources than it saves... And if you've adequately secured your server then the odds are you're not the relay being abused.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    12. Re:Parallel by WolfWithoutAClause · · Score: 1
      My mail servers collectively move about 500,000 messages a day. The most scarce resources is # of processes and # of connections. If I deliberately throttle any of them by any noticeable amount, I'm going to double or triple my requirement for those resources.

      Not necessarily. For those IPs you are throttling, you can restrict the number of processes you allocate and send a 'try again later' message to any beyond that.

      Your relay spammer will never notice that you're throttleing him. You'll throttle the relay he's abusing, but so what?

      The point is that the relay has limited resources; by holding the connection open you are helping to DOS the relay. If the relay is DOSed then the spammer may not be able to use it at all, it won't accept any more mail if its disk is full or it has run out of processes; and in any case the quantity of spam carried by it will go down. The relay is unlikely to be engineered for a high number of connections; so this strategy is likely to help.

      So, by throttling you're setting up a situation where he'll open one connection for each message he wants to send and sit there like that until you're done throttling him.

      Yes, but *you* control how many connections *you* accept from any one source.

      Your modern direct-spammer uses optimizing software which adds parallel connections to the limit of his bandwidth. He wants to push the maximum amount out before his account gets canned. Check your logs for the direct-spammer. His message already arrives slowly because he's saturating his link.

      The idea is that *you* get less spam because you throttle it way back. If it hurts the spammers; that's great, but that's not the primary idea. As more people use these techniques, that changes the payback equation to the point where it isn't worth it to spam anymore.

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
  20. Misunderstandings by MajroMax · · Score: 3, Interesting
    There seem to be some currently-popular misunderstandings about this article. This TarProxy is not intended to be running on outgoing SMTP servers -- it makes no sense to throttle clients that you're supposed to be monitoring anyway.

    Instead, this is meant to be run on the incoming SMTP server, the one that receives the mail. It will only hurt the spammer if he's trying to send a bunch of spam to your domain, but every server running this can help.

    --
    "Evil company X is threatening to restrict our rights! Let's all get together to stop--OOOH! SHINEY!!!" -- AC
  21. Daniel Hartmeier / OpenBSD / pf by sillobalso · · Score: 3, Informative
  22. but its usually from an open relay... by TheGratefulNet · · Score: 4, Insightful

    so exactly WHO are you hurting?

    sure, the open relay deserves some pain. but you're naieve if you think that most spammers send from their OWN systems!

    I have qmail running on my mail hub and I reject mail at the time of connect simply based on the receiver they're trying to send to. when they handshake (part of the HELO exchange) I detect the user they're trying to send to, and since I only have a handful of valid users, its easy to know if they're dictionarying me or not. once I know that, I immediately cut them off, AND add an ipfw (I run freebsd) rule to block all traffic from that IP to my port 25. not only do they NOT get to send any DATA to me, but they're for now on (until it ages out, automatically) forbidden from even connecting to my box. I know that's harsh but I can be that selective since its mostly just me on my mailhub.

    but I don't think for a second that even tarpitting that source IP is punishing the spammer. they've most likely broken into (or found) an open relay and they're routing thru them. they don't even see the 'address not reachable' error due to my firewalling them.

    --

    --
    "It is now safe to switch off your computer."
    1. Re:but its usually from an open relay... by cpeterso · · Score: 2, Informative


      but the open relay is enabling the spammer. The people operating the open relay should really fix their server.

    2. Re:but its usually from an open relay... by TheGratefulNet · · Score: 1

      entirely agreed.

      I think the OR's should be punished.

      but unfortunately, the punishment doesn't get .forward'd back to the spammer.

      --

      --
      "It is now safe to switch off your computer."
    3. Re:but its usually from an open relay... by PickaBooga · · Score: 1

      On a SMTP server I administrate, why the hell should spam mail go through just as fast as ham mail?

      If I think it is spam, why the hell not throttle it? I am not preventing it from going through. Personally I don't put much value on machine cycles of spammers and those who enable spammers, so they can wait.

      If it is my machine, I want pumping spam through it to be as expensive as possible.

    4. Re:but its usually from an open relay... by kramer2718 · · Score: 1

      That's right you ARE probably hurting an open relay
      or possibly the spammer's ISP.

      In later case, I'm completely unsympathetic. Kick the spammer out.

      In the former, I'm don't feel so bad either. Administer your mail server!

      Ditto in the case that the spammer hacked into a closed relay.

    5. Re:but its usually from an open relay... by coolgeek · · Score: 1

      Truly though, detection and then blacklisting is the solution for open relays.

      --

      cat /dev/null >sig
    6. Re:but its usually from an open relay... by redjeremy · · Score: 1

      What if someone you know simply mistypes your email address? are they (/their provider's SMTP server) blacklisted forever?

    7. Re:but its usually from an open relay... by Malcontent · · Score: 0, Redundant

      "but the open relay is enabling the spammer."

      Why is that? Every copy of windows 2000 comes with a SMTP server right? Why do you need a open relay anymore?

      --

      War is necrophilia.

    8. Re:but its usually from an open relay... by karlm · · Score: 2, Informative
      Open relays are necessary for spoofing the sending domain and also act as buffers connected to fat pipes. Several email trojans come with their own SMTP server. They're very easy to write. If having an SMTP server was the bottleneck, they would have put SMTP servers in all of the SPAM software long ago rather than wasting the effort of finding new open relays.

      An open relay allows a SPAMer to lie about his/her domain and ofload a batch of emails lighting fast. The SMTP server does the storing and the forwarding with faked headers.

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
    9. Re:but its usually from an open relay... by jlechem · · Score: 1

      Even if you don't hurt the actual spammer you may bring the open relay problem to the attention of it's admin if it gets bogged down enough. Hopefully they will learn and turn of the open relay. You might not be able to actually hurt the spammer buy you may be able to limit his resources.

      --
      Hold up, wait a minute, let me put some pimpin in it
    10. Re:but its usually from an open relay... by TheGratefulNet · · Score: 1

      you know, I contacted several MAPS type orgs to offer my built-in honeypot off of bad IPs and they refused to take them!

      the insisted on my sending full headers and body texts for each bad IP.

      problem is, just as I get the 'send to: ' in the inbound protocol, I cut the sender off right there. there's no more smtp exchange. so there's no more header and certainly no DATA to save and give to MAPS.

      its a flaw in their (maps) system. they SHOULD be willing to take rogue ip lists even if not gottong via a full handshake on port 25.

      perhaps I should just publish all those IP's (and last attempted connect timestamp) and if folks want to use them, great - it helps spread more lists of blackholes. people are free to evaluate them (I can give all the details on each IP, if they want, in terms of the bogus user they tried to send to, etc).

      if there's interest, I can do that. I can make a url on my site that keeps an updated list of these rogues.

      --

      --
      "It is now safe to switch off your computer."
    11. Re:but its usually from an open relay... by TheGratefulNet · · Score: 1

      also, while this is pretty controversial, I also block entire country codes from sending to me. or, rather, being used as relays to send to me. check the usenet group nanae
      and you'll see I'm not alone in this belief.

      if a spammer from a country that typically (99.9% of the time) has nothing useful to say to me, frequently not even in a character set I can read (!), really wants to get hold of me, they can go to my website and see a nice safe simple little cgi form and leave a message-drop there. I'll get it. so its not like I'm barring forever all nationals from this 'bad country list'.

      but I do find it effective to have a list of country suffixes that when you try to reverse-DNS the inbound IP of the relay, and you find it belongs to a suspect country code, to block it and not allow them in.

      similarly, you can do a traceroute once you get an inbound connect and if you delay on some hops seems to be hundreds and hundreds of ms, it could mean its a dial-up user (which oftentimes is suspect) or they're 'routing' thru rogue countries. those tests, while they take some of my cpu and network time, are also good indicators that they're routing thru open relays, possibly trying to hide their true origin.

      --

      --
      "It is now safe to switch off your computer."
    12. Re:but its usually from an open relay... by winnetou · · Score: 1
      you know, I contacted several MAPS type orgs to offer my built-in honeypot off of bad IPs and they refused to take them!

      If those bad IPs are open relays or open proxies you can nominate them to the Distributed Server Boycott List by sending email through them.

    13. Re:but its usually from an open relay... by Anonymous Coward · · Score: 0

      > but unfortunately, the punishment doesn't get .forward'd back to the spammer.

      Not directly, but imagine the world as more an more incoming servers use the tarpit to cripple open relays. The OR admins close up the relays, which shrinks the pool of available ORs that spammers can use. The spammers now have to funnel the same amount of spam through an ever-shrinking number of ORs - and those ORs get crippled by the increasing number of tarpits. It's a vicious circle leaving spammers with no ORs left to use.

    14. Re:but its usually from an open relay... by Anonymous Coward · · Score: 0

      What are you still doing here? Don't you have a communist, witch-doctor, UFO, masterbater's anonymous meeting to go to?

  23. I'd rather use a ball peen hammer by Anonymous Coward · · Score: 0

    And them some flammibles...

  24. the tarpits by spoonist · · Score: 4, Informative

    Here are some more spam tarpits:

    TarProxy
    ChuckMail
    OpenBSD's spamd (tarball)
    Google Search Results

  25. Fine idea, but... by Anonymous Coward · · Score: 0

    The poor shmucks who actually end up getting punished are the mail servers who are being hijacked to send the spam. The will never "feel" pain.

    However, it is an interesting "pay to play" option as long as you have a direct feed to the net of somekind.

  26. a better idea by Anonymous Coward · · Score: 0

    make a filter for email clients that automatically reject and delete ALL email which the sender is not in the addressbook or some database, simple effecient and fool-proof

  27. Slightlt OT by orthogonal · · Score: 0, Offtopic

    Anyone know of a good open source POP & SMTP proxy that runs under MS Windows and is written in C or C++?

    Thanks.

    1. Re:Slightlt OT by t0ny · · Score: 1

      I dont, but Im sure Google and ten minutes can get you an answer

      --

      Manipulate the moderator system! Mod someone as "overrated" today.

  28. Increase prior probabilities of spams if suspectIP by EnlightenedDuck · · Score: 3, Insightful
    I mentioned this earlier in the discussion - I'm repeating myself because it also applies here...

    Using a list of the spam-sending IP's and Bayesian methods, one could assign a high prior probability of a message being Spam. The affect would be to slow down the connection on less evidence if its from a suspect IP address, and to require more evidence if its from an IP address that you trust. Thus you preferentially slow-down suspect computers, and allow your friends to get away with more spam-like messages before tarring them.

    --
    Quack!Quack!.....QUACK!!
  29. vigilante spam attacks by Anonymous Coward · · Score: 0

    well, if the spammer starts getting tar all over himself, how does DoSing help?

    we could setup a P2P DoS network for spammers!~

  30. If you want to stop spam... by lightspawn · · Score: 1

    Is it possible to write some kind of program that has a detrimental yet still legal effect on the web sites (if any) featured in your spam?

    If enough people run it, suddenly it may not be so effective to promote sites that way.

    Other spam invites you to call toll-free numbers - I do, and politely let them know I don't need anything.

    1. Re:If you want to stop spam... by kcurrie · · Score: 1

      Is it possible to write some kind of program that has a detrimental yet still legal effect on the web sites (if any) featured in your spam? ..sounds like a fine way to do a denial of service attack on the target of your choice... The LAST thing you want to do is set up a means for others to attack a target based on the content of a spammers message!

      --
      -- I speak only for myself.
    2. Re:If you want to stop spam... by stetsds · · Score: 1

      Sure, that'd be a nice base for some DDOs attacks. :-)
      Just send out spam mentioning the web site you want to attack...

    3. Re:If you want to stop spam... by HisMother · · Score: 5, Funny
      > Is it possible to write some kind of program that has a detrimental yet still legal effect on the web sites (if any) featured in your spam?

      Great idea! Parse out the URLs, plug 'em into some boilerplate, and automatically submit it as a story to Slashdot! They'll never try THAT again!

      --
      Cantankerous old coot since 1957.
    4. Re:If you want to stop spam... by johny_qst · · Score: 1

      I just wanted to remind you that by calling the toll-free numbers you are giving the number you are calling from directly to the kind of scum that sell phone lists to telemarketers. By dialing a toll-free # you are using there dime(which is good), but they have a legal right to see your # even if you falsify the callerid(which is bad).

      --
      Fnord.sig
    5. Re:If you want to stop spam... by Anonymous Coward · · Score: 0

      Other spam invites you to call toll-free numbers - I do, and politely let them know I don't need anything

      Loop
      "To repeat this menu, hit 2"
      "ATDT2;" >/dev/modem
      wait /Loop

    6. Re:If you want to stop spam... by Anonymous Coward · · Score: 0

      I especially like the spammers who leave tollfree numbers in their spam. Many people don't know it, but when tollfree calls are placed FROM a payphone, the owner of the tollfree number usually gets charged a "payphone surcharge", which is usually around 25cents per call.

      When I travel (and I travel a lot) I take my notebook and a softcopy list of all the 800 numbers (automatically grabbed) from my recieved spam. Most airports have payphones with a modem jack. Then a simple perl script and chat, and I have an autodialer that will just dial them up, wait ten seconds, dial the next, continue ad finitum.

      Each call costs them significantly more from a payphone than if you call from a normal line, and they also don't get your number to so they can't call you back or harass you.

      In 2 hour layover, I can cost spammers upwards of $120. That's a big chunk out of their tiny returns, and it's actual real money.

  31. remove the open relays by vinnythenose · · Score: 4, Interesting

    The easiest solution is to have no open relays. I know I know, it ain't gonna happen, but perhaps this could convince more of those relays to close their doors:

    What we do is have a small app that plugs into eudora, outlook, evolution, kmail etc. Whenever you get a spam, you click a button, it scans the header, finds the smtp server that sent the spam and then sends them 1 email informing them of the fact that they are sending spam (of course you need a way of getting the sysadmin's email address).
    If enough people did this then the bad relays would be swamped with emails informing them of the spam they've been relaying, and they might close their relay. And non-open relays that just allow spammers to spam might think about being less friendly to spammers.

    What do people think, is it lame?

    --
    --- I used to moderate, then I read the -1 articles and decided having to filter through them was not worth it.
    1. Re:remove the open relays by Spazholio · · Score: 1

      I happen to use Spamcop to get said information. You enter the headers and the body of the spam, and it processes all the headers, compares them to known open relays, and will identify the email of the admin of both the origin point of the email, and the relays it passes through. Even sends an alert for you, if you so choose.

    2. Re:remove the open relays by commodoresloat · · Score: 1

      Check out spamcop.

    3. Re:remove the open relays by Rimbo · · Score: 1

      Well, on my iBook, I'm using Mail.app to filter out Junk mail, and when I get a large collection, I select it all and use the "Bounce" command to bounce each and every message back to the sender. Now largely most of these will return Undeliverable, but since I'm pretending I don't exist, I just bounce -that- message. End result is that for all intents and purposes, I look like I don't exist to spammers, but my friends think I'm here.

      It doesn't work.

      Most mail list maintainers don't give a damn if mail gets bounced. And the sysadmins who receive these messages don't seem to do anything either. So maybe, mail by mail, these will end up filling the server's hard drive? In about three million years, maybe.

      So basically there needs to be another solution, and I think this Tarpit idea has merit.

    4. Re:remove the open relays by Zlurg · · Score: 2

      Well, it's lame in that procmail has this capability nailed, as does the SpamBlocker folks (whose URL I'm currently forgetting under the guise of the word "Budweiser"). I use this. Problem is, roughly half of the polite (no, really, they ARE polite) bounce messages return right back to my account "user unknown."

      Spammers joejob yahoo and hotmail and msn so much that even with my reasonably large /etc/mail/access file, I'm still getting gobs and gobs and gobs of spam. Find me a way to blacklist the open relay via procmail (currently all you get is general headers and body-text) or sendmail's access_db and I can find you a free /etc/mail/access subscription service that'll cut 'em off at the knees.

      I wish I could just block aol, yahoo, hotmail, etc. I wish, I wish, I wish. problem is, grandma and Mommy Dearest and clueless newbiefriends are from that part of town, so it's the old nose-face-spite thing.

    5. Re:remove the open relays by minas-beede · · Score: 1

      If you'll read RFC 2505 (Anti-Spam Recommendations for SMTP MTAs) it will tell you that running an open relay is a bad thing but that trying to stop spam by securing all open relays isn't likely to work. This has been the experience.

      So it hasn't worked, isn't likely to, you still want to do something. OK, do something: bury the true open relays in a mass of false open relays. you can't do a mass of them alone: persuade your friends. (Post on Slashdot with a plea, even.)

      While doing that you can have a lot of additional anti-spam fun.

      Run Jackpot: http://jackpot.uk.net/

      You do like fun, don't you?

      I've stopped spam to about 3000 (495+1584+990) recipients in the last hour. Thank of what it would be like if thousands did the same (and note that many who run relay spam honeypots stop more than that per hour.)

      I also have a good notion about where the spam originates - the relay test that I delivered to get the spam to come to me went to a particular email address in California. Where the spammer is I can't say, but he does have that California link and I suspect he is himself in California (and not in China nor in Russia, despite his false registrations giving addresses in those countries.)

    6. Re:remove the open relays by minas-beede · · Score: 1

      Forgot to say: he connnects to the fake relay using open proxies - he can't be traced back further than those without the cooperation of the operators of the systems with the open proxies.

  32. What the hey by Fished · · Score: 4, Insightful
    Okay, I think you've got what to do down - this is a great idea. The problem is, when to use it?

    Here's what I propose: setup a large number of bogus email accounts. Broadcast them everywhere, and let them be honey-pots for spam. The point is, since you NEVER use this account for anything but dropping in spammable places, anything you receive on it *must* be spam. As soon as you get a connection from a mail server to one of these addresses, you *know* it's an open relay, and you put it in your database -- automatically, with no interaction required.

    Step 2: You also do a "fingerprint" on the spam you get in your honeypot (you know the routine - what's the length, average use of the word "dildo", etc) so that you can identify this particular spam "copy" by the message -- NOT the header. This allows you to automatically filter out spam messages. If the spammers want to adapt, they have to rewrite their copy. As long as your signature algorithm is fairly lose -- that is, not a true hash algorithm -- they should have to do a total rewrite if they don't want to be detected. You can then filter these at the relays. Thus, once again, you raise the cost for them to do their spam. Since you are filtering by actual known-spam content -- that is, you're doing this like they do virus signatures -- you should get virtually no false positives.

    And, anybody whose friends who are emailing them about penis enlargement doesn't really deserve email anyway.

    Anyway, there's step 1 and 2. To summarize:

    1. Lag spammers.
    2. Filter spammers.
    3. ????
    4. Profit - and make sure to send me some.
    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    1. Re:What the hey by dbenhur · · Score: 2, Informative

      You just described BrightMail's approach, though they anticipated you by about 3.5 years and went and got a patent for your Step 3.

    2. Re:What the hey by piranha(jpl) · · Score: 1
      As soon as you get a connection from a mail server to one of these addresses, you *know* it's an open relay, and you put it in your database -- automatically, with no interaction required.

      Great. What do you do when some jackass (read: spammer with a cause) finds your honeypot addresses and gets e-mail sent to them? You end up blacklisting mail from legitimate sources. Oops. Mail sources could include:

      • Free e-mail services (Hotmail, etc)
      • Public shell account systems
      • Mailing list subscription confirmations
      • Other e-mail validation
      • Forged envelope headers on e-mails to known-bouncing addresses, to servers that bounce after swallowing a message (qmail, for instance)
      • Anonymous remailers

      You could end up blocking mail from servers having anything to do with the above.

    3. Re:What the hey by Anonymous Coward · · Score: 0

      Dude, I think you forgot to include:

      "In Soviet Russia, spammers filter YOU!"

      Duh.

    4. Re:What the hey by Zlurg · · Score: 1

      Also a bad idea. I don't want that crap here, and I don't want Spamfanny thinking this is a valid destination for his tripe.
      I want Spamfanny to know we don't tolerate that sort of thing here, and I want him to know he was DELIBERATELY denied, not just disapproved.
      I do a variation of the honeypot here, and every 24 hours, the syslog gets script-read and the offending domain gets added to access_db. So, I guess one of your ideas has some merit, but as one small tool in the box against spam.
      Mostly, and above all, I don't want to accept his connection. access_db is pretty much the closest way you can be a free-standing domain and effect this.

    5. Re:What the hey by Fished · · Score: 1

      Valid point - so check it. Connect back to the SMTP server in question, and see if its a relay before you add it to the database. As far as I'm concerned, anyone running an open relay in this day and age deserves slow email.

      --
      "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    6. Re:What the hey by anon*127.0.0.1 · · Score: 1

      I've got a problem with the automatic assumption that anything which arrives at your honey-pot must be spam. Two possibilites:

      1) Someone typoes a legit address and drops an EMail into your spam account by accident. Granted, not very likely if you make the address "di20djd8480d0@whatever.com".

      2) A spammer gets hold of one of those addresses and figures out a way to induce people to send an EMail to your spam account. Heck, maybe they send out some of their spam with your address listed at the bottom as the "opt-out" address. Your spam box starts getting EMails from legit sites, you automatically blacklist them... and step 4 becomes not "Profit", but "Fight off lawsuits".

      --
      I am NOT a man!
      I am a free number!
  33. Actually, the author addresses that here... by Radical+Moderate · · Score: 2, Interesting

    Check out http://www.martiansoftware.com/nailgun/

    --
    Never let a lack of data get in the way of a good rant.
  34. Naughty idea: DDOS open relays according to RBL by rpresser · · Score: 2, Interesting

    Step 1: sysadmins band together in a DDOSOR alliance. Step 2a: Spammer uses open relay for spam campaign. Step 2b: Alliance member starts to receive spam. Step 2c: DDOSOR alliance is notified immediately and starts one-hour DDOS attack on open relay. Step 2d: open relay can't finish sending spam. Step 3: Profit!

    1. Re:Naughty idea: DDOS open relays according to RBL by minas-beede · · Score: 1

      Hey, if you want to be naughty why waste it on a putz like the open relay operator? Go after the big cheese: the spammer himself. YOU be the "open relay."

      If you are the "open relay" then YOU control what happens to all the spam the spammer sends you. How much do you deliver? NONE! That's right. (If the putz gets the spam he delivers it. That's what makes him a putz.)

      If the spammers were still mostly sending direct from their servers to the open relays then you could even try a too-long reply packet to see if spammy has buffer-overflow properly guarded against. Since it's more likely an open proxy that's feeding you the spam that ploy doesn't work as well. (If you don't see why this makes running a fake open proxy a very attactive option think about it again.)

      The only trick to running a fake open relay is that you need to deliver the relay test messages the spammer sends to deceive him into thinking you are an open relay.

      Here's one (munged in spots):

      Received: from dhcp065-029-068-003.indy.rr.com by X.X.X;
      Fri, 28 Feb 03 04:45 CST
      Message-Id: [IPindecimalasciimunged@164.100.80.127:8080]
      Date : Fri, 28 Feb 2003 05:46:05 -1700
      From: a_benson@earthlink.net
      Subject: Where you been?
      To: sue@pop7.goodhealthclick.net
      MIME-Version: 1.0
      Content-Type: text/plain; charset="Windows-1252"
      Content-Transfer-Encoding: 7bit
      X-Priority: 3
      X-MSMail-Priority: Normal
      X-Mailer: Microsoft Outlook Express 5.00.3018.1300
      X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300

      049057050046049054056046049046049048050058078079 08 4058052057053058049058

      I munged in the message-ID the encoded IP for the system that captured this test. I also replaced angle brackets with square brackets. The encoding is simple: "048" encodes "0," etc. You can decode the message body, but it tells you little:

      192.168.1.102:NOT:495:1:

      Interesting - spammy may have a firewall. Typically the sending IP is in the body, along with fields I've never figured out.

      Here's another way the sometimes encode the body:

      aejafhafdaegafaaejaffaegafaafbaejaegafcafiafiafa af aafcaffafiaejafiahibbb

      It's the same as before, with a second step. "A" is used to replace "0," etc.

      If you are scared of receiving spam then don't deliver any test messages, just trap them. Report the source IP and the recipient(s) in a short post in news.admin.net-abuse.email. If the source IP belongs to a big ISP send them a complaint and a copy of the test, explaining that relay tests are the heart of relay spam. They won't get it (apparently, judging by history) but maybe the hundredth report will be the one that opens their eyes. Or the thousandth - I'm pessimistic tonight.

  35. Perl/Python/Ruby are more x-platform than Java by Anonymous Coward · · Score: 0

    Don't use Java, it's proprietary language and
    it really isn't all that good at cross box
    compatibility.

  36. not Java.... by joshki · · Score: 1
    Writing it in Java is a good way to ensure that I'll never run it on my machine. I have no desire to continue the JVM hell... Write in Perl, or C, or something that doesn't require me to load up yet another JVM just to run it.

    That said, great idea.

    --
    I do not read or respond to AC's. If you want a discussion, log in. Otherwise, don't waste your time.
    1. Re:not Java.... by Anonymous Coward · · Score: 0

      ummm, heard of GCJ??? no? well, it lets you compile java files into binary applications that don't require a JVM. Most of the networking API is finished.

      Your complaint is not valid

  37. Just another stage in the arms race by zatz · · Score: 5, Insightful

    If these tarpits were ubiquitous, they could completely change the economics of spam, creating a scarcity of bandwidth experienced only by spammers.

    Err, I don't think so. This just requires spammers to use more simultaneous connections to overcome the slowdown; it doesn't really increase their network requirements much, only their host CPU requirements. 20,000 simultaneous TCP connections from one process is quite possible with /dev/kqueue under FreeBSD, for example; and you can do the same, but with a bit more CPU wasted, using plain old select() on almost any Unix.

    I also don't understand the rationale behind processing the message incrementally. Why not just do your processing before sending back the final 2xx response to the DATA command? Most spam software does not hang up right after sending the final "\r\n.\r\n" from what I've heard from people who run tarpits.

    How about this instead: when you are confident you are receiving spam, you stop reading from the socket entirely, and send perhaps 10MB of data back on the other side of the connection. (If the other endpoint isn't reading, and consequently you can only send one window worth of data, then do something to get your TCP stack to generate a lot of useless ACKs, or send your trash back one octet at a time and push between them, or something.) The intent being that sending spam to a large number of MTAs configured in this manner rapidly just becomes a way to DDOS *yourself*. Probably this is too disruptive for most sites to want to bother implementing, though :(

    I don't know exactly what the profit margin for spammers is like, but I'm not convinced a small multiplier in network costs is going to matter. Anyway, a lot of these "countermeasures" are mostly going to hurt maintainers of open relays, but if that means they actually fix them, I suppose that is almost as good.

    --

    Java: the COBOL of the new millenium.
    1. Re:Just another stage in the arms race by dizco · · Score: 1

      Err, I don't think so. This just requires spammers to use more simultaneous connections to overcome the slowdown; it doesn't really increase their network requirements much, only their host CPU requirements. 20,000 simultaneous TCP connections from one process is quite possible with /dev/kqueue under FreeBSD, for example; and you can do the same, but with a bit more CPU wasted, using plain old select() on almost any Unix.

      So, instead of throttling back per connection, you throttle back per connecting IP. Joe Spammer opens 20k connections to my SMTP box & starts sending spam, he gets throttled back to 5kB/s *total*.

      Or if what he's sending appears to be spam, limit him to 10 simultaneous connections.

      --Sean

    2. Re:Just another stage in the arms race by zatz · · Score: 1

      That works, although the more clever spammers I have seen operate from a large pool of source IPs and target MTAs. (I'm not suggesting 20k connections to one mail server!) And it creates problems if you are receiving a significant volume of spam and real messages from the same place. You would want to exempt any other hosts which provide backup service (via MX priorities) for your domain, for example.

      --

      Java: the COBOL of the new millenium.
    3. Re:Just another stage in the arms race by sbwoodside · · Score: 1

      This just requires spammers to use more simultaneous connections to overcome the slowdown; it doesn't really increase their network requirements much, only their host CPU requirements. 20,000 simultaneous TCP connections from one process is quite possible with /dev/kqueue under FreeBSD, for example; and you can do the same, but with a bit more CPU wasted, using plain old select() on almost any Unix.


      No, that won't be effective for the spammer. If I'm receiving 20,000 messages from the same server simultaneously it's pretty obvious that's a spammer, so I block the server completely for a short period. They can choose between painful or nothing.
    4. Re:Just another stage in the arms race by zatz · · Score: 1

      Not to one server... read my reply to the other message just above yours.

      --

      Java: the COBOL of the new millenium.
    5. Re:Just another stage in the arms race by Anonymous Coward · · Score: 0

      RTFA - It is designed to allow you to throttle the number of connections.

    6. Re:Just another stage in the arms race by zatz · · Score: 1

      I did read it. Typically one site isn't receiving a huge number of messages from a single spammer. You get a few here and there addressed to a small subset of your users. This doesn't necessarily decrease a spammer's throughput when they have a diverse list of emails to work with, *even if everyone does it*.

      --

      Java: the COBOL of the new millenium.
    7. Re:Just another stage in the arms race by Rich0 · · Score: 1

      How about this instead: when you are confident you are receiving spam, you stop reading from the socket entirely, and send perhaps 10MB of data back on the other side of the connection.

      What if you are never all that confident. The simple connection throttling system is effective at slowing down the spammer, but doesn't result in the loss of a potentially genuine email.

  38. who's side are you guys on? by Anonymous Coward · · Score: 0

    i don't know why anyone here is giving this guy's idea a hard time! all i see are messages about why it wouldn't work...

    even if it's not the best idea, at least he's trying to do something about it.

    stupid slashdotters, all of you. quit being so hard on everyone. you know who you are.

  39. (ubiquity + probability) == win by dbc · · Score: 1
    Seems to me that some of the comments miss the point.
    Granted, it is unlikely to be *directly* throttling a spammers server.
    Granted, what it *is* likely to throttle is some unsuspecting (we hope) person's open relay, and only one connection at a time.


    The win comes when tarpits are widely distributed, thus raising the probability than *any* open relay is likely to get throttled as soon as it starts relaying spam. In the limiting case, most/all open relays are effectively useless to spammers. Now the probabilities work in favor of Good Folks (tm) and against spammers. The key to making this work is to have enough tarpits in place to capture all open relays quickly.


    Note also, this is very low administration, requires zero active user intervention, and the cost of a false positive is quite low with no end user impact.

  40. Easy to defeat, just use dynamic spamming software by sanermind · · Score: 4, Interesting

    Easy to defeat, just use spamming software that dynamically increases it's connection pool whenever it encounters a 'slow' SMTP recipient. Even if a large part of the net population were running this, the spammer could just spawn thousands of simultanious (slowed down, yes) connections, and still maximize his bandwidth utilization. If it takes 2 minutes to send each message, it dosen't matter if he's sending 5000 messages at once!

    I believe linux, for example, allows up to 8192 open sockets, and I think this can be changes with a sysctl command, and most definitely could be with a few changes to kernel headers.

    Sure, it would take a machine with decent memory, but that's not too hard to find.

    --

    ---
    the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
  41. Because it's in Java... by Anonymous Coward · · Score: 0

    ...it'll slow them down by default!

  42. MOD PARENT UP!! by Anonymous Coward · · Score: 0

    MOD PARENT UP!!

  43. It's kind of like... by Anonymous Coward · · Score: 0
    Moderating (your mail) before even reading it all.

    Where did they get the idea?

    1. Re:It's kind of like... by WetCat · · Score: 1

      Absolutely Top Secret: burn before reading!

  44. ChuckieMail, and qmail-spamthrottle by Nonesuch · · Score: 1
    We are still working on the next generation of ChuckMail, code-named "ChuckieMail".

    This slowly replies to the spammer to hold open the connection, meanwhile it launches assorted scanning and attack tools against the originating IP...

    The current version is quite primitive -- when it sees a new connection, it runs 'atq' to check if a job is pending, and if not, uses "sudo nmap -og -O" to determine the remote OS, then "at" to launch the appropriate attacks based on OS and open services.

    qmail-spamthrottle is a patch to qmail which I have found quite helpful in fending off the high-volume spammers, particularly the "dictionary attack" type of spam run.

    In a "dictionary attack", the spam sending software tries every likely recipient, from aabraham to zzebra. Usually they are looking more to generate a list of valid email addresses (these sell for a premium) than to actually deliver spam.

    This causes a problem for qmail, as the default behavior is to accept any RCPT TO, then generate a bounce when the local delivery agent realizes the users does not actually exist.

  45. Spamminess? by theGreater · · Score: 1

    I mean -honestly- people. Spamminess? I understand what he's saying, and I suppose that _IS_ the point of language after all (to convey meaning)... but isn't there a way he could have said it without using the word "spamminess"? It's bad enough that English is so fscked to begin with, we don't need to make ourselves that much dumber.

    -theGreater Esperanto Advocate.

    1. Re:Spamminess? by gearheadsmp · · Score: 1

      Would Spamishness work?

    2. Re:Spamminess? by Tucan · · Score: 1

      Spamitude would have been better?

    3. Re:Spamminess? by Jeremi · · Score: 1

      What word should he have used instead, O wise one?

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    4. Re:Spamminess? by Hayzeus · · Score: 1
      Yes. There are any number of better terms available, such as:

      • "spamtacular"
      • "spameriffic"
      • or the ever-popular "spamgasmal"
    5. Re:Spamminess? by Anonymous Coward · · Score: 0

      talking about spamity levels would sound more serious.

      or you could measure the spamance of a message

      or qualify a message as being spamal.

      or rant against spamous open relays.

      or just deplore the growing spamism menace.

  46. Theo changed his mind about 550 by Anonymous Coward · · Score: 2, Informative

    Theo changed his mind about 550..

    It's now 450.. Hurts more..

    http://marc.theaimsgroup.com/?l=openbsd-misc&m=1 04 027378218501&w=4

  47. Same idea, different approach. by shadwwulf · · Score: 2, Interesting

    I'm thinking that using spamassassin along with qmail-qfilter and a small perl script to tie it together that envokes a sleep() loop for every spam-like message, that it could easily be used to do the same thing because spamassassin kicks back a score for the message's likehood of being spam...

    cheers..

    1. Re:Same idea, different approach. by Ranger+Rick · · Score: 1

      By the time it gets it gets to being queued, it's already been accepted by the MTA, which means it would only delay *local* delivery. The goal of this software is to do it while their sending data to you. If you do it with the qfilter, by the time it's getting filtered, it's too late.

      --

      WWJD? JWRTFM!!!

  48. Not enough! by Hao+Wu · · Score: 0, Offtopic

    I want SPAMMER to moan for Hao. I want them all sucking my big toe for mercy. Hao takes no bribe. Hao accepts no compromise. NEVER!

    Hao wants to watch those blood suckers to SQUIRM!

    --
    I suggest you read Slashdot
  49. Why use "statistics" to cause pain? by slaker · · Score: 1

    Why use statistics to cause pain to spammers when electrical shocks to the testicles work so much better?

    --
    -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    1. Re:Why use "statistics" to cause pain? by HeghmoH · · Score: 1

      Apparently you've never taken statistics....

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    2. Re:Why use "statistics" to cause pain? by slaker · · Score: 1

      Two semesters.

      Apparently you've never been shocked in the testicles.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    3. Re:Why use "statistics" to cause pain? by HeghmoH · · Score: 1

      You might have a point there.

      You have?

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    4. Re:Why use "statistics" to cause pain? by slaker · · Score: 1

      Sorta. I pissed on an electric fence once.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    5. Re:Why use "statistics" to cause pain? by Anonymous Coward · · Score: 0

      No darwin award, eh? :)

    6. Re:Why use "statistics" to cause pain? by slaker · · Score: 1

      Eh. I won the bet. It was worth $100.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
  50. Save some time... by batobin · · Score: 1

    If hurting spammers is really what we're after, why not just set up a bunch of honey-pots around the net? Publish this software with the ability to tag a specific username@address.com as a honey-pot (user configurable). Then sys-admins around the world can make fake web pages publishing the emails, bots can catalog them, and consequently get stuck in them.

    This method is better in the sense that it doesn't mess with anyone's real e-mail address and capitalizes off the stupidity of spambots.

    1. Re:Save some time... by Anonymous Coward · · Score: 0

      > If hurting spammers is really what we're after, why not just set up a bunch of honey-pots around the net?

      There aren't enough honeypot servers available compared to the number of actual servers. This is a "needs to be done in LARGE numbers to be effective" solution; it won't cripple enough open relays to be effective unless a LARGE number of incoming mail servers do it, much more than just a (relatively) small collection of honeypots.

  51. Training by gmuslera · · Score: 2, Interesting
    The idea sounds good, but as far I understand, bayesian filtering is based in training, and what is learned could be different from user to user.

    If you do an static word frequency list, spammers will pass around it (check in POPfile site for the latest spammers tricks), if is dinamic, then the users of your system must train it for a while (someone must tell that some message is spam or not, reading it). You must have another way to access your server for the training thing, and then another possible point of vulnerability.

    And more than this, as it depend on the user, you should not use a common word frequency list, you should have one for each user, and check if the message is spam against destination word base.

    At best, it will work for the users that care to train this server, for the other users that don't want to waste their time spam will be coming at the same speed as before. At worst, you'll be using a common list for all, and maybe slow down receptions of mailing lists or things like that, and people in your server could be unsubscribed from some of them.

    Is a good idea, but there are some things that should be implemented with care, and should work only for the users that care about it, the others should not be slowed down because you can put obstacles in the reception of normal mail.

  52. Anything by jamesjw · · Score: 1

    Anything that hurts spammers is a good thing(tm)

    I hope that I'll be able to use software like this in conjunction with spam assassin or messgewall, I use messagewall ( http://www.messagewall.org ) primarily in front of my MTA and it does a reasonable job of identifying obvious junk as well as doing basic virus scanning on incoming & outgoing email.

    Amazing how much spam a few posts to some newsgroups generate, I create a new alias just for news every now and then to control the amount of spam I get, just delete the old alias and the spam bounces off the MTA..

    I applaud the project, every cool idea!

    If only we couldnt throw the spammers in the tar pit.. that'd slow em down :)

    --
    -- If at first you don't succeed, lie!
  53. A Better Way... by Fringe · · Score: 1

    His approach is to intentionally throttle down the connection to the incoming SMTP if it's SPAM. But most spam currently is sent from Windows or through open relays on Windows... which means they're running Windows.

    Windows ain't quick. Is it possible to make it slower?

  54. "Stations of the Cross" Relays attacking relays. by Nonesuch · · Score: 5, Interesting
    We are working on a project called "Stations of the cross".

    I have several domain names that appear on many of the "million address" CDs and other popular spam lists, but which longer any legitimate recipients/users.

    We are also working on obtaining access to true "realtime" RBL lists of currently abused open relay servers. Assistance would be appreciated.

    The core of "stations of the cross" is a custom DNS server. This server is authoritative for these oft-spammed domains, and each time a request is made for an MX record, it returns (with a short TTL) a unique randomly generated list of MXes, each address on the list being a known open relay.

    So when a spammer or relay first goes to deliver a message, the system will select an open relay off the list of MXes, and hands off the message to that host. Being an open relay, the host accepts the message for my domain, then goes to do a DNS lookup for the MX record. The relay receives a (different) list of other open relays...

    Usually, you can get a message to traverse a dozen or more open relays (most sendmail systems default to a maximum "hop count" of 25), after which the message will bounce.

    Since the only traffic my server has to deal with is DNS queries and responses, this is very low-overhead for me, but depending on the size of the spammail, very high overhead for the open relay servers.

  55. Re:Parallel is not a problem by Anonymous Coward · · Score: 0

    Nonsense. All you have to do is consider the spamminess of the IP address connecting, and either not allow it or start it off with the some "viscosity" based on its prior spaminess -- which is updated in realtime (thus not requiring a prior blacklist).

    Or did you mean that the spammer would just send spam to 64k servers simultaneously? Either way, it doesn't really matter, because it is still putting a much lower upper limit on how much spam they can send in a given period.

    This sort of thing would allow me to run an open relay. I would be able to send mail from where ever I want to whomever I want from my server without having to worry about my bandwidth being wasted by spammers. Sure, some of my bandwidth would be wasted, but if they can use at most 1200bps (the speed of my first modem), I don't really care. And hopefully the server I have to relay to has a similar tarpit, preventing my precious upstream bandwidth from being wasted relaying spam -- it's not like I care that it takes 10 minutes to deliver a single spam.

  56. war against Spammers,And the user got the damage by Blueice88 · · Score: 0

    Folks, this is a good idea.But sometimes the good peoples are punish by the attitude of bad peoples.A clear example which we can quote is:Some broadband services blockade the access of some sites.This is my case.Im not Spammer, but i be punish by attitude of them.Unfortunatelly this happen.This a disadvantage of broadband connections.The incredible raise of the spammers bastards.Best regards. Blueice88

  57. Predictable failure? by Euphonious+Coward · · Score: 3, Interesting
    The first two design principles they suggest:
    • Free: It's no good unless it's everywhere... or at least in lots of places. TarProxy is Open Source Software released under a BSD-style license and available on SourceForge (see project page for details).
    • Platform Independent: TarProxy is written in Java, so it runs on Linux, Windows, Solaris, OS X, and any other operating system with a Java Virtual Machine available.
    contradict one another, and therefore directly suggest incipient failure. Any program you want widely deployed had better not depend on having some buggy JVM installed.

    (Arguably that is the reason that Freenet has been a practical failure. Every time I have tried to use it, it has got stuck in an infinite loop, or consumed all my swap space, or crashed. I blame buggy JVMs.)

    If you want software to be widely and successfully deployed, it should (must!) resemble the software that already has been. Almost all such code (99%+) has been in C or in C++. Are there any Free Software programs written in Java successfully deployed outside of Java development shops? (Rhetorical question; the answer is "not enough to matter".)

    If you want portability to Unixes, to w32, and to Macosix, you already get that with Gcc and autoconf.

    If it's in Java, I certainly won't run it as a daemon.

    1. Re:Predictable failure? by Badge+17 · · Score: 1

      You really, really can't use Java support for a "Macosix" ... AFAIK, Mac OS 6.0.7 doesn't support any sort of JVM.

      But it does support Dark Castle!

  58. 550 is wrong. Use 450 instead! by laing · · Score: 4, Interesting

    A 550 error is a permanent reject. The spam source knows that the mail cannot be delivered so it quits. A 450 error tells the connecting smtp server that your server is temporarily unable to deliver the mail, but that it's not a fatal error and delivery should be retried. This is much more likely to keep the message in the spammer's mail queue.

  59. spam vs tar by fuzzywuzzyhadnohair · · Score: 0, Offtopic

    those bastards have been making us eat pink spongy meat. now they are gonna get a belly full of hot sticky black stuff!!!!!

  60. Good car metaphor for Open Relays by dameron · · Score: 1

    "All stolen cars suddenly drive very very slowly."

    That's why.

    -dameron

  61. Argh! by SecretAsianMan · · Score: 3, Interesting
    It seems like every proposal I hear for a solution to the spam problem concludes with "If enough people did this, then...". That highlights the main problem with tarpits and similar mechanisms that only work when used en masse. Guess what? There's not a icicle's chance in hell of there being enough people to make any of these schemes work. As long as Johnny Sixpack and Patricia Partygirl (who probably outnumber the geeks at this point) keep using their spam-magnet Hotmail accounts and engage in activities conducive to having their addies harvested, spam will survive.

    Personally, the spam solution I like the best is to have procmail+formail or some other tool sitting on your mail server and making unknown senders go through a confirmation step. It doesn't work for everyone (for instance, people expecting email replies to résumés! NAGI...), but if it works for you it tends to work very well. It inconveniences everyone else, but hey, everyone else is not me. I can whitelist all the people I truly care about.

    Either that or we should throw out SMTP, email RFCs, sendmail, etc. and build a spam-free system from the ground up. Yeah, right.

    --

    Washington, DC: It's like Hollywood for ugly people.

    1. Re:Argh! by Goonie · · Score: 1
      It seems like every proposal I hear for a solution to the spam problem concludes with "If enough people did this, then...". That highlights the main problem with tarpits and similar mechanisms that only work when used en masse.

      This doesn't require every user to do stuff. It doesn't even require every sysadmin to do stuff. It just requires a reasonable number of sysadmins to do stuff.

      --

      Any sufficiently advanced technology is indistinguishable from a rigged demo
      --Andy Finkel (J. Klass?)
    2. Re:Argh! by vanyel · · Score: 1
      As long as Johnny Sixpack and Patricia Partygirl (who probably outnumber the geeks at this point) keep using their spam-magnet Hotmail accounts and engage in activities conducive to having their addies harvested, spam will survive.

      I couldn't care less how much spam a hotmail account gets. If this causes spammers to only target badly run systems, good.

  62. Some suggestions. by Tjp($)pjT · · Score: 1

    Module that accepts PHP scripts for the filter criteria, and filters themselves. (You've got Java in my PHP, You've got PHP in my Java!, two great languages that go great together!)
    White list and Black List (some sites only send SPAM, and you don't want your backup mailserver, you do have another higher value MX in case your connection goes down don't you, to be slowed down).
    Batch processing mode, or call it store and forward mode.
    Make sure to put the spam score into an "X-" header.
    Optionally add in an apparently to header to track down bcc'ed messages sent to mailing lists... please...

    Cool stuff. Love Tar pits in general, this is the first ASTP (Application Specific Tar Pit) I have seen outside some work I started a while back. with a business partner before getting snapped up into the seamy corporate world of senior research scientist-dom for a not-quite-a-dot-com company...

    --
    - Tjp

    I am in wallow with my inner money grubbing capitalistic pig. ... Oink!

  63. so now we just need some tarpots by dunedan · · Score: 1

    lets set up 2 dozen mailservers or so, and then flood the internet with their mail addresses in all the *good* spam spots.

    if we could get some percentage of spam going to those servers *we* want, then none would get to the servers the spammers want

  64. grr by AnimeFreak · · Score: 1

    Normally I troll this website, but for once, I will make a non-troll post.

    I am currently working on an website called the Internet Spam Database. Essentially, it will be a giant list of websites that sell your e-mail addresses upon registering an account or whatever on their sites.

    I started the project a month ago, but have been pretty sluggish on getting it started due other work I am working on.

    If anyone has suggestions, beyond grammar and spelling issues, please reply.

    1. Re:grr by Boss,+Pointy+Haired · · Score: 1

      On a related note, I signed up for a mailing list from a website in the UK that looked (and sounded) perfectly legit.

      It was run by a couple of guys, on a not particularly high interest topic, and their privacy policy (for what they're worth) sounded honest and reasonable.

      What I didn't pick up, was that they collected your email address using a CGI hosting service, who I'm sure would be more than happy to collect anything that looked like an email address passing through their scripts.

  65. Bouncing? by pz · · Score: 2, Interesting

    How about a manual method where one creates a ficticious bounce message from spam that has made it to the mailbox?

    The idea is the following: spam gets through whatever filter you might have, but you still want to reject it, and given that some spammers MIGHT be trimming their lists based on bounces, you forge a bounce message from the spam.

    Does anyone know if this is possible with, eg, RMail or VM (or something else) running under Emacs?

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    1. Re:Bouncing? by lost_packet · · Score: 3, Informative
      send your thanks to Apple and OS X

      Mac OS X mail

      Yes, Mac OS X Mail can help you deliver a staggering blow to spammers. Simply pull down the Mail menu, choose Junk Mail, and select Automatic. The next time you receive email, Mail will move suspect email into a Junk folder. With that done, you're ready to deliver a real knockout punch to spammers by taking advantage of yet another potent spam-fighting weapon: 1. Click on the Junk folder. 2. Type Command-a to select all of the email in the Junk folder. 3. Choose "Bounce to Sender" from the Message menu. Mail will return the selected messages to the senders marked "User unknown," making them think your email address invalid, encouraging them to drop you from their lists, and, thus, eliminating spam at its source

      that's from the Feb 6 2003 issue of Apple eNews

      --

      BLOCK STRUCTURE breathing apparatus required for special maneuvers!!

    2. Re:Bouncing? by Dossy · · Score: 1

      Most spammers aren't dumb enough to put their real return address in the spam. So, sending a bounce message back just floods some poor unsuspecting mail server with a bunch of bounces for a mail it didn't originate.

      -- Dossy

    3. Re:Bouncing? by kiddailey · · Score: 1

      Unfortunately, the only problem with this is that many many many of those messages have false information... bouncing the message back can result in either another bounce back to you because the address was invalid, or poor Joe Schmoe user who didn't send the message to get your bounce back.

      I thought this feature was great when I first saw it and did bounce back a crapload of my junk mail.

      For the next couple of days I received bounce back after bounce back saying my bounces were undeliverable.

    4. Re:Bouncing? by TheLink · · Score: 1

      That means the bounce back you use is not done correctly.

      If you do bounce backs correctly the return path is a null address, and you won't get the bounces.

      If that weren't possible you'd have mail bouncing back and forth and not dying till some silly arbitrary number of received header lines.

      --
    5. Re:Bouncing? by kiddailey · · Score: 1

      That may be true, but I'm using the OS X Mail app's bounce to sender feature. There's no settings to control how it works, so it must put something in the return address.

      I just tried it again yesterday and sure enough, got an undeliverable bounce back to my bounce back today :)

      (shrug)

    6. Re:Bouncing? by TheLink · · Score: 1

      That means it's putting YOUR email address as the _return_path_. That's brain dead if you are bouncing. And does the bounce message look like any of the popular mailserver's bounce messages?

      If it doesn't the spammer could give you special treatment just for kicks.

      The return path for errors should be the null address (less than sign followed by greater than sign - Slashdot sucks - plain old text is not really plain old text, I don't see why they can't do different types of comments properly).

      --
    7. Re:Bouncing? by kiddailey · · Score: 1

      I did a little bit of testing. What OS X mail is actually doing isn't a bounce-back. It's actually a "resend" or "redirect" and putting "Resent-From: " in the headers which contains the e-mail address OF THE ACCOUNT in the e-mail program that bounced the message (not necessarily the recipient it was addressed to).

      It does however, look like a bounce:

      --0038BED4-4D79-11D7-B73A-000393ABF3DC
      Content- Type: text/plain;
      charset=US-ASCII

      The original message was received at 2003-03-03 08:03:32 -0500
      from postoffice.local. [10.0.0.1]

      ----- The following addresses had permanent fatal errors -----

      -----Transcript of session follows ----- ... while talking to postoffice.local..:
      >>> RCPT To: ... User unknown

      --0038BED4-4D79-11D7-B73A-000393ABF3DC
      Content- Type: message/delivery-status

      Reporting-MTA: dns; postoffice.local.
      Received-From-MTA: DNS; postoffice.local.
      Arrival-Date: 2003-03-03 08:03:32 -0500

      Final-Recipient: RFC822; xxxxx
      Action: failed
      Status: 5.1.1
      Remote-MTA: DNS; postoffice.local.
      Diagnostic-Code: SMTP;550 5.1.1 unknown or illegal alias: xxxxx
      Last-Attempt-Date: 2003-03-03 08:03:32 -0500

  66. Old news - OpenBSD + pf + spamd has done this by Anonymous Coward · · Score: 0

    Good, we need more of these - for some other prior art refer to:

    http://www.benzedrine.cx/relaydb.html

  67. Re:Easy to defeat, just use dynamic spamming softw by Rimbo · · Score: 1

    What about if the connection speed is inversely proportional to the number of connections from a given server?

  68. Re:Nice idea (evil relay) by minas-beede · · Score: 1

    But a server of extreme virtue might relay the spammer's own test messages (and of course not relay any spam.) Do you see why that is so effective against the spammer?

    Windows users can do it:
    http://jackpot.uk.net/

  69. corporal by Anonymous Coward · · Score: 0

    from the Latin, meaning body; akin to corpse and corporeal.

  70. Why use the statistics? Throttle it all! by drf5n · · Score: 4, Insightful
    Do the statistics on 'spamminness' really improve the system? Wouldn't it be easier to throttle all the email to a site-adjustable rate, and have the same effect on the spammers? The ease of implementation would increase the ubiquity, and it would increase the hardware/software requirements of those who mail massively.

    For example, if your machine only receives a small amount of email per day, why not throttle them to take 10-20 minutes of connect time overall? If you only get two emails per day (one real and one spam), getting them 10 minutes later probably won't bother you too much, but could cost the spammer or his relay-helpers a 5 minute duration on a connection.

    I receive about a hundred emails per day from a number of sources, and adding six to sixty seconds of delay per email wouldn't cause me any grief. But if everyone throttled their email, it might cause someone using their '250 million Valid! Tested! Opt-In!' email lists to have to upgrade their machine to half a million connections to process it in an hour.

    I don't see that differential throttling has any benefit over a contant throttling rate. For a big site, the differentiation between spam and not-spam would probably cost you any load advantage you earned in slowing the spam, and for a small system, the delay would not be noticable.

    Of course, big senders like AOL, prodigy, and yahoo, might have to upgrade...

  71. you gotta get the mail first by kidlinux · · Score: 1

    In order to analyze the email and determine its rank as spam, wouldn't you first have to receive the email?
    In which case, the remote end (the spammer) has pretty much completed its task and slowing down the connection at that point would have little to no effect since the only thing to send would be a signal to close the connection.

    I must be missing something... Could someone elaborate?

    --
    -kidlinux.
    1. Re:you gotta get the mail first by Anonymous Coward · · Score: 0

      You will find it elaborated in the article.

    2. Re:you gotta get the mail first by kidlinux · · Score: 1

      Would you care to point out where in the article? Because I have read it, and just went back to look over it, and I don't see anything that answers my question. I'm assuming that the spam is under continuous classification as it comes in, but quite often the spam I get consists of a header, and only several lines in the body of the message. I would think that by the time this was classified as spam, it'd be too late.

      --
      -kidlinux.
  72. relay honeypots are better by Charles+Dodgeson · · Score: 2, Interesting
    If more people would run relay honeypots such as jackpot that might make a dent in the economics of spam.

    I'm not saying that the recipient server tar-pitting is a bad idea, but I think that there are more effective ways of raising the cost for spammers. Blacklisting the entire /24 of anything supporting spam would pressure providers to nuke spammers (or at least pass on costs to spammers).

    --
    Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
  73. Re:"Stations of the Cross" Relays attacking relay by Anonymous Coward · · Score: 4, Interesting

    Want to find open relays? Here's a nice simple way I implemented a couple of years ago, and ran for awhile. It's quite simple, and detects single stage relays rather quickly.

    Write something that listens on port 25. When it receives a connection, connect back to the calling host on port 25. If the connection attempt succeeds, copy characters back and forth. Anything they send to you, you send to their port 25, and vice-versa.

    If it's a true open relay, it will gladly accept the mail over and over again. I had a few mail servers looping THOUSANDS of times through me since they didn't check Received: headers. I also realize that it would be trivial to *ahem* "break" the Received: line such that it wouldn't increment the counter.

    Granted, that sucks down bandwidth, so back to the point - proving that this is an open relay. What you do is stick a magic header in the message as it heads back to them. If you receive that header back from a host, it's something you've already looped, and they're an open relay.

    Now you know they're an open relay, so you can add them to your MX lists. You can also then avoid letting them run through your looper, since it won't provide any more data.

    The beauty of this plan is that you're only giving them what they pushed upon you first. If they leave you alone, you leave them alone. It's a nice implementation of a concept I wish more people would honor.

  74. MOD PARENT ALMOST UP by Anonymous Coward · · Score: 0

    +0.644391703 Almost Funny

  75. Question by helix400 · · Score: 2, Interesting
    If I were the spammer, and these S L O W tarpits really mess me up...my first instinct would be configure my program to keep track of the transmission rates of every outgoing email. If one started off fast, but slowed down, I'd cut the connection immediately, log that address away in some "do not spam again...he's a tarpitter" list, and move on to the next victim.

    Would that work? Or would trying to keep track of 20,000 outgoing email's transmission rates simultaneousy cause more problems than its worth?

    1. Re:Question by Anonymous Coward · · Score: 0

      In my experience with spammers, one in twenty will want revenge. They'll probably just sign you up with lots of single opt-in mailing lists and you'll never know who's who.

  76. Not a new idea. by chrome · · Score: 4, Informative


    Read about a method to get SpamAssassin to execute at SMTP time in exim (I'm about to impliment this on my own mailserver) and read about teergrubing which is basically the same idea as a tarpit.

    Unlike the original post, Marc seems to have a stable working version of this right now.

    That said, this is probably the most realistic method of causing spammers pain that we have right now, short of changing the way mail works in a fundamental manner.

    I'll definately be implimenting teergrubing/tarpitting. I might even impliment it on the multi-user hosting system that I helped to build. It probably wouldn't scale too well on a busy site though ;)

    I'm going back to splinter cell.

  77. Re:Why use the statistics? Throttle it all! by Anonymous Coward · · Score: 0

    But its a lot cooler to think that your Bayesian TarPit JavaDaemon is reading your mail and slowly sqeezing the life out of the spammer.

  78. get rid of email altogether, I say by chewmanfoo · · Score: 1

    Why don't we just get rid of email altogether, creating instead some kind of system that sets up "friends lists", whereby you could designate only certain people whom you could send messages to and who could send you messages? Perhaps you came across a person online with whom you'd like to have an extended conversation. You'd introduce yourself to that person via some web app, and exchange identities via your messaging app, and then you could readily converse with that person. Businesses could automatically exchange identities over their networks. This would eliminate spam, because it could not be sent or received without the clients at both ends "knowing" each other. Somebody get started on this.

    1. Re:get rid of email altogether, I say by cel4145 · · Score: 1

      Instead, we don't we forward all our spam to Congressional members and see how long it takes for them to enact legislation :)

    2. Re:get rid of email altogether, I say by Anonymous Coward · · Score: 0

      I'm quite sure white-listing is available already.

      Your system sounds to me like everything is the same as it is now with email. People meet online, or in real life, and exchange emails. If you wanted to, at this point, you could add them to your whitelist.

      Think about average Joe, though. How often do they use their computer? Can they be constantly updating their whitelist? Joe forgets to update to include "sales@amazon.com", and he never gets his receipt.... wonders what happened, calls up Amazon and yells at them. Hey, he didn't get an email... but their records show he did. Would he remember this? Computers are hard enough as it is for a lot of people.

      If YOU want to do whitelisting, then you should... I don't see why the whole system needs to be redone.

    3. Re:get rid of email altogether, I say by mla_anderson · · Score: 1

      That wouldn't be very hard, with bogofilter and procmail already configured it's just a one line change...tempting

      --
      Sig is on vacation
    4. Re:get rid of email altogether, I say by *nixie · · Score: 1
      1. The type of system you describe (a whitelist-based system) has already been implemented many times over. TMDA, etc.

      2. No. I want to be able to receive mail from people I don't know who have read my writing, used my software, or checked out my website. And I don't want such people to have to jump through hoops to become "designated friends" before they can do it!
      I use a Bayesian filter (with an automatic whitelist which insures that anyone I've ever conversed with before can e-mail me unfiltered), and it works extremely well for me.
    5. Re:get rid of email altogether, I say by chewmanfoo · · Score: 1

      My plan would greatly reduce internet traffic, right? Don't you get a lot of spam? Don't you want spam to disappear? This is the way. Follow.

  79. Fundamental Problem by gregmac · · Score: 1

    This is a very interesting idea - HOWEVER, it overlooks something very simple: If EVERYONE is installing this program, why wouldn't they just properly secure their SMTP's? If everyone is using ESMTP, POP-before-SMTP or IP-based authentication, this isn't really needed on those systems in our scenario where everyone installs it. That means no more open-relay servers. As long as all ISPs are blocking outgoing SMTP connections, it means all mail has to be routed through their servers. If they were running it, they could take it a step further since they know the exact user sending the spam, and cut them off. That means no more spam, or at least a VERY reduced amount (as the people sending it get their accounts cut off). The problem here is which ISP is going to be the one to step up and deny access? Their spammer customers will seek another ISP that doesnt block the ports. Lets assume that ALL of the ISPs decide that they want to cut off some of their profits and block all spam. Then spammers will start getting their own servers. Of course, we can blacklist them. But if they setup a server, do a HUGE mass mailing all at once, then get blacklisted and move on, everyone is still going to get the spam from before they were blocked.

    --
    Speak before you think
  80. Will they load it? by rearden · · Score: 1

    This sounds on the surface like a good idea, but if many (most?) Sys Admins will not close their mail servers up to prevent relaying will they load this app? If I understand this right for this to be effective a lot of people would have to load this software. Given that many of the systems out there are corporate systems that run MS Exchange or Lotus Domino or Novell GroupWise will they even be able to load this? Just wandering thoughts.

    --
    Huh?
  81. The math is a little bad...but good idea by Anonymous Coward · · Score: 0

    Since the spammers mostly use open relays, they won't be making the 250 million connections, they will distribute them to the open relays. However, the open relays will probably not reconfigure their servers to unusually large number of connections, so a general gumming-up of the connections will hit the open relays harder.

  82. Answer by Anonymous Coward · · Score: 0
    So, using this logic, you could scare off spammers by slowing the connection speed?


    I don't think it would work, because the spammers mail to the open relays, and the open relays do the dirty work.

    1. Re:Answer by minas-beede · · Score: 3, Interesting

      It's most fun to do the dirty work against the spammer. What he thinks is an open relay doesn't have to be one.

      This one whacked Ralsky hard for several months - Ralsky never caught on: http://www.corpit.ru/cgi-bin/h0n5yp0t

      You can do it, too:

      http://jackpot.uk.net/

      And please do.

  83. Spamminess Calculation Problem by 6e7a · · Score: 2, Interesting

    In my experience the strongest indication of spam is near the very end of a message, where is says something like, "click here to unsubscribe." If you've already accepted that much of the message, isn't it possible that the spammer will only have to wait for the message acknowledgement before it disconnects? What the spammer may see is either a normal or a slow acknowledgement. Is that enough to make a difference?

  84. Re:FP! by Anonymous Coward · · Score: 0

    FP... again!

  85. We will not! by Anonymous Coward · · Score: 0

    What, you want us to do your homework for you?!?!

  86. So this is... by ketamine-bp · · Score: 1

    Spamicide huh?

  87. Nope. bad idea. by Fuzzums · · Score: 2, Funny

    Ever heared about a spam-relay?
    With this method you'll only get (most of the times) the relaying host and STILL the spammer doesn't get is.
    i'd say read the e-mail and use whois and CALL THE FUCKERS. mail the registrants, complain about yahoo addresses for administrative contacts. waste their personal time. I wouldn't give a shit if it would take ond day to spam a lot of people or just one hour, but if i had to answer the phone all day without making any money...

    --
    Privacy is terrorism.
  88. Doesn't Work in Java, Needs to Be in Kernel by jorhan · · Score: 2, Informative

    This won't work the way the author wants. Once the receiving SMTP server sends the 354 after the client issues a DATA command, there is no opportunity for the server to slow things down until it produces the 250 response at the end of the message. That is, at the application level, all the server can do is slow down the WHOLE message. During the transfer, the only way to slow things down would be to mess around with the TCP layer. The transport layer lives in the kernel. That means kernel module. That means not very portable. That means no Java. That means an SMTP server (by its nature a security risk) futzing with the security of the operating system itself.

    You can slow things down by waiting before you produce the 250, but that is not at all a new concept. Several people have referenced Sendmail milters for that purpose already.

  89. A way to cause spammers pain by schnits0r · · Score: 0

    Using Statistics to Cause Spammers Pain

    What about 5000 Volt electric shock for each email they send? I tihnk it would be more effective

  90. mod parent up! by karlm · · Score: 1

    Anonymous, but a good idea for an improvement to the grandparent, at least on the surface.

    --
    Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
  91. Tarpit idea scales easier... by jtheory · · Score: 1

    Well, say your email server handles 300 users. It's better to use a solution that handles it on the server if at all possible, because it'll take forever to get each of those 300 users set up, but you can probably set up your server in 1 hr.

    On the other hand, it is worth investigating any idea that will inflict *some* cost on the spammer, since it all adds up.

    It's hard to outweigh the pretty dramatic income potentials of bulk email; they make enough money that it's worth it to purchase -- for example -- sophisticated tarpit-detection software if necessary.

    Personally, I liked Larry Lessig's bounty idea: sending spam w/o a [ADV) header means, legally, that the first person who can prove you did it gets a $10K bounty out of your pocket)... but so far no one in govt has had any luck getting anything effective through.

    --
    There are only 10 types of people: those who understand decimal, those who don't, and, uh, 8 other types I forget.
  92. dos'ing spammers by phillk6751 · · Score: 1

    why not create a program(or plugin/whatever) that will talk to other mail servers..and whenever a spammer sends mail, you can launch a multiple dos attack on the spammer. And since they are tresspassing on your property(at least in US legality) you can claim that they tresspassed you and you retaliated. Would it work? could it work? should we care a bit about legality in fighting spam?

  93. overly complex by Dossy · · Score: 2, Interesting

    I've been using qmail, qmail-scanner and SpamAssassin with a few very minor tweaks to deter spammers. Basically, qmail-scanner runs SpamAssassin, and if SA returns with a score above 15.0, instead of sending a "250 ok" to the spammer telling them the mail was accepted, I send back a "5.3.0 spam detected" -- this seems to have gotten me off a couple of spam lists where the spammers actually care enough to clean their lists.

    I made these tweaks because once the mail is sent and the spammer has disconnected, there really is no way of getting information back to them that you're rejecting their mail. So, you have to reject it at the time they've got the SMTP session established ... which I've done.

    TarPit seems like an exercise in overengineering with little proof that it'll do anything to hurt spammers -- they'll figure a way around the tarpit, somehow.

    -- Dossy

  94. Spam, Spam, Go Away, Come out ANOTHER day. by methangel · · Score: 1

    I get frequent spam messages to my primary account -- the message body ALMOST always follows the same layout. It involves "seks" and anything that could possibly gross you out. I filter my messages based on the seks flag, but I STILL get spam with derivations of the same message.

    I am ready to shut my account off for a week so that all the spam bounces. It really pisses me off, there is NO way to get off this list of HELL.

    1. Re:Spam, Spam, Go Away, Come out ANOTHER day. by Elentar · · Score: 1
      Install Spamassassin. Install, use, and report spam with Vipul's Razor, Distributed Checksum Clearinghouse and Pyzor so that only a few people have to read a message before the rest can skip it.

      If nothing else, get a new email address and start telling all your friends. Once you are filtering out the spam, it's kind of fun to see how accurate you can get it...

      I wrote a quick plugin for Becky! (my mail client most of the time) that connects to my imap server and empties my spam folder, sending it all through Spamassassin's reporting mechanism. So I just check my mail, scan for false-positives (none to date), move any spams that were missed, and run the plugin.

      -Elentar

      --
      The wheel it turns, around and around, with an ancient rumbling sound.
    2. Re:Spam, Spam, Go Away, Come out ANOTHER day. by methangel · · Score: 1

      Yeah, I can agree with what you say. It's just a hassle since I like the email address I have now. Tweaking the spam filter can be a hobby in itself, I suppose. "Yeah, this one time I caught 23 spams about all the different kinds of seks."

      Ok. I have nothin'

    3. Re:Spam, Spam, Go Away, Come out ANOTHER day. by anon*127.0.0.1 · · Score: 2, Informative

      Shutting down for a week won't do it. I had a secondary EMail account I set up for a job search a couple of years ago. Once I got a job, I deactivated the account. That was back in late 2001. Two weeks ago I reactivated it because I needed to let some site I was registered on EMail me my password. I left the account active overnight, and the next morning it had half-a-dozen Spams. This was after being inactive and bouncing messages for more then a year.

      --
      I am NOT a man!
      I am a free number!
    4. Re:Spam, Spam, Go Away, Come out ANOTHER day. by juahonen · · Score: 1

      That's because most spam messages have faked envelope senders. The bounced messages never reach the spammers. And if they did, you'd have that much easier to spam the spammers. They don't want that, and they can avoid it.

  95. Just FYI by Anonymous Coward · · Score: 0

    I've been a user of SpamNet for a few months and it has been doing a half decent job of catching spam. I've just downloaded their SpamNet beta 8 (I was using beta 7 or something earlier) and on the surface, it seems like they've improved a lot of stuff.

    Anyways, www.cloudmark.com. You know the drill.

  96. Jay and Silent Bob by lposeidon · · Score: 1

    I like the idea of going door to door and beating the shit out of every spammer.[Jay and Silent Bob Strike Back]

    --
    Lizard "Never let them set limits on your mind!"
  97. I'm a spammer by anon*127.0.0.1 · · Score: 1

    Here's what I'm going to do. I'll download a copy of your Tarproxy and take it apart. I'll find the good words, the bad words, and all the other rules and exactly how everything is weighed. Then I'll sit down and carefully craft a message that will sneak under your spam filter, but will still manage to do a decent job of selling my penis enlargement device. Once that's done, I'll EMail the message off to 15 or 20 million of my closest friends.

    I'm sure you'll get a chuckle out of the clever way I wrote "P3nis" instead of "Penis". And you'll probably modify your filters so that they look for that word from now on. But all that means is that I have to is download the new version and figure out some other way to sneak past it. Sure, your filter will get cleverer and cleverer, but I'll always have the advantage of knowing the rules beforehand and being able to try and retry and carefully craft my message until it works.

    Will this work? Or am I missing something?

    --
    I am NOT a man!
    I am a free number!
    1. Re:I'm a spammer by Anonymous Coward · · Score: 0

      >Here's what I'm going to do. I'll download a copy of your Tarproxy and take it apart.
      > Will this work? Or am I missing something?

      So your email isn't getting thru, and the program made you waste your time trying to figure out how to bypass it. Seems like a start.

  98. God...If only it could work... by skogs · · Score: 1

    It probably won't work, since spammers are professional and very devious...Gosh what if it could work. The possibilities are endless...why, we could slow the entire cultural progress of entire nations like Taiwan!

    --
    Who is this that even the wind and the waves obey Him? Surely this computer must submit also!
  99. Re:Actually, the author addresses that here... by Westley · · Score: 1

    Well, that actually addresses startup time, which is pretty irrelevant for an SMTP server, I'd have thought. (The general problem is being tackled more thoroughly in a JSR for an isolation API.)

    There's no reason why Java shouldn't be fine for this task.

    Jon

  100. formmail.cgi trap? by Boss,+Pointy+Haired · · Score: 1

    Other messages have mentioned the formmail.cgi vulnerability, and my weblogs are full of requests from spammers spiders looking for this script.

    Presumably there are various ways to use a request for formmail.cgi in retaliation.

    1. 404 the request, but then launch a massive DDoS attack on the sending IP, taking out their spider.

    2. Accept mail and deliver it directly to /dev/null.

    Trouble is,

    (1) Is probably illegal - you can't shoot a burglar. (2) would consume lots of _your_ bandwidth, but undoubtedly keep some SPAM off the streets - lowering the spammers response rate at least.

    Any thoughts?

    1. Re:formmail.cgi trap? by juahonen · · Score: 1

      Instead of returning NOT_FOUND, timeout the request. But you propably can't do that with Apache without damaging your own capability to serve pages. But if you can, you could also send OK response after a long delay. But not deliver any mail, of course. With OK, the spammer would presume your formmail.cgi honeypot relay was functional and continue to use it. However, due to the "lag" they can not "send" mail in great speed, damaging their capability to spam. And if you want to be really evil, the script could try to figure if the spammer tries to send mail to himself, and deliver such messages to keep the spammer fooled.

      And once you spot a spammer IP, introduce a lag for all requests made from that domain. So there be no questions that your formmail.cgi is pissing them in the eye.

  101. Re:"Stations of the Cross" Relays attacking relay by mutende · · Score: 1
    We are also working on obtaining access to true "realtime" RBL lists of currently abused open relay servers. Assistance would be appreciated.

    Zones from the DSBL Project are available via rsync (bottom of page) as well as http.

    --
    Unselfish actions pay back better
  102. Re:Why use the statistics? Throttle it all! by Anonymous Coward · · Score: 1, Interesting

    Here's why: because that will penalize legitimate
    but large-scale mail servers.

    For instance, my ISP is a cable modem provider.
    They have probably tens of thousands of clients
    locally, all sharing an SMTP server. That SMTP
    server is presumably busy all day delivering a
    large volume of legitimate mail. If everything
    is throttled, then it will become much harder to
    run that server.

    (And yes, you can increase parallelism, but
    there is a limit to how much you can do that.
    Each thread or process has a certain overhead,
    and the maximum number you can have going at
    once is probably smaller than you think.)

  103. I don't get it by Anonymous Coward · · Score: 0

    In your "if I were the spammer" scenario, you
    say that you'd log an address as "do not spam
    again".

    So yes, I think the spammers can adapt, but if
    they, by adapting, end up taking 99% of the
    addresses off their lists, then suddenly they
    are making 1% of the money they were making.
    (I'm assuming they're paid by the address.)
    So how is that a bad thing?

    And the whole point is to change the economics,
    so that, while spamming is still possible,
    it's not an easy route to making money.
    Then the losers who spam will look for some
    other sleezy way to get rich.

  104. A much more backward approach by Anonymous Coward · · Score: 1, Interesting

    Why not attack spammers in the reverse way. So, imagine for a moment that you are a spammer. You get paid more for more results, right. Well, imagine that I make an SMTP server that when you spam me, I search through your message, and start crawling all embedded links, until I've hit about 20 of them. But I don't stop there. I keep crawling. Maybe if there is a form on the site, I fill it out with bogus garbage, and submit it.

    The idea would be that when someone sends out spam, this server would generate a flurry of activity. Suddenly, the spam would be so effective at bringing traffic, but not actually effective AT ALL at bringing valuable traffic. Imagine if you hired a spam company to promote your site, and suddenly, your site had the /. effect, but none of the traffic was genuine. You would be paying for lots of wasted bandwidth with less results. How could you distinguish good results from bad ones?

    If you want to stop spam, you have to attack the people who benefit from it, not the people who perform it.

  105. Threads don't matter by budgenator · · Score: 1

    if the tarpit is sensing that mail coming from your IP address has a high probabilty of being spam based on content signatures, it throtles down the bandwidth for your ip address, or at least that's the impression that I get.

    My IP that are relatively clean may get 1.44 Mbs of bandwith, Evil-spammer only gets 14.4 Kbs. Evil-Spammer is getting blocked for all pratical resons because he's trying to send a Gigabyte of spams. It don't matter 1 thread gets 14.4 or 100,000 threads get 14.4Kbs. And all of this will change in real time.

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
    1. Re:Threads don't matter by SavingPrivateNawak · · Score: 1

      Yes it's a nice idea but I think that throttling the connection is not enough...
      I think that the flaw here is that the spammer only loses time for the connection, but saves its bandwith and is therefore able to send 10000 messages at a time!!
      I think that pretending to lose packets would be more efficient (but more difficult to do) since it would force the spammer to resend data and therefore waste both its time and its bandwith (and ours alas).

    2. Re:Threads don't matter by jstoner · · Score: 1

      Throttle based on spamminess * concurrent connections. Think about it: this is as close to absolute confirmation that this is a spammer as you're going to get.

      --

      'In knowledge is power, in wisdom humility.'
    3. Re:Threads don't matter by Anonymous Coward · · Score: 0

      To act like there is no wa around a tarpit is crazy. This is a such simple problem that a kid can do the math. For example: if a spammer has 15 ip addresses x 100 connections (to different servers) per address x 1kb per connection = 1 saturated T1.

      An even more likely action is 10,000 exploited aol users each sending spam with "spare" bandwidth. The slowdown from a tarpit would be so slight that even a dialup user would not notice.

      The spammers can even keep a list of tarpits or more likely the average bandwidth of every server that they have ever used so that they could have a best fit algorithim decide what server to connect to next. Call Knuth the spammers could use a real computer scientist.

  106. Would I know? by budgenator · · Score: 1

    So the tarpit slows my smtp way down, unless I've attached a 15MB Mpeg to my Emails I'd never notice. It would be "Gee mail a bit slow" if I noticed at all. Sending a couple GBs of spam would be a different story. I though this thing was supposed to analise in real-time so it would only effect my spam and not real Email coming from the same IP address.

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  107. KISS... by Anonymous Coward · · Score: 0

    The real trick is how to detect if the email is coming from an unknown open relay and if so block the email from arriving at a users email account.

    How?
    Sender smtp connects to receiving smtp, receiving smtp trys to relay an email back through the sender smtp if successful then you have an open relay.

    This would detect truely open or misconfigured mail relays besides the pay for relays etc.

    Discuss...

  108. Good this would lessen the load on my connection by Anonymous Coward · · Score: 0

    Hurting the spammer is good, but the main advantage is that this solution will lessen the load on my internet connection!

    Just have to be careful to make an exception for my e-mail forwarders. Wouldn't want to punish my mail redirection servers.

  109. Make a distributed project out of it by juahonen · · Score: 1

    This idea could be turned into a distributed project, much like distributed.net. The idea would be to create a new mail filter, or filtering plugin which would pass all URLs found in any mail message stored to spam folder to the distributed network. Each participant of the network would automatically start crawling the URLs submitted in an easy pace so as not to have an effect for the user. But the combined effect would be dramatic for the targetted websites. Anyone stupid enough to go seeking for their stuff would time out due to server load.

    And of course, the User-Agent would be faked to be MSIE.

  110. Some thoughts on stopping spam by juahonen · · Score: 1

    Since most spammers use open email relays to send spam, why not attack the open relays? There's no reason I can think of for leaving a relay open, so they must be open because of either lack of knowledge or because the admin wants people to be able to use it without authentication.

    So why not create bots that scan for open relays and start DDOSing them once found. I doubt open relays have enough hardware to avert angry spam-recipients counter-attack.

    And if the relays are open because of lack of knowledge, the DDOS attack could send some message like "Your relay is open and I like spam THIS much."

  111. iffy at best by tacocat · · Score: 2, Interesting

    I understand this guys theory of operation, but I am not convinced of it's value for the following reasons:

    • Each slow link results in a port being consumed on my machine. If I have a limit of 64 simultaeneous threads on my box, this can be effectively deployed as a Denial of Service tool.
    • Bayesian filters are already suffering from a problem where spammers break up works with bogus http tags: Via<foo>gr for fr<bar>ee. This simply means that they have to front load their email messages with a lot of cleaner words in a white-on-white text or just keep using the bogus html tags.
    • You are going to have a tremendous negative impact on all the false positives, which are rampant in the beginning of any Bayesian implimentation

    With all that aside, there may be some points in this that are valid. But I'm not certain that the usage of mail servers by spammers is going to be entirely effected by this technique.

    Wouldn't it be easier to simply challenge each incoming IP address to test it for being an open relay and if so, REJECT?

    I think that the postfix group has a similar concept for testing any incoming email address in the MAIL FROM tag to see if that address can in turn accept mail.

  112. MMOD PARENT UP by Anonymous Coward · · Score: 0



    This is a really hot idea - wouldn't take many of these to grind those 12k worth of open relays into the dust.

  113. Re:Increase prior probabilities of spams if suspec by ThatMadeNoSense · · Score: 0

    The affect would be

    That made no sense.

  114. What are you smoking? by Anonymous Coward · · Score: 0

    Fight off lawsuits???

    Nobody... NOBODY... has the inalienable right to send me email. I am under no obligation to read any email, and my system is under no obligation to accept any bit of email.

    Is there anybody with the stupidity to engage in such a lawsuit (Well, some lawyers DO have the requisite stupidity...)

  115. But the number of connections does matter by Anonymous Coward · · Score: 0

    This system seems to be based on the idea that these tarpits would be fairly prevalent. Just one or two wouldn't really do a whole lot, because as you say they don't really use up any bandwidth. But if you are a spammer using a mail server that can make 100 connections and say 50 of these are tied up indefinitely sending mail at 14.4k then you are going to have a definite reduction in the amount of spam that you can send. The more of these tarpits there are, the more a spamming server will be slowed down.

  116. Re:"Stations of the Cross" Relays attacking relay by ZigMonty · · Score: 1
    A slightly improved version would be to use a short dummy message with a magic header, rather than the spam message itself. Address it the same as the spam and send it through the open relay. If you detect the magic header on a piece of incoming mail, delete the message and blacklist the relay.

    It'll save your bandwidth. Spam can be big.

  117. How do we get 100% adoption? by SpyderFan · · Score: 1
    We could e-mail everyone a notification about it. Wait... that could take a long time and would be spam.

    If we have a way to approach 100% adoption and install software on everybody's server, lets install Spam Sleuth Enterprise or another similar tool and solve the problem completely.

    We can't even get administrators to patch their systems. What are the odds on getting this thing widely used?

  118. Bayesian filtering - no problem by waynemcdougall · · Score: 1

    I got the same spam. No problem with my naive Bayesian filter: nrc 0.9322408 200 0.8996861 -0500 0.9530694 5329 0.9897271 u 0.9130855 s 7.409731E-02 communigate 0.9296147 contrast 4.253653E-02 codewks 0.9789982 f 0.9006658 nacjack 0.9789982 wlink 0.98057 cithara 0.9689967 feb 0.9688099 2003 0.9078071 Spam ratings:0.999999999999999 The headers are still comprpmising, and with no real English words, there's nothing to weight this message against being spam. Interestingly very few people sending me real email use the letters "f" and "u" on their own. :-)

    --
    Recycle PCs and build a wireless community network www.hillsborough.org.nz
    1. Re:Bayesian filtering - no problem by minas-beede · · Score: 1

      "Spam ratings:0.999999999999999"

      Offhand I'd say that seems pretty certain. :-)

      Looks like more people should be using Bayesian filters - and DCC. Neither relies on some human or bunch of humans to recognize the spam, add it to a database, etc.

      Which did you get: Russian wives or herbal Viagra?

    2. Re:Bayesian filtering - no problem by waynemcdougall · · Score: 2, Interesting
      Russian wives. I was surprised directmailorderbrides wasn't picked up, but as it turned out, that's the first time that word (token) has appeared in any of my email.

      Note that while the Paul Graham rating of 0.999999999999999 is high, in practice I use Gary Robinson's calculations (more refined and use even infrequently occurring tokens - I get better, less extreme results). Gary Robinson's spam rating on this is: 0.61705129961986 That may seem relatively low, but is on a different scale and is firmly indicative of spam.

      Unlike Paul Graham, I don't parse out (and ignore) HTML comments. I find all information is useful, and I find it just as effective (and simple) to treat the text as a straight byte stream.

      --
      Recycle PCs and build a wireless community network www.hillsborough.org.nz
  119. It's amazing by Anonymous Coward · · Score: 0

    We roil at the thought of RIAA and MPAA getting powers to vigilantee on the net. Yet a half baked scheme to annoy spammers is getting lauded? Remember blackhole lists. Get people on board use it. Ponder SMTPAuth. the world is full of bloodthirsty cretins, got a minute look in the mirror and u might see a few.

  120. sa-exim already does this. by Wycliffe · · Score: 1

    sa-exim already does this.

    check out:

    Exim SpamAssassin at SMTP time
    http://marc.merlins.org/linux/exim/sa.html

  121. No pain by Brian+Kendig · · Score: 2, Insightful

    The short of it is that there is no legal way to cause spammers pain.

    I've been running a tarpit for the past six months. (Exim + SpamAssassin + SA-Exim) During that time, I've seen that roughly 5% of spammers will sit around for however long I feel like tarpitting them (my timeout is currently four days), while the rest of them are smart enough to disconnect from my tarpit when they see that I'm holding them open.

    But the spammers are using open relays, and there's an infinite supply of open relays. If one of them gets bogged down, they'll just move on to another.

    The especially interesting thing is that I've seen the amount of spam attempts on my server *triple* since I started tarpitting them, from 100/day last year to 300/day now! It's as if the spammers love to be tarpitted!

    And I've found out there's absolutely no way to convince a spammer to remove me from his mailing list. Tarpit him, he doesn't care! Give him a 5xx error code, he doesn't care! Firewall his connection attempts, he doesn't care! It's easier for spammers to sell lists of five million addresses (4.99 million of which don't accept email) than it is to try to pay attention to error messages and failure states and weed out bad addresses. I've even seen spam addressed to the messageID's on Usenet news postings.

  122. Re:"Stations of the Cross" Relays attacking relay by yotto · · Score: 1
    Until you have 2 machines running this software, and one of them sends mail to the other

    Or am I missing something? It seems to me that they will gladly loop, neither is an open server, and one (or both) will blacklist the other.

  123. Re:Easy to defeat, just use dynamic spamming softw by Anonymous Coward · · Score: 0

    Easy for the spammer to defeat on a widespread basis, yes - but if I use the spam tarpit, my incoming mailserver's still protected against an incoming firehoseload of spam. That's what I care about - other admin's systems are their responsibility, not mine.

    Spam tarpits are a think globally, act locally solution.

  124. The END IT ALL solution by Anonymous Coward · · Score: 0

    Just track down the sources of the spam, drive over to the building in which the computer(s) are housed, and toss a stick of dynamite through the window. Repeat.

    After a few weeks of this you will no doubt be the subject of a massive nationwide manhunt, but it will be worth it. Spammers will live in terror, and the spam servers will go down faster than a hooker on the titanic.

    Have a wonderful day.