Slashdot Mirror


G-Archiver Harvesting Google Mail Passwords

Thwomp writes "It appears that a popular Gmail backup utility, G-Archiver, has been harvesting users' Gmail passwords. This was discovered when a developer named Dustin Brooks took a look at the code using a decompiler. He discovered a Gmail account name and password embedded in the source code. Brooks logged in and found over 1,700 emails all with user account information — with his own at the top. According to a story in Informationweek, he deleted the emails, changed the account password, and notified Google. The creator of G-Archiver has pulled the software, stating that it was debug code and was unintentionally left in the product."

32 of 462 comments (clear)

  1. Debug, Sure by Archangel+Michael · · Score: 5, Insightful

    "The creator of G-Archiver has pulled the software, stating that it was debug code and was unintentionally left in [CC] the product."

    Right. And I have a bridge I'd like to sell you too.

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  2. That doesn't make sense. by RandoX · · Score: 5, Insightful

    If you're debugging, you already have the account details. What possible reason could you have to email them to yourself?

    1. Re:That doesn't make sense. by sholden · · Score: 4, Insightful

      Doesn't make any sense. Why would you go through the process of sending an email with the information when you could just print it to a file, or throw it in a dialog box.

      A developer wanting to collect people's usernames and passwords and realising that since the program talks to gmail already doing so over gmail would make it much less likely to be noticed by people monitoring network connections for "phone home" behaviour, seems the most likely explanation. Of course there mightn't be any malicious intent, just a "cool, look at all the accounts I collected" thing - like those people who get a warez copy of every piece of software ever released without ever actually using any of them...

  3. DMCA by yohaas · · Score: 5, Insightful

    If this was a big company, they would have denied it and gone after him under the DMCA. At least the admitted to something and pulled to product.

  4. Even the courts aren't this daft by MikeRT · · Score: 4, Insightful

    You don't have to work in IT to know that there is no reason for G-Archiver to send the password to anyone but Google. This guy deserves to be prosecuted under anti-hacking statutes.

  5. Nice move, but illegal? by RandoX · · Score: 4, Insightful

    Good intentions and all, but I'm sure Mr. Brooks just opened himself up to "hacking" charges.

    1. Re:Nice move, but illegal? by San-LC · · Score: 5, Insightful

      Possibly by some ridiculous interpretation of the law, Mr. Books was "hacking." However, he purchased the rights to use G-Archiver, and he did not recompile the program in a different way and label it his own. He used information that the program (to which he has the rights to use, unless otherwise stated in some bullsheet EULA) used, found out that this program acted like a Trojan virus and submitted private information to an individual's e-mail account, and subsequently removed his information and disallowed any new information to be read.

      Granted, he probably shouldn't have deleted everything and changed the password (morally: yes, legally: no), so it's likely he may face charges because of this. That's our legal system, folks.

  6. Re:This is why I backup my Gmail with G-Archiver by afidel · · Score: 4, Insightful

    Or simply use IMAP to archive your gmail account...

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  7. Never ascribe to malice by Pope · · Score: 5, Insightful

    what can be explained by incompetance?

    Although in this case, that's some serious incompetance going on!

    --
    It doesn't mean much now, it's built for the future.
  8. Don't give out passwords by Todd+Knarr · · Score: 4, Insightful

    And this, children, is why you should never ever give the password to your account to someone else. Not even someone who claims to want to do something for you. Once you've given it to them, you have no control over what they do with it.

    1. Re:Don't give out passwords by gnick · · Score: 4, Insightful

      And this, children, is why you should never ever give the password to your account to someone else. Not even someone who claims to want to do something for you. This is a little bit different than the standard "give your password out" case. I give my e-mail password to Thunderbird. I give Firefox a few of my passwords. Because those applications need those passwords to authenticate with remote servers so that they can "do something for me." For folks who were using it, the same goes with G-archiver. In some applications, you just have to decide whether the service being rendered is worth you taking the risk that the application may be malevolent. (Or putting a lot of effort into being reasonably sure that it's kept in check.)
      --
      He's getting rather old, but he's a good mouse.
  9. Re:Trust me, trust me not. by Z00L00K · · Score: 4, Insightful
    I don't believe that for a moment.

    This seems to be a clear case of privacy invasion and unauthorized access to private data. And I think that this should have been brought to the attention of the police for further investigation.

    In this case the guilty will have time to cover his tracks and hide.

    Try this approach the next time you see something as grave as this. The worst thing that can happen if you report it is that the case gets dismissed.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  10. Re:This is why I backup my Gmail with G-Archiver by MBGMorden · · Score: 4, Insightful

    You still have to trust the IMAP client to not be logging your passwords. It all comes down to whether or not you trust where the software came from. Luckily for open source projects there's an easy audit trail (so long as you compile from that source - a premade binary distributed with source could still contain malicious code simply not included in the provided source). For closed source software you're stuck trying arcane trickery like this guy did in order to find out when a program is spying on you.

    --
    "People who think they know everything are very annoying to those of us who do."-Mark Twain
  11. Doesn't look malicious to me by Pogie · · Score: 5, Insightful

    Maybe I'm getting old, but this seems like a pretty clear case of "oh crap, I'm an idiot", rather than "mwuahahah, my plan for global domination proceeds apace!". According to the posting on codinghorror, the guy who found the issue (Dustin Brooks) found that the creator, John Terry, of the G-Archiver software had left his own email information in the code. Yes, the G-archiver forwarded a record of the account information of everyone who used the app to that mailbox, but if you look at the screenshot, none of those emails has been flagged as read by gmail (but maybe that's an artifact of a POP connection?).

    Either way, this just smacks to me of a novice developer doing something incredibly dumb, rather than incredibly malicious. If he actually wanted to just collect other people's account information, why leave his own in the source code? He could have just as easily forwarded the information to an anonymized email account, or simply an account for which the login information was not present in source.

    Just my opinion, I reserve the right to be wrong.
    1. Re:Doesn't look malicious to me by AdamTrace · · Score: 3, Insightful

      I agree. There's a lot of high and mighty programmers here who are calling this guy "incompetent", but I'd be shocked if we haven't all accidentally sent debug code to production at some point or another.

      It's either an honest mistake, or a REALLY poor hack attempt. Unless I've given further information, I'm inclined to think it was an honest mistake.

      Adamn

  12. Deleted the emails by gorre · · Score: 4, Insightful
    From the Information Week article:

    Brooks said he then deleted the presumably stolen account information, changed the password on the account, and notified Google.
    [...]
    Google's statement continues. "We are investigating this incident, the underlying activities of which violate Gmail Program Policies. We have suspended the suspect account, and are in the process of notifying the owners of those accounts whose passwords may have been compromised. It's unfortunate that fraudsters continue to use email for these purposes. We have phishing detection capabilities built into Gmail, so we were able to act quickly to limit the impact of this particular attack."
    I have never read Google's Privacy Policy but am slightly concerned that they appear to be able to access emails after their deletion.
    --
    "Madness is something rare in individuals - but in groups, parties, peoples, ages it is the rule." -- Nietzsche
    1. Re:Deleted the emails by L0rdJedi · · Score: 4, Insightful

      Why? Because they happen to keep backups of email, like everyone else on the planet?

  13. Re:This is why I backup my Gmail with G-Archiver by Hatta · · Score: 4, Insightful

    For closed source software you're stuck trying arcane trickery like this guy did in order to find out when a program is spying on you.

    The upshot of this case is that the app in question was written with .Net which is fairly easy to decompile. If he had chosen C++, there's a good chance no one would have bothered to pore over the assembly and find this out.

    --
    Give me Classic Slashdot or give me death!
  14. Re:Hmmm by jeepee · · Score: 5, Insightful

    he deleted the emails
    But did he make a backup first?

    He tried but it caused an infinite loop.
  15. Re:This is why I backup my Gmail with G-Archiver by mmkkbb · · Score: 3, Insightful

    Sure, but someone could have checked the net activity just as easily.

    --
    -mkb
  16. Re:This is why I backup my Gmail with G-Archiver by bberens · · Score: 5, Insightful

    Not really JUST as easily. You fully expect the G-Archiver to be transmitting encrypted (ssl) data to google. A few extra packets aren't going to raise any red flags.

    --
    Check out my lame java blog at www.javachopshop.com
  17. Your e-mails haven't ever been actually deleted by sirwired · · Score: 4, Insightful

    When you delete e-mails (even if you hit "Delete Forever"), GMail does not actually delete your e-mails right away. All that happens is you can't see them any more. Google has been rather forthright about this from day 1 of the Beta; it raised a big furor when GMail was first released.

    From the GMail Privacy Policy: (which is blessedly short, and in English)
    "You may organize or delete your messages through your Gmail account or terminate your account through the Google Account section of Gmail settings. Such deletions or terminations will take immediate effect in your account view. Residual copies of deleted messages and accounts may take up to 60 days to be deleted from our active servers and may remain in our offline backup systems."

    SirWired

  18. Re:This is why I backup my Gmail with G-Archiver by pipatron · · Score: 5, Insightful

    running a strong firewall

    Wouldn't help a bit; the good and the bad parts of the software used the same port to the same server in the same way.

    run a packet sniffer

    Wouldn't help a bit; the good and the bad parts of the software used the same SSL channel, you won't get into that with a normal sniffer.

    --
    c++; /* this makes c bigger but returns the old value */
  19. Re:Trust me, trust me not. by lukas84 · · Score: 3, Insightful

    And did you build a bootstrap C compiler from scratch?

    http://www.informit.com/articles/article.aspx?p=102181&seqNum=4

  20. The /. crowd has no imagination by Dwonis · · Score: 3, Insightful

    As I read the comments attached to this article, I see that many slashdotters can't imagine why this debug code would be put into the software in the first place.

    To those slashdotters: You people have no imagination.

    Imagine you're a G-Archiver developer, and one of your customers calls you, saying "Your program doesn't work. It's saying something about an invalid user." In order to reproduce the problem, you ask the customer for his credentials. He tells you his username and password over the phone, and you try logging in yourself. It works fine.

    After a while, you think the problem might be that the password being entered is different from the one you were given over the phone. Perhaps it has something to do with the customer's strange keyboard layout, or maybe the customer's keyboard has some flaky keys.

    So what do you do? You give that one customer a special build of the software that emails you the username and password as entered.

    Later, you accidentally check in the debug code for that special build. Oops.

    1. Re:The /. crowd has no imagination by Tim+Browse · · Score: 4, Insightful

      Later, you accidentally check in the debug code for that special build. Oops.

      And you don't notice the 1,777 emails piling up in your inbox until someone investigates your code and calls you out on it.

      I agree with the others - you interested in buying a bridge?

    2. Re:The /. crowd has no imagination by jopsen · · Score: 3, Insightful

      If there was 1,700 email it was probably a dummy account... If the developer wanted the mails, then why would he hardcode the password to the email account in his program, when he just as easily could have send the emails to the email account without logging into it, this would have been safer from package sniffers... That said... I agree that this is just yet another reason NOT to used closesource software...

  21. Re:This is why I backup my Gmail with G-Archiver by TheoMurpse · · Score: 5, Insightful

    What I want to know is, if he used this for debugging purposes and left it in by accident, why didn't he ever see thousands of Gmail passwords showing up in his inbox and realize the problem?

  22. Re:This is why I backup my Gmail with G-Archiver by dwater · · Score: 3, Insightful

    This is an interesting point. I wonder if the login history of the account shows that he hasn't bothered to log in for quite a while - perhaps it is an account specifically for this purpose rather than his usual account. That might give credence to his claim of it being debug code and having forgotten about it.

    I suppose he could have had the passwords filtered in some way and not noticed the 'folder' (or whatever gmail has) filling up.

    --
    Max.
  23. Re:This is why I backup my Gmail with G-Archiver by Rabbi+T.+White · · Score: 5, Insightful

    From looking at the pictures on the blog of the guy who discovered this, there were over 1000 unread emails - all the ones on the initial page of the inbox were usernames and passwords, quite clearly unread. If we're giving him the benefit of the doubt, tt is likely that this was just a throw away account used for testing... or else he probably would've changed his own password, no?

    --
    Every cloud has a silver lining, but, then again, so does every cigarette packet.
  24. Re:This is why I backup my Gmail with G-Archiver by LrdDimwit · · Score: 4, Insightful

    How do you know those are his own login credentials, and not a red herring? That's the funny thing about trust ... once it's gone, it's a whole other ballgame. Here we have a company providing a nigh-useless "service" with broken English in their FAQ (weak circumstantial evidence only, but still evidence) and that employs coding practices either underhanded or dubious.

    Does it really matter which it is? There's no compelling reason to ever use their product, and they've just demonstrated that they can't be trusted. Is it really any better if it's due to ineptness rather than maliciousness?

  25. Re:This is why I backup my Gmail with G-Archiver by Gareth+Williams · · Score: 3, Insightful

    I see this particular misconception going around on /. all the time nowadays, and I'm rather tired of it. The claim is always something along the lines of: "there's no security advantage in using open source software unless you examine the source and compile everything yourself".

    That holds true if you run around downloading random binaries from random websites (ie. the way your typical Windows user acquires all their software). But hardly anybody who has used an OS with a proper package manager for more than 10 minutes actually does this.

    I get all my software from my distribution. Currently Ubuntu, for example. Yes, their package maintainers build my binaries, I don't build 'em myself. But it isn't unreasonable for me to trust Ubuntu. They supply my OS, after all, so if I can't even trust them then I'm already up the creek :) The same is true of every other OS on the planet. (yes yes, even Gentoo, and even if you hypothetically audited every application yourself before compiling it. Hopefully I don't need to explain this, many other posters have already linked to 'trusting trust'. Suffice to say that you have to trust someone at some point, even if it's the supplier of your C compiler, your processor microcode, etc).

    Now, Ubuntu are presumably building from the publically released source code for each application (ie. the source code supplied by the original application author), the same as everyone else. So in the open source world, all the binaries floating around out there (at least from the people you trust!) DO match the available source code. And we don't all need to audit it - it only takes one person (maybe working at a company that pays them to audit open source programs, as other posters have suggested) to discover something nefarious, and we'd all drop it like a hot potato.

    That isn't to say that it's impossible to sneak back doors into open source programs, or that package maintainers are all 100% trustworthy (they're only human. but so far they have an exceptional track record). But using an open source program supplied by your distribution is a damn sight safer than downloading and running some binary from Joe Random's obscure website (or company, for that matter).

    Of course, there are still occasions where you need some program that isn't in the repositories, but those occasions seem to be becoming more and more rare these days. When this occurs I do actually tend to compile it myself (./configure; make; make install. really tricky eh?), but I can't remember the last time I needed to install something like this. 98% of what I need is in the repositories, and I'd wager 100% of what your average man-on-the-street needs.

    --

    --Gareth