Slashdot Mirror


Spam Solutions from an Expert

Mod N writes "SecurityFocus has posted a nice survey of anti-spam technologies by spam expert Neal Krawetz, in which he delves deeply into the specifics and pitfalls of the numerous proposed solutions. Krawetz makes it obvious that securing the email infrastructure is a very complex problem that many of the current (simple) solutions can't solve alone."

25 of 420 comments (clear)

  1. Solution: Stop Spam at the Source by ElliotLee · · Score: 5, Insightful
    According to the article, there is no good lasting solution to spam. Indeed, there isn't, but we need to consider more the reason behind the spamming.

    Why has spam grown to what it is today? It is an undeniably effective means of cheap marketing. What we need to do is come up with a way to stop this not on our end, but by looking at as a social problem or making it non-worthwhile to the spammers. If nobody ever responded to spam, spammer wouldn't bother.

  2. Deterrents by erroneus · · Score: 3, Insightful

    At this point in the game, I am honestly surprised that we haven't heard of violence resulting from spam affliction.

    I don't know about anyone else, but I'm pretty sure I'm not alone in this. I have, at times, felt utterly enraged at all the spam flying about and further all of the innocent and naive people that are being abused by all of this.

    I know if I feel violent internally, then surely there are those with less self-control out there who will eventually act on his or her rage... perhaps the parent of a child afflicted with porn spam?

    I think if two or three spammers are attacked physically, it might give them pause. Frankly, I'm amazed it hasn't happened.

    1. Re:Deterrents by LostCluster · · Score: 3, Insightful

      Of course, the worst spammers make it impossible for the average user to ever identify the true source. I guess you are just giving them another reason why they need to do that.

  3. Re:Proof? by LostCluster · · Score: 4, Insightful

    That's like saying a all theoretical attacks is not worth securing against somebody's fallen victim to it. Sure, there's some way-out ideas that can be dismissed that way, but this one seems so simple I'm pretty sure somebody who runs both spam and a porn site could pull it off...

  4. This will never end by superpulpsicle · · Score: 3, Insightful

    SPAM is like popups. The one day you find a solution to stop it, the next day they find a new solution to send it. It's a never ending cycle get used to it.

    1. Re:This will never end by The+Cookie+Monster · · Score: 3, Insightful
      No it's not.
      No other medium has this problem (not in my country anyway)
      • The telephone does not have a spam problem.
      • My instant messanger does not have a spam problem (it used to but they fixed it).
      • SMS does not have a spam problem.
      • My postal mailbox does not have a spam problem - "No circulars".
      • The fax does not have a spam problem.
      email is the only communications medium that has a spam problem, you are suggesting there is something magical about email that makes email and spam a law of nature.

      The only thing special about email is it uses a protocol that was designed with different goals to what is needed now (ie security) and switching is hard, so hard that instead we cop out and just bolt more shit onto SMTP.

      A secure protocol with existing anti-spam technology in combination with legislation (which mostly exists already) is all that's required.

      Hopefully Microsoft (Hotmail+Outlook+OE) will one day join Yahoo and a few others and together they'll have enough momentum to make the jump to a protocol designed for todays environment. Then SMTP email will go the way of usenet - ie you can still use it if you like, but most people won't have a clue what it is.

      If the jump isn't made then email will become less and less useful until it is entirely replaced in our lives by a better (and spam free) communications medium. I'm guessing this will be instant messaging (we already use it more than email), and if I had to put money on the future I'd say the gradual death of email and its replacement by another medium is more likely than actually seeing people stop kicking a dead SMTP uphill and adopting a secure protocol.
  5. Re:Oh Well by _Sharp'r_ · · Score: 4, Insightful


    The Chinese government will probably solve any internal spam problem pretty quickly.

    I mean, if you start by shooting all convicted spammers, the profession tends to stop attracting replacement members.

    --
    The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
  6. Re:Proof? by ender-iii · · Score: 3, Insightful

    Is this a joke? He just asked for proof and you got modded up by offering none?

    --
    ender-iii
  7. Re:Proof? by ookabooka · · Score: 5, Insightful

    I cant even get my scanner to correctly identify a regular text document, it gets most of it, but it still misses a lot of letters. A computer program could do this, but you would need either a very large database of the letter pictures (most places use all different kinds of text pictures, and add in a degree of randomness). Or you would need a very developed algorithm to detect the letters (in which case you would be making oodles of money from the scanner industry. . . spam would be the least of your worries.
    In the end i think it is inevitable that software will eventually break this system, but as soon as it does, there will be another system in place. . . .

    --
    If you are about to mod me down, keep in mind that this post was most likely sarcastic.
  8. Another partial solution by PapayaSF · · Score: 3, Insightful

    1) Tap the Slashdot and creative communities to produce a series of anti-spam TV/radio/print ads on the theme of "Spammers are Scammers." Smear all spammers as scam artists who sell fake merchandise and steal credit cards, and their customers as stupid losers.
    2) Get media outlets to run them for free as public service ads.

    Yes, I know this isn't a 100% solution. However, it is relatively low cost, and requires no new laws, software upgrades, or Internet standards.

    --
    Q: What does the "B." in Benoit B. Mandelbrot stand for? A: Benoit B. Mandelbrot
  9. Dueling Challenges by The+Monster · · Score: 3, Insightful
    I just copied that challenge into IrfanView and had it reduce the number of colors to 2. It came out quite readable, which suggests that OCR would be able to take it from there nicely. I bet someone could throw together some Script Fu for the GIMP to convert those pictures to text with a reasonable accuracy rate. Bear in mind that the technique doesn't have to be anywhere near 100% accurate to be worth the effort for the spammer, who already has a business model based on a fraction of a percent of his emails actually generating a response.

    What I take issue with is this paragraph from the article:

    CR deadlock. Alice tells Bill to email her friend Charlie. Bill sends an email to Charlie. Charlie's CR system intercepts the email and sends a challenge to Bill. Unfortunately, Bill's CR system intercepts Charlie's challenge and issues its own challenge. Since neither user actually receives the challenge, neither user will receive the email. And since the emails are unsolicited and unexpected, neither user knows to look for the pending challenge. In essence, if two people both use CR systems, then they will not be able to communicate with each other.
    This is leaving out a key feature of any decent challenge system... When Bill tries to send an email to Charlie in the first place, Charlie's email address is automatically added to Bill's whitelist. So Charlie's challenge, showing his address as its source, flies straight to Bill's Inbox without a hitch. If Bill were so arrogant as to think he could send email to someone not on his whitelist, then he deserves not to have his email go through.
    --

    [100% ISO 646 Compliant]
    SVM, ERGO MONSTRO.

    1. Re:Dueling Challenges by RollingThunder · · Score: 4, Insightful

      Not so much that it would come from Charlie, but that the C/R would have an In-Reply-To that referenced the unique Message-ID of Bill's mail.

      When the mail goes out, Bill's system would record the Message-ID (and probably the recipient, but that could screw up on forwarders if you try for a hard match on the two) and then allow Charlie's C/R because it matches the whitelist.

    2. Re:Dueling Challenges by Tony-A · · Score: 3, Insightful

      Charlie's email address is automatically added to Bill's whitelist. So Charlie's challenge, showing his address as its source, flies straight to Bill's Inbox without a hitch.

      Now all I need to do is know or guess anything on your whitelist (or have some means to automatically add something to your whitelist;).

      Methinks all a CR system would do is add hassle to legitimate traffic and give the spammers an even easier time of it.

  10. most effective by mabu · · Score: 5, Insightful

    Make no mistake...

    The most effective spam solution at this time is RBL blacklisting. Bottom line.

    When you take into account that the biggest problem of spamming is bandwidth consumption and network resources, there is NO better way than blacklisting spam sources and refusing to communicate with them.

    Services like Spamcop's RBL really piss off the spammers. All client-side filtering is counterproductive and ultimately useless as you constantly have to update the systems to catch new efforts on the part of spammers to thwart the filters. At least with RBLs, the spammers' connections are immediately refused as soon as they're ID'd.

    If you want to identify what is the most effective solutions, it's simple. Look at what pisses off the sleazebag spam community the most. That's relay blacklisting. They don't DDOS the moronic client-side filtering companies because the spammers know they're useless, and even if they're not, the spammers can't tell. What hurts them are when systems say, 'screw you spammer, (click)' and that's done via relay blacklisting.

    Why are spammers increasingly changing mail relays and pursuing open proxies? Because of RBLs. Even AOL uses RBLs (including Spamcop). All the major ISPs look at the RBLs because they are THE most effective way of stopping spam. And they're the only way to actually shut down the spammers.

    Forget client or server-side content-based filtering. They will NEVER work. RBLs are responsible for forcing spammers into corners of IP space, forcing them to deploy worms and viruses to infiltrate new IP space (which exposes them to more prosecution). RBLs ** WORK ** !

    1. Re:most effective by mabu · · Score: 3, Insightful

      Amen.

      Shaw is a spam haven.

      Comcast is a spam haven.

      Virtually all IP space in Korea.

      When you start doing IPLOOKUPs of the spammers you begin to see a pattern of which ISPs don't have their shit together.

      Why did Comcast start cracking down on spammers? It was probably because admins like us stopped accepting mail from their business customers because they were embedded in the DSL IP space that spammers have compromised. Do you think Comcast gives a damn about spamming? No. But if you start making their IP space unuseable by legit companies, then their buttom line is hit.

      Blacklisting WORKS. Unless you run your own mail server, your opinion doesn't matter. Run your own server, deal with these sleazebags every single day, bombarding your systems with their crap, then talk to me about BS client-side filtering.

  11. Re:Of course there is by whereiswaldo · · Score: 3, Insightful

    Maybe you develop some whiz-bang image recog program that can take amazingly distorted text and figure it out. If it takes 5 minutes to process a box, it does you no good anyways, too much time to be worth it for this use.

    Not really. Since spammers are now into the illegal business of commandeering people's computers using viruses and trojans, it would be an easy step to have them process distorted images and feed the results back to some web site.

    It wouldn't even take that many computers to send a lot of spam out even at 5 minutes per. Say you want to send 1 million emails. 1,000,000 / 5 minutes = 138 days. If you have 138 computers, you can send out 1 million spams per day.

  12. Re:Proof? by Elwood+P+Dowd · · Score: 4, Insightful

    Challenge / response systems are broken anyway, even if spammers can't break it.

    Why? Because from: is forgeable, and viruses use other people's real addresses constantly. Every day, one of my 40 spam emails is a C/R email from someone that I've never heard of. Am I going to click the link and authorize my email address? Fuck no. But I'll never be able to send email to that person. I realize that's a *tiny* incidental, but it's still broken by design.

    If your C/R system includes a solicitation to purchase said C/R system, you're a fucking spammer. Fuck you.

    --

    There are no trails. There are no trees out here.
  13. Re:Not for all, but a good start.. by mabu · · Score: 4, Insightful

    From spoofing verification won't make a difference... it'll slow down mail services and won't make a dent in spam.

    Spammers are now rotating IP space all over the place... they're also beginning to NOT forge header information, so what are you left with?

    Recognizing rogue relays and blacklisting them, even if they have valid header information. Any improvement to SMTP protocol won't make a bit of difference.

    Most mail servers and large ISPs are already employing additional methods of header-verification. It hasn't stopped spam.

    RBLs ARE working. They're making spammers scramble for un-blacklisted IP space. That's why they're running overseas; that's why they're sending out worms and viruses. Lord help us if IPv6 gets introduced... we'll never be able to stop spam then.

  14. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  15. The spammers weak spot is the money he makes. by sbaker · · Score: 4, Insightful

    I think we are attacking Spam from the wrong direction. Attempting to stem the flood of incoming spam is tough - everything about the identity of the incoming spam can be faked. However, we could alternatively attempt to prevent the replies going back the other way.

    There are two inevitable facts:

    1) In order for spamming to be worth someone's effort, they have to somehow get money from people. If NOBODY replied to them, then spamming would stop overnight.

    2) Something in the content of the Spam must be real - a reply address - a web site, a phone number or something. Block traffic to that location and the spammer gets no money and dies.

    Hence, I think they may be vulnerable. Educating people not to reply to SPAM would help - it only takes a mere handful of people to respond to a SPAM to make it profitable - but if education could drop that handful to a mere one or two - then we could succeed in putting more spammers out of business simply by cutting their margins to the point where it wasn't worth the hassle.

    Where are the TV adverts: "Replying to Spam is Bad!"....we know that the morons who reply to spam are suckers for advertising - they are as likely to believe a well targetted TV advert as a crappy email shot. If Spam is costing the ISP's as much as they say it does - then funding some TV ads might not be impossible.

    What if we made it illegal to respond to an emailed advertisement that was not clearly labelled as such, that would help to deter people from responding. Such a law would be next to impossible to enforce - but we are trying to deter the gullible here - so it might not have to be enforcable - just very well advertised.

    Since every SPAM has to either advertise a product that you can buy from somewhere - or direct you to a postal address, a phone number or a web site - then that route for getting money back to the spammer could be blocked.

    The return route has to be genuine. There is no point in them sending you a fake phone number or faked web address. If the phone companies (who are often also ISP's - or have at least some cause to want to kill spam) were to block calls to and from phone numbers that were seen in Spam - then the reverse route for the money would be curtailed. Whilst you can afford to change the aparrent source of your spam and fake those addresses for each new mail shot, you can't change your phone number for every couple of dozen orders you take. Similar considerations apply to web sites and postal addresses.

    If it was required for credit card companies not to transfer money to businesses that employed spammers to push their goods - then that would also help some.

    It wouldn't take many people to deliberately reply to spammers - to lead them on into thinking you want their product - to send them fake cheques or bogus credit card numbers. If they only get a handful of positive responses per million spams - then it wouldn't take more than a few determined people per million (eg ISP employees) to clutter up the the spammer's cash collection mechanism to the point where it's too much hassle for him to sort out the real orders from the bogus ones.

    I don't pretend to have all of the answers - but there seems to be far too little creative thinking along these lines.

    --
    www.sjbaker.org
    1. Re:The spammers weak spot is the money he makes. by sbaker · · Score: 3, Insightful

      1. Most spammers use faked email address, they DO NOT suppose you to answer them. They want you to click the link, they want you to buy something, they want to install some spyware, adware or what-so-ever-ware on your computer!

      I agree that the email address they give is likely to be faked - but my point is that in order to make money, SOMETHING in that post has to be real. If not the email address then the postal address, phone number, web site, etc.



      2. Who can block the phone call to a certain number, who can block everyone's access to a certain website, and who can block a real physical position (address)?

      The government could pass laws requiring phone companies, ISP's and the US mail to block traffic to people who have been logged as advertising illegally via email. It would require an efficient method to collect these addresses and automation to do the banning - but that's within the bounds of technical possibility.


      A spammer can change his email address for every spam he sends - but he can't change his web site that often - and he certainly can't keep changing his phone number, physical address or bank account. I read somewhere that 90% of spam comes from just 600 people. It can't be that hard to block the money going back to those 600 people.



      Spammers make profit in the hope that 0.000001% of the receivers would click the link, make a phone call, or write a snailmail to that address.

      Yes - exactly. But if you can add a couple of zeroes to that 0.0000001% then it won't be worth their while. If every million email spamshot nets them 50 orders (a number I read somewhere as typical) - then they can make just a couple of bucks on each order and they have earned $100 for the time it took to type a single Spam and to run their system to send it. That's good money.


      However, if you can get the numbers down to where they have to send several different mailshots to get even one order - then it starts to look like a pretty unprofitable business model and they'll stop doing it.



      It seems that you don't understand how spamming works. This is a social problem, and cannot simply be "blocked".

      I think I do understand how it works. I absolutely agree that blocking the spam isn't the answer - and that's my entire point. Removing the spammer's motive for sending the spam in the first place is the only answer IMHO.

      --
      www.sjbaker.org
  16. Yes, of course... by michaeltoe · · Score: 4, Insightful
    This is similar to the argument that a computer cannot determine when it's in an infinite loop. Humans, however, can... because they are impatient, and given time, will reexamine the code that is executing.

    Naturally we may be inclined to believe that this grants us superiority to the computer. That, while stating some arbitrary facts taken from some textbook somewhere, a computer can never accomplish X objective.

    Therein lies the fallacy. The computer does not identify that it is in an infinite loop, nor can it, because it is not given the benefit of looking at the actual code. If a compiler were designed to read into code for things like while(true) loops, which naturally could result in infinite loops, then already you would be cutting back on the instances of these problems.

    Determining if there is an infinite loop requires a conscious understanding of the code itself, which is no trivial matter. It is not, however, something that could be deemed impossible.

    As with all fields of science, there will be those who say "Well, I haven't seen it yet, so it will never happen"... but skeptics are everywhere, and the presence of skepticism is hardly a measure of credibility... rather, a measure of how pious certain peoples assumptions are.

    Solutions are always found in math, and never in magic. Don't underestimate the computer, and more importantly, don't underestimate your own brain. You don't perceive things the way you do 'just because'... and that's what's so exciting.

  17. Re:Don't forget SMTP+AUTH by zcat_NZ · · Score: 3, Insightful

    TCP is NOT flawed. Sure you can spoof a packet or two, but (assuming reasonably strong sequence numbers) you can't fake a whole connection unless you are actually getting the reply packets.

    mail is likewise not flawed; It is fairly hard to find an open relay these days; it is all-but-impossible to find one that doesn't put your IP address in the headers. That's your _REAL_ ip address. The one that ends up in RBL's so nobody accepts your mail any more.

    The big flaw is home users; they keep getting pwn3d. And you can't even blame Microsoft for this any more. The viruses are arriving as a zipped, passworded attachment FFS. We've long since passed the realm of just clicking on an executable!

    Here's how I see it; the antispam community were on the right track from the beginning. Blacklisting has made it impossible for spammers to spam from their OWN connections, even overseas, and pushed them to finding home users (to spam from, or to attack the blacklist sites). Now they're talking about changing the entire mail system, persuade thousands of users to change the way they do email? Hell no, we've almost won. We just need to educate enough END USERS not to get pwn3d, with the result that the DDoS attacks get cut down and the remaining much smaller number of spam sources can be more efficiently blacklisted.

    Or we can force one more 'wafer thin' kludge onto the entire mail system, which the spammers will just find a way around next week anyhow.

    --
    455fe10422ca29c4933f95052b792ab2
  18. Is this really an expert view? by Tamor · · Score: 3, Insightful

    When I took a look at the first of these two articles which examines end-user anti-spam solutions I had to wonder if the writer had actually tried any of the technology or was relying purely on hearsay. For example:

    Spam senders and their bulk-mailing applications are not static -- they rapidly adapt around filters. For example, to counter word lists, spam senders randomize the spelling of words ("viagra", "V1agra", "\/iaagra"). Hash-busters (sequences of random characters that differ in each email) were created for bypassing hash filters. And the currently popular Bayesian filters are being bypassed by the inclusion of random words and sentences. Most spam filters are only effective for a few weeks at best

    This is the view of someone who clearly has no experience at all with a high-quality Bayesian classifier like POPFile. I've been using this program for almost a year and it most certainly has not been defeated by random words or spelling. Many of the tokens that trip email as being spam are actually unusual items in the headers or sales terminology. After a very brief training period POPFile has continued to provide me with excellent protection from spam and malicious email, with only a few false negatives to retrain on.

    If that's not a good end-user anti-spam solution then I don't know what is.

  19. Sorry Won't Work by Battle_Ratt · · Score: 3, Insightful

    Two words, Joe job.

    Any one of these "solutions" can be exploited to hurt legitimate business. Simply send out a spam campaign on behalf of XYZ company with legitimate credentials, and watch the chaos and disaster at the company as phone lines are cut, merchant accounts cancelled, etc.

    Spammers have already done all sorts of illegal activity to continue their frauds, what's one more to cut the knees out on the competition, or the competition of their customers.