Slashdot Mirror


Drive-By Download Poisons Google Search Results

snydeq writes "A new attack that peppers Google search results with malicious links is spreading quickly, CERT has warned. The attack, which can be found on several thousand legitimate Web sites, exploits flaws in Adobe software to install malware that steals FTP login credentials and hijacks the victim's browser, replacing Google search results with links chosen by the attackers. Known as Gumblar because at one point it used the Gumblar.cn domain, the attack is spreading quickly in part because its creators have been good at obfuscating their attack code and because they are using FTP login credentials to change folder permissions, leaving multiple ways they can get back into the server."

46 of 136 comments (clear)

  1. The Importance of Being Forgotten by eldavojohn · · Score: 5, Insightful

    ... that steals FTP login credentials ...

    About five years ago, I had installed some Firefox FTP plugin (FireFTP?) and was enjoying the simplicity of having my browser be used for multiple kinds of traffic when transferring files.

    Well, we all know how bulletproof secure Firefox is, right? Not very. So I thought about it more and more I got really nervous about using something like this. I thought of the importance of all the things I had connected to--whether it be my friend's FTP server to drop off some pictures of our last vacation or one of several web hosts I had been working on. So in the end, I removed it from my machine as I wasn't sure how it was storing sessions and passwords. I also deleted the passwords from saved sessions in WinSCP on my Windows machines. Nowadays I just use the 'ftp' command in the shell no matter what operating system I'm using. Yeah, it's annoying to change directories both locally and remotely by hand (without even tab-complete!) but you know it sure beats being that guy that lost all his shit (and maybe some other people's) to something like this.

    The integration of FTP clients into browsers and I think I've seen plugins in integrated development environments to remotely connect and upload your changes. While this may seem like a stream lined and faster path to development, acknowledge the risks you take when that's a server hosting data to users.

    --
    My work here is dung.
    1. Re:The Importance of Being Forgotten by Aladrin · · Score: 5, Insightful

      It's a pretty rare thing in the computer world to gain convenience without sacrificing security.

      In fact... Drop 'computer' out of that sentence and it's still true.

      It's all about a balancing act. You have to take risks to be efficient... It's just part of life.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    2. Re:The Importance of Being Forgotten by Anonymous Coward · · Score: 4, Interesting

      On the contrary, security without convenience is a myth. When "logging in" is an arcane protocol, then the user focuses on technical details instead of thinking about potential avenues of attack. Computers should handle the arbitrary and fiddly details and leave only the critical aspects to the user.

      The real problem with the security of credentials is that for some reason we're not willing to do the right thing, which is to encapsulate authentication in a small (and therefore easier to secure) subsystem, like a class 3 smart card reader.

    3. Re:The Importance of Being Forgotten by _LORAX_ · · Score: 3, Informative

      ssh keys with passwords are the best bet. Run an agent so you only have to give your password occasionally and there really is not a lot to steal. They can take the private keyfile, but without the password it is useless. They can use ssh/scp on your behalf, but only until the session ends.

      Putty has an agent for windows, OSX Leopard has an agent integrated with keychain, and Linux has agents that integrate with PAM. OSX and Linux allow it to be SSO with little risk of password/credential theft.

    4. Re:The Importance of Being Forgotten by morgan_greywolf · · Score: 2, Insightful

      Smart card readers are only as secure as the smart cards themselves.

    5. Re:The Importance of Being Forgotten by Abcd1234 · · Score: 4, Insightful

      Well, we all know how bulletproof secure Firefox is, right?

      More to the point, we all know how secure FTP is, right?

      Jebus, if you're that paranoid, why, dear god, weren't you using SFTP?

    6. Re:The Importance of Being Forgotten by Anubis350 · · Score: 3, Informative

      if they have can use ssh from your existing session they can: cat $NEW_PUBLIC_KEY >> ~/.ssh/authorized_keys

      --
      "goodbye and hello, as always" ~Prince Corwin, from Zelazny's Amber series
    7. Re:The Importance of Being Forgotten by gparent · · Score: 3, Informative

      Nowadays I just use the 'ftp' command in the shell no matter what operating system I'm using. Yeah, it's annoying to change directories both locally and remotely by hand (without even tab-complete!) but you know it sure beats being that guy that lost all his shit (and maybe some other people's) to something like this.

      You realise FireZilla makes this 100 times easier and is just as secure, right?

    8. Re:The Importance of Being Forgotten by BenoitRen · · Score: 2, Insightful

      Well, we all know how bulletproof secure Firefox is, right? Not very.

      Care to substantiate this? Firefox has a very good track record when it comes to security thanks to its quick responses to known vulnerabilities and patching almost all of them before they become publicly known.

    9. Re:The Importance of Being Forgotten by CatBegemot · · Score: 2, Insightful

      "Smart card readers are only as secure as people using them" Here, fixed that for you. You're welcome.

    10. Re:The Importance of Being Forgotten by Presto+Vivace · · Score: 2, Insightful

      Security that is too cumbersome with be ignored by users, they will us go-arounds that dispense with security all together. Ease of use is a critical part of security.

    11. Re:The Importance of Being Forgotten by Anonymous Coward · · Score: 5, Funny

      Well, we all know how bulletproof secure Firefox is, right? Not very.

      Care to substantiate this? Firefox has a very good track record when it comes to security thanks to its quick responses to known vulnerabilities and patching almost all of them before they become publicly known.

      Sure, let me explain:

      1. I am snide.
      2. I am a bitter fanboy of another browser, which, for the sake of argument, I'll call... um... "Mop-er-ah".
      3. Firefox is more popular than my pet browser.
      4. By points 2 and 3 (and with help from 1), I am indier than thou.

      Therefore, it is obvious that I'm right and Firefox has a long-standing track record of swiss cheese security that any infant can get around from remote without the user even turning on the computer. QED.

      Next I'll tell you why spaghetti has a lousy track record in security issues. Right after I finish my stuffed pasta shells. Stupid spaghetti, stealing all the best features of stuffed pasta shells...

    12. Re:The Importance of Being Forgotten by 117 · · Score: 2, Insightful

      Nowadays I just use the 'ftp' command in the shell no matter what operating system I'm using. Yeah, it's annoying to change directories both locally and remotely by hand (without even tab-complete!) but you know it sure beats being that guy that lost all his shit (and maybe some other people's) to something like this.

      As you mentioned that you use Windows machines, why not just use Windows Explorer for FTP purposes?

    13. Re:The Importance of Being Forgotten by PitaBred · · Score: 2, Informative

      I tend to make authorized_keys2 read-only, and owned by root. I can change that if I need to add another key, but that's so rare that it's well worth the extra security.

    14. Re:The Importance of Being Forgotten by BenoitRen · · Score: 2, Informative

      You make a good point. There's one thing that I find fault with, though:

      I hope HTML + CSS + ECMA stop being constantly updated

      Where do you see constant updates? HTML 4.01 has been out since 1997 or so. CSS2 has been out since 1998. HTML5, CSS2.1 and CSS3 are still in draft stage, though I will admit that CSS2.1 has been close to completion for quite some time now, which makes it valid for implementation.

      I can't argue about ECMAScript. It seems to get an update a little quicker than the previously-mentioned technologies, though.

  2. Wouldn't... by Jaysyn · · Score: 2, Insightful

    ... Flashblock basically remove this exploits ability to infect your PC?

    --
    There is a war going on for your mind.
    1. Re:Wouldn't... by ZirconCode · · Score: 4, Informative

      I guess this answers your question:

      "Users who visit these compromised websites and have not applied updates for known PDF and Flash Player vulnerabilities may become infected with malware"

      *sigh* Adobe...

    2. Re:Wouldn't... by Anonymous Coward · · Score: 2, Insightful

      I think Adobe (PDF and Flash) are the biggest nuisance to computers. I hate it when PDFs in firefox freeze the browser.

    3. Re:Wouldn't... by Spatial · · Score: 3, Insightful

      Me too. It's crap anyway, so I turned it off and set FF to download PDFs to a folder instead.

      It's a good thing I got sick of it hanging actually, the whole PDF exploit thing came up a little after that. I still get randomly named PDFs downloading themselves sometimes, presumably they're exploit-loaded. Lately it occoured to me that, because Adobe includes a shell extension to render a preview image, simply selecting the file in Windows may be enough to trigger an exploit. Thoughts?

    4. Re:Wouldn't... by averner · · Score: 2, Interesting

      This is pretty much the only reason I use Chrome rather than Firefox - Chrome freezes less often when something in it acts slow.

      --
      Member of the 7 Digit UID Club
    5. Re:Wouldn't... by joelmax · · Score: 4, Interesting

      Some recent adobe confirmed exploits do this. In some cases, simply mousing over the file and getting the preview alledgedly can cause infection.

    6. Re:Wouldn't... by TheP4st · · Score: 2, Informative
      TFA says:

      Security experts say that if you're using a fully patched system with up-to-date security software, you should be protected from these attacks. To date, they've worked by hitting the victim with malicious PDF or Flash files.

      --
      "I have downloaded hundreds and hundreds of records, why would I care if somebody downloads ours?" Robin Pecknold
  3. Sophos by Spad · · Score: 5, Informative

    According to Sophos, this particular exploit seems to be a hell of a lot more "popular" than other previous web-based malware.

  4. The problem is with Adobe... by vertinox · · Score: 5, Informative

    On OS X I don't even install the reader anymore.

    But if you use it on Windows and aren't half bothered to find a more secure PDF reader... At least turn the plugin off in Firefox

    Tools > Options > Applications

    Set all Adobe to always ask.

    --
    "I am the king of the Romans, and am superior to rules of grammar!"
    -Sigismund, Holy Roman Emperor (1368-1437)
    1. Re:The problem is with Adobe... by morgan_greywolf · · Score: 2, Insightful

      Yep. My step-daughter is always saying things like "I hate Ubuntu! It makes you load the PDF in a separate application, not right in the browser like on Windows!"

      It's a security thing! The Adobe plugins suck.

      Another way to fix the whole thing is to just use NoScript. No scripts running on a Web page == no drive-by downloads.

    2. Re:The problem is with Adobe... by drinkypoo · · Score: 4, Informative

      Install mozplugger and you can use evince to view PDFs inside of Firefox. If you install it on Ubuntu it happens automtically. It will use acroread if it's installed, I think; it will also use kpdf if you happen to be on Kubuntu, and I think xpdf for Xubuntu.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:The problem is with Adobe... by kju · · Score: 3, Insightful

      > It's a security thing! The Adobe plugin suck.

      Oh, it's a security thing. Really? Now please explain to me, why it is more
      secure to open the PDF in the standalone Acrobat Reader running under the
      same uid as your browser (and thus under the same uid as the standalone Reader).

      It would be a security thing to use another PDF reader instead of Acrobat
      Reader, but this has nothing to do with the fact if it is runs as a plugin
      or not. You can both embed Acrobat Reader and other PDF readers into the
      browser window in Linux.

      So instead of using lame excuses to your step daugther, thus making her linux
      experience bad and therefore make her dislike linux, just fix the damn box
      to show the PDF inside the browser.

    4. Re:The problem is with Adobe... by smoker2 · · Score: 3, Interesting

      Is PDF a web format ? If not then use a separate app to view them. The browser is not supposed to do everything. I have no plugins for PDF in my linux browser and my experience doesn't suck. Next you'll be wanting MS word to be viewable in the browser. Wanting something, and it being a good idea are sometimes very far removed. She probably wants a pony too, try getting that to run in a browser !

      There seems to be no word about this attack working under linux anyway.

    5. Re:The problem is with Adobe... by rhizome · · Score: 2, Informative

      or just use foxit

      same bug

      --
      When I was a kid, we only had one Darth.
    6. Re:The problem is with Adobe... by Yvan256 · · Score: 2, Funny

      She probably wants a pony too, try getting that to run in a browser !

      No problemo.

  5. You hate it when PDFs freeze Firefox? by Norsefire · · Score: 4, Funny

    I hate it when PDFs freeze Acrobat Reader.

  6. Don't use FTP anyways by 4D6963 · · Score: 3, Informative

    Don't use FTP anyways for anything sensitive like uploading to your website. I used to do that, then got infected by a virus of sorts. What it did was sniff the (non-encrypted) FTP packets to steal credentials, then log in and replace all the index files on the server with its malware infected version.

    That got me to of my websites to be infected and being blocked by Firefox/Google for being reported as attack sites. Now I only use SFTP/SCP.

    --
    You just got troll'd!
  7. DON'T CLICK LINK IN PARENT POST (NSFW) by Anonymous Coward · · Score: 5, Informative

    This may not have been intentional, but the Scroogle link in parent post is wrong, and goes to a site that is NSFW.

    Correct link is here.

  8. Re:stuck with adobe by Norsefire · · Score: 2, Insightful

    Consider an organisation, such as a newspaper or print company, where Adobe's software is the industry standard.

  9. A little warning by Anonymous Coward · · Score: 3, Informative

    I got infected with this piece of shit (or some other very similar piece of shit) because malicious code on a website somehow forced Adobe Reader to open a PDF, although Foxit had been my default PDF reader for months (in conjunction with the PDF Download add-on, which was somehow circumvented as well).

    Sure, I should have been suspicious instead of just annoyed at AR opening out of the blue. And sure, I should have uninstalled AR when I started using Foxit, instead of just letting it sit on my computer. This is just a warning to other people that are as stupid as me.

  10. Google Attacks (With Corrected Link) by Fantom42 · · Score: 2, Insightful

    (Reposted with Correct Link)

    As the article points out, these trojans/viruses that use Google and other search engines are becoming more common. My mother got one that replaced all of the major search engine results with fake spyware and antivirus software links. I imagine its popular because its a bit subtle and pernicious. How much malware is out there that is undiscovered because the affects are more subtle? Maybe reordering search results? Replacing ads with different ones?

    For my mom, I ended up using http://www.scroogle.org/ to download AV software to fix it. Seeing it for the first time, it was surprising to me that search engine results could be corrupted in this way. (I guess not that surprising...) And, I must admint I don't know if these programs are latching on to the browser applications somehow or if they are doing it somewhere else in the OS layer. It would be interesting to find ways to prevent these symptoms in a more sophisticated way than using Scroogle (i.e., finding a search engine they hadn't considered). If these viruses are using the underlying OS, would the search engines using SSL by default be a way to do it? Or would a man in the middle attack negate that? And I'd imagine there had to be a way to lock down the browsers themselves, or at least make it difficult, from this kind of attack if that's their point of entry.

      When I was a kid, a friend of mine and I made two anti-virus viruses. (We didn't spread them around, just did them for research purposes.) The first one modified COMMAND.COM to expect .EXX, .MOC, and .TAB files instead of the standard ones, and then renamed all of the files on the system this way. This broke some programs, requiring a hex editor now and again, but it basically made my friend's system immune to viruses. The other one attached on a little self-CRC checker to every executable which would print a warning if another program had altered the file. Fun times. I wonder if these ideas are patented now.

  11. Re:Google Attacks by Opportunist · · Score: 5, Interesting

    Trojans that modify your browser's behaviour don't care for connections or encryption thereof, because the modification happens much higher in the chain. I had a trojan to dissect that literally changed your online banking information inside the browser. You saw that you're transfering A bucks to B, while the trojan sent to the bank you're transfering C bucks to D. The bank confirmed C bucks for D, and the browser asked the user for the confirmation code to send A bucks to B.

    As soon as the browser is under the control of malware, it can manipulate your input before it is encrypted and sent through the wire, and manipulate the output after it has been decrypted and before you get to see it.

    Locking down the browser would essentially also mean that you disable anything that can inject code into running processes (createremoteprocess and the like), as well as disallow browser plugins. I doubt many people would really want that.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  12. 6 website infected with this last month by foniksonik · · Score: 5, Informative

    I had 6 websites infected by this last month. Flash and PDF downloads starting in iframes offscreen.... based out of China.

    Not sure if it was a web exploit or ftp login theft. We looked at both early on as the footprint was confusing in that things were happening that shouldn't be possible without direct access to the server via ftp.

    We changed all passwords to be sure that there weren't any old ones floating around on insecure PCs in the company or with clients, then updated all applications do remove any known exploits. Then added in rewrite rules to stop libwww and other known agents from accessing any files via the web.

    Seems to have worked, no more exploits happening (lots of tagging was happening in addition to Gumblar).

    It's odd that it took so long for this advisory to come out though. Maybe we should have reported it but we did not know it was new as both exploits were known at the time, just no connected with a specific initiative by a hacker/botnet.

    --
    A fool throws a stone into a well and a thousand sages can not remove it.
  13. Re:You're still using Adobe Reader? by andi75 · · Score: 2, Interesting

    Which one should I use? Is FoxIt's reader any better? I suspect it also has some vulnerabilities but gets less attention from the bad guys because Acrobat's Reader is much mode widely used.

  14. Adobe Reader 9.1.1 not installed by default! by AxelBoldt · · Score: 5, Interesting

    In their security alert, Adobe urges people to upgrade from Adobe Reader 9.1.0 to 9.1.1. If you install Reader from their main download site, they still give you 9.1.0. The 9.1.1 update is available only if you follow the links at the bottom of the security alert. Insecurity through obscurity!

  15. Re:Google Attacks by LordLimecat · · Score: 2, Informative

    It does care for connections--ive seen this particular infection, and it doesnt care what browsers you install, or whether you install new ones, or use firefox portable. If http traffic leaves the computer for google | yahoo | live et al., it gets modified enroute. You get returned legitimate results in the correct order, but all the links are redirected to another site. Its browser-agnostic. I would imagine that it wouldnt care about encryption, since its on your computer and it could just do the injection after decryption takes place.

  16. Re:stuck with adobe by Norsefire · · Score: 2

    No, software such as indesign and photoshop. Alternative PDF readers are fine for casually looking at downloaded PDFs but I haven't found one yet with the features Acrobat pro has; the bloat you mention are feautures people in some industries actually use.

  17. I've seen this. by rincebrain · · Score: 5, Informative

    I got to clean out a system with this about a week ago. It was really nasty.

    The worst part was that I spent the better part of two days trying to figure out why the search links were still being poisoned, even after nothing on several LiveCDs found anything...it turned out that it had installed an invisible Firefox plugin/extension which was doing it.

    Exciting, huh?

    --
    It's only an insult if it's not true.
  18. Re:What is is NSFW? by Rashdot · · Score: 4, Funny

    Just scroogle it.

    --
    This is not the sig you're looking for.
  19. Re:Google Attacks by afxgrin · · Score: 2, Informative

    Hey - thanks for the link to a nice website. :-)

  20. Re:You're still using Adobe Reader? by fluffman86 · · Score: 2, Informative

    In Windows, I like Sumatra. It's smaller and faster than Foxit, and doesn't allow javascript and crap that causes problems in Adobe Reader. It does, however, sometimes have trouble rendering some more complicated pdf's, but you could always keep foxit around for that rare occasion.