Hash Cash
km790816 writes: "I was reading an article in US News about a novel way to end spam: Hash Cash. From US News: 'our E-mail systems could be configured to reject every message from a stranger until the sender's computer had performed a difficult math problem and sent back the correct result. For one-to-one correspondence, this preliminary step would be unnoticed. But bulk E-mailings to strangers would become too costly in terms of needed computational cycles to be feasible, even with a supercomputer.'" If you've heard of Hash Cash before, don't click through, there's nothing new here. But if you haven't, here's a good introduction to the concept.
Ok, sure, there are servers out there that definitely cater to spam, and certainly something like this is going to hurt them. But the bulk of spammers today use throwaway accounts.
True, this is not a spammer-hurting technique, but rather a spam-reducing technique. Yes, most spammers use throwaway accounts. They find an open relay and hurl a million mails at it. Then the account gets deleted, but they don't care.
However: I believe that in most cases, they don't get anywhere near all of their spam out before they get the plug pulled on them. Again, they don't care. As long as they get to spew spam for a few hours for the price of a throwaway account, they're happy.
The point of this is to reduce the damage that can be done before the plug is pulled. If you can flood 100 emails down the line per second (that's just a figure I pulled out of my ass), that's 360,000 an hour until you get stopped. But if you slow it down so you can only send one a second, you've really reduced the amount of harm a spammer can do in a couple of hours to a negligible amount.
You've totally lost me here. Nobody stores handshakes anywhere. Currently, one SMTP server connects to another, and says "hey, I have a mail for joe_bloggs!". Under this scheme, it would connect, say "hey, I have a mail for joe_bloggs!", but then joe_bloggs' server would reply, "OK, but give me the square root of 981364293874691 before I accept the mail". Just to slow it down.
Having a spammer rape your open relay SMTP server would still leave you screwed, but at least most of the screwage would be your CPU cycles being wasted, not everyone else's bandwidth too..
Of course, given the terseness of US News & WR, I'm sure there are some key details missing from the article. It's a nice idea, but when you look at the habits of the worst spammers, it won't work.
"Pinky, you've left the lens cap of your mind on again." - P&TB
"I can see my house from here!" - ST:
it turns out this technique has been reasonably discredited not because of any cryptographic flaws about because of the amount of power, air-conditioning, floorspace, etc. it would take to create a viable mint. Don't forget all so that you would need to replace your hardware on an ongoing basis to keep up with advances in semiconductor speeds.
---eric
But the bulk of spammers today use throwaway accounts.
IIRC, some ISPs are trying to address the throwaway account problem by slapping spammers with a $500 cleanup fee when they terminate the account for TOS violations. I wish that more ISPs would do this - discourage spammers and make some badly needed cash.
Meldroc, Waster of Electrons
I assume the idea is that Yahoo or Hotmail could get the machine you use to write the email to do the calculation, via a Java applet.
http://angel.net/~nic/spam-x.html
How it works
When someone sends you mail from an address from which you've never received mail before, procmail will store their mail away without delivering it to you, and send them a message explaining that their mail hasn't been delivered yet. When they reply to that message as instructed, their original message will be delivered instead, and their address will be added to the list of addresses from which to accept mail in the future.
That's really about it - your friends and correspondents won't be inconvenienced much, and you may never get another piece of spam!
I was thinking in terms of a monthly allowance to obtain - err! smokeables...
ich bin der musikant
mit taschenrechner in der hand
kraftwerk
How about just rejecting messages with HTML content. Even the ones sent to me from family members I could chalk up as spam. Or atleast anything containing an IMG tag.
I'm just waiting for my boss to see some of the porno spam that comes in, complete with tags.
I like the idea. Unfortunately, it's not going to work as proposed, for reasons already pointed out earlier in the thread.
I've always thought it would be much simpler (and more effective) to implement IP volume checking at the relay level. There are very few users who generate more than 100 legitimate emails per hour. There are likely NO users who generate 1000 legitimate emails in an hour. Thus there's no reason that smtp.ignorant-admin.tw should accept 5,000 distinct RCPT TOs from 153-122-05.dialup.uu.net in an hour's time!!
Why don't the sendmail folks integrate some sort of IP filter, which prevents more than X (100, 1000, or whatever user-configurable default is reasonable) distinct messages from the same IP in an hour? If that limit gets exceeded, the admin gets alerted and the IP gets tempbanned. As best I can tell, this shouldn't cause a problem for large ISPs who are legitimately generating large email volume - they (should) know better than to be running open relays to begin with, and they'll be able to adjust their "Max incoming messages per IP per hour" setting to something they see as logical. For example, AOL would want to accept more than 1000 messages an hour from Hotmail (and vice versa) but the guy running a wide-open linux box on RoadRunner wouldn't be such relay rape potential if his copy of sendmail defaulted to blocking IPs who tried to send more than 100 mails an hour.
Granted, most of the relay rapes are due to people running outdated versions of sendmail, so adding IP filters to a future version wouldn't stop spam immediately... But if they were to implement a filter now, we could perhaps see a reduction in the "efficiency" of relay abuse in the future. If a spammer found a relay, but that relay only allowed him to send 100 separate messages in an hour, spamming wouldn't be quite so easy.
Why hasn't this been done? Am I missing something?
Shaun
Thanks to the War on Drugs, it's easier to buy meth than it is to buy cold medicine!
What about webmail ? I cant ask yahoo or hotmail to do a fancy calculation before sending a mail to me can I?
I keep a hotmail account for everything I do on the web, so the bulk of the spam I get is from people I know. I would most likely give my spammers the easy way in and have to block them anyway, just like I do now.
doesn't really sound practical to begin with. my ISP blocked mail.com and it took me 3 days for a seller at eBay to figure out how to respond to my pay confirmation....it would seem like this, just like my ISP's "plan", punishes everyone regardless of guilt.