Slashdot Mirror


Examining an Automated Spam Tool

Saint Aardvark writes "SecurityFocus has published an excellent column detailing how spammers r00ted an Apache server, and used it to send spam. The tool they used is (I hate to admit it) pretty sophisticated: it has macro capabilities, picks up email addresses from and reports success or failure to the master server. It's a very frightening read...and so is this: Message Labs reports that they now intercept 27 spam emails per second, up from 2 per second this time last year. Virus-created proxies are mainly to blame."

84 of 415 comments (clear)

  1. All this really makes me wonder... by BJZQ8 · · Score: 5, Funny

    All this really makes me wonder when the death penalty will be approved for spammers. Or at least some harsh beatings...

    1. Re:All this really makes me wonder... by taperkat · · Score: 5, Insightful
      can't we just beat the stupid people that actually respond to spam, thereby making the spammers more money to keep berating me to get my cock enlarged?

      after all, I am a female.

      --
      "But I can't get an ocean that's deep enough for my day..." ~The Frames, "Fitzcarraldo"
    2. Re:All this really makes me wonder... by Clever+Pun · · Score: 3, Funny

      I'll see your penile enhancements, and raise you two mortgages and a college degree from a school of YOUR choosing.

    3. Re:All this really makes me wonder... by calebtucker · · Score: 5, Insightful

      I totally agree. While I really hate the spammers I think I might hate the people that actually buy stuff from spam a little bit more.

      If you think about it, there are some really intelligent spammers (even though they are disgusting scum of the earth). They're always one step ahead of us and are figuring out new ways to spam us.

      On the other hand, the people who buy stuff from spam are just plain morons. period.

      --
      My sig can beat up your sig.
    4. Re:All this really makes me wonder... by taperkat · · Score: 5, Funny

      but... my family in Nigeria needs your help... *sob*

      --
      "But I can't get an ocean that's deep enough for my day..." ~The Frames, "Fitzcarraldo"
    5. Re:All this really makes me wonder... by wo1verin3 · · Score: 2, Interesting

      Occasionally I'll get something in my e-mail such as an uptime service for my website that looks quite interesting and I was about to subscribe when I read the entire e-mail and it stated that I signed up to recieve these e-mails.

      I e-mailed their sales dept and informed them that I would have signed up for their service if I heard about it another way, but would instead be going with a competitor because of the way they went spamming.

    6. Re:All this really makes me wonder... by t0qer · · Score: 2, Interesting

      Too the parent and the parent parent posters...

      You both make excellent points,
      a. go after the spammer
      b. go after the people that fall for it

      Yet they're both chicken before the egg type of solutions.

      It was a weak protocol that let the genie out of the bottle. Open relays were a part of the net in the beginning because spam didn't exist, there was more co-operation between sysops, and because the net was mainly comprised of scientific and academic types.

      Actually, what is really needed is a new mail protocol. Simple as that. Then there wouldn't be this backwards compatible layer full of holes, and it would render all these worms useless.

    7. Re:All this really makes me wonder... by arivanov · · Score: 4, Interesting

      You will need an ICBM version and Putin's agreement to let it through and not pay you back in the same currency with interest.

      Jokes aside, while not being compromised myself I have gone through a similar process investigating distributed server farms on cable and DSL serving counterfeit software (once again advertised by SPAM). In all cases the final step ended up being somewhere in Russia at least 600km from of Moscow.

      The method of intrusion is different though. In all cases it is windows software. Common examples are the one which copies DVDs to CDs (with all offers seen over the last 2 months being a trojan). Basically this, along with several similar common SPAM sucker gatherers is used for guess what - to gather suckers. The software actually works, but it contains a fairly sofisticated remote access trojan.

      This has recently been extented to include sucker gatherers introduced in counterfeit branded software. Basically, you pay 39$ for a counterfeit Win XP pro at "OEM Clearance Sales" and get a Win XP pro with a "surprise".

      Servers are all over the world, mostly on cable networks (strangely enough very few DSL ones). DNS (which is the weakest link) is run by known "questionable" marketing hosting sites usually in the US.

      With the number of suckers around trying to copy DVDs onto CDs frankly I do not see a reason for all the effort into hacking sites with vulnerable lame PHP software. So I guess these were some "new kids on the block"

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    8. Re:All this really makes me wonder... by ryanvm · · Score: 2, Interesting

      If you think about it, there are some really intelligent spammers. They're always one step ahead of us and are figuring out new ways to spam us.

      I think you're giving them too much credit. Technically, it's a lot harder to selectively ignore certain people then it is to yell at everyone. Staying "one step ahead" really isn't that difficult.

    9. Re:All this really makes me wonder... by Urkki · · Score: 2, Interesting

      But users wont get smart. So you have to limit any users ability to send email. Simple as that.

      For example mandate that ISPs charge 1 cent per e-mail sent from user, and see users to make very sure their computers are secure and not spam relays. Of course this also needs a cap on mails/day, or more like cap on $ spent on sending mail per day so users don't get burned too bad...

      Or mandate a CPU challenge per e-mail sent from a MUA that takes 10 seconds to solve per recipient for something like 1GHz x86 CPU, but is cheap to verify by the MTA.

      If spammers can't reach high enough volume, spamming will become unprofitable, simple as that.

  2. Spammers know what they're doing by bigberk · · Score: 5, Informative

    Spam is profitable, and this is becoming a huge underground business. Spammers regularly compromise other systems and install sophisticated software to allow easier spamming. Here's a document that describes the link between spam and viruses

    1. Re:Spammers know what they're doing by Clever+Pun · · Score: 3, Interesting

      Spammers regularly compromise other systems and install sophisticated software to allow easier spamming.

      I could have sworn that this was illegal. I mean, it's like some random person changing the lock on my door, giving me a copy of the key, but keeping a copy for themself. If they don't have my permission to do that (read: informed consent), I'm willing to bet that they'd be severly prosecuted.

      If, however, it's NOT illegal, what the hell? There'd better be a good reason for it not to be.

    2. Re:Spammers know what they're doing by Vainglorious+Coward · · Score: 5, Insightful

      Spammers regularly compromise other systems and install sophisticated software to allow easier spamming.

      I could have sworn that this was illegal.

      It is illegal, but then again, many of the products and services the spammers are pimping are also illegal. The legality (or not) has very little to do with it.

      --
      My next sig will be ready soon, but subscribers can beat the rush
    3. Re:Spammers know what they're doing by Urkki · · Score: 5, Insightful

      Of course it is illegal. The problem is catching those that do it. The actual spam marketers will be hard to prosecute for it just because they use services of other "businesses" for delivering their marketing material. And actually getting these "other businesses" to court might be rather hard if they operate in some 3rd World pirate heaven, have no public office, and all business transactions are handled electronically, and are purposefully hidden or obfuscated.

  3. yep by Anonymous Coward · · Score: 2, Insightful

    yet another example spammers aren't just mom&pop operations. This is a big business, with big money backing it.

    Something desperately needs to be done with SMTP to control this stuff....

    1. Re:yep by John+Seminal · · Score: 3, Funny
      What made you think spammers were ever mom&pop. It is their son in the basement. Can't get a job at K-Mart, so he sends out spam. A penny here, a penny there, and soon he can afford a subscription to milfhunter.com.

      All jokes aside, this sucks that people will steal bandwith and commendeer other peoples computers. If we do not correct this problem, Microsoft might decide their "trusted computing" is the anwser because it would identify everyone and market it as "more secure". Have you seen the butterfly that keeps porn away from your kids? Or ISP's could blacklist anyone who is not on their "approved list". I guess freedom of speech is wothless if 100's of spammers are yelling all at the same time. Is there any way we call all yell "SHUT UP" back at them?

      --

      Rosco: "If brains were gunpowder, Enos couldn't blow his nose."

    2. Re:yep by Urkki · · Score: 5, Insightful
      • Something desperately needs to be done with SMTP to control this stuff....

      Yes. It needs to be completely blocked at backbone routers, and new and better alternative developed.

      So, the steps would be
      1. develop a better alternative as fast as possible, and make it as simple as possible to implement.

      2. deploy the better alternative for test use.

      3. develop a fixed version 2 of the better alternative after it's holes are discovered.

      4. deploy the fixed version.

      5. block SMTP and version 1 of new protocol at international and national backbones and national borders, so that everybody is forced to switch.

      So SMTP would still be completly usable for example inside organizations, so if a company has huge installed base of legacy software, they could have internal SMTP-new protocol gateway.

      Of course this would require IETF to get their act together, and various governments to agree that this must be done, and actual new protocol to be simple enough and not contain patented algorithms or any other stupidities.

      So it will not happen. Then spam will overwhelm the internet transfer capacity. Then SMPT is blocked and free internet e-mail will cease to exist. Proprietary solutions will develop, but there will be a chaos. Incidentally, Microsoft will happily provide a closed proprietary system only usable from their operating systems.
    3. Re:yep by Urkki · · Score: 2, Interesting

      There are plenty of suggestions. Combining a good selection of them into a unified protocol would help a great deal. Some of the suggested stuff:

      - "CPU cycle" stamp in every outgoing mail.
      - Making the To-field to actually determine the recipients
      - Making From-field actually identify the sender (by being added by the mail server software, not by client software, so email-specific login to the server would be needed).
      - Integrating signatures into the protocol in different ways, at least to identify the originating ISP.
      - Making email a "pager-type" protocol, recipient only gets a minimally short message telling where to find the actual message (including checksum of the message or what else is necessary), thus stopping at least the spam content clogging up the network.

      Lot of little things that could perhaps also be implemented on top of SMTP even without making it horribly messy. But the reason a new protocol is needed is that old SMTP really stops being used "in the wild" outside private networks, and existing vulnerable legacy software (including the various worm-created spam networks around the internet) stops working.

  4. Well... by hookedup · · Score: 5, Interesting

    One day I noticed that one of my remote servers was sending 24 hours a day a continuous 11Kbytes stream, using the 100% of the upload bandwidth (128Kbits).

    Seems greed has once again turned around and bit someone in the ass (in this case it was a good thing). So all these spammers really need to do is slow down the avalanche of spam somewhat, and throttle their speeds when relaying. Otherwise, how long would this have went on for if he hadnt noticed his upload being maxed?

  5. If only by goodbye_kitty · · Score: 4, Insightful

    If only we could harness the power of these cool (and working!) distributed systems to provide efficient peer to peer content distribution or an actual legitimate email system of some sort...

  6. They "r00ted" a native american waiter? by Anonymous Coward · · Score: 5, Funny

    This is obscene. How far will spammers go?

    1. Re:They "r00ted" a native american waiter? by zulux · · Score: 2, Funny

      They "r00ted" a native american waiter?

      We'll the crackers were nice - they allowed the guy to keep 2% of his bandwidth in reserve.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  7. Why do you hate to admit it? by Tim+C · · Score: 4, Insightful

    If they're good, and are producing sophisticated tools and methods for spamming, then it's imperative that it is admitted, so people will understand the true nature of the problem and what anti-spammers are up against.

    One of the most fatal mistakes you can make in any conflict is to underestimate your opponent.

  8. Bad getting worse... by tuxette · · Score: 5, Interesting
    Other trends started this year and expected to increase in 2004 include the use of e-mail to trick people into going to what they think is a legitimate vendor's web site and provide confidential information, such as social security or credit card numbers, MessageLabs said.

    Although I haven't experienced spam that goes so far, I have received (in my special spam account for playing with Nigerians and lottery managers) quite a few mails with requests to confirm my e-mail address. It works like this - you get a mail saying something a la: "I am controlling the e-mail sent to my inbox for the following address: sucker@born.every.minute.com. By asking for you to confirm that you really sent email to me I can ensure that I receive no spam and that your email address really exists. This is a one time confirmation, please click the link below and your email will be delivered straight away, now and in the future. Regards, Alberto Huber"

    The funny thing about it was that the "I" in question was neither someone I sent mail to nor someone I know at all.

    Now if they think I'm going to go click the link to confirm that my e-mail address exists, then they would surely be willing to buy some property on Mars I have for sale. Radiation-free. Really.

    --
    People say I'm crazy, I got diamonds on the soles of my shoes...
  9. stupid gap in PHP... by kisrael · · Score: 4, Interesting

    Actually, and yeah yeah yeah, I know there are probably settings around this, but that default of cgi variables automatically being turned into global variables of the form $same_name_as_in_the_form has always seemed to be asking for trouble.

    PHP, at least when I was looking at it a year and a half ago, always felt half-baked to me.

    --
    SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    1. Re:stupid gap in PHP... by james_orr · · Score: 3, Informative

      That's no longer the default. Not sure what version changed it.

    2. Re:stupid gap in PHP... by justMichael · · Score: 2, Informative

      Actually it's a stupid gap in admins and developers.

      You see Register Globals has been OFF by default since 4.2.0 which was released 22-Apr-2002.

      But yes it is a mess.

    3. Re:stupid gap in PHP... by kisrael · · Score: 2, Informative

      Guh...that previous comment was NOT flamebait and was NOT offtopic...if you RTFA, this misfeature of earlier versions of PHP is exactly the exploit used to hook into the system.

      Frickin' moderators, so many people are so quick on the negative triggers, and not in a helpful way.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    4. Re:stupid gap in PHP... by kisrael · · Score: 3, Insightful

      How is this a stupid gap? How are variables dangerous? They are only dangerous when misused. All variables are by default dangerous! Call out the troops!
      Do you understand the issue?

      In summary, a default where the global variable namespace of your program is settable by any bozo with a web browser is a poor design. Sure, a good programmer will take steps to make sure he knows where his or her data is coming from, but a language shouldn't encourage such public exposure of fundamental things. (which is why the default changed, according to other posters here)

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  10. No Death Penalty, Please!!! by tds67 · · Score: 5, Funny
    All this really makes me wonder when the death penalty will be approved for spammers. Or at least some harsh beatings...

    No, not yet! I'm only halfway through my penis-enlarging regimen!

  11. The products themselves take care of that by Anonymous Coward · · Score: 2, Insightful
    People who respond to Nigerian spammers get taken.
    People who buy pump&dump-spamvertised stocks lose their money.
    People who buy bogus-prescription opiate painkillers go to sleep all the time and lose their nationwide radio shows.
    People who buy penis enlarger pills have their dicks fall off. The problem is that they're usually older men who have already made their contributions to the gene pool, so Darwin doesn't get them in the end.

    The problem, of course, is that all of these bad things happen to the customers after they've given the spammers their money, so it doesn't stop the spammers, and if they're dumb enough to believe that the spammers' products will work, they're too dumb to believe the Absolutely True Results By Top Scientists which say that their dicks will fall off if they buy fake vi1@gruh, even if we get the supermarket tabloids to keep printing headlines about it.

  12. New protocol? by HornyBastard · · Score: 5, Interesting

    I think it's time we get a new mail protocol.

    If we can somehow get a list of relays authorized for the sender's domain, it would be easier to flag a message as SPAM.

    Also, I think the messages should be stored on the relay, with just a URL sent in the mail body. It would solve two problems:
    * The size of the message will be limited by the size of the sender's mailbox.
    * It will use more resources on the relay, and the admin should be less likely to run an open relay.

    --
    Death has been proven to be 99% fatal in lab rats.
    1. Re:New protocol? by gfilion · · Score: 2, Informative

      Also, I think the messages should be stored on the relay, with just a URL sent in the mail body. It would solve two problems: * The size of the message will be limited by the size of the sender's mailbox. * It will use more resources on the relay, and the admin should be less likely to run an open relay.

      This has allready been proposed by Dan Bernstein: IM2000

    2. Re:New protocol? by quantum+bit · · Score: 2, Informative

      There is. Check out SPF. It's simple, built on existing protocols (DNS), and 100% djb-free.

    3. Re:New protocol? by dgatwood · · Score: 2, Insightful
      This is a terrible idea at so many levels. Even if it helps penalize open relays and prevents the whole "connect, dump, disconnect" DSL-connected mail servers, it creates a dozen new problems for each one it solves.

      For one, notifications being stored in memory means lost mail, or at least the need for every server in the world to periodically check and make sure you have received your notification. More notifications = more overall traffic = network flood from hell.

      Second, it means that the sender's machine has to be online and accessible in order for me to read mail that was sent to me. The internet is a flaky thing. I'm almost guaranteed to be able to reach my local mail server. No such assurance exists for random joe remote mail server in Siberia.

      This is particularly a problem in a corporate environment where people regularly get email messages from slow, distant servers. Imagine potentially taking a 30 second DNS timeout for every single email you open, and I'm sure you see the potential problem.

      That solution is taking a step towards the right solution, however, which is to ensure that the sender's location cannot be forged. This is easily accomplished through proper signing of messages (with a properly certified key) at the server level without any need to modify the SMTP protocol itself. While such a scheme requires buy-in, it neither breaks backwards compatibility (though it does make it intentionally painful for people who don't upgrade their mail servers by requiring per-message verification) nor breaks the fundamental usability of email.

      Just my $0.02.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

  13. yes it is profitable by RouterSlayer · · Score: 5, Insightful

    yes it's definitely profitable, this is part of the problem, a major part of it!

    even with all the crap that people are doing, new SMPT clients, new RFCs and bullshit, it's not going to work!

    why? because spammers pay their ISPs tens of thousands of $ a month just for the privilege of spamming!

    I remember an old story months (or years) ago about a spammer, got tracked down, the whole nine yards, the ISP refused to cut them off because they were paying the ISP over $50,000 a MONTH to send spam. These days they pay even more.

    So all your "checks and balances" don't do any good, because the spammers are VALID users (at least in the eyes of the ISP hosting them).

    And this is also why no one does egress filtering. AT&T US, etc won't do it because they get PAID to keep sending the stuff...

    face it, spam is BIG business, it makes millions, esp for the ISPs, etc.

    all your useless "valid" client checks, checksums, special SMTP servers, blah blah blah won't make a damn of difference.

    the only way is with either good (huge) blacklists or bayesian all over the place.

    and what someone said about "end users" not caring about bandwidth usage, not true. I'm an end-user, and I care, excess bandwidth costs me money dammit! I am my own mail server, so don't tell me a firewall on my server is gonna slow down the traffic. it doesn't.

    I keep to my original proposal, a massive blacklist. headache? yes, but it'd work if kept updated...

    1. Re:yes it is profitable by phorm · · Score: 4, Interesting

      I remember an old story months (or years) ago about a spammer, got tracked down, the whole nine yards, the ISP refused to cut them off because they were paying the ISP over $50,000 a MONTH to send spam. These days they pay even more.

      Because SPAM as a whole is becoming illegal in many areas, and much of what spammers do is already illegal. If the ISP is allowing the spammer to continue operation, and he is pumping illegal products/scams/etc then the ISP will be on the line.

      It's one thing to profit for unscrupulous activity, it's another to knowingly allow an illegal one.

      Making it easier to certifiably track spammers is part of the solution because if you can say with strong surety that an ISP is supporting the spammer... then you can take action against the ISP.

  14. Nivenate 'em by Verteiron · · Score: 2, Funny

    Yeah, send 'em into the organ banks. Mind you, if my arm falls off, I'm not sure I'd like to know my new one might have come from a spammer...

    --
    End of lesson. You may press the button.
  15. Re:(Slightly OT) Apache R00ted?? by SuiteSisterMary · · Score: 5, Informative

    No, and apache didn't get rooted, either. A poorly written PHP script did.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  16. Comment removed by account_deleted · · Score: 5, Insightful

    Comment removed based on user account deletion

  17. And the worst news is. . . by mntgomery · · Score: 2, Funny

    that this intrusion is probably the work of some teenage kid who will never have to do a day of real work in his life. But at least stuff like this keeps us admins employed. . . at least some of the time.

    --

    This comment was generated by a squadron of trained super elite albino ninja chickens for you.
  18. OpenBSD on macppc by Anonymous Coward · · Score: 4, Interesting
    Geez,

    This is going to make me move my web server to OpenBSD 3.4-stable on macppc even sooner. It would have two layers of defense against this kind of attack, even if the PHP hole was there.
    1. Chrooted apache means that necessary shared libs/utility apps for the binary aren't available immediately.
    2. PowerPC processor means that i386-binary payloads won't run

    Running under systrace might also help stop it from opening outbound connections.
  19. Pretty good article by bigjnsa500 · · Score: 5, Insightful

    It was a pretty good article, but he leaves off one glaring fact. If he had kept his software up to date, this would never have happened. BugTraq says August 2002 when this was identified.

    --
    This is a test. This is a test of the emergency sig system. This has been only a test.
  20. apache wasn't rooted, an installed PHP app was by deander2 · · Score: 4, Insightful

    it should be noted that this wasn't apache that was rooted. it was a poorly written PHP app, using an injection technique.

  21. Spam funders? by 192939495969798999 · · Score: 2, Insightful

    Who exactly is funding all this spam? Is there one major media conglomerate behind it, like Viacom? That would be totally wild.

    --
    stuff |
    1. Re:Spam funders? by leerpm · · Score: 2, Interesting

      I doubt it. What does a giant corporation like Viacom have to gain from sending out penis-enlargement advertisements?

      The most reasonable guess along this line would be the drug companies trying to sell to an underground market. But everyone knows that the drug companies are fighting hard to keep the drug prices artificially high in the US, so what would they have to gain too? I mean, have you looked at most spam lately? It certainly doesn't appear to be a case of a real company trying to make a legimate profit. Most spam is for bogus offers.

    2. Re:Spam funders? by Urkki · · Score: 3, Interesting

      I guess porn business is what brings in most of the money for spammers.

      And then I suppose that once the basic spamming infrastructure is established and paid for by that, there's ready market for getting other businesses and plain scammers to do spam marketing, thus increasing spammer profits more and pushing down the price per email.

  22. A question regarding education/tracking? by Anonymous Coward · · Score: 4, Insightful

    I have 2 questions that I have always wondered:

    1. Most spam mails are selling something physical and are actual companies; why can't they therefore be tracked down and slapped with lawsuits easily?

    2. Why doesn't user education work? Maybe a mass education campaign towards users will make the spammers give up - I agree there will always be the odd idiot, but if 99% of users are educated, just like most kids know not to talk to strangers, there will eventually be a decline in such?

    1. Re:A question regarding education/tracking? by Kjella · · Score: 4, Insightful

      1. Because it's usually some spamming company performing the spamming, not the real company. They only hired their "PR services", in which case you have to prove they did know it their marketing practices would be illegal.

      2. No, 99% is not enough. A 1% response rate would be insanely high. Even a 0,01% response would easily be enough. Because it costs next to nothing, with next to nothing in risk.

      To pull on your "99% of users are educated, just like most kids know not to talk to strangers" analogy, it wouldn't work if the pedos could ask thousands of children simultaniously (i.e. no cost of time) and none of those that refused would report it. Who cares if 990 turn you down, if you can have a 10-kid orgy every day? Sounds awfully cruel, but that's the way spam works today. They pray on the few stupid enough, and hope that the great majority will simply hit 'delete'.

      Kjella

      --
      Live today, because you never know what tomorrow brings
    2. Re:A question regarding education/tracking? by pongo000 · · Score: 2, Interesting

      1. Because it's usually some spamming company performing the spamming, not the real company. They only hired their "PR services", in which case you have to prove they did know it their marketing practices would be illegal.

      True, but what if said companies were publicly outed and humiliated? What if an orchestrated effort was made to let said company know exactly how the world feels about their carelessness in hiring their PR firm? Would that not be sufficient to send the message that if you hire a PR company, you better be damn sure you know how they're promoting your good name?

  23. Spammers Hiring Goatse Trolls? by goldspider · · Score: 3, Funny
    "Other trends started this year and expected to increase in 2004 include the use of e-mail to trick people into going to what they think is a legitimate vendor's web site..."

    That sounds suspiciously familiar, especially when you substitute "e-mail" with "innocent-looking links to Amazon.com".

    --
    "Ask not what your country can do for you." --John F. Kennedy
  24. Re:enlargements by ebonkyre · · Score: 5, Funny

    Well, there's no accounting for spammers' tastes. Judging from some of the spams I've seen, females with enlarged cocks are apparently pretty popular with these folks...

    --
    "Time is an abstract concept devised by carbon-based lifeforms to monitor their ongoing decay." - Thundercleese
  25. why not e-stamps? by goombah99 · · Score: 4, Interesting
    How come the idea of e-stamps is not getting any traction? The concept is that you are assessed a small charge for sending unwanted mail.

    I dont see what the technical or social barriers are. For example, it would not require any change in the way mail is transported. Instead it would all be handled by the recipient's browser.

    consider the following straw man scheme. I send you an e-mail.
    1) If I am in your white list the e-mail is accepted.
    2) if not then the e-mail is examined for a signed, serial numbered e-stamp and if present a short message is sent to central post office to debit the senders account one penny, and a receipt is returned to my e-mail program which then lets the message in.
    3) Finally if the message does not contain a stamp and is not white listed, the message is put in a spam folder and a memo sent to the sender (me) telling me that I need to request permission to send e-mail.

    The last step is how for example Earthlink's highest level spam blocker works. If most messages are spam then of course it doubles the total number of messages sent, but does not double the total message sizes or hand shaking. To the extend that it works, the post offices will only be consulted if the sender is not in the white list so unused stamps can be reclaimed. Moreover one could have the option of refunding the senders stamp if the message were welcome.

    I dont see what the sociologocal or technical hurdles are. Not every one has to be using the stamp processing client program. When stamps are not present it defaults to the earthlink system. When they are is skips that nuiscance.

    the best part is that legitimate direct mailers might very well be willing to pay the postage to send you an advertisment but presumbaly in many cases these would be targeted ads to people with potential interest.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:why not e-stamps? by Vainglorious+Coward · · Score: 2, Insightful
      How come the idea of e-stamps is not getting any traction?...I dont see what the technical ... barriers are.
      No offence, but many people more technically gifted than you or I have been wrestling with these issues for years and still haven't created a solution because the problem is a hard one to solve.

      On a simple level, consider this - in order to migrate from the SMTP protocol to "something better", we would either have to (a) have the entire world convert simultaneously to the new standard or (b) allow backward compatibility with SMTP. (a) seems highly unlikely, and (b) means that you don't solve the problem. And before you point out that in the case of (b) we'd only need a limited transition time before we'd all be on the new protocol, I'd offer the example of IPv6. How many years has IPv6 been in the works? How many million man-hours of committee time has it already been through? How close are we all to deploying IPv6?

      --
      My next sig will be ready soon, but subscribers can beat the rush
    2. Re:why not e-stamps? by harrkev · · Score: 2, Insightful
      Finally if the message does not contain a stamp and is not white listed, the message is put in a spam folder and a memo sent to the sender (me) telling me that I need to request permission to send e-mail.


      Yup. Then my anti-spam system sends you an e-mail and you, the spammer collect my penny...

      Or ... my anti-spam system sends you an e-mail telling you to request permission. Then your anti-spam system sends me an e-mail tellin me that I have to request permission. Then my anti-spam system sends you an e-mail telling you to request permission. Then your anti-spam system sends me an e-mail tellin me that I have to request permission. Lather, rinse, repeat.
      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    3. Re:why not e-stamps? by letxa2000 · · Score: 2, Interesting
      Not every one has to be using the stamp processing client program. When stamps are not present it defaults to the earthlink system. When they are is skips that nuiscance.

      The problem is that when you use the EarthLink system, you become a nuisance to hundreds of others around the world.

      I currently am up to about 300 spams per day. Most of those are forged addresses--which means they belong to someome, just not the spammer. If I used the EarthLink system I would be sending "challenge" messages to about 300 innocent people each day. Suddenly *I* am part of the spam problem from the perspective of those 300 people per day.

      As long as return addresses can be forged, challenge/response systems should be frowned on at least as much as spam--possibly more than spam since they supposedly solve spam by generating more garbage for others on the network which is just counter-productive and annoying.

      That said, I like the rest of your idea. Email must remain free so I'm opposed to a system under which I automatically have to pay a penny to everyone I send email to but only get it back if they decide to credit me.

      But if you can set your own "charge" for receiving spam and spammers can embed a token in their email saying "I'm willing to pay a maximum of $1 for someone to read this message" then if a spam comes in that pays the amount you've decided to charge for receiving spam, it goes out to the central payment server and credits you and debits the spammer, fine. Pay me $1 per spam and I'll happily receive 300 per day!

      Of course, at $1/spam there won't be any... which is even better!

    4. Re:why not e-stamps? by letxa2000 · · Score: 2, Interesting
      In most (but not all situations) its possible to weed out bogus challenge responses.

      In most (but not all) situations, it's possible to weed out bogus spam--but that doesn't make spam acceptable.

      For example, if I get a challenge to an e-mail I allegedly sent but the recipient if not in my address book (or sent mail list) then my e-mail program can just discard it and never bother me.

      That's a whitelist approach. But that's a closed system. Many people (myself included) have to be able to receive email from people we've never talked to. They initiate the conversation, not me. So I can't just have my email program reject email as bogus just because it's not whitelisted or in my "sent" folder.

      The point is that the challenge/response model depends on sending out a challenge for every spam that comes in. You are assuming that others are using an anti-spam solution to catch your bogus challenges and treat it as spam. That's a bogus approach.

      Yes, people can filter out your challenges. But tell me how that is different from filtering out spam and why your automated challenges should be any more acceptable to me than outright spam? Both are email I didn't ask for and don't want.

  26. Finally! by fsmunoz · · Score: 3, Funny

    First spam, then the Empire! Finally Portugal is regaining it's place! Seaway to India, you say? Do I ear Brazil? Was that "Eastern Empire" sir? Bollocks! It all fades away compared to the might of SBTF.NET!

    On a more serious note, the telephone contact given in the RIPE lookup is a bogus one (lacks one number to be a valid portuguese phone number), the "Rua do Norte" street doesn't exist in Lisbon and SBTF isn't listed in any portuguese site that deals with companies registration.

    Some say "bad publicity is good publicity"... I would rather not have my country mentioned by these particular reasons.

    But... the guy reporting it is from Spain... this could be some devious plot to, er, something. ;)

    cheers

  27. Re:(Slightly OT) Apache R00ted?? by Wyzard · · Score: 2, Informative

    Actually, nowhere does it say that root privilege was used at all -- the attack was against a PHP interpreter embedded in an Apache binary running as www-data, and it started a new process which also ran as www-data. The article summary is a bit misleading.

  28. spamtools by AeiwiMaster · · Score: 5, Informative

    Hi

    I have made an eigenpoll
    to find the best spamtools.

    First ranking the tools you know,
    the it runs some data minning and find the best tool.

    Right now the list looks like.

    sa-exim
    Outclass
    Mail Scanner
    spamprobe
    POPFile
    SpamBayes
    SpamAssass in
    Vipul's Razor
    Blackmail
    bogofilter
    Infinospam
    Spamthis
    Shovel
    SpamBouncer
    Declude JunkMail
    spamhole

  29. how to fix the problem by Brandon+T. · · Score: 5, Informative
    You can fix this problem by catching attempts to modify the $GEEKLOG_DIR file via get or post methods at the top of the gallery/classes/geeklog/User.php file. Insert this line:
    if (isset($_GET['GEEKLOG_DIR']) ||
    isset($_POST['GEEKLOG_DIR'])||
    isset($_SESSION['GEEKLOG_DIR']))
    die('nice try buddy.');
    }
    The $GEEKLOG_DIR variable is actually set at the end of the gallery init file, so it should not be coming from any other directories. This is another example of why it's bad to leave register_globals on, as the whole problem could have been avoided otherwise.
    1. Re:how to fix the problem by James_G · · Score: 3, Informative
      This is another example of why it's bad to leave register_globals on, as the whole problem could have been avoided otherwise.

      Except.. it wouldn't have, in this case at least. Gallery works with register_globals turned off, I just checked.. but then I noticed the code (this is in init.php if anyone wants to check):

      if (!$gallery->register_globals) {
      if (is_array($HTTP_GET_VARS)) {
      extract($HTTP_GET_VARS);
      }

      if (is_array($HTTP_POST_VARS)) {
      extract($HTTP_POST_VARS);
      }

      The extract() function basically takes everything from the _GET and _POST arrays and dumps them straight into the appropriate variables, which is exactly what register_globals does. Whether it was turned on or off, you would still be able to pollute the $GEEKLOG_DIR variable via get/post. This is a pretty braindead piece of coding right here, and makes me a little worried about using gallery. I hope they plan to fix this in the future.

    2. Re:how to fix the problem by Otto · · Score: 2, Interesting
      They added hack prevention code to a lot of gallery way back when.. My init.php has similar code to what you posted, but it also has this at the top:

      $sensitiveList = array("gallery", "GALLERY_BASEDIR");
      foreach ($sensitiveList as $sensitive) {
      if (!empty($HTTP_GET_VARS[$sensitive]) ||
      !empty($HTTP_POST_VARS[$sensitive]) ||
      !empty($HTTP_COOKIE_VARS[$sensitive]) ||
      !empty($HTTP_POST_FILES[$sensitive])) {
      print "Security violation\n";
      exit;
      }
      }

      Essentially, it's just checking key variables like "GALLERY_BASEDIR" to make sure that they're not set in the input. If they are, it suicides. Any variable which is dangerous they can then simply add to that array at the beginning of the file.
      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  30. Need to block port 25 all over by penthouseplayah · · Score: 4, Interesting

    In my dorm we have blocked port 25 from LAN to internet. It was thought to keep viruses from propagating from out network and keep people from setting up a spamserver. Now it looks like a very good decision. (they can actually only use our DMZ smtp gateway, which is antivirus protected).

    All ISP or the like should block port 25 outbound by default, and make people use the smtp server of the ISP. If people (1 out of 10.000) would like to use port 25 outbound, they should contact the ISP through a bureaucratic procedure. That would close the trojan hole at least.

    Are there any other ports (priviledged/unpriviledged) that one can safely block to avoid trojans and the like???

    1. Re:Need to block port 25 all over by tgd · · Score: 4, Insightful

      To do that ISPs need to allow SMTP authenticated users to send e-mail with any domain name attached.

      I have to run my own e-mail server, because Comcast (my cable modem provider) doesn't allow me to send outgoing e-mails with my real e-mail address, its go to be @comcast.net or whatever their domain is.

      If they block port 25, e-mail is effectively shut off for me as a usable technology on the Internet, and I'll be stuck either having to tunnel the e-mail to someone who doesn't have it blocked, or change ISPs.

  31. gotta be an easier way to... by martin · · Score: 2, Insightful

    1) make money (or is spamming that easy?)
    2) get my rc control car that gives me a reduced mortgage, life insurance and 'elongates' my love life :-)

    More seriously, the education needs to be for the people who buy off these people. If people stop using the 'services' then the spammers will move onto some other way of making money.

  32. TMDA (was:Bad getting worse...) by zenspider · · Score: 2, Insightful

    I've gotten a few of those and always attributed it to a legitimate TMDA triggered by the newer breeds of email viruses that set the from: to be someone else from the addressbook (ie, me).

  33. Interesting, but... by grahamtriggs · · Score: 5, Insightful

    Let's first of all say I am no fan of spam. In fact, I hate it. All spammers - and virus writers - should be strung up and subjected to some real virii.

    However, some of these statistics are possibly obscuring reality. For example, let's take Messagelabs anti-spam service. Until recently, all emails from WorldPay - receipts, etc. - were marked as spam. All the traffic on an email discussion list that I have signed up for are marked as spam. Some commercial email notification lists that I have signed up for (ie. Maplin offers) are marked as spam.

    But none of those emails *are* spam. Admittedly, some spam emails do get through without being flagged. So maybe it's a bit 'swings and roundabouts'. And regardless, the situation is pretty depressing anyway.

    One thing I have been thinking about - and just wondering whether it should be entered as an Ask Slashdot item - are some of the 'cures' as bad as the problem itself?

    I work on biology / medicine journals websites, and we offer a number of automatic notification and general update services. Note that these are *not* spam - they are requested by individuals by signing up on the website - and instructions are given in every email in how to remove yourself from the list. And they are a very valuable service to many people that do choose to receive them. Yet it only takes 1 person to not bother to read or follow the removal instructions, or otherwise hit some other temporary (accidental) issue that holds up their removal, and then submit it to a blacklist service to bugger things up for many other people.

    So where is the regulation on the blacklist services? Where is the ability for *genuine* (provably genuine) companies to register their services in such a way that rather than getting blacklisted immediately, they have the opportunity to respond to the issue raised? Is this a small or large price to pay to partially stem the tide of actual spam?

    1. Re:Interesting, but... by taustin · · Score: 3, Insightful

      So where is the regulation on the blacklist services?

      The market regulates it. A blacklist that is too aggressive doesn't get used. It's really that simple. If your ISP blocks stuff you don't want blocked, compalin to them, or switch. If someone's blocking your mail, it's up to them to complain to their ISP. If they don't, they obviously don't object.

      Where is the ability for *genuine* (provably genuine) companies to register their services in such a way that rather than getting blacklisted immediately, they have the opportunity to respond to the issue raised?

      Most mail admins don't give a flying fuck whether you are a "genuine" company or not. I got spammed relentlessly by American Express, until I block their entire IP block until the heat death of the universe. If you don't want to be blocked, don't spem. It's not that difficult. Really.

    2. Re:Interesting, but... by c_dog · · Score: 2, Insightful

      The only problem that I can see in your solution is that "genuine" is usually validated for the deepest pocket...meaning that if you have the money to spend to "legitimize" your "marketing" efforts, you will *never* be blacklisted. To get a working example of this, look no further than the exemptions identified in the US Do-Not-Call List.

  34. Re:Not just "sounding better", he is correct usage by spaceyhackerlady · · Score: 2, Informative

    Uh, no. Using "he" as a generic 3rd person pronoun is deprecated, and has been so for a long time. Though I cringe at the thought of women being spammers, and would hope that women would have more sense. :-)

    Note that both your references have notations about generic usage and the problems that arise.

    The least worst I've heard recently is singular "they".

    ...laura

  35. The Marketer is Responsible Too by supersmike · · Score: 2, Interesting

    If you received an ad in the mail for my product and the ad was contaminated with anthrax, wouldn't I be liable? Maybe not if I told you I used a mail service to send my ad, and that they must have done the contaminating, but at the bare minimum, I would be expected to fess up as to who the mailer is. If I didn't know who the mailer was (blind credit card form or somesuch) I might be guilty of negligence - at least I'll bet a civil suit would say so, because someone has to be blamed for the contamination. Spam may not be anthrax, but there is a conceivable case for liability if we went after the marketers, no?

  36. Time to get serious? by Anonymous Coward · · Score: 2, Insightful

    I wonder how long before people start having to "strike back". This guy got as far as finding out the master server; just imagine, for a moment, what he could have found had he turned the table and rooted the master server. He probably would be able to trace back all the way to the culprit.

    I'm not saying this should be done; I'm just saying this will be done, sooner or later, by someone who got fed up enough. And that will mean the end of the Internet as we know it, since the spammers will react violently to the strike back, turning the whole net into a gigantic game.

  37. Do-it-yourself blacklist? by pjack76 · · Score: 3, Interesting
    Here's an idea, tell me why it won't work. :)

    Instead of having one mail server for your home or organization, you have two. Except one is secretly useless. It just blackholes everything that's sent to it.

    You buy another domain and list the blackhole as the MX record for the new domain.

    You sign up for a bunch of email marketing lists using addresses from the blackhole domain.

    Everything that gets sent to the blackhole server is by definition spam.

    The blackhole server also runs DNS. You set your real mail server's RBL DNS to point to the blackhole server.

    Every time the blackhole server accepts a connection on port 25, the blackhole server immediately drops the connection (so no wasted bandwidth) and updates DNS with the originator's IP address.

    You now have your own local blacklist, you don't have to trust somebody elses. Keep a log, if somebody bitches about it you can say "Well, somebody sent spam to my blackhole server on this date at this time from your IP. Suffer".

    You'd have to combine it with a whitelist to let Yahoo and Hotmail and so on through, but you'd still kill a lot of spam.

    Thoughts?

    --

    Wow, a lucrative publishing contract! I don't have to be evil anymore. --Meteor

    1. Re:Do-it-yourself blacklist? by schon · · Score: 3, Interesting

      Here's an idea, tell me why it won't work.

      OK, but remember, you did ask.

      First of all: what you envision is nothing new. It's called a 'spamtrap'.

      The most important thing is that it relies on security through obscurity - as soon as the spamtrap addresses become known, they're useless (and can actually be used to fsck you up.) If you think this won't happen, I urge you to read the article - this spam machine isn't stupid, and will find your spamtrap addresses faster than you think.

      Every time the blackhole server accepts a connection on port 25, the blackhole server immediately drops the connection (so no wasted bandwidth) and updates DNS with the originator's IP address.

      Pretty simple - anyone who knows the spamtrap address(es) can now DOS your legitimate mail server by sending mail to your spamtrap. (I realize you noted this, but included only Yahoo and Hotmail.)

      Spammers get your spamtrap address, they have infected machines on many different ISPs, so they send mail to your spamtrap using those ISPs' (again) legitimate mail server.

      Congratulations, you have just stopped receiving email from every ISP on the planet.

  38. Re:SpamAssassin makes me not care by harlows_monkeys · · Score: 4, Insightful
    I know it is selfish...I no longer care about spam

    Not selfish. The word you want is stupid. Your attitude is equivalent to saying you don't care about massive water pollution because you've got a really good personal filtering system that can make a small amount of drinking water safe, so you don't care about pollution, say, killing crops.

    The problem with spam is that it is threatening to overwhelm the basic infrastructure of the net.

  39. OK. who's behind this? by Animats · · Score: 5, Interesting
    Let's dig a bit. As usual, we ignore where the spam came from, and concentrate on where the money goes.

    The spam contains ads for the "Asta Design Group", which has been widely spamvertized. A bit of searching turns up this address:

    • SeafishNET and the Asta Design Group
      360 NE 49 St
      Fort Lauderdale, Florida USA 33334
      E-mail: seafish1@ix.netcom.com

    Another lead gives us

    • The documents and information on this Web site are copyrighted materials of SeafishNET, Asta Designs and its information providers.... "SeafishNET" and the SeafishNET logo are registered trademarks of SeafishNET.
    • SeafishNET
      360 NE 49 St.
      Oakland Park, Florida 33334 USA
      (954) 351-7961
      seafish1@ix.netcom.com

    Same address and zip code, but in Oakland Park, a Ft. Lauderdale neighborhood. Now we have a phone number. Google gives us

    • Charles Fish, (954) 351-7961, 360 NE 49th St, Fort Lauderdale, FL 33334

    Checking the satellite imagery, that's a tract house backing up to a six-lane highway. It's not a mailbox service.

    Since we're talking about felony computer intrusion here, that's the address to give the cops. This may or may not be the intruder, but they probably know who it is.

    1. Re:OK. who's behind this? by bmsleight · · Score: 2, Funny
      Why not phone him to ask him if he is responsible for the spam. Also stealing someones paid bandwidth.

      Please do not all call Mr Charles Fish at once we do not want him being /.ed. One at a time please ....

      Add to Mailing lists Charles Fish, (954) 351-7961, 360 NE 49th St, Fort Lauderdale, FL 33334

    2. Re:OK. who's behind this? by SaneLane · · Score: 3, Interesting

      One thing interesting to me is that the English used in some of the log messages and other bits of this distributed SPAM system were very obviously written by someone for whom English is a second language. There wasn't enough of it to guess what their native language is, and their English is pretty good, avoiding the common mistakes that usually give away the type of native language.

      Given the the German and Russian addresses, I would not at all be surprised if the distributed SPAM software was written by someone in Russia on contract to (paid by) some SPAM company in the U.S. Or perhaps it was written by a foreign national residing in the USA -- like this "Charles Fish" fellow.

      Of course, the SPAM regulation law that Congress just passed is almost useless. It never declares or makes SPAM illegal. It just requires spammers to not forge addresses and silly things like that.

      I think every corporate IT administrator or geek of another sort should repeatedly emphasize how much time and money is being lost to SPAM until the big corporations really put the pressure on world governments to make SPAM flat out illegal. That won't stop it, but it will give the folks fighting it some legal teeth with which to chomp on the culprits when they can be cornered.

  40. Hatred of DJB by ErikTheRed · · Score: 2, Informative

    I haven't met the guy and tend to hold him in reasonably high regard based on what I've read of his writings on the Internet. That being said, he appears to be extremely opinionated and tends to say or imply that certain people that disagre with him are idiots. While this may be the case (or may not be; I have no idea, but I'll give djb the benefit of the doubt), his tendency to express himself so bluntly probably turns many people off.

    --

    Help save the critically endangered Blue Iguana
  41. "The Authorities?" I don't think they care. by annielaurie · · Score: 3, Insightful

    The overwhelming amount of spam I get now involves the advertising (and presumably selling) of a controlled substance--a prescription drug that is deemed a narcotic. The prescribing of this drug (and a few others in the spams) by legitimate physicians, and its dispensing by legitimate pharmacies are strictly regulated in some kind of effort to prevent the abuse of the drug--an abuse that is rampant in many areas of the US.

    I keep waiting to hear that the Federal authorities have taken some action in this regard. If you've ever been through US Customs (and especially if you're young, not white, or in any way "unusual" looking) you'll know that they make a great show of looking through everybody's sneakers and dirty laundry on the hunt for "illegal drugs." Even in these times of terrorism, it's their chief claim to fame.

    The potential for abuse seems enormous and growing to me. It also seems to me that a lot of the spams advertising this stuff originate in, or pass through, the U.S. If somebody in our town hung out a sign saying GET YOUR PRESCRIPTION NARCOTICS HERE--NO PRESCRIPTION REQUIRED, my guess is the police would take an interest. But we seem to have virtual open-air drug markets operating undisturbed.

    If anyone wonders how spammers make money, this is certainly one possible way, and I suspect it's incredibly lucrative.

    --
    DUCT TAPE: The Election Supervisors' Secret Weapon
  42. Questions for you Linux experts out there by TheTranceFan · · Score: 4, Interesting
    I'm a relative Linux noob and I'm trying to understand this thing. I read the whole article, but there are a few things I'm not sure I get.
    1. Was his server really rooted? It seems like these bogus httpd's that were running were still running as www-data, the user this guy had Apache running as.
    2. Did I miss some escalation-of-privileges step, or does apache's user usually have this level of privileges? Like chmod'ing things it got with wget...yikes!
    3. I run php with register_globals=off. Is that enough?
    4. What's an easy way in Linux to tell if your outbound bandwidth is slammed?

    I was very impressed with the forensics this guy did. It was fascinating. Too bad it's necessary. I wonder how many machines out there are compromised without anyone even knowing it.

    1. Re:Questions for you Linux experts out there by CTachyon · · Score: 2, Informative
      1. Technically no, the spammer never got root. The spambot was sending spam as an unprivileged user (the same one that Apache ran as), which is still plenty to run a spambot.
      2. Any user can chmod files that he/she/it owns, even to deny him/her/itself access and then chmod it back.
      3. In this case, apparently not, although it should be.
      4. There isn't anything built in at the command line to do it for you (at least, in any distro I'm aware of). You can kinda kludge it by reading /proc/net/dev, waiting 5 seconds, reading it again, and dividing the difference in bytes by 5. Hell, in fact, here's a Perl script I just knocked out to do it: bw-usage.pl. (You'll need Time::HiRes from CPAN; you can install it with perl -MCPAN -e 'install("Time::HiRes")' as root.)
      --
      Range Voting: preference intensity matters
  43. A realistic solution by Mostly+a+lurker · · Score: 3, Interesting
    Over 99% of discussion on elimination of spam always seems to resolve around

    * Make every stupid person smart so noone responds to spam

    * Change every mail server in the world to use a new protocol

    * Use client-side spam detection to hide spam and expect the stupid people to use it

    Well, I have less than complete faith in any of these methods providing an adequate short term solution. So, why cannot we look at the big picture?

    A few major spammers are sending millions of emails. The effect is close to being a DoS attack on the entire Internet. These emails are susceptible to pattern analysis if analyzed on a global basis. Surely what we need is somethng akin to an Internet-wide intrusion detection system. When pattern analysis indicates a spam attack, we simply block the traffic as close to the source as possible.

    Wouldn't there be a cost associated with this? Sure. But the spam problem needs to be resolved and this is the only realistic short term solution that I can envisage.