Slashdot Mirror


Researcher Bypasses Google Password Alert For Second Time

Trailrunner7 writes with this excerpt: A security researcher has developed a method–actually two methods–for defeating the new Chrome Password Alert extension that Google released earlier this week.

The Password Alert extension is designed to warn users when they're about to enter their Google passwords into a fraudulent site. The extension is meant as a defense against phishing attacks, which remain a serious threat to consumers despite more than a decade of research and warnings about the way the attacks work.

Just a day after Google released the extension, Paul Moore, a security consultant in the U.K., developed a method for bypassing the extension. The technique involved using Javascript to look on a given page for the warning screen that Password Alert shows users. The method Moore developed then simply blocks the screen, according to a report on Ars Technica. In an email, Moore said it took him about two minutes to develop that bypass, which Google fixed in short order.

However, Moore then began looking more closely at the code for the extension, and Chrome itself, and discovered another way to get around the extension. He said this one likely will be more difficult to repair.

"The second exploit will prove quite difficult (if not near impossible) to resolve, as it leverages a race condition in Chrome which I doubt any single extension can remedy. The extension works by detecting each key press and comparing it against a stored, hashed version. When you've entered the correct password, Password Alert throws a warning advising the user to change their password," Moore said.

35 comments

  1. That will be one method. by Anonymous Coward · · Score: 0

    Wait, no that will actually be two methods.

  2. grammar by dale.furno · · Score: 0

    etc...

  3. In other words... by Anonymous Coward · · Score: 0

    Google fails it yet again

    1. Re:In other words... by Anonymous Coward · · Score: 1

      This extension seems like an ordinary keylogger: 'The extension works by detecting each key press ...'
      I wonder which no such agency gets the results.

  4. I found it works on Slashdot by squiggleslash · · Score: 4, Funny

    Surprisingly, with Chrome, if you enter your Google password in the Subject box of a new comment and then press the "Submit" button, the warning dialog comes up and your post won't get sent until you confirm it. Only discovered that because my Google password is (well, was) "systemd?".

    --
    You are not alone. This is not normal. None of this is normal.
    1. Re:I found it works on Slashdot by Anonymous Coward · · Score: 0

      Me too. I learned this because my password is "diebennettdie".

    2. Re:I found it works on Slashdot by CoderJoe · · Score: 1

      12345sameAsMyLuggage

    3. Re:I found it works on Slashdot by CoderJoe · · Score: 1

      Hey....

    4. Re:I found it works on Slashdot by NotInHere · · Score: 2
    5. Re:I found it works on Slashdot by Anonymous Coward · · Score: 0

      12345sameAsMyLuggage

      You were supposed to enter your password, not mine!

  5. hunter2 by Lehk228 · · Score: 1

    hey it works

    --
    Snowden and Manning are heroes.
  6. I don't know why he says it can't be blocked. by 140Mandak262Jamuna · · Score: 3

    Basically the first exploit was something like a pop-up blocker that blocked the alert page from being displayed. The second one is to refresh the page at every keystroke so that the key-logging and watching extension never sees the full password, so it does not alert the user. A page that calls the refresh method for every key stroke is suspicious. The alert extension could look for this behavior and report it. Even the first exploit involving the pop-up blocker could be scanned for. The trigger for the alert-window-blocker must be obfuscated to escape detection.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:I don't know why he says it can't be blocked. by Anonymous Coward · · Score: 0

      How can you obfuscate the alert trigger? Couldn't the site have a little bit of JS that says, if anythings changes on the site except user input to this field undo the change? I'm not a web developer so maybe that's not possible... The extension should be popping up a dialog window not adding a HTML 'pop-up'.

  7. App apped by AppScript! by Anonymous Coward · · Score: 0

    App that promises secure apps gets apped by AppScript!

    Apps!

  8. Security be impossible by Anonymous Coward · · Score: 0

    Its trivially easy to beat any security model is the sad truth. As an expert programmer... I choose not to hack unless its part of my job and the creator of the site pays me to do it. There is no such thing as perfect internet security. In the perfect world we all just choose not to hack each other to keep everything simple.. And if we are hacked, we call the authorities and have the hacker arrested (if necessary). Same thing with breaking into homes, stealing things, etc.... Its all easy to do but it is illegal to do it with malicious intent.

    1. Re: Security be impossible by Anonymous Coward · · Score: 0

      Oh My God, someone gets it. Turtles all the way down, right?

    2. Re: Security be impossible by Anonymous Coward · · Score: 0

      First rule, beware anyone claiming to be an "expert programmer"...

    3. Re: Security be impossible by Anonymous Coward · · Score: 0

      Perhaps they misspelled "expert pogrommer".

  9. extension security by Anonymous Coward · · Score: 0

    Maybe relying on an extension security isn't such a good idea

  10. Chrome sucks by Anonymous Coward · · Score: 0

    Chrome is a bloated, buggy memory hog. I gave up on that browser about a year ago. Google as a company, is in decline.

  11. I hate to say, but... by Kergan · · Score: 1

    Google, WTF? Are you seriously going to settle with letting a security researcher break your security gizmo twice in a row in two days? Your credibility is on the line here... [Grabs popcorn]

  12. Google's lame anymore by Anonymous Coward · · Score: 0

    Google to me has become what Microsoft became and what even Apple has slowly become. Just too big and too full of itself to really focused.

  13. Another way to bypass it by FalleStar · · Score: 5, Informative

    After reading the summary, I went ahead and downloaded the extension to see if I could figure out a way to bypass it. I tried a few more obvious methods first, all of which were detected by the extension.

    My 4th attempt at bypassing the extension seems to work just fine though. It works by binding the window.onkeyup and window.onkeydown methods, determining which character corresponds to the key being pressed, then appending that character to the username or password fields if one of them has focus. Once the value has been added to the appropriate field, the event is cancelled using e.preventDefault(). I put a proof-of-concept up on my site in case anyone is interested. Here's the raw code for that page if you don't want to go to some random SlashDot poster's website.

    This method only took a few minutes for me to come up with, so I'm probably not the first one to figure this out, but I thought I'd share anyways.

    1. Re:Another way to bypass it by Anonymous Coward · · Score: 0

      Reported to CyberPolice! You dun goofed!

    2. Re:Another way to bypass it by swillden · · Score: 2

      Nicely done.

      I expect this may turn into something of an arms race between phishing page authors and Google. The cleverest phishers may be able to stay consistently ahead of the extension, but I expect that they'll have to work for it... or would if significant numbers of people used the extension. I just checked the Chrome Web Store and so far there have only been 67K downloads. That's something but it's a long, long way from universal coverage.

      The positive aspect of that is that as long as usage remains low, it won't make sense for phishers to bother trying to defeat it, which means it will offer good protection to the few who do.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:Another way to bypass it by swillden · · Score: 1

      BTW, FalleStar, I reported your attack to the Password Alert team. They've made a number of changes which defeat your attack as well as a large class of similar attacks. The new release hasn't been pushed out to users yet, I don't think, but I'd expect you'll see an update before too much longer.

      The Password Alert team thanks you for your report. Actually, they thanked me, but I didn't do anything other than pass messages, so I'm passing it along to you.

      Too bad there's no Vulnerability Reward Program for Password Alert :-)

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  14. Re:I hate Systemd by Anonymous Coward · · Score: 0, Offtopic

    Systemd has set Linux on a path of decline, I'd like to know what anyone considers the best Systemd-free distro out there. From someone who's always used Linux and know feels he may need to jump the Linux/Systemd ship, how about BSDs, OpenBSD, perhaps?

    I use OpenBSD, on my laptop and desktop and router. It's simple, seems to work with most hardware I've had, and doesn't come with a bunch of crap. Seriously, just download the install57.iso they just released. You can point the install to a flash drive if you want just to test it out. Make sure you read the FAQ available on the website first.

  15. Does anyone type passwords anymore? by Anonymous Coward · · Score: 0

    70 is the current average of the number of different logins we each have. Nobody can remember 70 different passwords and userids, so pretty much all of us will be using some other way, which will not involve typing the damned things in, so the whole idea is nuts in the first place (not to mention, 69 of those 70 sites are not google - so not protected anyhow).

  16. Use the original article by thrill12 · · Score: 2

    ... on ars technica: http://arstechnica.com/security/2015/05/01/googles-new-version-of-password-alert-blocking-bypass-is-bypassed/. This one also has the original author of the exploit commenting on his findings.

    --
    Slashdot: stuff for news, nerds that matter, matter for news, stuff that nerd
  17. Chrome extension model is flawed by Anonymous Coward · · Score: 2, Interesting

    It's always bothered me that the primary way that an extension will add extra UI elements around the edge of the page is to modify the page DOM itself, making it possible for the extension to be detected by the code within the page monitoring for particular elements. For example, this makes it trivial to detect FlashBlock, Ghostery and other such extensions in their default configurations.

    Instead, Chrome should provide a real API for overlaying captions onto the page that is independent of the page itself.

    A simple approach would be to just overlay another page rendered over the top, with its background defaulting to transparent and with some magic to pass mouse click events on the transparent part through to what's underneath.

    Another approach would be to use a mechanism similar to "shadow DOM" to allow the extension to replace or extend the rendering of a particular DOM element in a way that doesn't actually impact the DOM tree the page sees. Although the page can "see" into the shadow DOM today, there's little reason why this "extension shadow DOM" couldn't be hidden from the page-level API altogether and visible only to the extension that created it.

    Being able to manipulate the real page DOM remains useful for some extensions, so this ought to be an additional API rather than a replacement for the existing API.

    Of course this only addresses the first vulnerability. The second vulnerability seems troublesome in that it waits until you've already entered your password before doing any action, which suggests that a page with a JS keylogger running in it could capture the password and submit it via XMLHttpRequest before the extension gets a chance to warn you about it.

  18. a security researcher by Anonymous Coward · · Score: 0

    Aka someome with too much time on their hands and wants to make the news quickly by mucking with Google.