Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Phishing For Bank Info Without Any Pesky Malware

Posted by timothy on Fri Jan 16, 2009 12:06 AM
from the but-the-convenience-is-incredible dept.
Emb3rz writes "DarkReading.com brings us news of a new approach to phishing that targets online banking sites. Here's the novel part of it: it doesn't involve any of the typical attack vectors we all know and love. Instead, it uses JavaScript from a remote page to detect if you have a banking site open, and prompts you for info via popup if you do."
+ -
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.
  • by alain94040 (785132) * on Friday January 16 2009, @12:06AM (#26478655) Homepage

    This is real scary. And it goes to prove that bad guys always come up with new ways to steal. I don't believe there is a technical solution to this arms race.

    Instead, I'd love to see our law enforcement friends be more pro-active and setup traps. Pose as a fake victim. Go out and seek those phishing sites. When the thieves come after your money thinking they just ripped off a stupid Internet newbie, then you can trace their activity and catch them.

    That's the best way I can think of scaring the bad guys: when they never know if their next victim might be a cop.

    --
    FairSoftware.net [fairsoftware.net] -- work where geeks are their own boss

    • Re: (Score:2, Informative)

      by Anonymous Coward

      I've heard of something like this before.
      Though there's this magical thing called noscript.
      If people would stop putting law before them to prevent them from making stupid choices then we might have a more informed society.
      (I ironically didn't read TFA.)

      • by Gerzel (240421) * <brollyferret@gma ... minus physicist> on Friday January 16 2009, @03:33AM (#26479531) Journal

        Problem is with no-script you still have to decide if you trust or not-trust the site and if that level of trust you have is worth what the site is offering.

        If the site offers a useful service which requires scripts you have to decide if it is worth the risk.

        While in most cases it is easy to tell and block only those sites you trust. Those that you don't block may also allow third party scripts to be run such as in ads on the site.

        • paranoia-plus... (Score:5, Insightful)

          by BrokenHalo (565198) on Friday January 16 2009, @05:16AM (#26479987)
          My paranoia has led me into a practice of doing my banking in a single browser session, clearing cookies, cache and history before and after, and closing/restarting the browser when finished.

          Looks like I was right about the monsters behind the sofa after all.
          • by stranger_to_himself (1132241) on Friday January 16 2009, @06:30AM (#26480313) Journal

            My paranoia has led me into a practice of doing my banking in a single browser session, clearing cookies, cache and history before and after, and closing/restarting the browser when finished.

            My paranoia has led me into a practice of doing my banking by going to the bank.

            • Re: (Score:3, Funny)

              by SkyDude (919251)

              My paranoia has led me into a practice of doing my banking by going to the bank.

              You insensitive clod. How do you get there - in your gasoline powered, carbon-emitting, smog-making car?
              A real /.er would stay in his basement and do his banking on the internet and not risk having to interact with other humans.......

              You must be new here.

        • by DigitAl56K (805623) * on Friday January 16 2009, @05:48AM (#26480111)

          Problem is with no-script you still have to decide if you trust or not-trust the site and if that level of trust you have is worth what the site is offering.

          That slightly over-simplifies the protection that NoScript offers. For example, even when you allow script to run NoScript still provides protection against certain types of XSS, you can use it to force cookies to be exchanged over https for certain domains, it can block some plug-in types (Java, Flash, Silverlight), it features click-jacking protection, and just a couple of days ago it even added protection against attacks on twitter [hackademix.net].

          So yes, you do have to make that trade-off, but even when you click "allow" you're potentially better off with NoScript installed than without it.

    • Police have boundaries and borders. The internet, alas, does not.
    • by blueg3 (192743) on Friday January 16 2009, @01:37AM (#26479097)

      Well, the nature of an arms race is such that it has technological approaches.

      In this case, for example, there most certainly is a technological approach. JavaScript in one loaded tab in your browser should have no shared knowledge with other tabs in your browser. Data separation needs to be enforced at a finer level. You should also know, if you have two tabs open to different sites, which one of the two a popup is associated with.

        • Re: (Score:3, Informative)

          by blueg3 (192743)

          When you're currently visiting one site, and open a new tab and go to a different site, those two open tabs should have no capacity to share information -- they should function as if they were separate browser sessions. (Obviously this isn't the same as if you clicked on something in a tab that causes another tab or window to open, as they may need to share knowledge. But then, the fact that those two tabs/windows are tied to the same context should be made apparent to the user.)

    • Re: (Score:3, Interesting)

      by retech (1228598)
      There's a simple technical solution to this:
      1. trace the phishing to their location
      2. send a missile to that location
      3. problem solved
    • by RonTheHurler (933160) on Friday January 16 2009, @08:04AM (#26480775)

      How about this one-

      I got a letter in the mail (usps snailmail) from Bank of America asking for a lot of personal information that was missing from my account, and that if I didn't supply that information they'd have to report me to the IRS.

      The letter was spelled correctly, had proper grammar and even had the BofA logo printed in full color. The return address was a PO box in Dallas. Nothing fishy at all.

      Problem is, I don't have a BofA account. But I'm sure a LOT of other people do.

      Phishing - it's not just an on-line phenomenon.

      • Re: (Score:2, Troll)

        by X0563511 (793323)

        The solution is to make the bad guys "disappear," not to seek out "justice."

        Why the hell would Elbonia care if some local scumbags show up dead in a gutter somewhere?

        • by eln (21727) on Friday January 16 2009, @01:10AM (#26478993) Homepage

          Some of us like to believe that the Constitution, as well as all other laws and treaties the government operates under, restricts the government's actions everywhere that it operates, not just on American soil, and that it also precludes the government from encouraging other nations to do what it itself is prohibited from doing. I don't see how we can call ourselves a just nation if we simply outsource acts that we would find deplorable if our own government were carrying them out.

          I don't deny that our government has had something of a bad history of clandestinely encouraging foreign powers to "disappear" people we find troublesome, but that doesn't make it right or legal, and it certainly doesn't mean we should encourage it to happen more often.

        • by N1AK (864906) on Friday January 16 2009, @07:31AM (#26480597) Homepage
          Slashdot: Where fining people for copyright infringement is wrong but killing people for stealing login details is "Insightful".
  • XSS (Score:5, Informative)

    by AKAImBatman (238306) * <akaimbatman.gmail@com> on Friday January 16 2009, @12:08AM (#26478671) Homepage Journal

    Here's the novel part of it: it doesn't involve any of the typical attack vectors we all know and love.

    A cross-site scripting attack sounds like a pretty typical attack vector to me. Javascript should not be able to "detect" if they have a banking site open. Pure and simple.

    • Re:XSS (Score:5, Insightful)

      by AKAImBatman (238306) * <akaimbatman.gmail@com> on Friday January 16 2009, @12:21AM (#26478737) Homepage Journal

      BTW, for those of you who are curious about this attack (and are too lazy to RTFA), this basically uses a common image set behind a protected login. e.g.

      <img src="https://www.mybank.com/protected/images/lock.gif" onerror="notLoggedInSoRefresh();" onload="hahaGotEm();">

      If you ping the blasted thing for long enough, you will be able to detect the user logging in. One pop-up later and you've stolen their info.

      Now protecting against this sort of issue is an interesting question. Ideally static resources should never be behind closed doors. But that answer is a bit of a cop-out. The next best thing is to ensure that session cookies are maintained inside the login tab ONLY and that persistent cookies are not used for auto-login.

      (Interesting question: I wonder if Chrome is vulnerable? With process isolation, this trick would require that the main Chrome process delegate the handling of session cookies. Which seems like a bad idea anyway, so I would hope they implemented the browser in a more secure manner.)

      • Re:XSS (Score:4, Interesting)

        by Animaether (411575) on Friday January 16 2009, @01:22AM (#26479045) Journal

        so wait..
        as you explain it, I guess the idea is that once the user logs into the secure site, the malware script can magically access the lock.gif because the site and browser tell them that.. yup.. the user is logged in and thus should have access.

        however.. presumably, the script is not from a page that's actually -on- https://www.mybank.com/ [mybank.com].. if it was, you and the bank probably have bigger problems.

        So let's say that instead it's on http://www.malware.lol/ [malware.lol] - why would a script on a page from malware.lol be allowed access to a resource - in this case 'pinging' the 'lock.gif' - *on* https://www.mybank.com/ [mybank.com] ?

        Is there any valid purpose for allowing something like that? I can understand it for non-secure sites.. from inlining content that's hosted on another domain to allowing local applications to grab data off of e.g. websites that do not provide a nice API. But for secure sites? I'm baffled.

        • Re:XSS (Score:5, Interesting)

          by AKAImBatman (238306) * <akaimbatman.gmail@com> on Friday January 16 2009, @01:43AM (#26479127) Homepage Journal

          So let's say that instead it's on http://www.malware.lol/ [malware.lol] - why would a script on a page from malware.lol be allowed access to a resource - in this case 'pinging' the 'lock.gif' - *on* https://www.mybank.com/ [mybank.com] ?

          There's a great deal of internet history behind this one. Originally, there were no barriers what so ever. Anyone could link anything from any page. Of course, as Javascript entered the scene and grew in sophistication, this was soon realized to be a problem. In result, most browsers adopted security behaviors for the really powerful stuff like XMLHttpRequest and locked out scripting across frames.

          However, that still leaves a hole like this one. And it's not an easy hole to plug. Quite a few sites are actually structured around the idea of cross-site linking. (e.g. The HTML may be www.mainsite.com while the images come from the web server media.mainsite.com.) Interestingly, this sort of structure is actually a solution to the problem posed. So it's difficult to dispose of it out of hand.

          Some of the web standards are moving toward highly restrictive models for HTTPS sites. e.g. HTTPS resources can only be accessed by pages whose origin is the same HTTPS site. More likely though, I expect to see more explicit security configurations along the lines of what Flash does. Flash uses a crossdomain.xml file on the target site to broadcast if a resource can be accessed or not. This scheme allows for situations like a media server separate from the primary site, but it also allows for those cross domain accesses to be tightly restricted.

          Of course, the scheme is not without its problems. Nothing prevents an attacker from transmitting information he may have collected TO a server that he has configured with a permissive policy file. If he finds a vulnerability that allows him to collect the information in the first place, he's going to be able to make off with the info scott-free.

          In result, web security is an ongoing area of research. It's incredibly complex due to the nature and history of the web, but standards bodies are working hard to find more reliable solutions that don't negatively impact existing sites and current usage.

          • Re: (Score:3, Insightful)

            by Animaether (411575)

            "There is nothing special about secure sites. HTTPS doesn't mean "this site is super special and you should do special things with it". This same attack can be applied to non-secure sites, too." - RockMFR (1022315)

            Well that's the thing - why not? They are superspecial to my browser already.. doing its certificate check and throwing a big fat "passport check" image at me (FireFox 3) if it think something's not quite up to snuff. I don't see why a page on anything other than https://www.mybank.com/ [mybank.com] shouldn'

        • Re: (Score:3, Insightful)

          by RockMFR (1022315)
          There is nothing special about secure sites. HTTPS doesn't mean "this site is super special and you should do special things with it". This same attack can be applied to non-secure sites, too.
        • Re: (Score:3, Insightful)

          by hairyfeet (841228)

          And that one is JavaScript too. Has anyone else noticed that pretty much every piece of nasty coming down the pipe uses JavaScript? I've said it before and I'll say it again: JavaScript is a BAD Idea, just as ActiveX was a bad idea. They both are havens for malware. The only difference is ActiveX was Windows only. But in either case it is still a giant security hole. If this keeps up and enough folks are burned I could see it dying off just as ActiveX did.

          Now as for Noscript, while I use it every day it j

  • Simple Solution... (Score:5, Informative)

    by Klootzak (824076) on Friday January 16 2009, @12:12AM (#26478691)

    Don't have multiple tabs/windows open while you're doing your online banking!!!

    Oh, and use NoScript! [noscript.net]

    • by Bozzio (183974)

      This, like most phishing attempts, targets users who don't know about NoScript or basic internet safety practices.

      Yelling "Install NoScript you n00bs!!1!" won't register noobs... because they're newbs.

      • by X0563511 (793323) <draeath.member@fsf@org> on Friday January 16 2009, @12:24AM (#26478757) Homepage Journal

        Once more, Darwin extends into the internet.

        Computers are tools. They do what they are told without question. The internet is made of computers. By extension, it is a tool that does exactly what it is told.

        Kind of like a handgun, and you don't (usually) let people run around with those without some kind of training.

        Also like a handgun, most tools don't care who is issuing the instructions - they just do it. That tablesaw doesn't care if it's a 2x4 or your forearm, it saws anyways.

        Yes, I'm an elitist bastard sometimes.

      • by Klootzak (824076) on Friday January 16 2009, @12:24AM (#26478759)

        Yelling "Install NoScript you n00bs!!!" won't register noobs... because they're newbs.

        Well, I wouldn't call them n00bs firstly... and secondly, most of the technically-savvy geeks/nerds I know read Slashdot and find out new and interesting stuff from here.

        One of the best things about Slashdot is if you write something on here, ALOT of people will take notice. So if by providing solutions/information that people can read and take away to tell other non-technically-savvy individuals helps protect at least one person from being scammed, I'm more than happy to yell on Slashdot about it ;)

    • Re: (Score:3, Interesting)

      by j01123 (1147715)

      Oh, and use NoScript! [noscript.net]

      Another simple change is to set dom.disable_window_open_feature.location [mozillazine.org] to true. That should make it pretty obvious when a popup comes from source different than what it's claiming.

  • Funny how I got a Flash ad thrown my way when I visited the link.
  • by john.picard (1440397) on Friday January 16 2009, @12:23AM (#26478749)
    The next thing you know, they'll make up a screen scraper in JavaScript. There are several things to learn from this. For the users, one, that you should completely clear your browser (Clear Private Data or similar) before going to a banking website, two that you should NEVER open other websites (or have them open) while you're signed in to a banking website, third that when you've finished banking, you should completely clear your browser again. For the browser makers (Firefox devs reading this?), third party cookies should be disabled by default, the option to turn them on should come with stern warnings, and each website can ONLY read cookies previously set by itself. Further when an encrypted page is opened, its memory should be such that other pages cannot access any part of it. In other words, the same sandboxing approach taken to deal with other security issues, within the browser for encrypted pages.
    • by r00t (33219) on Friday January 16 2009, @01:08AM (#26478983) Journal

      Any browser window containing content from more
      than one security context must NOT display any
      sort of lock icon, and must display a warning
      banner.

      "more than one" would include an https site that
      uses some http images. It's not secure if it's
      a mix.

    • by Fian (136351) on Friday January 16 2009, @01:18AM (#26479027)

      Perhaps it is time to have a dedicated banking browser? One that does not use cookies/cache data/allow more that one tab etc etc

      • Re: (Score:3, Interesting)

        I try and shy away from online-Banking as much as I can. Never mind separate browser. I use a Live Linux DVD and load up my bank site from there. When I do this its boot, bank website, print if necessary, shutdown and back to Windows.

      • by OpenSourced (323149) on Friday January 16 2009, @05:35AM (#26480055) Journal

        I, for one, have a dedicated VMWare virtual machine with Ubuntu installed, and Firefox. Firefox has NoScript installed, is set to saving no user story, and I use it only for banking. I find the setup a bit unwieldy sometimes, but is sure safer.

    • Re: (Score:3, Insightful)

      by ljubom (147499)

      It would be cool to have firefox "mode" doing exactly this. Press an "online-banking" button and a new isolated firefox session would be started with all needed restrictions and settings.

    • Re: (Score:3, Interesting)

      by labnet (457441)

      Or you should get a one time key generator.
      My key changes every 60 seconds. Could they exploit this within that time frame. (Especially if I'm already logged on and the bank does not allow a second simultaneous login)

  • by Anonymous Coward

    This is why I use a separate Firefox profile for banking and bill paying. And I only have one tab open at a time.

  • by dmomo (256005) on Friday January 16 2009, @12:31AM (#26478787) Homepage

    The only way I can imagine that js on one site can detect if a user is logged into another (assuming the other site is secure and I cannot post js to it) would work like this:

    Use an Asynchronous request to "curl" out to a well known page of that site and then "grep" the response for typical "you are not logged in" text. If it is not found, commence shenanigans.

    BTW, this comment kind of made me roll my eyes:

    "Klein says placing a low-profile piece of malicious JavaScript on a high-profile Website isn't difficult to do, and the malware is basically invisible to the user."

    "Klein" makes it sound like this is a walk in the park. I don't know. After the myspace worm a few years back, I think validation and filtering on those sites has gotten pretty good. Low-profile sites? Sure. High-profile sites? Not so much. I'm not saying it's not possible, but "not difficult"... maybe Klein is just conceited.

    • It's called Cross-site scripting [wikipedia.org]. Except in this case I don't think XSS exactly describes the type of attack we see here.
      • Re: (Score:3, Informative)

        by dmomo (256005)

        I agree. Most XSS attacks would require the banking site to have a vulnerability. This article implies that all one needs is a vulnerability on the first (high-profile) site.

  • From the friendly article: although he and his research team have not spotted full-blown attacks like this in the wild as yet

    I'm sure they will now after this.

  • by dnwq (910646) on Friday January 16 2009, @01:35AM (#26479095)
    Internet Explorer has a porn^H^H^H^H privacy mode where privacy settings are locked down. Why not build an analagous 'secure mode' for Firefox or Konq. where security settings are all locked to high heaven for that browsing session only?

    That way users can both bank online securely and not have half the web break for them because they've disabled javascript.
    • Re: (Score:3, Interesting)

      by robo_mojo (997193)

      Javascript alerts would be fine, as long as they would stay only with their own content and not interrupt other tabs/windows or other programs on the system.

      There is a very long-standing bugzilla bug about this for Mozilla, you can read:

      https://bugzilla.mozilla.org/show_bug.cgi?id=59314 [mozilla.org]
      Bug 59314 - Alerts should be content-modal, not window-modal

      (comment #39 describes a security problem that sounds similar to the problem here)

      Lots of good ideas in that page about how alerts could be handled differen