Slashdot Mirror


Amazon's EC2 Having Problems With Spam and Malware

jamie pointed out a story about the recent problems Amazon's EC2 service has been having with malware and spam. "EC2 space is now actively blocked by Outblaze, and has been listed by Spamhaus in their PBL list [...] However as Seth Breidbart noted in the comments, 'note that Amazon will terminate the instance. That means that the spammer just creates another instance, which gets a new IP address, and continues spamming.' True enough -- as described, instance termination simply isn't good enough."

43 of 103 comments (clear)

  1. Death Penalty by Archangel+Michael · · Score: 5, Funny

    While I'm against the death penalty, I might be willing to consider it for spammers.

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    1. Re:Death Penalty by Anonymous Coward · · Score: 5, Funny

      Now thats the REAL instance termination we need!

      Not spam filters, SPAMMER filters!

    2. Re:Death Penalty by Hojima · · Score: 2, Interesting

      I don't see why the government doesn't prosecute the companies that have their products spammed. They are the absolute root of all this. Without them, there wouldn't be any placebos to sell so that they can hire more spammers. There's got to be SOME way to get to them.

    3. Re:Death Penalty by palegray.net · · Score: 4, Insightful

      Because oftentimes it isn't those companies' fault. Say you have an affiliate program, or you rely on a third-party affiliate program management firm to provide compensation for those who promote your products. You can have strict terms for those people that warn against using spamming tactics to promote their affiliate sales, and you can terminate the ones who get caught, but you can't ever guarantee compliance en masse.

      Your suggestion is equivalent to throwing knife makers in prison because some of their customers misuse the product.

    4. Re:Death Penalty by Hojima · · Score: 2, Informative

      Your suggestion is equivalent to throwing knife makers in prison because some of their customers misuse the product.

      Actually, it's more like going after gun dealers who don't go through standard procedures before selling a gun. If you held the companies responsible, believe me there would be more initiative to prevent spamming. That, and it's not tough to nail companies that ship a large amount of placebos and claim them to do things they don't.

    5. Re:Death Penalty by palegray.net · · Score: 3, Interesting

      You're talking about two completely different things here. Your original idea was to hold the "final destination" companies responsible for the actions of spammers. This *will not work* in a great many cases for the reasons I cited in my previous post. Referencing your gun sales procedures analogy, it sounds like you've never run an affiliate program. Yes, you do your best to screen applicants to make sure they have a legitimate web presence before agreeing to allow them to market your products in exchange for commissions on sales. However, this is *really* easy to circumvent if someone is truly interested in using spam as a promotion mechanism. Would you advocate requiring something like a photo ID before allowing someone to do affiliate marketing? I'm sure Amazon.com and the like are sure to implement such a requirement any day now (light sarcasm). It would simply make your affiliate marketing program near-worthless in an age where people are extremely hesitant to part with a lot of their personal information, and wouldn't do anything to deter the spammers (in many ways resembling how gun control laws frequently do nothing to prevent crime, because criminals don't usually obtain their guns through legal channels anyhow).

      As for nailing companies that ship products that don't work as advertised, we already have a mature legal framework for dealing with such organizations. Of course, that's assuming the business is operating in a jurisdiction where you can actually prosecute them (many, many foreign scam operations operate from dubious locales).

      I sympathize with your frustration at the situation; I deal with it every day myself. I operate several servers that filter tens of thousands of inbound SPAM pieces a day. I have to deal with constant attacks on those servers from botnets trying to turn them into SPAM-churning zombies. It's a monthly balancing act deciding which IP blocks to ban based on nasty activity, without losing revenue from pageviews from legitimate visitors. In other words, I'd like to feed spammers their balls through the wrong end of their anatomy, but your methods simply aren't workable options.

    6. Re:Death Penalty by localman · · Score: 4, Insightful

      As someone who has been involved with both sides of an affiliate program myself, I tend not to agree with your assessment. The company I worked for did an amazingly good job of keeping spammers from promoting our products. We had people on this continuously. These aren't random folks, they're people who we are paying (i.e. have an ongoing legal business relationship with) to bring customers to us. You can damn well bet it's our responsibility to make sure they act appropriately: they're our employees (claims of "independent contractor" notwithstanding).

      I think that a reasonable legal framework for applying pressure to companies that benefit from spammers is warranted. I would have been glad to work under such a framework myself. Really, there's no excuse.

      Cheers.

  2. Terms of Service by macx666 · · Score: 4, Insightful

    They have the credit card numbers of these people, no? Add a $1000 (or more) charge to the TOS each time someone gets caught spamming through them. That should make a pretty clear point.

    1. Re:Terms of Service by thermian · · Score: 4, Insightful

      And what if the credit card in question is stolen?

      --
      A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
    2. Re:Terms of Service by adolf · · Score: 4, Insightful

      Then the owner will actually notice that his/her card is stolen, and finally go over the bill with a fine-toothed comb, disputing charges as they go.

      Nothing is lost.

    3. Re:Terms of Service by MBCook · · Score: 4, Interesting

      No kidding. I'd say you have to put up a bond if you want to be able send more than some small threshold of emails out per day (100?). If you're good, you are safe. Maybe you get your bond back after 6 months. If you misbehave, Amazon cuts you off and you just lost $5-$10k.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    4. Re:Terms of Service by macx666 · · Score: 4, Interesting

      Then amazon needs to do a much better job of determining who their clients really are, and there are quite a few fairly reliable ways of doing so.

      Nothing is perfect, but it can be made very hard.

    5. Re:Terms of Service by thermian · · Score: 4, Insightful

      That's something of an extreme approach. Not exactly the sort of behaviour that would endear a company to its customers.

      If your EC2 account got hacked (which may happen if its worth the effort), you would end up hacked, billed, and having quite possibly a hell of a fight to get your cash back.

      --
      A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
    6. Re:Terms of Service by MrMr · · Score: 2, Insightful

      Depends, if it is not reported stolen; tough luck for the card holder, if it is; tough luck for the credit card company.

    7. Re:Terms of Service by morgan_greywolf · · Score: 3, Funny

      No problem. EC2 is unhackable!

      ppppppffffffffffffffft. Sorry, I couldn't say that with a straight face. :)
    8. Re:Terms of Service by Anonymous Coward · · Score: 2, Insightful

      Crap idea. Small start-ups use this kind of service instead of a dedicated server in a server farm. Compare costs and you'll see why.

      What is small for emails? One small project I set up has over 5000 users, when their reports are ready they get notified, when something changes, they get notified.

      6 months of spam will generate a hell of a lot more than thr $5-10k bond.

      There are far better ways to stop spamming. Follow the money all the way to the companies selling the drugs, watches, or whatever. Someone is paying the piper to send the spam. Want it stopped. Slap massive fines onto the companies caught using them. Make it double per case. Shut them down if they persist.

      Someone running a company is not going to want to use spammer once they're prosecuted and heavily fined.

    9. Re:Terms of Service by rnswebx · · Score: 5, Informative

      Actually, tough luck to vendor who allowed the fraudulent transaction. The credit card companies themselves typically have very little (any?) responsibilities when it comes to fraudulent transactions. It's entirely up to the vendor to do the proper verification prior to billing a transaction, as far as I know.

      The problem is that these small fraudulent transactions are typically more expensive to track down than they are to write off. If someone racks up a $1,000 bill on the ec2 cloud with a stolen card, the credit card company isn't out a dime, and the vendor (in this case Amazon) isn't likely to spend much time finding and prosecuting whoever is using the stolen card because it's expensive and time consuming to do so. Sure, maybe some ip addresses will be blocked and cards added to blacklists (temporarily?) but that doesn't stop the next guy from doing the same with a new stolen card.

    10. Re:Terms of Service by encoderer · · Score: 4, Insightful

      Actually, both Visa and MasterCard hold banks to the same "Zero Fraud Guarantee" policy for Debit Cards as they do Credit Cards.

      In fact, if you search Visa.com for their Consumer Credit Card and Consumer Debit Card pages, you'll see that the Zero Fraud Policy link on both takes you to the same page.

      They require that banks put provisional funds back into your account within 5 days of the dispute being made. Most banks do this the same day. I bank at BoA and they do it within hours.

      The policy extends to charges incurred as a side-effect of the fraud, like overdrafts.

      It does not apply to pin-based transactions, but there are no pin-based transactions on the web anyhow.

      This makes sense if you think about it and it has nothing to do with Congress. Many people are transitioning away from cash. I hardly EVER carry cash. I use my Debit card for everything. And Visa has a vested interest in seeing this continue. A HUGE interest.

      Besides, there is no difference between "Banks and credit unions" and "credit card companies."

      Visa doesn't give out credit. They don't even give out credit-cards. They just provide a clearinghouse network. On their end, a Debit Card transaction (non-pin-based) looks identical to a CC transaction.

      Of course, none of this applies if your debit card doesn't carry a Visa or MC logo. But if that's the case, you're not using it online, anyway.

    11. Re:Terms of Service by EVil+Lawyer · · Score: 3, Insightful

      What's interesting about the set up (where the merchants are responsible for the fraud, not the credit card companies) is that the card companies have very little incentive to prevent fraud. In fact, they frequently have a disincentive: They collect a $25+ per charge "chargeback fee" from the merchants, for fraudulent charges. It would be in credit card companies' interests if fraud increased! (Of course, not past the level where merchants are hurt too badly to stop accepting cards).

    12. Re:Terms of Service by mysidia · · Score: 2, Informative

      They'll dispute all the illegal $1000 charges by EC2 which would cost Amazon a hefty chargeback fee for each transaction reversed.

      And possibly Amazon suffers other actions. Due to unjustifiable $1000 'surcharge' running afoul of consumer protection laws.

      You and I may think spam's bad, but that's not going to convince a court that Amazon's justified in charging someone $1000 to send a few hundred emails.

    13. Re:Terms of Service by L0stm4n · · Score: 2, Interesting

      I lost my wallet once on a saturday and didn't notice until monday. I went out for more beer saturday night and my wallet fell out of my pocket ( best guess of what happened since the pants I was wearing always lost shit from the pocket when I sat down ) when I got in my friends car. Sunday I didn't go out so never looked for my wallet. Monday I looked and couldn't find it. Checked my bank of america online page and saw fraudulent charges. Mostly from local conveinence stores and wal-marts. I contacted BOA and the local police, BOA refunded all the money, including overdraft within a few hours. The police took a report, and never heard from them again. BOA never questioned the charges but asked I gave them a police report number. All was well. Issued a new card and got it in the mail a week or so later.

      --
      superman runs linux
  3. Terminate accounts not instances? by teh+kurisu · · Score: 4, Insightful

    Why aren't Amazon terminating the accounts of offenders, and blacklisting whatever payment method they're using? It's a paid service, it's not like spammers can register for new accounts as much as they like, they're going to run out of credit card numbers (well, assuming their activities aren't more nefarious than mere spam).

    It's not in Amazon's interests to have EC2 blacklisted.

    1. Re:Terminate accounts not instances? by RabidMoose · · Score: 3, Insightful

      I agree with parent. This should be a non-issue. Just shut the account off, (possibly with a fine, as suggested elsewhere), and disallow the account holder from creating another account.

    2. Re:Terminate accounts not instances? by dedazo · · Score: 3, Interesting

      I agree of course, but how exactly do you go about identifying these people so that they don't open another account? Credit card numbers? PayPal accounts? Last names? What?

      Nothing prevents Joe Spammer from creating a second account as Joe Spammer Thornton III a day after the first one is turned off. The capabilities of Amazon's cloud are too juicy to pass up.

      --
      Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    3. Re:Terminate accounts not instances? by rnswebx · · Score: 2, Insightful

      I think you're missing the point. If the offenders have stolen credit cards, they likely also have the correct name and address to go along with them. Adding electronic verification does absolutely nothing to solve the problem, unless we start requiring matching state issued IDs or SSNs to our cards. The obvious problem with that is now we're allowing even more private, extremely sensitive data to flow across the internet.

      It's a difficult problem to solve; certainly more so than simply requiring matching names and addresses to a credit card.

    4. Re:Terminate accounts not instances? by Todd+Knarr · · Score: 4, Interesting

      There's actually a solution to that, but it involves slowing the process down. Just don't activate the account once the information's entered. Instead, send a physical letter to the credit-card billing address. You can require a form to be signed and returned, or just include an activation code in the letter that has to be entered to turn the account on. That should make it infeasible to use 99% of stolen cards. It introduces a few days of delay between requesting the account and getting it, but IMO if you intend to use the account for any length of time a few days shouldn't be an issue and if you don't then you're likely exactly the kind of person this is intended to filter out.

    5. Re:Terminate accounts not instances? by rnswebx · · Score: 2, Informative

      I remember when PayPal did that when I opened my account back in 2000. I'm not sure if they still do that, but it certainly is a solution. It adds significant time, infrastructure (auto mailing facilities, employees, machines, etc) -- which all boil down to cost. I didn't like waiting the 4 or 5 days for my secret pin to arrive. On the other hand, if I applied for an account and either my pin didn't work or I never received it and I had to go through it multiple times, I'd probably start looking at other solutions.

  4. Sheesh, seems like a match made in heaven by fuzzy12345 · · Score: 4, Interesting
    Previously, senders of large volumes of paid-for (by the sender) yet unwanted (by the receiver) emails had to corral their own clouds of distributed, low-cost computing resources (a.k.a botnets). Amazon provides similar capabilities for pennies an hour. Both Amazon's and the emailers' business models work, and questionable penetration of third parties' computers is no longer required.

    Somebody finally solved the ????? = Profit equation. What's everyone getting so worked up about?

    --

    Everybody's a libertarian 'till their neighbour's becomes a crack house.
    1. Re:Sheesh, seems like a match made in heaven by QuantumRiff · · Score: 4, Insightful

      Amazon will fix this, as soon as they have an incentive to do so. IE, if enough blocklists start adding their IP's, customers will threaten to take their business elsewhere, as their legitimate emails are not going through.. then, and only then, will amazon act (and only if the cost benefit to fix are less than the development time, and income from spammers). Would you expect a corporation to do differently?

      --

      What are we going to do tonight Brain?
  5. Re:How is this different from any colo... by klingens · · Score: 3, Insightful

    The hoster terminates the client and won't sign him up again. Amazon could easily do he same but doesn't. Instead the only terminate the instance.

  6. Re:So what is EC2? by jamie · · Score: 4, Informative

    The top hit from Google would have told you. It's Amazon's Elastic Compute Cloud.

  7. I'd RTFA but... by Thelasko · · Score: 3, Funny

    I'm afraid taint.org might not be safe for work.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    1. Re:I'd RTFA but... by LMacG · · Score: 5, Informative

      My thoughts exactly. Luckily, Brian Krebs at the Washington Post wrote about this in his Security Fix blog.

      --
      Slightly disreputable, albeit gregarious
  8. Terminate the account! by SanityInAnarchy · · Score: 2, Interesting

    Once they have the name of the instance, they also know who launched it -- after all, they are billing someone.

    I like the suggestion to charge a large fee to the credit card they have on file, but what about simply banning the account in question?

    --
    Don't thank God, thank a doctor!
  9. Re:So what is EC2? by Anonymous Coward · · Score: 2, Funny

    No, it's apparently something in the Amazon. I guess Brazilian deforestation is a major contributor to the global increase in salted canned pig meat.

  10. Honeynet Project by fatrat · · Score: 2, Interesting

    The UK Honeynet Project spotted this a few days earlier :) http://www.ukhoneynet.org/2008/06/30/it-had-to-happen

  11. It's a problem? Really? by EdIII · · Score: 2, Funny

    Here is a wild idea... WILD.. Off the hook insanity....

    Just block ALL of EC2 from being able to send out anything on port 25 and 587.

    Problem solved. Last time I checked EC2 has a lot more interesting uses than running mail server software.

  12. Re:Require DKIM by Kalriath · · Score: 3, Insightful

    EV certificates cannot sign mail, only server to server communication. E-mail signing certificates cost about $30, and require absolutely no proof of identity, just existence. This is no barrier whatsoever.

    --
    For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  13. How about improving the monitoring? by Amamdouh · · Score: 2, Insightful

    I think all the ideas of placing a deposit or putting an extra charge per message are against the EC2 model. The whole idea is to offer a high capability solution at a low entry price that scales easily.
    Spammers and abusers tend to have distinctive patterns and this what Amazon should be paying attention to. Ie. some guy using a US credit card, logging to his instance from eastern Europe and sending a zillion emails messages the second day after sign up should raise some doubts. Manual inspection of suspicious traffic can be very costly but they can easily build a growing list of trusted customers who use the service for legitimate reasons and monitor suspicious traffic from new registrations.

  14. Re:So what is EC2? by SleepyHappyDoc · · Score: 4, Funny

    Wikipedia says it's the north eastern corner of the city of London, roughly. I don't get the article, either.

    --
    Stasis is death. Embrace change.
  15. instead of trying to collect after abuse, by LukeCrawford · · Score: 2, Insightful

    why not run an inward facing IDS- something like snort. It's easy enough to setup a script that automatically terminates accounts of people sending abuse, and to do it on the first instance of that abuse.

  16. PBL is the wrong blacklist to whine about by Mr.+Roadkill · · Score: 4, Informative

    Of course it gave me a reason. 554 Denied [SHPBL] - Denied by Spamhaus PBL along with a nice url. I'm not willing to give up any more details than that as I am not interested in posting any of the related ips.

    Ah, the PBL. That's where your argument falls to pieces.

    From http://www.spamhaus.org/pbl/index.lasso :

    PBL IP address ranges are added and maintained by each network participating in the PBL project, working in conjunction with the Spamhaus PBL team, to help apply their outbound email policies.

    So, your ISP told Spamhaus that mail shouldn't be coming from the range your IP address is in. Not Spamhaus making a trite, petty and vindictive block for the fun of it. Not some blacklist deciding in error to block a whole /24 full of static addresses with REAL rDNS records for most of it because they found a couple of zombied machines with vaguely generic-looking PTRs in it. This is a case of the people you pay for connectivity telling Spamhaus that the rest of the world should not accept mail from your IP address or others near it until further notice - they're being good neighbours, and are to be applauded.

    If you have a static address you can poke a hole in the PBL for it pretty easily - *you* can provide that further notice:

    A feature of the PBL is the elimination of 'false positives' with a server-identifying and automatic removal mechanism for single IP addresses. This allows end users with static IP addresses within a larger dynamic pool, and legitimate mail server operators, to assert that in their opinion their IP addresses are a trustworthy source of email and to automatically remove (suppress) their IP addresses from the PBL database. Safeguards are built in to prevent abuse of this facility by spammers (and particularly by automated bots).

    Do your research. The PBL is pretty damn useful, and you probably qualify for free use. If you have an unfiltered postmaster address on your domain (you do, don't you?) the smart thing would be to start blocking with it but make sure the rejection contains something like "Rejected: $IP_ADDRESS listed in Spamhaus PBL ( http://lookup-urlip_address/ ) - please contact postmaster@whineyblacklisthater.org for assistance if required" - you'll find that the "false-positives" for it are almost invariably from people who don't know what the PBL is and want to do their own thing, regardless of the practicalities the rest of the world has to face. Why should I or anyone else accept mail from somewhere your own ISP or their upstream provider has said I shouldn't?

  17. Re:slashdot users smoke crack by Jerry+Smith · · Score: 2, Informative

    Why do all the antispam nazi's solutions ignore the collateral damage to innocent by standers? "They should educate themselves" "they should switch providers" they scream. Black lists do nothing but break the system. I'd rather get all the spam than have important mail bounce. Just last week I had a mission critical email bounce because of some lame blacklist. This email not getting to its recipient would have basically ruined my life. Its a good thing I have the ability to send mail from more than once source.

    If you formulate your mails the same way you usually formulate your posts on Slashdot , I'm really not surprised, Mr. Fr0sti P1ss GNNA.

    --
    All those moments will be lost in time, like tears in rain. Time to die.