Slashdot Mirror


The Growing Field Guide To Spam Techniques

Aneusomy writes "From Activestate: 'Compiled by Dr. John Graham-Cumming, a leading anti-spam researcher and member of the ActiveState Anti-Spam Task Force, the ActiveState Field Guide to Spam is a selection of the tricks spammers use to hide their messages from filters, providing examples taken from real-world spam messages.' The hope is that Activestate and others can contribute to continually expand this guide, so that anti-spam filters improve."

84 of 321 comments (clear)

  1. "Tricks?" by agent+dero · · Score: 2, Interesting

    I also thought it was pretty easy to spot and eliminate SPAM offering my mom to "Add 3inches to your penis today_________________12312vxas"

    Or to eliminate javascript enabled e-mail.

    SPAM is not quite a science. It's skript kiddie stuff, meaning it's not too hard to do just some open relays, and mass e-mail lists you can buy from AOL.

    --
    Error 407 - No creative sig found
    1. Re:"Tricks?" by wiggys · · Score: 5, Interesting
      You miss the point comletely. Any reasonably normal intelligent human being can spot and delete spam - that's never been the issue. The point is that spam is annoying and can be very time consuming for a human to deal with, which is why computerised spam filters were created.

      The first generation of spam filters were crude and simplistic - they would delete an email based on the sender, or maybe one or two key words. This isn't effective because spammers rarely use their own email addresses in the "Reply to" field, and deleting all email which contains the words "marketing" or "investment opportunity" is likely to delete legitimate email. Besides, spammers can easily get around this by altering words in such a way as to delete filters (V*I*A*G*R*A is easily read by a human but a computer looking for "viagra" and "viagara" would not stop it)

      The best spam filters today use Bayesian filtering to eliminate spam: you train the filter by giving it a pile of email and telling it these are genuine, and another pile and saying these are spam. The filter then looks through the mail and gives certain words a weighting - if most spam contains big red letting with words like "investment", "click here to be removed" and "penis enlargement" then it would score highly and be given a higher probability of being marked spam. Email containing words with your name in it, or words relating to your life or work, would be given a higher probability of being called spam.

      And for crying out loud, "spam" is not an acronym so stop writing it in upper case!

      --

      Sorry, but my karma just ran over your dogma.

    2. Re:"Tricks?" by dillkvast · · Score: 5, Funny

      And for crying out loud, "spam" is not an acronym so stop writing it in upper case!

      Actually writing it uppercase suggests that you are crying it out loud.

      --
      Scitne aliquis remedium potimum crapulae?
    3. Re:"Tricks?" by Oddly_Drac · · Score: 2, Insightful

      Anyone else tickled by the fact that downloading the whitepaper requires an email address?

      --
      Oddly Draconis
      Too cynical to live, too stubborn to die.
    4. Re:"Tricks?" by DazzaJ · · Score: 5, Informative

      Hormel Foods has this to say on the subject

      "We do not object to use of this slang term to describe UCE (unsolicited commercial email), although we do object to the use of our product image in association with that term. Also, if the term is to be used, it should be used in all lower-case letters to distinguish it from our trademark SPAM, which should be used with all uppercase letters."

      so....

      "SPAM" is Pork and Ham
      "spam" is unsolicited email

      "SPAM SPAM SPAM SPAM
      SPAM SPAM SPAM SPAM
      Lovely SPAM, wonderful SPAM!"
      is a Monty Python song

  2. Dirty Little Secret by Anonymous Coward · · Score: 4, Funny
    The dirty little secret about spamming that you never read on Slashdot is that spammers use Linux systems to generate the spam and Linux mail relays to send it.

    Linux and Linus Torvalds are more responsible and liable for spam than any other single entity. Personally I use IIS 6.0 which is secured against any external threat.

    1. Re:Dirty Little Secret by JamesO · · Score: 4, Funny
      You're a friend of someone who used to be a spammer?


      That's what I call a dirty little secret...

  3. ActiveSpam? Real world spam? by jkrise · · Score: 2, Interesting

    From the article:
    the ActiveState Field Guide to Spam is a selection of the tricks

    The words Active, Smart, Rich etc. are part of MSspeak - leave a bad taste..

    providing examples taken from real-world spam messages.

    Why not fictional world spam messages? You mean, all those enlargers I got over mail weren't real-world! Boo-hoo....

    -

    --
    If you keep throwing chairs, one day you'll break windows....
  4. Block spam by ftvcs · · Score: 5, Informative

    I use Thunderbird, and found it to be a good system.
    Before I used PopFile but he blocked some good mails. That was reason enough to drop it..

    1. Re:Block spam by CGP314 · · Score: 2, Informative

      Really? I've never had a problem with popfile. Plus the advantage of popfile is it is a general mail classifier, not just for spam. So it will sort mail into different types.

      One thing I use this for is mailing list. Instead of just saying 'all email from this address goes to this folder' I used popfile to sort the messages into 'probably of interest to me' and 'not of interest to me'. Really great for groups that get spammy posts to them.

    2. Re:Block spam by halr9000 · · Score: 3, Interesting

      I would try harder on POPfile. No offense, but you probably did not train it very well. I'm up to greater than 97.7% correct filtering with POPfile.

      Besides, who wants to switch mailers to block spam? That's kinda drastic. You can use POPfile with any mailer. (Haven't tried TB, but I'm a big fan of FB.)

  5. Does making this public help spammers? by Anonymous Coward · · Score: 4, Insightful

    Just a thought, but....

    Making it public, the methods used to intercept and filter spam will always mean spammers are one step ahead. If they know the strategy behind those stopping them, then that only helps them.

    Is there a better way?

    1. Re:Does making this public help spammers? by GigsVT · · Score: 3, Insightful

      This is an interesting question, it's similar to the security vulnerability full disclosure arguments, but with a couple differences, a spammer that is using a technique is broadcasting how to do it to nearly everyone anyway.

      It's also different from security in that the spammer has no motivation to keep the method secret, it's worthless unless it is used to send spam. Contrast that with the security disclosure problem, in that there is a large motivation to keep a vulnerability secret and use it covertly on specific targets.

      I'm leaning toward the idea that this really won't help spammers much, but with the caveat that it really doesn't help spam filter writers much either, since looking at the spams you get would make it obvious what techniques were being used anyway.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:Does making this public help spammers? by dillkvast · · Score: 2, Interesting

      Don't agree. This is sorta the same as the idea behind "full disclosure" of security issues. The underground know all the tricks, and thus it is better that the sysadmins out there also have some idea of whats going on. This keeps us (the filtermakers more exactly) one step closer. Alot of these filters are OSS anyway. So the spammers can design there spam to circumvent the filters. They can even buy properitary filters and just test against them when designing spam.

      --
      Scitne aliquis remedium potimum crapulae?
    3. Re:Does making this public help spammers? by ptbarnett · · Score: 3, Informative
      If I were a spammer, I would just download SpamAssassin and check the content analysis algorithms. I don't think it's too difficult for them to get their hands on anti-spam software.

      If SpamAssassin did nothing but content analysis, that might work. But, SpamAssassin (by default) also checks several real-time blacklists and uses Bayesian filtering.

      I've found that it's the combination of all of these factors that identifies almost every spam. I've had only two or three spams slip through in the 3-4 months since I installed SpamAssassin, with no false positives.

    4. Re:Does making this public help spammers? by bhanafee · · Score: 2, Insightful

      How do you know there have been no false positives? Are you reading your spam?

  6. Getting worse by BenjyD · · Score: 5, Interesting

    I've definitely noticed that my spamassassin filters are getting less effective. Six months ago, it was rare to see a spam that didn't get caught. Now maybe 10-20% get through.

    As I use a sensible email client that doesn't render HTML by default, I can't even read the text of the spams anyway.

    1. Re:Getting worse by Ed+Avis · · Score: 4, Interesting

      Yes - it looks like the majority of the 'spammers' tricks' listed are silly HTML tricks. From the messages I receive, a good rule of thumb is that HTML format implies spamminess. It might be different if you regularly have to communicate with Outhouse users.

      HTML rendering was added to Pine only fairly recently. Given the quantity of HTML spam out there, it might have been a mistake.

      --
      -- Ed Avis ed@membled.com
    2. Re:Getting worse by Anonymous+Custard · · Score: 2, Insightful

      HTML rendering was added to Pine only fairly recently. Given the quantity of HTML spam out there, it might have been a mistake.

      I think that spam filters should perform HTML rendering before processing the message, or at least strip out anything in <sneaky tags> before analyzing a message. There's no excuse for something as simple as "via<invisible comment when html rendered>gra" getting through a filter.

  7. HTML mail is evil by trikberg · · Score: 5, Insightful

    Most of the tricks in the article (yes, I read it) require the mail to be in HTML format. If they were not, filters would be much more effective.

    I don't remember ever receiving an e-mail that actually had any content requiring it to be HTML. It would be pretty sinple to set up a mail server to bounce any incoming (or outgoing for that matter) HTML mail with a friendly notice that the server does not accept HTML mail, and to please try again using ASCII. The problem is that there are plenty of people who have no idea what they are supposed to do at that point.

    Also I wonder if it could be effective for filters to detect whether such obfuscation is used rather than try to parse the contents and filter based on that. Many of the methods used are pretty obvious if you try to detect that specifically.

    --
    This post is free (as in cheese in a mousetrap).
    1. Re:HTML mail is evil by Quixote · · Score: 2, Interesting
      I don't remember ever receiving an e-mail that actually had any content requiring it to be HTML.

      Until recently, I thought so too, till I ordered a laptop from HP. Their ordering system sends all the notices (order being processed, shipped, etc. etc.) in only HTML.

      One would think that a company like HP with its resources would know better, but... <sigh>

    2. Re:HTML mail is evil by trikberg · · Score: 2, Informative

      I think you misunderstood my point. I do receive valid e-mail as HTML-only on occasion. That mail has however _never_ had any content that couldn't be presented as clearly and easily in plain text, which is what I was getting at.

      This amounts to little more than an annoyance in itself, but means that I can't filter mail by throwing away everything of type text/html. If it comes from a commercial company (while still being valid) they are less likely to see my money again.

      --
      This post is free (as in cheese in a mousetrap).
    3. Re:HTML mail is evil by babbage · · Score: 3, Funny
      One of my favorite internet quotes is apropos here:
      Only an idiot doesn't go into his e-mail preferences and specify Plain Text instead of HTML. This is such a sane use of resources I believe it was actually mentioned in the Kyoto Accord.

      -Roger Ebert

      :-)

    4. Re:HTML mail is evil by hacker · · Score: 3, Interesting
      Funny. A couple posts up in this very thread you posted a couple of lines of sendmail config to do exactly this, bounce HTML mail. So which is it?

      As you know, blocking mail at the MTA is not a bounce. "A couple of posts up", I posted a bit of a sendmail hook that blocks (i.e. rejects before receipt) mail with the Content-Type of text/html. That is not a bounce. I am not regenerating an additional email, which would be sent to an incorrect (in most cases, innocent) recipient.

      Starting yesterday, my mail server has been thwarting an attack from 2,734 separate external machines, all trying to send a message to 3 non-existant users on 1 domain that I host which has 0 mail accounts, no website, and no users behind it. It's a registered domain pointed to my IP address, nothing more.

      So far today, we've received 15,833 separate attempts to send mail from these 2,734 hosts that my server has blocked (with a quick virtusertable hook to send them 'nouser'). The number of unique external hosts has been slowly increasing. It was 1,633 at the end of yesterday, and has now grown to 75% more than that number, up to 2,734 as I type this.

      THESE are bounces. Clearly someone has sparked off a trojan somewhere that was lurking inside a LOT of companies in a lot of machines (some of the domains are worldbank, dell.com, aol.com, etc., CLEARLY not spammers inside these companies, not THIS many of them) who are now trying to send this one message to these same 3 non-existant users at this 1 domain.

      I just checked again, from the time I started typing this reply, and we're up to 2,746 hosts trying to send this 1 spam message to these 3 non-existant users.

      So trust me, I'm well aware of the difference between blocking a message and bouncing a message.

      Are you?

    5. Re:HTML mail is evil by dwsauder · · Score: 2, Interesting
      Oh, I have to agree with you.

      Now, here's a funny story. I was at the FTC Spam Forum a while back. There were some of the more responsible email marketers there -- you know, the ones that send out regular newsletters for opt-in subscribers -- and they were whining and complaining because spammers have spoiled "rich" email for them. Just a few years back they had visions of eventually being able to send email with flash, animated graphics, fancy styles, and so forth. And now they realize that people don't want to receive those kinds of emails because of spam (and to some extent viruses). So they whined about it. I guess for them email is "push" marketing, while for the rest of us, email is a way to communicate with co-workers and friends. Who needs HTML to say "wanna go get some lunch?"

  8. My approach by gowen · · Score: 5, Interesting

    Bayesian filters are all well and good, and are -- for now -- effective. But given these tricks, the only really reliable approach I've found is IP blacklists for repeat offenders. If your machine is used to spam me, and my complaint letter is not answered in a satisfactory way (i.e. an email saying "We are sorry. The spammer has been cut off") I don't accept mail from you any more.

    And if you're on ATTBI, or Comcast, or PBI.net, or BT Openworld, or Chello, or any number of large ISPs with too much tolerance for spammers, and you're not on my whitelist, I can't read your emails.

    And I don't care. Get a ISP who don't shelter spammers.

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:My approach by gowen · · Score: 2, Funny
      because this is certainly true where I live, but what if ATTBI or Comcast happen to be the ONLY viable Broadband alternatives in your area?
      Then I'll probably never get to see email from you. You haven't lost that much, I'm not a very interesting person.
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    2. Re:My approach by bklock · · Score: 2, Insightful

      Using Text Classification techniques in a spam filter is overall a good idea. (Bayesian systems are only one system for text classification, but they seem to be getting all the attention when it comes to spam)

      The problem, though, is that they don't work on raw text. The text must first be 'featurized', using either a Feature Selection or Feature Extraction algorithm.

      The 'Bayesian' part of anti-spam filters is pretty robust, and should theoretically be able to handle almost all tricks spammers through at them, but the current state of Feature Selection is pretty embryonic.

      All of the tricks in the article fool the tokenizers currently used into producing features inconsistent between spams. No consistency == No classifier. The problem is that a email is not a 'bag of words', but we classify them as if they are.

      What we need, is to extract features which are more similar to the types of features a human looking at the message would use to make the spam / not-spam determination.

      There is a lot of ongoing research in this general area, but to the best of my knowledge, nothing has made it into spam filters yet.

      In the mean time, a lot can be gained but running the Feature Selector / Bayesian filter on the email after its been rendered. Ideally, the filter needs to see exactly what the user will. Anything less is a disconnect between the two that will allow spammers to get to the user messages that get past the filters.

      One good feature that could be extracted from an email and fed to a filter, would be statistical analysis results of rendered vs. not rendered text in the email. Look at the amount, type, and distribution of non rendered text, etc. in spam vs. ham

    3. Re:My approach by Vainglorious+Coward · · Score: 2, Informative
      the only really reliable approach I've found is IP blacklists for repeat offenders

      I also use IP blacklists (locally compiled and various RBLs) but this is becoming less effective as the spam gangs are moving to using their own army of proxies rather than the traditional exploitation of open relays or throw-away accounts. I'm not saying that ISPs shouldn't be responsible for what emanates from their networks, but these trojaned users are a very different kettle of fish than spammers having "pink contracts" with spam-friendly ISPs.

      --
      My next sig will be ready soon, but subscribers can beat the rush
  9. The ultimate spam filter defeater. by Anonymous Coward · · Score: 3, Funny

    I've often had spam get past every one of my filters, simply by being an innocuous subject (something like "Hi there, how's it going") and then a message body completely empty of any content.

    I thought that was a pretty impressive attempt by those nifty spammers. Cut out all the bits of spam I ignore (such as offering me crap, giving me html email, popups etc) but keeping the bits I really hate (getting pissed off at receiving spam at all)

    Well done kids, hope you keep it up!

  10. Render the HTML then use OCR by thelandp · · Score: 5, Interesting
    Here's a crazy idea... (but is it crazy enough?)

    All of these spamming techniques seem to involve visual tricks, because the rendered HTML is viewed in a very different way to a human than the plain text would be seen by the filter. Things like zero-height fonts, or white-on-white text, or just using one big image etc. etc.

    So how about this: I think every single one of these tricks would be defeated by using this process for filtering spam:

    1. Render the html to an image (not on the screen, just behind the scenes)
    2. Feed the image into OCR
    3. Then scan the OCR text for spam

    Sure OCR is not perfect, but since these techniques are imprecise already, maybe it would work well.

    Although I guess processing power is a limiting factor, but maybe someday this will be worth doing.

    --

    -- the only thing we have to fear is really scary things
    1. Re:Render the HTML then use OCR by hacker · · Score: 4, Interesting
      You could also just take the HTML, run it through a series of Perl modules (XML::LibXML, HTML::Lint, HTML::Clean, HTML::FormatText, etc.) and return just the textual representation of the content itself, and then scan/score that.

      Doing so would then compress whitespace, remove colors, and basically un-SPAM the SPAM. I do this for web content, which I need re-rendered as text-based articles before they are sent to the client. It's about 12 lines of Perl, and can be easily stuffed into a SpamAssassin milter. If you want some working code, feel free to contact me (I'm also for hire, so I can do this as c custom gig for you or your company).

      In fact, you could probably put a small function in your milter to just strip all HTML entirely, before the client ever sees it. There's no need to use OCR (and the overhead associated with it) to handle this, just turn the HTML back into text. It works with foreign, encoded, obfuscated entities, and should be no problem to correct before scoring.

    2. Re:Render the HTML then use OCR by Zocalo · · Score: 2, Insightful
      Alternatvely, you could just make the HTML parser aware of the tricks via some easily extensible mechanism and run the spam content detector on the output. For example:
      1. Receive HTML email
      2. Remove any HTML comments
      3. Remove any "non-standard" tags
      4. Remove any redundant tags ( Via<B></B>gra )
      5. Remove...
      6. Pass remnants to content filtering app.
      On the otherhand, any HTML email with an excessive HTML comment to content ratio is almost certainly spam anyway, and should probably be discarded as a result.
      --
      UNIX? They're not even circumcised! Savages!
    3. Re:Render the HTML then use OCR by babbage · · Score: 2, Informative
      Surely you aren't suggesting that it makes sense to OCR all the massive volume of mail that the average email server has to process every day, are you? That's like advocating a tactic that is bigger, slower, and not likely to be much more effective than just calling in a couple of lightweight Perl modules to get the same result.

      The main problem that OCR would solve is when the text is contained in an image file, but it really wouldn't solve it. OCR would break down for the same reasons that the new wave of "a word appears in distorted text in this image, type that word below to proceed" filters that some sites are beginning to use: picking text out of an image file can be a very tricky problem if that image wasn't made for readability (as most web graphics aren't). Rather, I'd argue that the very presence of one big image & no supporting text is a strong spam indicator, and you can go with that assumption without having to bring in the heavy OCR machinery (which might or might not be right anyway).

      I've been thinking that, if the idea is for spam filters to work on what the human sees, then the natural tool to use would be the standard html renderer that already is fine tuned for turning html (even wacky html) into rendered text. Rather than OCR, find a way to hook Gecko or KHTML into SpamAssassin and take it from there.

      The problem with this though is the same as the OCR problem, though I'm guessing not as extreme: embedding a full featured html engine inside of a network level spam filter is a massive amount of overhead to add to a process that needs to be able to handle massive realtime throughput.

      A more clever approach is to skip it and say that HTML itself is a spam indicator, if not an absolute one. But then there's a fine line to be found in determining which HTML mails are kosher & which aren't without resorting to a very heavy & still imperfect solution like Gecko or OCR. If it's all an image, trash it, but anything in between is going to take some strategy (and anything in between shouldn't need OCR).

    4. Re:Render the HTML then use OCR by Ben+Hutchings · · Score: 2, Interesting
      Doing so would then compress whitespace, remove colors, and basically un-SPAM the SPAM.

      That would defeat obfuscation of spam keywords. However, many of the tricks (such as using identical or similar colours for text and background) are ways to include un-spammy text that the filter will see but the human recipient won't. Converting to plain text leaves them in, but they should actually be ignored.

  11. Re: SPAM by ftvcs · · Score: 3, Funny

    You mean the "Search Pattern Assessment Model" method?

  12. insider help is the key. by professorhojo · · Score: 5, Interesting

    i had a friend who recently turned to the dark side and now boasts that his circle of friends include the biggest spammers in the world.

    and believe it or not, the biggest break these guys have had in the past year has been help from people on the "inside".

    to give you an example, an ex-AOL employer has written them a little proggy for these guys to send messages that makes the AOL mailservers think that the mail originated on the inside of the network (which means that none of it is spam checked or filtered.)

    their usual 10% deliverability to AOL.com suddenly went to 100%. make no mistake -- that was worth millions to 'em.

    1. Re:insider help is the key. by Anonym0us+Cow+Herd · · Score: 2, Insightful

      that was worth millions to 'em.

      I am skeptical that spammers have millions.

      If you really could get rich as a spammer, then everyone would be doing it. It would be too good to be true. Sort of like free P2P music. Everyone would be doing it.

      If they had millions, there are far more effective ways to advertise whatever legitimate product that people are buying in such volume as to make them their millions. Or were you referring to millions of Iraqi Dinars?

      --
      The price of freedom is eternal litigation.
    2. Re:insider help is the key. by Lord_Dweomer · · Score: 3, Funny
      "i had a friend who recently turned to the dark side and now boasts that his circle of friends include the biggest spammers in the world. "

      Could you please post his name and address? You don't have to do anything to him, I'm sure Slashdot will take care of it. Its not like it would be bad...we'd just be giving him the opportunity to receive many great offers on products he may be interested in.

      --
      Buy Steampunk Clothing Online!
  13. Easy Solution by grennis · · Score: 3, Interesting
    If you try to keep up with HTML tag tricks, you will always be one step behind.

    Why not have your spam filter render the HTML in an offscreen buffer (using existing browser/plugin API's), than pull the straight text out of the rendered document and run the filter on that?

    1. Re:Easy Solution by iapetus · · Score: 3, Interesting

      Why not just ditch the whole sorry concept of HTML e-mails? Seems like a better solution to me. Can't quite do that yet, but as a bare minimum HTML image tags (and anything else that makes a request automatically to a remote server, thus confirming the validity of your e-mail address) should be ignored.

      --
      ++ Say to Elrond "Hello.".
      Elrond says "No.". Elrond gives you some lunch.
    2. Re:Easy Solution by Technician · · Score: 3, Insightful

      spam filter render the HTML

      NEVER! Why would I want my client or server validate my address by visiting ther site to fetch some visual. I'd rather have it show up as a dead letter unopened and deleted.

      --
      The truth shall set you free!
  14. Intresting article by WegianWarrior · · Score: 3, Insightful

    who can possibly resist if the word "Free" is in red and bold? Well, me for starters. Still, this one line of the article is taken from the opening, describing a more serious problem; the fact that much spam uses so called 'enchanted email', that is HTML-mail. For all the other bad thing about that, the one thing I find most sinister is that it is easy to have the html-code pull a picture or something from a remote server; thus making it easy to validate your e-mail adress (logicaly, if you open the mail, the adress they sendt it to is active). In short, banning 'enchanted email' would lessen the amout of spam, as well as the bandwith it steals.

    Apart from that I got a chuckle out the fact that spammers now seem to be speaking 1337;
    Ze Foreign Accent
    What: Replace letters with numbers or use nonsense accents
    Example from the wild:

    V1DE0 T4PE M0RTG4GE

    Fántástìç -- eárn mõnéy thrôugh unçõlleçted judgments

    The best spamfilter - withthe least false positives - are the one most people of common sence has between his ears. Anything else are mearly sorting your mail according to a fixed set of rules.

    --
    Everything in the world is controlled by a small, evil group to which, unfortunately, no one you know belongs.
    1. Re:Intresting article by DukeyToo · · Score: 2, Interesting

      Actually, your last statement (or is it a tagline?) has been shown to be incorrect! Bayesian filters can actually be better at sorting mail than a live person. Probably because they do not use a fixed set of rules.

      A while ago when I was researching mail classification techniques, I saw a study that compared the accuracy of some classification techniques. The study took mail that had been manually classified, and compared that to how a several trained filters classified the mail.

      They found, as a side-note, that the filter actually did a better job than the people they got to manually sort the mail!

      I'm not much for the details, so no URL for the study, sorry :(

      In any case, reading emails manually defeats the point, especially for my poor mom who is horrified by some of the messages she recieves.

      --
      Most writers regard truth as their most valuable possession, and therefore are most economical in its use - Mark Twain
  15. Re:Does not explain purpose of trick by Anonymous Coward · · Score: 5, Informative

    One purpose of hiding text is to fool anti spam filters.

    Let's say that everything between '[/]' is visually hidden. I can send you the message:

    Fre[dom for th]e pen[ and th]is enl[ist l]argement.

    The 'filter' will see:

    Fredom for the pen and this enlist largement.

    The user will see:

    Free penis enlargement.

    Cheers,

    --fred

  16. What a waste of effort by Zog+The+Undeniable · · Score: 3, Interesting
    If spammers have to go to such great lengths - and some of this stuff is admittedly clever - to get spam through, has it not dawned on them that 99.9% of people don't want to receive it? Perhaps we should ignore the spammers and target the 0.1% of idiots who actually reply and end up buying "generic Viagra" and septic tank cleaner. It reminds me of that Simpsons Hallowe'en episode with the giant advertising figures destroying Springfield. If everyone ignores them, they will die.

    I still favour going after the people paying the spammers rather than the spammers themselves...unlike the big spam rings, they at least have to be locatable, otherwise they'd never be able to sell you stuff.

    --
    When I am king, you will be first against the wall.
    1. Re:What a waste of effort by Mostly+a+lurker · · Score: 2, Insightful
      Perhaps we should ignore the spammers and target the 0.1% of idiots who actually reply

      It seems logical, but the economics of spam are such that even one sale per million e-mails gives them a big profit. No matter how many idiots you can reach to discourage from replying, there are still going to be some who fall through the cracks.

      I do not think spam will ever be eliminated entirely. Eventually, though, mechanisms will be put in place to allow the situation to be brought under control. Perhaps something along the lines of ...

      1. Most regular e-mail using encryption.

      2. Spam detection of unencrypted e-mails built into the Internet infrastructure itself at various levels The objective would be to identify spam attacks as soon as (and as close to the original source) as possible. Methods analogous to those used today for control of DDOS attacks would then be employed.

  17. Re:Does not explain purpose of trick by BFKrew · · Score: 3, Interesting

    From what I gathered, it demonstrates two things:

    Firstly, the techniques spammers will use to display the text in the email so that the end user will be able to view the text in the email.

    Secondly, it demonstrates how using the above approach they are trying to trick spam stopping techniques from working. For example, instead of having a email titled "Free viagra" you could write it as "F*r*e*e V*i*a*g*a*r*a" in an attempt to stop a spam stopper from spotting Viagara as easily in the title. In the body of the email you could write the html in such a way that decifering any words is quite tricky, eg writing Viagara as (font size="2")V(font size="2")iaga(font size="2")ra(/font) etc. Certainly to say spotting all variants of 'hiding' such words is not as simple as you might first think.

    It certainly gave me an interesting insight into the problem that it is, and how the spammers are trying and continually evolving their techniques to ensure they can carry on.

  18. Re:Does not explain purpose of trick by alistair · · Score: 5, Informative

    I think the purpose is to vary the hidden text to fool anti-spam systems which rely on blocking mail based on signatures of the message body.

    If you send 150,000 messages which say "Free Porn Here" systems such as Britemail are going to quickly generate one signature for the mail and block most of it. If however you have the following example (using the fictional HTML HIDE tag)

    Free [HIDE] from your meeting at 10:30 [/HIDE] porn [HIDE} cate suggested meeting for coffee [/HIDE] here [HIDE] I will be in work late today [/HIDE}

    The message is still displayed in the browser as "Free porn here". However, filters such as those used by Mac Mail and Mozilla may not pick it up as junk because the hidden words look like real email. If you change the hidden sentences every 100 emails then the signature based spam blocking systems won't pick it up as every signature is different and (in this example) you are using real words.

    One of the best solutions to this I have seen is KMail, this displays HTML mail as text and you can click a button to then render as HTML. This doesn't stop the spam, but does give you the abaility not to see many images you rather wouldn't at 10am on a Monday morning and allows you to stop web bugs (HTML code in images which can be used to indicate successful message delivery).

  19. Spammers using the anti-spam tools by dimer0 · · Score: 4, Interesting

    I helped this lady out who had a 100% opt-in mailing list, but some people weren't getting their mailings... We came to find out the emails were being flagged as spam, so, I set up a dummy email account for her than took every inbound message, sent it through spamassassin (with verbose reports, etc) - and then sent the email back to her.

    Now she can see if there's a problem with the headers, the content of the email, etc - so she tunes the email to get the lowest spamassassin score. (You know, the last major version of spamassassin took off points if you put your email client header as being Mozilla! Hah.. That one is gone now)..

    This lady definitely isn't a spammer tho, just someone with a small mailing list of 100% opted-in people.

    I'm sure spammers do the same thing. I would.

  20. Re: SPAM by Anonymous Coward · · Score: 5, Informative
    The official meaning of SPAM in terms of the Internet is "Self Promotional Advertising Message."
    Rubbish - that's an acronym after the fact. The real meaning is that receiving that sort of message is as annoying as having a bunch of Vikings shouting "spam, spam, spam, spam" and drowning out your conversation. Anyone tells you different, they're a n00b to the net and you should ignore them.
  21. Use NOT for a filter by TheVampire · · Score: 2, Interesting

    My filter works 100% of the time. If the mail does NOT include a certain series of letters and numbers, then the mail is deleted. The people that e-mail me know to include that in the mail, so their stuff gets through. Of course, if you want to subscribe to lists, then this sort of thing won't work.

    1. Re:Use NOT for a filter by Fuzzums · · Score: 2, Interesting

      also this will only work for private mail.
      i can imagine a (not-spamming) commercial website telling people to put "qwerty" in their e-mail. not.

      but the idea is whitelisting. only allow a selected group of people to send you mail.

      for a company i can imagine the use of a html-form to "send" mail. for spammers it would be too much trouble to find a lot of those forms and write scripts ao spam them.

      --
      Privacy is terrorism.
  22. I noticed a new one recently by AssFace · · Score: 5, Interesting

    It isn't that this new one that I saw was all that amazing an idea, I just hadn't seen it until recently. It is such an obvious idea that I don't know why I haven't seen it until more recently.

    They send the mail as you. Fake the headers and make it look like it is from you. To you. From you.

    I had our local setup here allowing in anything that was from our domain. Now I have to stop that.

    I suppose the spammers saw that people were allowing their own domains and set it up that way.

    On a side note and not all that related, I've noticed that I am getting (about once a week) an e-mail from a bank - citibank, or wells fargo, telling me that my loan application has not been approved, see details attached.
    Now, I haven't been applying for loans, and the file attached is a *.pif file... which are notorious for being viruses, and not a format that a bank will send you.
    Not to mention that looking at the headers, they usually come from attbi.com which is cable modems, and I have seen through Compuserve as well - which aren't exactly how banks usually do business.

    --

    There are some odd things afoot now, in the Villa Straylight.
    1. Re:I noticed a new one recently by realdpk · · Score: 2, Interesting

      What's most impressive about those .pif spams from "Wells Fargo" and "Citibank" is that the spammer uses good grammar and spelling. This is an incredible leap in spammer technique that I'm surprised has not received more attention.

  23. Follow the money by SirLanse · · Score: 3, Interesting

    Someone is paying the spammers to spam. They usually have a URL in the email. Set up a screen saver to DDOS the payer. FOLLOW THE MONEY, make it bad to buy spam.

  24. SPAM filtering by ajs318 · · Score: 2, Interesting
    By cunning use of procmail recipes and ten-minute perl hacks, we can implement a spam filter as follows.
    1. Check headers for signs of relay-misuse.
    2. Strip out anything between <mustang> signs; s/(\<.*\>)//g;
    3. Strip out all remaining punctuation.
    4. Use a tr/// to convert accented characters to unaccented.
    5. Recall that when used in a scalar context, s/// and tr/// return a count of successful changes made.
    6. Check for certain words in the munged text.
    We can assign messages a score based on how many "nasties" were removed as compared to how many would be in a legitimate e-mail. Then despatch to one of three mailboxes: one for stuff we are sure is legit, one for stuff we are sure is spam, and one for stuff where we aren't sure. If we wanted to be really paranoid, we would strip out image links and JavaScript from HTML e-mails. It's not inconceivable that an image link could actually be a link to a CGI script with a unique identifier embedded into it, for the purpose of alerting the spammer that copy # 31337 {faute de mieux} of the message went to a working e-mail address. {Possibility for mischief?}

    And if we were an ISP, doing this on a public server, we would allow our customers to send abuse notifications to the appropriate server owners {for all the good it's likely to do} with just a few clicks.
    --
    Je fume. Tu fumes. Nous fûmes!
  25. Why do they try to trick the filters? by fungai · · Score: 3, Interesting

    Someone please explain. People who have spam filters on don't want receive spam, and will most likely just ignore/delete any spam that does get through. Why do the spammers waste so much time trying to get past the filters? Is it to reach the unwashed masses behind ISP filters?

    1. Re:Why do they try to trick the filters? by Urkki · · Score: 3, Insightful
      They don't want it, but some of them might read some of it, if the subject is just right. And some of these might fall for it. If it's just 1% and 1%, and you send a ten million spams, that's already 1000 successful messages.

      And then of course quite a few people use filters provided by others (like ISP), since it's easy and spam is somewhat bothersome to them, but aren't still totally pissed about it and might read some.

      And of course, the less spam gets through filters, the more likely it is that this "successful" spam gets read, if users mailboxes aren't filled with it. So it's competition between spammers, survival of the most evil, so to say. And I suppose also when marketting spamming services, being able to say "we know how to send mail to all AOLers" is prolly helpful...

  26. Stupid Spammer Tricks by AndroidCat · · Score: 2, Informative
    Of course, any HTML tags in an email are a pretty good indication (along with other indicators) that it's spam and can be tagged and bagged. I do get an occasional valid email with HTML, but a little tuning or whitelisting will fix that.

    So a fat lot of good all those HTML tricks do you, eh spammers? (Are spammers stupid? Yes! It's Rule #3.)

    --
    One line blog. I hear that they're called Twitters now.
  27. linch mobs by Leahar · · Score: 2, Funny

    i think the only reasonable solution to this problem. is to switch to a spamer detarant system we could orginse lefleting compains out side there companys perhaps write deep and understanding letters explain our dismay at there actions, maby we could wrap the said leters around bricks or other solid objects to aid in there delevery through a window of aformentioned companys. we could take our dismay to the managed of the companys and set up some kind of dialog maby but not definalty involving two jump leads a car battery and a book entitled gonad electricution for dummys to get our point accross (done with the utmost respect of course) should the spamers still resist our polite but firm requests things would have to get more serious

    --
    Roses are Red Violates are Blue im not very good a poetry but i have many other redeming qualitys
  28. But does it need to be perfect? by JanneM · · Score: 5, Interesting

    I have on occasion misclassified mail myself, both ways. A few spams (uncolicited bulk emails) have been full enough of content that I have found interesting that I only after reading it realized this was not from anybody I knew. Conversely, I have a couple of times received mail which was for me , and was genuine, but so poorly formatted (lots of obnoxious html, strange subject and so on) that I deleted it as spam and only later came to understand it was a serious message.

    The point is, not even I can do spam classification 100% correctly. It would be a tall order indeed to have an automated tool do it. But does this matter? There are two issues: discarded genuine mail, and non-caught spam.

    Discarded genuine mail is not really as big a problem as people make it out to be. Mail is inherently not guaranteed; messages do fall between the cracks now and again. Swallowed by a buggy server, lost in limbo as a network connection goes down, never having a chance due to a misspelt or obsolete address, sent on a wild goose chase due to a temporary DNS error. Mail do disappear. Everybody knows that - or should know. Mistaking a mail for spam is just another crack for it to fall into. As long as the rate is low there really is no problem. And those doing mail that can easily be mistaken for spam will wise up eventually, as they see a disproprtionate amount of their email get lost in the ether.

    Missing spam is no real problem either. The big issue is having fifty spam in your inbox every morning, with another fifty arriving during the day. Having one or two a day, on the other hand, is not that painful.

    The point is, it is not a binary system: A spam system that misses two spams a day is better than one that misses five, and vastly better than having no system at all. Similarily, one that classifies one genuine message out of a thousand as spam is no disaster. Not good, but not a reason to shut it all down either. If reliability is _that_ important, what are you doing using email in the first place?

    Filtering isn't perfect. It won't ever be perfect. That's quite alright. Saying a technique is worthless because it makes an occasional mistake is throwing out the baby with the bathwater.

    --
    Trust the Computer. The Computer is your friend.
  29. Re: SPAM by Jafafa+Hots · · Score: 4, Funny

    Sexual Propaganda Aimed at Men

    --
    This space available.
  30. Avoiding spam of all kinds by doodleboy · · Score: 4, Informative

    This will all be blindingly obvious to most readers of /., but just for the record:

    Don't use your personal email address for anything online. Don't post to usenet with it, don't use it to register for anything, don't ever use it where there's any chance of it being sold to a third party or picked up by a web crawler. Use a free throwaway web-based account like hotmail or yahoo, that's what they're for. I have a verizon.net primary email address, and I've never received a single piece of spam from it.

    However, I still have a forward-only email address from my university circa 1992. Back then, there was no spam and that address has to be on every spammer's list on the planet. I still get a legitimate email every year or two, but spam outnumbers these by at least 10,000 to 1. SpamAssassin does a surprisingly good job of identifying the garbage.

    I also use a proxy to surf the web, as well as a large hosts file that reroutes requests to adservers to 127.0.0.1:80, combined with a utility that returns a transparent 1x1 gif to any request on port 80. And of course I use mozilla to block pop-ups and whatnot. I'm so used to surfing in this way that I always recoil in horror when I have to use IE on a naked, unprotected box. How on earth can anyone stand it?

    As for more traditional types of spam such as telemarketers, there's the national do not call list. It's free, so there's nothing to lose. You'll also want to check out the many excellent resources at the Junkbusters website. One of the most useful features is a Junkbusters Declare page, which builds custom form letters for you that you can use to opt out of Direct Marketing Association junkmail, as well as telling your financial institutions, etc., not to sell your name to third parties. I used it, it's painless, and my privacy is protected.

    Of course, it would be much better if we didn't have to jump through hoop after hoop just to get through the day without being pestered by morons.

  31. TMDA by TheSync · · Score: 4, Interesting

    After a while, SpamAssasin's false negatives and positives drove me to the Tagged Message Delivery Agent (TMDA).

    TMDA has flexible whitelist and blacklist capabilities. But the big win is that it can be set to autoreply to anyone not on the whitelist, and require them to reply back before allowing the email to get through. Of course, very few spammers have valid return email addresses...

    This may seem drastic, but in fact it has made life soooo much easier. It also helps you to "automagically" get off those email lists you signed up for a long time ago, don't really care about, and are too lazy (or lost the info) to sign yourself off ;)

    The only sad thing is that no longer do Russian women want to extend my length or give me free money or viagra, and I am no longer in contact with Ms. Sesse Seiko from Uganda...

  32. The key difference. by alistair · · Score: 4, Interesting

    The key difference is that KMail does this on a per message basis, whereas in Mozilla this is set once in Preferences and I suspect the same is true in Evolution. Thus looking at a HTML message I just received I get the following in a box at the top of the message;

    "Note: This is an HTML message. For security reasons, only the raw HTML code is shown. If you trust the sender of this message then you can activate formatted HTML display for this message by clicking here."

    The HTML code follows and a single click turns it into a fully rendered message, or an alternate click consignes it to the trash can.

    It may be possible to add this as a mozilla mail / thunderbird toolbar, and as Thunderbird takes off I hope we will see this type of quick prefs bar develop to the same extent they have been developed for the mozilla browser component.

  33. The one thing I never got was... by jdvernon1976 · · Score: 4, Insightful

    Why DON'T spammers remove us from their lists when we ask? They're working REALLY REALLY hard (with all the filtering, header forging, etc.) to send mail to people that don't want it. If they would just target their email to those who had indicated that they wanted it, and removed us that had indicated they didn't, they'd save themselves a lot of grief, as measured in legal and technical hassle.

    Granted, it's easier for them to ignore the "remove me"s, but is the trouble saved in 'not removing' >= the trouble spent in 'getting past spam filters'?

    Besides, if the mails were targeted to those that THOUGHT their penis was small and needed extension....doesn't that mean it's not spam anymore? And wouldn't that make their click-through (or whatever) rate higher, therefore making their own attractiveness as a bulk emailer greater to their customers?

    I'm just thinkin' here...

  34. MX records by MeNeXT · · Score: 2, Insightful
    I always wondered why we do not confirm that the sending IP matches the MX record of a domain.



    1. Most of the SPAM sent today has this little problem, where the sending server does not resolve to the IP which is listed in the header.



    2. It will permit people to first map a domain to an IP.(Makes it harder for a SPAMMER because now he needs to register a domain. Once the domain is used to SPAM it can then be blocked. All blocked domains can be easily maintained in a list and shared by ISP's



    3. Time is money. Moving domains from one ISP to another does not help the SPAMMER. The domain is blocked and the IP is identified. The SPAMMER has to be able to activate multiple domains, multiple DNS servers and such. The paterns will be easier to identify and it will be easier to block SPAM by either Blocking the Domain or the DNS server or all the IP's of a certain offending ISP



    4. In order to acquire a domain a payment transaction must occure. This can be traced if it's a credit card. ISP's who accept cash withou ID or who continually HOST SPAMMERS can be blocked. The work involved to acquire a domain may inclease the costs of a domain but I am sure that this will enable people to assign responsibility.



    While this system is not perfect and, yes it may cause some headaches for most, having sendmail match the MX record to the IP of the sendind server would eliminate almost 100% of all the SPAM that I have encountered in the last 3 months. We would still need to keep the existing anti-spam practices in place.


    When SPAMMERS find a way around this we can then address that issue when it's time.

    --
    DRM? No thanks, I'll just get it somewhere else...
    1. Re:MX records by Anonymous Coward · · Score: 3, Insightful
      I always wondered why we do not confirm that the sending IP matches the MX record of a domain.

      Because this isn't a reliable test.

      1. Most of the SPAM sent today has this little problem, where the sending server does not resolve to the IP which is listed in the header.

      Pay attention to your email some time. Lots of legitimate email doesn't match, either. Many companies and most hosting companies use one server for incoming mail - the server the MX record points to - and another for outgoing - one which doesn't have an MX record.

      2. It will permit people to first map a domain to an IP.(Makes it harder for a SPAMMER because now he needs to register a domain. Once the domain is used to SPAM it can then be blocked. All blocked domains can be easily maintained in a list and shared by ISP's

      Except that most spammers don't use servers under their control, anyway, so this test wouldn't work.

      3. Time is money. Moving domains from one ISP to another does not help the SPAMMER. The domain is blocked and the IP is identified. The SPAMMER has to be able to activate multiple domains, multiple DNS servers and such. The paterns will be easier to identify and it will be easier to block SPAM by either Blocking the Domain or the DNS server or all the IP's of a certain offending ISP

      Which also doesn't work, because the spammers don't use their own servers.

      4. In order to acquire a domain a payment transaction must occure. This can be traced if it's a credit card. ISP's who accept cash withou ID or who continually HOST SPAMMERS can be blocked. The work involved to acquire a domain may inclease the costs of a domain but I am sure that this will enable people to assign responsibility.

      A theory beloved of fascists and quick-fix pipe dreamers, but never actually proven to work in the real world. In fact, I don't know where this has ever worked, period.

      While this system is not perfect and, yes it may cause some headaches for most, having sendmail match the MX record to the IP of the sendind server would eliminate almost 100% of all the SPAM that I have encountered in the last 3 months. We would still need to keep the existing anti-spam practices in place.

      Then what's the freaking point? For me, and for most people I know, this would block about 40% of all *email*, spam and non-spam. The other 60% also includes spam and regular email, so you're not doing anything positive. And the current techniques, constantly improving as more and better filtering techniques become available (e.g. Bayes) already stop 99.9% of the spam I or my users receive. What else do you need? Why make sweeping changes like this to catch .1% or less of spam, particularly with the damage it would do to legitimate email?

      Amazing how all the people making these "brilliant" suggestions couldn't manage a real-world mailserver to save their soul. Running Sendmail on your home Linux box doesn't make you a mail admin.

    2. Re:MX records by ahodgson · · Score: 2

      A lot of sites send mail out from different servers than they receive mail in from. You'd need a new DNS record type to indicate an "authorized" sending server.

      Also, that only works if they send direct to your server. What if the person using the domain name sends through their ISP server from home? What if they send to a mailing list?

    3. Re:MX records by AnotherBlackHat · · Score: 2, Informative

      I always wondered why we do not confirm that the sending IP matches the MX record of a domain.


      You might want to google for "spam" + "DHVP", "DMP", "RMX", "DRIP" or "SPF"

      The closest would probably be DHVP.
      DHVP checks that the HELO from the sender either has a special "This is valid" record in DNS,
      or that an MX record for the HELO string matches the IP address,
      or some superset of the HELO's fully qualified domain name has an MX that matches the IP address.

      We don't do this because it has a high false positive rate.
      Even if you personally would accept 5% of your email being discarded as "non-conforming",
      an ISP can't accept that high a false postive rate and stay in business.

      -- this is not a .sig
    4. Re:MX records by robfoo · · Score: 3, Informative

      +4, insightful?
      I beg to differ!

      While this system is not perfect and, yes it may cause some headaches for most, having sendmail match the MX record to the IP of the sendind server would eliminate almost 100% of all the SPAM that I have encountered in the last 3 months.

      You're right, this system is not perfect, and would cause a *lot* of headaches for almost all users (or at least, us admins).
      Firstly, it creates a lot of technical headaches..

      The way I see it, the only way I could send email under your proposed system would be through a relay whose IP address was the same as the server listed in the domain's MX record, right?

      So, in order to send email from myaddress@somedomain.com, my MTA has to have the same IP address as somedomain.com's mail exchanger?
      Not. Gonna. Work.
      I send mail from several different physical locations (home, work, etc), as several different addresses/domains. This means in order to send email as my home address while I'm at work, I'd have to send through my home ISP's mail relay. Which I can't do, because I'm not on their network (and they don't have an open relay, to prevent *spam*).
      I also send email as being from a couple of domains I own, but I send this email thru whatever system I happen to be on (ISP or work, whatever), as my domain just points at things, rather than running a full-time MTA just to deliver my email..

      Not to mention the fact that most ISPs I can think of would have more than one server in charge of mail, and it would be possible, if not likely, that the outgoing mail relay is a different machine than the one that accepts incoming mail (ie, the one in the MX record).

      But let's just assume, for argument's sake, that everything was working as you outline. Everyone sends mail thru a relay whose IP corresponds to the domain they're sending from.
      All I need to do to send spam is get an account at an ISP, let's say I get username foo at ISP isp.com. Now I dial up, and send a big bunch of spam, from false.address@isp.com. So your domain/mx/ip check works ok, but it's still a false address. Sure, my IP address will be in the headers, but how different is that from the current situation?

      Next you'll be suggesting that to combat terrorism, before getting on a plane passengers should have to pass a 1/2 hour series of tests with questions like 'are you a terrorist?' and 'Is this flight for: a) business; b) pleasure; or c) terrorism?'
      Not going to make it any harder for the terrorists (except the really dumb ones), but a big pain in the ass for Joe Citizen.

      (sorry, in a bit of a ranting mood)

  35. Bayesian Filtering Should Still Work. by Jack_Frost · · Score: 2, Informative

    My Bayesian filter analyzes the message in raw text, including any HTML tags. A handful of HTML "enhanced" spams might make it through the first few times until I classify the new messages as junk. Once that happens the filter learns that random HTML tags increase the chances of it being spam and it's off to the junk pile.

  36. No, no, no... look at this another way by RT+Alec · · Score: 3, Insightful

    This article highlights why I have stopped using filters altogether. End-user filters address the symptom, not the cure. The problem with even the best filter is the mail is already there, taking up space, hogging bandwidth, and the filter is churning CPU cycles to hopefuly deal with it. My mail server uses 3 rbl (blacklists), and one I have programmed myself (rbl.restongeek.com). I get no false positives, and only a trickle of spam that gets through. I also get some small pleasure reviewing my server logs of the rejected mail, where the reject happened before any of the actual data was transmitted (see my /. journal for a sample).

    Of the anti-spam legislation currently being proposed, the most important clauses are those that deal with forged headers and illegal use of other servers (relay rape). Once such laws are in place, blacklists will become even more effective, because spammers will have fewer places to run and hide (if they sell something from the U.S.A.).

    One final piece to the solution is to get ISPs to act responsibly, and block egress traffic on port 25 for dynamic IP addresses (look up many of my previous posts for more detail on this point). Again, combined with blacklists, this will reduce spam tremendously-- not just in your inbox, but your (and your ISP's) bandwidth.

    1. Re:No, no, no... look at this another way by Urchlay · · Score: 4, Interesting

      > One final piece to the solution is to get ISPs to act responsibly, and block egress traffic on port 25 for dynamic IP addresses

      Some ISPs do this already.

      <rant topicality="50%">
      That'd be fine, if said ISPs would allow their users to relay mail from addresses other than $user@isp.com... but for various reasons (commercial? political?), they don't.

      In other words, I can't send mail via my $50/mo. cable modem at all, unless I want to use the account assigned to me by my ISP (and sold to spammers, no doubt). I prefer to use an address at a domain I personally have registered and for which I personally control the SMTP server. For one thing, my ISP may change: I may decide to get DSL instead of cable, or I may move to an area served by a different cable ISP, or (this has happened to me recently) my cable provider may get bought out by another company, and change the domain name... or any number of other things... but my domain and my SMTP server won't change, so nobody even has to care what ISP I use, and I don't lose legitimate mail due to the address changing.

      Unfortunately, my ISP, in its attempt to stop me from sending spam, has restricted me to using only their SMTP server (blocked egress on TCP port 25, as suggested by the parent), but will not allow me to send mail via their own SMTP server using my own (valid) email address (which I do not wish to use for reasons already explained)...

      The only solutions here are some sort of VPN to the network where my SMTP server lives (at work), or else ssh to the SMTP server (which is what I actually do, but it's inconvenient).

      I've offered to pay my ISP for `business class' cable service, but they *don't offer it*. I've attempted to get DSL, but am too far away from the CO. I'd love to have a choice of ISPs in my area, but cable companies are local monopolies in the country where I live... and thanks to the shakedown in the market, they're getting to be multi-state monopolies. I'd have to move *many* miles before I could get cable internet service from a different provider.

      I'm not claiming anyone's deliberately conspiring to limit my (or anyone else's) freedoms. I guess what this boils down to is that so many people have pissed in the pool that we've now got on-duty cops as lifeguards... sorry, that's a rotten analogy, best I can do at the moment.
      </rant>

      OK, I feel better now, sorry about that.

  37. White Lists is the only way by Organic_Info · · Score: 2

    Filtering is all very well and good - but ultimately it is an arms race that no side will win. Battles may be won but the war will rage on.

    The most effective method I have used is whitelists - if your names not down your not getting to my inbox. All other mails are placed in a pending folder where I currently have to manually check the mails - filtering cold be performed on these mails to cut out the really obvious spams and save me some time.

    Human authenticators could be used to move mails not on the white list to a more privileged folder than the pending (to be reviewed) or straight to your inbox. But I expect at some point in the spam wars tricking human authenticators will be on the cards.

    I personally find the white list method as used by hushmail works wonderfully.

    --
    "Things that you own end up owning you" - Tyler Durden (via Diogenes of Sinope).
  38. New tech by JMP3 · · Score: 3, Interesting

    Some time ago a new way for filtering spam has been discovered. Solution is simple, yet brilliant - we already have those "To confirm you're not a script, please type the text shown in this image" at various websites to guard against form-submitting bots. Apply this to email (bounce back all emails with image attached) and all the spam is gone! Not that it is a perfect solution (I wish there was...) as I see 2 minor flaws in this system :
    1. It introduces a delay in communication - confirmation letter has to be sent and reply received.
    2. Not all recepients at the other end are *that smart* to understand "what the hell this image means and what am I supposed to do with it?"
    From the other side it can serve as lameness filter ;)

    But still a promising technology. I've searched the web and came with both subscription services Mailblocks and client-side apps Icemile. The last one is free and I think I'll stick with it.

  39. Re:Not really by Moryath · · Score: 2, Informative

    You miss the point.

    Yes, it assesses the email on the basis of "15 bad words", but it also assesses on the "15 good words" or words that indicate it's legitimate.

    Chances are they have only one or two of the "bad" words (penis, viagra, v*i*a*g*r*a, etc...). Perhaps less once they munge it so that things are broken up into pieces. The HTML tricks are all designed so that the filter doesn't realize that you have one of the "bad" words split up into sections.

    The insertion of "good" text is designed to try to trip 2-3 "nonspam" indicators, thus causing the filter to pass the mail as "good".

    The insertion of the "good" text also serves, if you use a bayesian filter, to "poison" your filter so that legitimate mail using those same words has a tendency to get tagged as spam.

    It's a three-pronged attack:
    #1 -- munge out the bad words
    #2 -- drop in "innocent" text to make it look legit
    #3 -- send in such volume that the "innocent" text gets poisoned in the filter and starts causing false positives.

    What they're really after, of course, is number 3; if they can cause enough false positives, people will turn off the filters again. That's why they think nothing of sending the same spam 500 times to the same person in three days: when they are using a technique like this, every spam that gets filtered and tagged as spam furthers goal #3.

    I still say the best way to deal with spammers is with a good old non-technical solution: a two-by-four upside the head.

  40. PopFile by MrEnigma · · Score: 3, Interesting

    What's awesome about the author (Dr. John Graham-Cumming) is that he not only knows his stuff, but he puts it out in his open source software called PopFile written in Python.

    PopFile can be located at http://popfile.sourceforge.net.

    I am currently using PopFile, with an accuracy of 98.26% from nearly 8,000 messages. It's the best I've ever used, and it's free!

    --
    GeekWares - Buy and Download Today!
  41. That would require we be able to find them by Moryath · · Score: 2, Interesting

    The trick is: the Spammer, him/her/itself (well he/she WILL be an "it" if I ever find them), wants to be completely transparent.

    They send mail. You see mail. In their depraved mind, you then deal with company that commissioned mail.

    First of all, I want to strangle the people who commissioned said mail, especially mr. "Free golf wedge, best in world" and the fuck from K-Mart marketing who bought a cd full of email addresses and added them to K-Mart's bluelight email list.

    However, that's not the point.

    Think about how we filter. In order to have a realistic opt-out sequence, we have to be able to reach the spammer back. Either by email, or clicking a link, or something of that sort.

    The MOMENT something that static is in the email, however, ISP filters will catch it and promptly ban any email that they send with that indicator tag in it.

    See the trick? It's all based on evading filters. You can't legitimately provide an opt-out solution, because then that becomes an identifying tag for people to filter you away.

    And the last thing spammers want to see is people actually opt out anyways, because if they WERE honoring it, they couldn't claim to be mailing to 50 million people. They make their cash partially on the claim that they reach a huge number of people in order to get responses from a smaller number, just as TV shows do with ratings and ads.

  42. Where's the profit in hiding? by netringer · · Score: 2, Interesting
    One thing I gotta know: If the spammer knows I have no interest in the say, "Herbal Viagra" prodct he's pitching, why does he think that if he says he's selling "V A 1 G R A" it'll be different? Am I supposed to go for that message and BUY THE PRODUCT now?

    I'll answer my own question a bit: After seeing one of these scumbags on TV it's obvious they get off just watching the counter increment saying that he just sent 4,123,456.890 more messages while he watched. They don't really want you buy or do anything. They just want to send the garbage.

    --
    Ever dream you could fly? Get up from the Flight Sim. I Fly
  43. Re:IP Blacklists are the way to go... by acceleriter · · Score: 2, Interesting

    spamcop.net was pretty cool, before Julian got in bed with Cyveillance. Now I wouldn't touch them with a ten foot pole.

    --

    CEE5210S The signal SIGHUP was received.

  44. metaphone mapping text by joeldg · · Score: 5, Interesting

    You can use the metaphone algorithm (I use PHP so, http://us3.php.net/manual/en/function.metaphone.ph p) which has come in handy.. Just strip all HTML and de-urlencode then run this on the msg, it totally ignores numbers and punctuation and any letters that are not in (a-z A-Z). You will need to have a database pre-made full of metaphone values from a dictionary then start a comparision and you can get a general feel for the msg.

    I took all the words used in a product called spamassassin and used that to do a comparison.. Coupled with bayes filtering I imagine this would be pretty much the best way to filter mail.

    It is kind of an interesting approach based on what mail "sounds" like vs what it actually contains.. If you filter on the straight contents these guys will just keep coming up with different ways of encoding and generally being twitchy.

    However, their mail will *always* have that "buy this!" kind of sound.

    I built a system a while back that was processing all double bounces from three servers and handled around 50k/day spams and came up with some interesting results.

    If anyone is interested I'll dig up the code and place it on my site with the rest of the stuff there.

  45. False Positives by Arpie · · Score: 2, Interesting

    Yeah, I hate spam as much as the next geek. However most people don't stop to think about the black side of spam filters: false positives.

    I use spamassassin and Mozilla's bayesian filters, they do get rid of a lot of spam, but they also do get some false positives. This means I have to check my spam folder every so often, which kind of defeats the purpose, doesn't it?

    Moreover, email is not only a personal communication tool anymore. Do you buy on-line? Do you expect an order confirmation, or a shipping confirmation? Well, it's quite likely that those could be flagged as spam by spam filters. It just happened to me yesterday on an ebay winning bid notice, because the subject had an exclamation mark. Businesses -- you know, the kind of organization that usually pays the sallaries of us working geeks, or the sallaries of the parents of student geeks -- need to get through to comunicate with their customers. Spam and spam filters are both getting in the way.

    How bad is that? IMHO pretty bad. Spam is killing half of the advantages of using email. Filters, with the pretty much unavoidable false positives in this cat and mouse game are killing another quarter, at least. I don't know what will happen, but it's a pretty sad situation.

    --
    /* TAANSTAFL */