Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

'Greasemonkey' Malware Targets Firefox

Posted by CmdrTaco on Thu Dec 04, 2008 11:25 AM
from the oh-this-can't-end-well dept.
snydeq writes "Researchers have discovered a new type of malware that collects passwords for banking sites but targets only Firefox. The malware, dubbed 'Trojan.PWS.ChromeInject.A,' sits in Firefox's add-ons folder, registering itself as 'Greasemonkey,' the well-known collection of scripts that add functionality to Web pages rendered by Firefox. The malware uses JavaScript to identify more than 100 financial and money transfer Web sites, including PayPal, collecting logins and passwords, which it forwards to a server in Russia. Trojan infection can occur via drive-by download or download duping."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • I wish (Score:5, Funny)

    by gEvil (beta) (945888) on Thursday December 04 2008, @11:29AM (#25990055)
    I wish I could use this as an excuse for all the money disappearing from my PayPal and bank accounts, but sadly I can't....
    • I wish I could use this as an excuse for all the money disappearing from my PayPal and bank accounts, but sadly I can't....

      See? With Firefox, you wouldn't have that problem! :-)

    • Re:I wish (Score:4, Funny)

      by Hoi Polloi (522990) on Thursday December 04 2008, @11:37AM (#25990219) Journal

      Now you can ask for a government bailout!

    • Re:I wish (Score:5, Informative)

      by Lumpy (12016) on Thursday December 04 2008, @01:39PM (#25992241) Homepage

      I give out my paypal password all the time.

      It's Fire98-myFun.

      it will do you no good without my keyfob and it's current 6 digit number. My bank, paypal, ebay, and 2 of my credit cards use the same keyfob because they use verisign and it defeats every single one of these trojans, keyloggers, and scammers. Why they are not common place I'll never understand.

      • Re:I wish (Score:4, Interesting)

        by cayenne8 (626475) on Thursday December 04 2008, @01:45PM (#25992351) Homepage Journal
        "it will do you no good without my keyfob and it's current 6 digit number. My bank, paypal, ebay, and 2 of my credit cards use the same keyfob because they use verisign and it defeats every single one of these trojans, keyloggers, and scammers. Why they are not common place I'll never understand."

        Interesting...I'd not heard of such and option being available for PP, eBay or banks.

        What bank is that with?

        Do you have links on how to set this up with PP and eB? Is it one fob that does it for them all or one for each?

  • by Hari Kant (1124085) on Thursday December 04 2008, @11:35AM (#25990173)
    I would suggest that DO-NOT "Remember Passwords" and Login ids in any Browser where Sensitive Information will be sent ultimately.
    • by maxwell demon (590494) on Thursday December 04 2008, @11:41AM (#25990297) Journal

      I guess the malware remenmbered those passwords itself, so not storing them in the password manager wouldn't help.

      IMHO the fact that you can use plugins with Firefox means that there should be an extra security barrier inside Firefox that disallows extensions to get passwords (e.g. when accessing the password lines, it would just get the stars which are also displayed on the screen).

      • by clone53421 (1310749) on Thursday December 04 2008, @12:04PM (#25990715) Journal

        Javascript is already capable of getting the value of a password field, and even if it wasn't they could just redirect the form action and get the password that way.

        Try this: go to Paypal.com (any page with a password field, really), type in something arbitrary into the password field, and then paste this into the address bar:

        javascript:for(var a=document.getElementsByTagName("input"),i=0;i<a.length;i++)if(a[i].type=="password"){alert(a[i].value);i=a.length;}void(0);

    • by girlintraining (1395911) on Thursday December 04 2008, @12:00PM (#25990635)

      I would suggest that DO-NOT "Remember Passwords" and Login ids in any Browser where Sensitive Information will be sent ultimately.,/quote>

      Well, that'll stop the really stupid malware authors that sit down at your PC and copy the file that stores your passwords. But it won't stop the one who left a key logger, the other who is doing control scrapes, the guy looking over your shoulder, the in-memory debugger that waits for a POST submission and copies everything in the data struct, or the FBI (who knows about those magazines under your bed too).

      If you want to offer some advice to people that'll result in a real increase in security, tell them to install NoScript, or not to download executables and run them without scanning them. Tell them to install Spybot, or AdAware, or AVG Free. But don't ask them to turn off a convenient feature because it will stop the .1% of attackers too stupid to figure out a better way of getting that information.

  • by girlintraining (1395911) on Thursday December 04 2008, @11:35AM (#25990179)

    Well, this just proves that it's easier to develop for Firefox than IE. ^_^ Of course, it's a very backhanded compliment.

  • by Vellmont (569020) on Thursday December 04 2008, @11:38AM (#25990243)

    It's just part of the mounting evidence that username/password combinations for banks is inherently flawed. "Somthing you know" can always easily be known by someone else. Bank security should (IMO) be also based on "something you have", like an ATM card.

    If banks really wanted two-way authentication to work properly, they'd use a hardware device (USB-key) that had to be present in the machine to login to your account. The hardware device would be implemented in such a way to make it impossible to copy the functionality of it without physical access to it.

    • The problem with USB keys is that you have to install a client to handle the PKCS #11 with the browser. No bank wants to get in the business of telling customers to install software (and all the help desk problems that come with it).

      OTP tokens have been the preferred method for consumer strong authentication, but only consumers in Europe have seem to taken to them. I don't really see people lining up to get the paypal OTP token.

  • and i've always been derided as a microsoft fanboy. when i think its just common sense:

    the amount of hacks and viruses and malware on an os/ browser has absolutely nothing to do with anything other than marketshare

    you can try to make something as secure as possible, but if the incentive is high, hackers can always pay attention to security way more than you do, and find holes you did not anticipate, no matte rhow subtle

    if something is full of security holes, it won't be hacked, if its market share is tiny

    meanwhile if something is ironclad, it will still be hacked, if its maker share is huge. the incentive to find holes is so high, the most esoteric avenues of investigation are explored

    • by Sounder40 (243087) * on Thursday December 04 2008, @12:43PM (#25991345)

      The reason Windows is targeted is because it's model of sharing everything was so wide open to so many exploits. And don't forget the numerous buffer-overflow vulnerabilities. Top that off with the fact that it is so pervasive, and you have the deadly combination we have now.

      Linux/Unix, on the other hand, was written with clear lines of delineation between the user and kernel spaces. And attention was paid to avoid buffer overflow vulnerabilities.

      Not saying that there aren't exploits available in Linux and Unix... There are. It's just designed from the ground up to be more secure than Windows.

      So part of what you said is correct: The pervasiveness of Windows is a major reason why it is targeted. But you can't avoid the poor security design of Windows as a cause as well.

        • 1. it just sounds cool
          2. sometimes in scrabble, you need to get rid of a lot of Is

          language isn't a top down authoritarian function, its trickle up from the bottom

          therefore, here in this thread, based on my authority of having none at all, i hereby announce "virii" to be a valid word in the english language

          use it profusely, use it constantly, use it anywhere

          and in such a way, make it a valid word

          motion has passed

  • by xiao_haozi (668360) on Thursday December 04 2008, @12:03PM (#25990691) Homepage
    That's it....I'm switching to IE!
  • FireFox matters. (Score:3, Interesting)

    by wvmarle (1070040) on Thursday December 04 2008, @12:21PM (#25990973)

    Not sure whether this should be considered a compliment, but to me it indicates that FF matters. It has enough market share for criminals to target.

    Unfortunately not many details on this exploit: is it really an exploit in FF (for the drive-by download)? Or is it more like a trojan (for the download duping)?

  • by rs232 (849320) on Thursday December 04 2008, @12:31PM (#25991137)
    "This latest e-threat - called Trojan.PWS.ChromeInject.A - is intended to be delivered onto a compromised computer [bitdefender.co.uk] system by other malware"

    SYMPTOMS: Presence of the: "%ProgramFiles%\Mozilla Firefox\plugins\npbasic.dll"

    TECHNICAL DESCRIPTION: It drops an executable file (which is a Firefox 3 plugin)

    Does that mean it's Windows only ?
  • Fix (Score:5, Funny)

    by Frankie70 (803801) on Thursday December 04 2008, @01:00PM (#25991617)

    You can download a fix for it here [microsoft.com].

  • by rickst29 (553930) on Thursday December 04 2008, @03:26PM (#25993807)
    "Trojan.PWS.ChromeInject.B" is definitely only effective in Windows, because it installs and executes these files: "%ProgramFiles%\Mozilla Firefox\plugins\npbasic.dll" "%ProgramFiles%\Mozilla Firefox\chrome\chrome\content\browser.js" browser.js calls the The dll file, which can't run in Linux, etc. unless you're running a WINDOZE Firefox via crossover (which would be insanely stupid). Also, since it's installed into the program directory (rather than the user's profile), VISTA will almost certainly make you click for "administrator confirmation" before writing the files. (I don't know for sure, because I don't have VISTA.) - - - - - When I enter the URL for http://www.bitdefender.com/VIRUS-1000451-en--Trojan.PWS.ChromeInject.A.html# [bitdefender.com], the page content is identical the version for "Trojan.PWS.CHromeInject.B" (even the given name is "Trojan.PWS.ChromeInject.B", they even over-wrote the ChromeInject.A page by accident or, ChromeInject.A isn't spreading in the wild AND has nearly identical characteristcs, perhaps differing only in file sizes.) BitDefender provides the following list of banks their page for this version, http://www.bitdefender.com/VIRUS-1000451-en--Trojan.PWS.ChromeInject.B.html [bitdefender.com]: It filters the URLs within the Mozilla Firefox browser and whenever encounter the following addresses opened in the Firefox browser it captures the login credentials. akbank.com caixasabadell.net credem.it areasegura.banif.es banca.cajaen.es openbank.es poste.it banesto.es carnet.cajarioja.es gruposantander.es intelvia.cajamurcia.es net.kutxa.net bancopastor.es bancamarch.es caixamanlleu.es elmonte.es ibercajadirecto.com bancopopular.es bancogallego.es bancajaproximaempresas.com caixa*.es caja*.es ccm.es bancoherrero.com bankoa.es bbvanetoffice.com bgnetplus.com bv-i.bancodevalencia.es clavenet.net fibancmediolanum.es sabadellatlantico.com arquia.es banking.*.de westpac.com.au adelaidebank.com.au pncs.com.au nationet.com online.hbs.net.au www.qccu.com.au boq.com.au banksa.com anz.com suncorpmetway.com.au quiubi.it cariparma.it bancaintesa.it popso.it fmbcc.bcc.it secservizi.it bancamediolanum.it csebanking.it fineco.it gbw2.it gruppocarige.it in-biz.it isideonline.it iwbank.it bancaeuro.it bancagenerali.it bcp.it unibanking.it uno-e.com unipolbanca.it carifvg.com cariparo.it carisbo.it islamic-bank.com banking.first-direct.com natwestibanking.com itibank.co.uk co-operativebank.co.uk lloydstsb.co.uk mybankoffshore.alil.co.im abbeynational.co.uk mybusinessbank.co.uk barclays.com online.co.uk my.if.com anbusiness.com hsbc.co anbusiness.com co-operativebankonline.co.uk halifax-online.co.uk ibank.cahoot.com smile.co.uk caterallenonline.co.uk tdcanadatrust.com schwab.com wachovia.com bankofamerica kfhonline.com wamu.com wellsfargo.com procreditbank.bg chase.com 53.com citizensbankonline.com e-gold.com paypal.com usbank.com suntrust.com banquepopulaire.fr onlinebanking.nationalcity.com
    • also (Score:4, Interesting)

      by ODiV (51631) on Thursday December 04 2008, @11:36AM (#25990199)

      What happens if you already have Greasemonkey? Would it stop working or does the malware work fine alongside it?

    • Re:only firefox? (Score:5, Insightful)

      by miknix (1047580) on Thursday December 04 2008, @11:39AM (#25990271)

      Mozilla needs your permission to install plugins from unverified sources.

      But since windows standard practice is to click on everything that has an OK on it, I think it doesn't matter.

    • Re:only firefox? (Score:5, Insightful)

      by Brain-Fu (1274756) on Thursday December 04 2008, @11:43AM (#25990327) Homepage Journal

      from the article:
      Users could be infected with the Trojan either from a drive-by download, which can infect a PC by exploiting a vulnerability in a browser, or by being duped into downloading it, Canja said.

      This is utterly unacceptable. They should give instructions to users on how to avoid downloading this.

      They listed two ways in which systems get infected. One is "by being duped into downloading it." The instructions to avoid this are easily enough translated as your standard Internet hygien guidelines: "When websites offer browser-enhancements to you, say no," and "don't execute email attachments even if they come from trusted friends."

      However, I want more detail about this "drive-by download" bit. There is a hole in my browser that will make it automatically download this addon, without prompting me? Give me a link. Give me the details. What versions have the hole? Has it been patched? Is there something I can do (other than "browse nothing") that will prevent this hole from being exploited? People need these details.

      • by MrMr (219533) on Thursday December 04 2008, @11:47AM (#25990415)
        The problem has been diagnosed by BitDefender, and they can sell you all the peace of mind you ask for.
      • Re:only firefox? (Score:5, Interesting)

        by Ed Avis (5917) <ed@membled.com> on Thursday December 04 2008, @11:53AM (#25990517) Homepage

        The cool thing about Firefox is that you can basically force users into installing malware by exploiting bug 59314 [mozilla.org]. Just keep popping up a dialogue box (with no way to stop it or switch to another tab) until the user gives in and says yes.

        • Re:only firefox? (Score:5, Informative)

          by Vancorps (746090) on Thursday December 04 2008, @12:46PM (#25991403)

          I ran into this when I visited a site that another admin got the Antivirus 2008 trojan from. Of course I'm on Ubuntu so I was pretty sure simply visiting the site wouldn't cause any problems. I kept getting prompted to install it so I just found out what link it kept calling and just modified my hosts file to point it to localhost and then I got out of it like I should.

          Pretty devious exploit though.

          • Re:only firefox? (Score:5, Insightful)

            by hairyfeet (841228) <[bassbeast1968] [at] [gmail.com]> on Thursday December 04 2008, @01:21PM (#25991953)

            Bingo, I have seen malware in both Firefox and IE installed using the "endless loop" dialog box that the previous poster pointed out on Bugzilla(BTW, how freakin sad is it that the bug is from pre-1.0 and is still there?). Here is how I saw it work, by using a test box i keep for bug testing and removal practice. I found the bug by going through the users history and going where he went.

            Here is how it works. You get Mr. Stupid Horny Guy to look at some topsites, you know the ones, a bunch of hot babe thumbnails that take them to yet more topsites. After a few minutes he will hit a site with a dialog box that says something like "You won a free hour in our hot babe video vault! Simply click yes to download the player and watch your hot videos full screen!" but thanks to the bug if he hits cancel it simply throws another dialog box in his face until he hits yes. If Mr Stupid Horny Guy even knows about ctrl/alt/del (which many don't) they will find the PC slow to a crawl whenever they try to launch it. So for Mr Stupid Horny Guy the choices come down to A=yank the plug out of the back, or B=click yes. So you can guess which of those 2 gets chosen more often.

            I just wish Mozilla would put a cancel button automatically on all dialog boxes that would just kill all scripts on a page. It would probably cut way down on the drive by downloads, at least the ones I have come across.

              • Re:only firefox? (Score:4, Interesting)

                by hairyfeet (841228) <[bassbeast1968] [at] [gmail.com]> on Thursday December 04 2008, @05:40PM (#25995621)

                I do use Noscript on all my machines, but for my customers it really is a "nuke it from orbit" solution which causes more problems than it solves. What we need for Noscript is a "average Windows user" setting which would whitelist Youtube and the other popular video sites, along with a "horny guy" setting that would add Porntube, Redporn,etc. Because I have tried to teach my Windows customers about whitelisting but sadly it turns into another Vista style "always click allow" which kills the whole point. Perhaps a simpler dialog box interface for Noscript than the current one? Maybe one that would detect .flv,.swf,rmb,etc and have a simple "click if you want to play the video" button?

      • Re:only firefox? (Score:5, Informative)

        by Rudisaurus (675580) on Thursday December 04 2008, @12:02PM (#25990675)
        More details here [bitdefender.com]
    • by Simon Brooke (45012) <stillyet@googlemail.com> on Thursday December 04 2008, @11:45AM (#25990367) Homepage Journal

      does it affect all platforms since it's Java?

      anyone know?

      It's not Java, it's JavaScript - two very different languages linked only by a common marketing fuckwit.

    • Re: (Score:3, Informative)

      Nowhere does it say it is Java. In fact, I don't see any Java. I see JavaScript, but that is completely unrelated to Java (if the name confuses you, take it up with Sun, their marketing department wanted to leech off of Java's success). There is only a JavaScript file and a Windows Netscape Plugin. So it probably only affects Windows.
      • Re: (Score:3, Interesting)

        someone should publish the javascript, the press report was totally bull

        Meh, even without seeing the code it's pretty easy to figure out what they most likely did. All they'd have to do is create an onSubmit that sends an Ajax request to their server with the contents of the username and password fields on the form being submitted. Considering that add-ons (AdBlock, for example) can already inject and/or remove HTML from the dynamic page, it doesn't surprise me in the least.

        Then all they have to do is figure out how to deploy it – obviously the Firefox plugin repository i

    • Re: (Score:3, Insightful)

      Yay! We're safe because mac/linux/firefox is secure by design. Oops. Yay! We're safe because no one bothers with attacks on us. Oops. Yay! We're being attacked and thus might finally be important?
      ----
      Note: Actually a fanboy, but a realistic one.
      • Gah... (Score:4, Informative)

        by msimm (580077) on Thursday December 04 2008, @01:19PM (#25991923) Homepage
        Read.article. Most of your 'insightful' comment applies to Windows and piggy-backing on a Windows exploit. The other OS's you mention (ie: not Windows) would be exploited by ignoring the FF warning dialog about installing untrusted add-ons and installing it anyway (not so much an exploit).

        That said, if you're done being cheeky: software is complicated. Bugs are a simple reality and inevitably lead to some kind of exploitability. But Linux and Mac (along with FF and numerous other open tools) get a bit of credit for implementing basic controls (accounts with privilege separation in the OS's) and responding quickly and proactively.

        Windows is only now trying it, but their implementation is so cumbersome it's defeating it's own purpose.

        Any Vista user out there that haven't already tried it there are several open source sudo [sourceforge.net] for Windows [sourceforge.net] implementations that make using non-privileged accounts more viable. I think I use Sudowin [sourceforge.net] which seemed to work the best for me, but I'm not on my home computer.
    • by thtrgremlin (1158085) on Thursday December 04 2008, @12:29PM (#25991085) Homepage Journal
      I think an important thing to note here is that this is not using a Firefox exploit. It is using existing malware to manually install a plugin into Firefox. There is no proof of concept here at all, but point taken.
    • Re: (Score:3, Informative)

      Here's the important part:

      is intended to be delivered onto a compromised computer system by other malware for subsequent download into Mozilla Firefox's Plugin folder. Once installed it gets to work every time Firefox is started.

      Apparently Firefox has protections so plugins can only be downloaded from addons.mozilla.org, but if they are downloaded by another program, and placed in the appropriate folder, Firefox will use them.

      There are two things to know about this:
      1) Another piece of malware has to be