Slashdot Mirror


Spamholes Fighting Spammers

mike9010 writes "A person named I)ruid has come up with an ingenious way to combat those spammers. His program, spamhole, creates a false 'open relay' that the spammer thinks he/she can send messages through. The messages then get sent nowhere, and the spammer has no idea. "spamhole is an open project. Hopefully, through user's and developer's contributions, we will amass a collection of spamhole implementations spanning all commonly used platforms, programming languages, etc. Ease of configuration and use are the primary objectives, for the easier to use by the non-techical layperson the implementations are, the more widely adopted and used spamhole will become.""

60 of 396 comments (clear)

  1. How can this work? by corebreech · · Score: 4, Insightful

    Spammer will just send email to himself to make sure relay works. The author claims that the defense against this is to allow the spammer limited access in the beginning, but there's no way to uniquely identify the spammer, and in any case, the spammer can just continue to include himself in the mailings, so he'll know when the relay has been configured to deny him access.

    This system will only increase the number of open relays out there.

    The story of the hare and the briar patch comes to mind. Is this the idea of a spammer who is pleading with us to please not create all these open rel..., er, um, spamholes?

    1. Re:How can this work? by Amiga+Lover · · Score: 5, Informative

      As the article says


      When an SMTP client connects to our spamhole, we note the number of times it has connected before. If this number is below a configurable threshold, we simply redirect it's connection through the spamhole to a real SMTP server and allow it an unmodified session. This provides for any potential 'test' email the spammer may attempt to send through the 'open relay' to verify successful delivery to successfuly pass through the system and be delivered. Many spammers do this to validate their open relays prior to attempting bulk mailings. The downside to this is that a few SPAM emails may actually be delivered by your spamhole. Such is the price to pay for tricking the spammer into continued use of your 'open relay'.


      So it's not quite just a dumb smtp receiver, but acts as a real one until the spam starts being sent.

    2. Re:How can this work? by B1ackDragon · · Score: 5, Interesting

      They're been relying more and more on trojan'd XP machines as well, they'll probably just stick to this method because they can have more machines than they ever wanted, and they can be sure it works (for some time at least.)

      It makes me sort of sad. I'm in a unix sysadmin class, and we had a guest speaker in from a major ISP the other day, and to quote him "we've seen our email traffic quadruple over the last year, all spam" "spam is killing the internet."

      Doubt if its as bad as all that, but again, the internet would be a heck of a lot better without it.

      --
      The snow doesn't give a soft white damn whom it touches. -- ee cummings
    3. Re:How can this work? by kinnell · · Score: 4, Insightful
      but acts as a real one until the spam starts being sent

      Yes, but if the spammer sends test emails alongside the spam, they won't get through, and he will know it's a spamhole. This system will likely work well until the spammers realise that it is being used, after which it will be easy for them to hack their way around it.

      --
      If I seem short sighted, it is because I stand on the shoulders of midgets
    4. Re:How can this work? by Anonymous Coward · · Score: 5, Interesting

      Sophisticated spamware sends periodically control messages to a dropbox in hotmail/yahoo/whatever and alerts user if the open proxy appears not really working.

      Open relay isn't the problem of net anymore, sophisticated spamware uses open proxies.

      Open relays are these days hard to find as most smpt software ave sane defaults these days. OTOH With idiots like analogX proxy authors creating proxies with "default open world wide, not even dangerous ports closed" configuration, there is no sortage of open proxies.

      If you really want to blackhole/track open proxy/relay abusers, look at BuggleGum proxypot instead. And prepare to hack it as as spamware tries to adapt the traps setup by people.

    5. Re:How can this work? by the_mad_poster · · Score: 5, Interesting

      Doubt if its as bad as all that...

      I don't. Spam eats up bandwidth just being delivered, even if it gets filtered at the end anyway. Then, you have the idiots that sit and open it and wait for images to load in their HTML-enabled mail clients. Despite this, from a technological standpoint, although it chews up and wastes valuable resources, it won't bring the Internet to a complete screeching halt.

      However, look at all the time and money AOL puts out trying to block incoming spam. People always talk about making spam unprofitable for the spammers and someone invariably bitches about the ideas put forth, but how long will it be until there's so much and so varied spam that it's unprofitable to allow users to use e-mail? Eventually, we may well need so many people and tools that it will chew away profits just fighting spam.

      That's why I think spammers need to be treated exactly for what they are - a parasitic infection. They just chew up resources but provide nothing in return. They must be inoculated. Make sending unsolicited e-mail a crime (our illustrous guvmint morons took a step in the totally OPPOSITE direction with their "yea, let's legitamize spamming" bill yesterday). If you're convicted of sending mass, unsolicited messages (that is, you can't prove that you were given EXPLICIT permission to send them), make it a felony and make one of the required sentences that you're not allowed to ever tough a computer again. The trick after that, of course, is to get all the spammy Asian and S. American countries to go along and punish spammers as well.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    6. Re:How can this work? by Urkki · · Score: 3, Insightful
      • I don't. Spam eats up bandwidth just being delivered, even if it gets filtered at the end anyway. Then, you have the idiots that sit and open it and wait for images to load in their HTML-enabled mail clients. Despite this, from a technological standpoint, although it chews up and wastes valuable resources, it won't bring the Internet to a complete screeching halt.

      Don't count on it. There are worms that spread to create spam relays, and then those relays send spam. Potentially this leads to exponential growth in traffic...
    7. Re:How can this work? by zerocool^ · · Score: 5, Informative

      This system will only increase the number of open relays out there.


      Plus, for some of the more nazi-esque spam block lists, it can cause MAJOR havoc for your network. I can tell you that this will not be implemented on our network. We've delt with this already... One computer on our network had an open relay for a couple of days, and it caused *.rr.com (road runner cable, HUGE ISP on the right coast) to block ALL MAIL from our /24. It was horrible, we have hundreds of customers who could not get email from us or their clients.

      And it was pulling teeth to get us off of that block list. Send email, get response "contact your ISP", sent email explaining we were the ISP, got email "contact your ISP", sent email madly declaring that we can fix it if they'd tell us what was wrong, but with more than 100 computers in that IP range, it was kind of hard to tell who was in trouble, got email "contact your ISP"... etc.

      I'm NOT going to put anything on the network that deliberately sends spam, or even looks like an open relay. My business is too important to me.

      Thanks, but, no thanks.

      ~Will

      --
      sig?
    8. Re:How can this work? by glassesmonkey · · Score: 4, Funny

      Talk about arms race.. Now spammers will maintain blacklists for spamholes!

    9. Re:How can this work? by pipingguy · · Score: 3, Funny


      Spam eats up bandwidth just being delivered, even if it gets filtered at the end anyway

      Yeah, but just think of all the extra bandwidth we'll have once UCE, viruses and scammail are finally banished by the Spamish Inquisition (nobody expects the Spamish Inquisition)!

    10. Re:How can this work? by Marcus+Brody · · Score: 5, Insightful

      This is a total Arms Race.

      The initial test email would highlight the spammers test email address. All email to this address would then be allowed through the spamhole, giving the impression to the spammer that everything is hunky dory.

      However, the spammer may use multiple test addresses, and the spamhole would not then be aware of these.

      Therefore the spamhole could check for any addresses that were used frequently/periodically, and mark these as test addresses.

      But the spammer could use a more complex set of test addresses.

      The spamhole could use a combination of Bayesian filtering with Hidden Markov Models to renumerate potential test addresses with exponentially decreasing returns, such that the k-tuple value Z1 was never equal or above the Nth degree of reductionist SPAM (SPre). This would thus allow network strategist to implement a theory-based approach to network spam usage, thus continuing ad-infintum the ARMS RACE.

      The result of this is that both spammers and anti-spammers remain in bussiness, spending exponentially increasing efforts attempting to thwart the efforts of the oposition.

      Definition of a game: "A constructed conflict with quantifiable outcomes"

      Ever get the feeling that the anti-spammers enjoy this whole malarky just as much as the spammers?

      Maybe the answer to spam is this:

      STOP wasting money and resources on using incresingly sophisticated anti-spam techniques. Re-direct this money into basic education for users, including short courses on:

      1. How to identify a spam (People are proven to be far better at pattern recognition than Bayesian models).

      2. How not to click on a spam.

      3. How to delete a spam.

      If AOL, MSN, and all other involved parties put a concerted effort towards this, then spam would soon get diminishing returns, and hence become increasingly unprofitable.

    11. Re:How can this work? by FiloEleven · · Score: 5, Insightful

      How about redirecting money into the hiring of Hit Men to get at the root of the problem? After two or three spam queens get knocked off, I think it may dawn upon the rest that spamming isn't such a good idea anymore...

    12. Re:How can this work? by Anonymous Coward · · Score: 4, Interesting

      It would be nice if webmail services has an option "Bounce this message", so the spammer will receive more and more bounces of actually good accounts.

      Think about...

      on yahoo mail "This message wasn't for you? Is it SPAM? _Bounce it_."

    13. Re:How can this work? by Darth23 · · Score: 3, Insightful

      I saw going to suggest a bullet in the brain myself, though I think some broken bones might work as well.

      --

      -------- In Soviet Russia, "Soviet Russia" sigs hate Slashdot.

    14. Re:How can this work? by msgregory@earthlink. · · Score: 3, Interesting
      Maybe the answer to spam is this:

      STOP wasting money and resources on using incresingly sophisticated anti-spam techniques. Re-direct this money into basic education for users, including short courses on:

      1. How to identify a spam (People are proven to be far better at pattern recognition than Bayesian models).

      2. How not to click on a spam.

      3. How to delete a spam.

      I think you're underestimating the difference in the average computer user between the strength of will to intelligence and the strength of belief in something for nothing by a longshot.

  2. I don't think this will work.. by bonez_net11 · · Score: 4, Interesting

    This sounds like a pretty interesting project. One question though, what happens when the spammers themselves get word of this? They will just relay a message through each open relay they find to an account they can check, to see if the message went through. If the message doesn't go through then its a 'blackhole' relay and they will find another one. I just don't see something like this working. Maybe it should save all of the spam and use the messages to update spamassassin filters or something like that. Otherwise it'll be useless. Just my thoughts.

    1. Re:I don't think this will work.. by cgranade · · Score: 5, Insightful

      Stopping spam is never the point of any prudent anti-spam action. Instead, anti-spam actions work by reducing the value of spam to spammers. This can be done by reducing click-through, reducing traffic and filtering that traffic which is out there. Always, spam will get through. The only way to combat spam is to reduce the profit margin and increase the time expense so much that it is worthless, and simply bad business to spam.

      --

      #define DRM chmod 000

    2. Re:I don't think this will work.. by Frisky070802 · · Score: 3, Funny
      One question though, what happens when the spammers themselves get word of this?

      Oh, you mean like when they read about it on Slashdot?

      --
      Mencken had it right. So glad that's old news.
    3. Re:I don't think this will work.. by RobertB-DC · · Score: 5, Interesting

      reducing the value of spam to spammers. This can be done by reducing click-through, reducing traffic and filtering that traffic which is out there.

      That points to an interesting idea. What if you left your relay open, but modified the messages slightly? Munge the URLs, kill the scripts and web-bug images, change all the phone numbers to 800-876-7060. You could even try to de-l33t the subject lines (turn V*1*A*3*R*A back into "viagra"), if possible.

      Of course, you'd be violating any number of standards, plus you'd still get blackholed. So take it a step further... create a trojan that looks for open relays and turns them into spam-breaking open relays. Maybe you could then get someone to turn you in to Microsoft and split the reward.

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    4. Re:I don't think this will work.. by Savagemutt · · Score: 3, Insightful

      Spam isn't the problem. Fraud is the problem. Legitimate companies don't send spam (or if they do, they usually learn their lesson). What's left is the criminals peddling worthless herbal cures, penis enlarging regimens and committing outright con games like the Nigerian spam. So lets spend a bit more money in the short term on law enforcement. Let's follow the money and put these scumbags in jail. Once the two bit operators understand the seriousness of their offenses, I think the volume will fall off dramatically.

      Ok. So it won't stop the garbage coming from countries too poor or too indifferent to enforce the law, but it would help a great deal.

      --
      I'm not a nerd. I'm just here for the free food.
  3. Nice spinoff... by Glock27 · · Score: 4, Funny
    Now I've got some new invective:

    Stick it in your spamhole, pal!

    Perfect...

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  4. Spamming method by rf0 · · Score: 5, Insightful

    This is not a bad idea though it could be abused. However what the author doesn't seem to realise that open relays may only account for 25% of spam. The rest comes via open proxys which mask the connection and mean that the mail server is receiving an SMTP session from a valid IP address. It might help a bit but at the end of the day the only good solution to fix spammers is hit them where it hurts in the pockets.

    Of course that is easier said than done

    Rus

    1. Re:Spamming method by Mirk · · Score: 4, Funny
      at the end of the day the only good solution to fix spammers is hit them where it hurts in the pockets.

      Well, I'm told hitting them in the kneecaps can be quite effective too.

      --

      --
      What short sigs we have -
      One hundred and twenty chars!
      Too short for haiku.
    2. Re:Spamming method by swordboy · · Score: 5, Funny

      Alternatively, you could hit their house. It really is amazing that a spammer would use their home address to register their spam business. In case you were wondering, the delivery joints in this area won't deliver stuff to this address anymore. Mr. Ralsky apparently didn't pay for *any* of the last 500 large with pineapple and andchovie pizzas that were ordered.

      --

      Life is the leading cause of death in America.
  5. It's not going to work... by SuperDuck · · Score: 5, Insightful

    Just watch the RBL's and ISP's shut down your IP block for having an open relay...

    How are they supposed to know the difference between a spamhole and a real open relay?

    --

    "Kinky sex involves the use of duck feathers. Perverted sex involves the whole duck." - Lewis Grizzard
    1. Re:It's not going to work... by aborchers · · Score: 3, Informative
      Just watch the RBL's and ISP's shut down your IP block for having an open relay...

      How are they supposed to know the difference between a spamhole and a real open relay?


      Don't they test that the relayed mail is actually delivered? ORDB does:

      http://www.ordb.org/faq/#mail_accepted

      Any tester that doesn't isn't very intelligent...

      --
      Trouble making decisions? Just flip for it.
    2. Re:It's not going to work... by dorward · · Score: 4, Informative

      Don't they test that the relayed mail is actually delivered? ORDB does:

      http://www.ordb.org/faq/#mail_accepted

      Any tester that doesn't isn't very intelligent...

      ... but as this system lets the first few mails though from a source before blocking them, the tester will be able to send the test message through it - and welcome to RBH.
    3. Re:It's not going to work... by SuperDuck · · Score: 3, Informative

      The RBL's might, but having worked for some ISP's (*koff*@home*koff*), I know that they only scan for the open port on 25, they don't actually bother to check the SMTP functionality of the relay.

      --

      "Kinky sex involves the use of duck feathers. Perverted sex involves the whole duck." - Lewis Grizzard
  6. Typical five minutes h4x0r fix by Rogerborg · · Score: 5, Funny

    + Five minutes to implement.
    + It will fool spammers for five minutes.
    + Your ISP will disconnect you after five minutes.

    Let's chalk this one up as yet another "nice try, shame about the lack of planning".

    --
    If you were blocking sigs, you wouldn't have to read this.
  7. Watch out for your ISP by Anonymous Coward · · Score: 5, Interesting

    I ran a very similar program to see what I would catch.. I caught my ISP, or rather they caught me - they thought I was running a deliberate open relay and sent an email warning me to shut it down. I was pretty surprised they were on to it so quickly (less than 24 hours).

  8. will my head sysadmin allow it? by dummkopf · · Score: 5, Insightful

    i think it will not work for two reasons:

    a) as mentioned before, it is easy to probe the hole to make sure it really works.

    b) i seriuosly doubt that the security team of any university and / or company would enable such a hole because then they might get blacklisted and no more email for them...

  9. Nahh, spamd. by grub · · Score: 5, Informative


    OpenBSD's spamd actually tarpits the spammer down, then after a looooong held connection sends a 450 (by default) to the spammer to have the spammer-machine retry. I have it running with various autoupdated blackhole lists and very little spam sees my server anymore.

    --
    Trolling is a art,
    1. Re:Nahh, spamd. by arkanes · · Score: 4, Insightful

      I have to say, if I were a professional spammer I'd be using custom SMTP clients that didn't bother with stuff like "standards" and waiting on long timeouts and resending after a 450. All that matters is getting as much mail out as fast as possible, so just skipping hosts that aren't keeping up at a reasonable level would probably be the best option.

  10. HoneyPots by tomstdenis · · Score: 4, Interesting

    This is basically a honeypot. Various other forms of this exist [like TCP keepalives for as long as possible]. The basic idea is you want to make sure the user thinks its working while wasting their time.

    The trick is much like the polution on P2P. People often complain that the stuff they download off P2P is either renamed [e.g. no the thing they were looking for] or of very low quality. This dissuades people from using P2P.

    Likewise if lots of people setup fake SMTP servers that don't do anything it will polute the "scene". Possibly make it less attractive for spammers.

    Of course what would be nicer is just to snipe the spammers and auction off their property for Quiznos money ;-) [this last comment is aimed at the jerk who is sending the same spam twice to me about all sorts of increased sex crap. It's bad enough you send it once but twice in under 5 mins? In the ban list you go!]

    --
    Someday, I'll have a real sig.
  11. Not going to work by heironymouscoward · · Score: 5, Interesting

    Spam is moving off open relays and onto pirated home computers. Spammers and virus writers together have already designed a distributed architecture in which they can send emails from hundreds of thousands, possibly millions of 'owned' personal computers.

    The solution is to accept that email will become 99.9(n) junk, and that the challenge then becomes to extract the signal, not filter the noise.

    One solution I foresee is "data clearing houses" which store-and-forward email, using a reputation management system to rank and score email (and other data, for the problem is general).

    --
    Ceci n'est pas une signature
  12. Please do not run this by Erik+Hensema · · Score: 4, Informative

    It won't work.

    On a small scale it has no impact.

    On a large scale the spammer will just send a few 'test' messages through your system and move on to the next. With a million spamholes, a spammer can send a million mails at the least. Great.

    Also, you'll get yourself blocklisted by every major DNSBL very soon. They scan for open relays too...

    --

    This is your sig. There are thousands more, but this one is yours.

  13. He's reinvented proxypots. by Chip+Salzenberg · · Score: 4, Informative
    This is nothing new. For example, see Bubblegum Proxypot.

    Slashdot, on the cutting edge of last year.

  14. Maybe this is just me being cynical... by CaptainTux · · Score: 5, Insightful

    I can see this being a great "live" email harvesting tool for some spammers. Setup a spamhole and just sit back and collect the addresses that other spammers try to send to. A good majority of the addresses will be good and you don't even have to waste time harvesting. This could be a windfall for technically savvy spammers with a little time to waste. Good God. Here we go again...

    --
    Anthony Papillion
    Advanced Data Concepts, Inc.
    "Quality Custom Software and IT Services"
  15. Hmm.... by Alphix · · Score: 4, Interesting

    ...has anyone been the target of a spammers affection?

    I guess that as soon as they decide that your mail server is open to relaying they will pump their mails as quickly as possible trough to the server...

    Wouldn't the bandwidth consumed while pumping all those pr0n mails trough to your server slow your xDSL (or whichever connection you have) to a grinding halt and thus make the project more suited towards those with a fat connection and something to prove?

    1. Re:Hmm.... by Goldenhawk · · Score: 5, Informative

      Just last weekend... this mea culpa might save someone in /. land some pain.

      Had a form.pl script handling all form submissions on our web site. The form submitted its info via sendmail, as well as logging to text files. While the address checking was pretty robust, someone figured out how to overload the contents in a manner that fooled the sendmail into thinking that the contents contained BCC: data.

      Fortunately I caught it within about five minutes, thanks to the fact that all submissions are CC:'d to a real address, thus starting a flood of mail. I saw the classic pattern: a test message, a couple revisions, a final draft test message, then the flood of "real" messages. Since I saw it start, I was able to shut down the script (I just killed the Execute permissions).

      After the initial test messages, I saw submissions from dozens of different IPs - I assume zombied PCs. It seems that the zombies were programmed to relay form POST submissions, instead of trying to relay mail directly. Smart, since that puts the mail load on a fast server, not a slow dialup PC.

      But the really interesting thing was, even after shutting down the script, the flood of submissions continued. I tweaked the form.pl to bounce the requests to another page but the bounce was never followed - indicating to me that the program didn't bother to check the server response to the submission, even for a 404 or 302 response! This continued for around 14 hours, at a rate of about 20-40 hits per minute. Based on the first messages that got through, several hundred addresses were included in each BCC: field.

      Suddenly at about T+14 hours, it simply stopped - cold. For the next several hours a few sporadic hits popped up. Haven't seen any since about T+18 hours.

      Apparently the spammer assumed his script would succeed once it was successfully started (it WOULD have unless I'd been at the PC). He obviously ran through his entire mailing list "blind". I'm happy to say 13.8 of those 14 hours were wasted, preventing about 7 million spams (14 hrs, 40/minute, 200 addresses each).

      As lessons learned, although I'm sure this is old news to most of the /. folks, I'd like to pass along some tips based on my experience.
      1) The spammer used our web site's form to build his attack, but then took it to another machine. All subsequent submissions were using a POST method but not from our site's page. No surprise there, but simply checking $ENV{'HTTP_REFERER'} could have prevented 99% of this attack - if not making it pointless to begin with.
      2) Sendmail can be fooled into reading BCC: addresses from information after the start of the message body. I don't understand the details, but an obvious preventative is to =~ s/bcc://gi on the message before sendmail gets it. Probably wouldn't hurt to do the same to To: and CC:.
      3) Sendmail can be fooled into sending encoded text from an otherwise text-only form. Filter out "Content-Type:" or "Content-Transfer-Encoding:" or "multipart/mixed" or "text/html" before sendmail gets it.
      4) If you're watching for abuse, don't rely on looking for multiple hits from one IP - it seems that once you become a target you will likely get a distributed attack.
      5) Consider replacing all @ signs... do a s/@/-at-/g on all message fields before sending to sendmail (except of course whatever hard-coded To: is at the start of the message). If all other measures fail, at least you won't get blacklisted, although you might get 7 million "undeliverable" replies.

      --
      --Brandon / Split Infinity Music

    2. Re:Hmm.... by Saint+Aardvark · · Score: 4, Informative
      Ah, Formmail.pl, the spammer's friend. Used to work at a small ISP where, sadly, we had copies of Matt's formmail around that would get exploited periodically. Trying to figure out which website was being hit, on a server w/maybe 100 websites and very few of them being logged (that was an extra the customer had to pay for), was nigh-impossible until I was given the root password and tried ngrep. Then I'd replace it with the NMS formmail, which I can recommend w/o hesitation. --Well, almost no hesitation...it's been a while. But it was great: drop it in and everything would work except the spamming.

      I've written before about writing a fake formmail. Right now I've got my web server set up so that all requests for formmail (m/formmail/i) get directed to the script; as you can see, I still get hit about once or twice a week. I'd really like to figure out how to tarpit them, but I'm not sure I can do that on a running webserver.

  16. Been there done that... by SlightOverdose · · Score: 5, Interesting

    We had a spammer exploiting an incorrectly configured formmail.pl on one of our servers. We didnt actually use it, so I replaced it with a fake version that accepted pretended to accept the mail and return 100mb of data as a reply.

    Our provider gives us unlimited upstream bandwidth, so it had no real effect on us- however here would have been at least 50gb worth of data used by the time the spammer caught on, so hopefully that cost them some cash. (Although in all likelyhood it was only a minor inconvenience).

  17. Tarpitting by isa-kuruption · · Score: 3, Interesting

    This is still the best method to "slow down" spammers. Having a listener on port 25 on un unadvertised box waiting for a connection from some random person, knowing this to be a relay checker and/or spammer, then holding onto the connection forever. This is what LaBrea does, but LaBrea does it on a larger scale, for entire subnets w/ open IP addresses, and any port.

  18. Strange way to combat Spam by fruey · · Score: 4, Interesting

    While the concept is somewhat interesting at first glance, the people who run spamholes might end up with it costing them a lot of bandwidth and system resources.

    • While they are not relaying mail outbound, they are targeting their IP for blacklisting by allowing tests through
    • The spammers that do think their relay is valid will then proceed to send thousands of emails via this spamhole, leading to incoming connections peaking very high and a lot of incoming bandwidth being saturated. Outgoing bandwidth will be used in all the ACK packets.
    • Most spammers will have some kind of bounce statistics processing, and the really good ones might even seed bad addresses deliberately. So they'll know quite quickly when they get no bounces back at all
    • The machines are going to be targetted not just on port 25, as they likely get port scanned, and so be very very vulnerable to other attacks. Running a half-baked spamhole on port 25 is one thing (see above reasons why I disagree with the idea) but then all your other ports had better be locked down... unless of course you're running a honeypot.
    • But then, once a honeypot has been attacked once or twice, you better have some time to do serious forensics on it before leaving it open to more and more exploits, you'll find that it's been hacked to run a REAL open relay on some other port!!!

    In short, this idea might only work if somehow you could get more spamholes on the net than open relays, and even then it would have to be coordinated by real sysadmins who know their stuff. Clueless admins are (probably) in the majority and whether or not you agree with that little flippant comment, they will surely outnumber the people who have enough time, a spare machine, and bandwidth to run a spamhole.

    This guy says that he has 'holed' over 50,000 spam messages. Well, not really. They will be retransmitted. Spending the energy on blocking spam from your users completely is a better bet, I think. Educating people and advocacy is a better bet. Spamholes will be just another 5 minute net curio.

    --
    Conversion Rate Optimisation French / English consultant
  19. The Power of the Lexicon by Asprin · · Score: 3, Funny


    That's not what a 'spamhole' is around *my* office. Pfft!

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  20. two potential problems by tacocat · · Score: 4, Insightful

    I see two potential problems with this approach, one more insipid than the other.

    1. Albeit minor, I've now lost my IP port 25 mail server. This is a big problem if I only have one IP address. I would still like to have a mail server, thank you.
    2. Spamhole only works as long as it's population is much less than the population of potential open relays. Spam hole will send ~2 emails free to allow some meathead spammer to verify the relay works. After two, or when rate exceeds some value, you /dev/null the traffic. Now you have a really popular tricksy and you have 50,000 spamholes on the internet. This will delivery 50,000 X 2 free test emails. Why not just use that free 100,000 emails to deliver spam instead.

    Haven't you only succeeded in sponsoring a low volume spam relay that not only delivers spam, but at such a low per-boxen rate that no one will ever be the wiser for it.

    I see that even on your homepage you mention that a few spam emails might get delivered, but you are acting as a relay for a few spam emails times 50,000. You will eventually get blacklisted via OpenRelay RBL's.

    I think if you sit down for a day and just watch your email logs, you will find that a lot of spammers don't bother to test a connection for open relay status. They just test by pushing as much email through it that they can as quickly as possible. Daily I have hundreds of attempting mail relay deliveries.

  21. Proxy Honeypots been doing this for ages by gorbachev · · Score: 5, Interesting

    monkeys.com used to have one, until the spammers DDOSed him.

    Several other people are still running proxy honeypots with great success. They are a great resource for finding out which ISPs harbor proxy hijacking criminals.

    For all of you, who think spammers will check whether the proxy works first, spammers do no such thing. They actively scan for open proxies and immediately start blasting away. That's just like with spamming. You really think spammers check every Email address on their lists is real?

    Proletariat of the world, unite to kill spammers. The more painful and slower, the better.

    --
    In Soviet Russia, I ruled you
  22. Re:Does it help? by Steve+Cox · · Score: 4, Informative

    > only until it all goes offshore.

    It already is. I live in the UK and the majority of junk emails I receive come from the US, or contain 'offers' from US based companies.

  23. Plan for Spam Prevention by dcocos · · Score: 4, Interesting

    Since it seems that a lot spam I get comes from my e-mail address being on my homepage, I've toyed with the idea of putting two address up on the page
    like dan@example.com and danc@example.com since danc only exists as a harvestable address any messages that show up at danc are compared to the messages in the spool for dan and a 95% or more match pushes them both to the trash. Has anyone else tried this or something similar?

  24. Isn't that interesting... by dcavanaugh · · Score: 3, Insightful

    Run an open relay, the ISP detects it, launches nastygrams and prepares to blast your ass to Mars. Complain to the average ISP about the average spammer, and the spammer is still spamming through the same ISP 6 months later. Hmmmm.

  25. Re:For all of you who will say "This won't work" by pridkett · · Score: 4, Informative

    Well, here's what I've done and it hasn't gotten me on any black lists for running an open relay because I don't.

    First, my mailserver runs OpenBSD, this allows me to use pf for my port filtering software. Then each user on the server has a copy of CRM114 installed. This is a very powerful and extremely accurate bayesian classifier. I've gotten 1 piece of spam in the last three months, 0 false positives and it blocks about 150 pieces of spam a day (for my account alone).

    For each piece of mail that I receive, the relays involved are entered into relaydb. This wonderful little program logs each mail relay listed in the message. When a relay has 3 times as many bad messages as good messages it is added to the black list. Because I'm using pf, this blacklist is updated in real time to the mail server's pf configuration, which causes spamming hosts to be sent to the tar pits.

    I'd estimate the total accuracy rate (defined as non-Type I and non-Type II errors) to be somewhere around 99.95%. User interaction is zero for most of the time, I've got a nice corpus that I train the accounts with. On the off hand that there is an error the user mails the message to themselves and it gets fixed.

    So, to summarize:
    This idea won't work, you'll get your host marked as an open relay.
    This is what I did to kill spam and it does work.

    --
    My Slashdot account is old enough to drink...
  26. Fed up reading such non-working stuff by c.herwig · · Score: 4, Interesting

    Everybody is complaining about spam. And at the same time almost everybody comes up with yet another brand-new-weired-looking workaround. Why the hell?

    May I suggest just doing a few basic things:
    1) Make a law (if your country doesn't have one already) which makes it illegal to send emails with forged FROM fields (= email addresses you don't own)
    2) Slightly improve RFC2821 (smtp): Convert the optional ssl layer to a mandatory one. An smtp sender should only allowed to send mail to a server if
    a) it uses an ssl encrypted connection and the Hostname in Reverse-DNS matches the name provided with the ssl certificate OR
    b) it uses username and password to login into some kind of mailaccount
    3) Sue spammers violating law 1) to hell. If you want to find them, you only have to look at the ssl certificate used for the connection.

    Yes, I know this prevents everybody from having his own pretty little smtp server. No, I'm perfectly well with that. Use a provider.
    Yes, ssl certificates are expensive for now. But any serious provider should be able to afford one.

  27. The problem is different ISPs by Sycraft-fu · · Score: 3, Informative

    Some ISPs are very vigilant. They have a take-no-shit attitude towards SPAM and/or hacking. They'll actively watch for it, shut people down, respond to abuse complaints, etc. Some just don't give a fuck, and won't stop it unless it interferes with their network or someone comes after them with a big enough stick.

    So just because you've dealt with an ISP that is in the "don't give a shit" category, doesn't mean there aren't other ones that will be very responsive.

  28. Bad-Address Reporting by waldoj · · Score: 4, Interesting

    As I'm sure many of us that run our own mail servers have found, I've got a good dozen addresses that have never existed to which spammers attempt to send mail. I get hundreds of attempts to send spam to these addresses each day. For a while, I was forwarding these messages to an RBL, but my mail queue just got too huge.

    What I would like is a tool that hooks into Postfix (or whatever MTA; I use Postfix) that not only blacklists the sending IPs on my machine, but even reports the sending IP to an RBL. At a bare minimum, this would be a useful tool for me, since it would keep these spammers from proceeding to send spam to any other addresses on my server. At best, this simple method of confirming that a spammer is a spammer could help to reduce spam on the whole.

    -Waldo Jaquith

  29. Make it costly for spammers by lamename · · Score: 4, Interesting

    It seems to me the reason people spam is because it is cheap to do. Sending out hundreds of thousands of emails for next to nothing.

    What if everyone who got spam took 5 minutes a day and replied to a few? I am not saying they need to actually be interested in the pitch, but just send a nice polite letter saying you are. Could you send me some info by postal mail? Do you have an 800 number I can call? Could you contact me with greater detail to this question? Now, the spammer has to invest some time and possibly some money.

    Millions of people get spam. If a small percentage would do this, would it deter spammers?

  30. Try this approach...... by SomeoneGotMyNick · · Score: 4, Interesting

    I don't believe honey pots will be able to solve the problem. I believe in attacking the economics of spam. Make it not worth their while to send it in the first place. Here's one case in point:

    I have been the victim of a spam which used my e-mail in the forged From line. I have been receiving all the 'undeliverable' bounces as a result. Of course I got fed up and decided to do some research.

    I picked out the origination IP from the header of the attached bounced mails (always valid) and did a port scan on then. I found most of them infected with the Jeem trojan.

    Well, this explains the open relay. I gave up complaining to ISP's about their subscribers who have trojaned systems. They don't seem to care. I suppose it's time for vigilante justice.

    The Jeem trojan opens up an e-mail relay on a random port and a control connection plus an http proxy on their own random ports. Time to fight fire using the same fire.

    After 'safe browsing' the web sites listed in the spam mails, a lot of them have form information (usually requesting credit card info). Why not use a program that uses a trojaned system's HTTP proxy to send invalid data as the form contents. I was able to send URL encoded form content based on the form's fields which easily bypassed the form's javascript validations. In return, I get an expected confirmation screen. Hey, maybe they just got one invalid response.

    Now, if this can be done often enough, maybe the ISP will see the traffic and suspend the account of the trojaned system. In the meantime, the source of the SPAM gets a lot of invalid info to filter through. When I say invalid data. I don't mean 'asldfhhfsdf' and such. I mean real looking names, addresses, CC numbers, etc.

    I know there are flaws with this idea, but I don't see where it wouldn't start becoming a thorn in their sides. The Jeem trojan can be controlled remotely. I wish I knew the remote commands to turn them off. But, if we use their known trojans against them, maybe they'll turn them off for us.

  31. Why this is a horrible idea. by dentar · · Score: 3, Insightful

    1: They'll get blacklisted.

    2: The spammers will eventually be able to find a way to test it first (like they have with everything else.)

    3: It'll just suck up bandwidth and dump it to /dev/null.

    4: Even if the idea did work in theory, there won't be enough people believing in the idea to make it actually work.

    --
    -- I am. Therefore, I think!
  32. Instead of putting your address in clear... by b00le · · Score: 3, Informative

    try Enkoder (also available as an OS X app), which converts your mailto: link to a javascript thingy which works correctly but cannot be read by bots. It's free.

  33. Surely this idea by goldcd · · Score: 3, Interesting

    coule be developed a bit more. We all install a spamhole on our PC and then they all P2P themselves together to form, what I have decided to call, a 'Spamnet'
    When one of our servers detects a spammer it communicates this to all it's little peer friends and they launch a DDOS for a few minutes. If the same spammer hits the same (or another) node in the Spamnet he gets hit for longer etc.
    It's not a perfect idea (and probably illegal) but it would certainly get the attention of whoever is responsible.

  34. This is nothing new... by KC7GR · · Score: 4, Informative

    Google for 'honeypot' or 'proxypot.' In fact, Security Focus ran a series of comprehensive articles on honeypots, one of which is here. There's also a huge web site devoted to nothing but honeypots at this link.

    Proxypots are a variation of the honeypot idea. A proxypot pretends to be an open proxy server which, instead of actually passing traffic sent to it, simply logs what's going on and sends the actual traffic to a specific destination specified by the proxypot operator. This can be Dave Null's in-box or anywhere else said operator wants.

    Details of proxypots may be found here, and here, just to name a couple.

    Keep the peace(es).

    --

    Bruce Lane, KC7GR,

    Blue Feather Technologies