Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

G-Archiver Harvesting Google Mail Passwords

Posted by kdawson on Tue Mar 11, 2008 12:47 PM
from the change-password-now dept.
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."
+ -
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 Anonymous Coward on Tuesday March 11 2008, @12:47PM (#22719340)
    Oh, wait...
      • by afidel (530433) on Tuesday March 11 2008, @12:54PM (#22719474)
        Or simply use IMAP to archive your gmail account...
        • by MBGMorden (803437) on Tuesday March 11 2008, @01:08PM (#22719768)
          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.
          • by Hatta (162192) on Tuesday March 11 2008, @01:20PM (#22719950) Journal
            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 [aisto.com]. If he had chosen C++, there's a good chance no one would have bothered to pore over the assembly and find this out.
          • >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.

            Arcane trickery to see what the code is doing?
            You've obviously never edited someone else's Perl...
            • 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.

            • Wha?!? (Score:5, Informative)

              by an.echte.trilingue (1063180) on Tuesday March 11 2008, @01:55PM (#22720566) Homepage

              Rather, you're much better off running a strong firewall that's not the same piece of software or hardware at the boundary of your network which will pick up on nasty things
              I am quite interested in learning what kind of hard firewall you have that is capable of distinguishing between a packet sent over port 80 originating in, say, Internet Explorer and any other piece of software. I am also interested in knowing what software firewall you have that can block applications from rewriting its rules to allow themselves access.

              It's only 'easy' if your time has no value and you're competent to examine the source, which I would say the vast majority if not 99.9999% of people aren't...you can run a packet sniffer and keep an eye on what the software is sending across the network
              Um, IMHO, checking the source is way faster and takes way less skill than this easily subverted clusterf*ck that you are proposing. Besides, the very thing that makes a hardware firewall useless for cases like this also makes this approach unreliable.

              which I would say the vast majority if not 99.9999% of people aren't.
              While we are in the realm of imaginary statistics, I would say that about 100 times as many people are competent to examine the source of a program than to decompile a program and read the resulting nasty, uncommented, tangled pile of commands that results from that. That makes it about 100 times as likely that somebody will find a back door like this in OSS code, doesn't it?

              Oh, by the way, you realize that lots of people are paid to audit OSS code before they deploy it in their company, right? The ability to do this is actually a selling point for a lot of companies.

              (and unless the software has got a built-in ansible, that should be good enough for almost all applications.)
              What are you talking about?
            • It's only 'easy' if your time has no value and you're competent to examine the source, which I would say the vast majority if not 99.9999% of people aren't.

              So? Somebody you trust can do it for you. Or, you can trust that there are enough people looking at the code that they'll find any big problems, and that news of these problems will find its way to you. With non-free software, the number of people looking at the code is much smaller.

  • Debug, Sure (Score:5, Insightful)

    by Archangel Michael (180766) on Tuesday March 11 2008, @12:48PM (#22719356) Journal
    "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.
    • by tristian_was_here (865394) on Tuesday March 11 2008, @12:55PM (#22719482)
      I did something similar I once picked up the wrong keys yet when I went to take them back to the person I decided to let myself in and accidentally walked out with a new TV.
        • by using a protocol analyzer to recover my OWN login and password for my side of the company's intranet. Turned out that the web software we used (can't remember the name, but it was not front phage, but it was indeed popular at the time) was harvesting or retaining ALL USER ACCOUNTS names and passwords. I became scared shitless because I was not sure how IT would feel. But I was former IT in the company and felt obligated to warn them that the vendor was conducting shitty coding processes and put not only OUR company at risk but other companies as well. If they had any diagnostic or call-home code in their web site building software, then potentially a corrupt employee in their company could gain some limited or full access to many companies' intranets if they gained physical access to the building. And, we all know about piggy-backing, where thieves waltzed in behind other employees, then proceeded to lift laptops, purses, keys, wallets, documents, whatever they could steal.

          DAMN, I wish I could recall the name. I may ..

          Here we go... I'm PRETTY damned sure it was NetObjects Fusion. Just googled "Year 1999 web building applications intranet web" and they were at the top of the list... I preferred it over front phage, but...

          And, now that I Google "Year 1999 protocol analyzer sniffer packet" it seems to refresh my memory that I am PRETTY sure Sniffer Basic was the tool I used.

          Of course, after that I never used any such tool on the LAN. But, being formerly in the IT department, and knowing what to look out for to help the company probably kept me out of trouble.
    • by Anonymous Coward on Tuesday March 11 2008, @01:00PM (#22719580)
      Right. And I have a bridge I'd like to sell you too.

      Why do you feel the need to hurt the reputation and business of us legitimate bridge sellers?!?
      • by Tim Browse (9263) on Tuesday March 11 2008, @03:18PM (#22721536)

        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?

  • by RandoX (828285) on Tuesday March 11 2008, @12:50PM (#22719406)
    If you're debugging, you already have the account details. What possible reason could you have to email them to yourself?
      • by sholden (12227) on Tuesday March 11 2008, @01:26PM (#22720084) Homepage
        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...
  • Hmmm (Score:5, Funny)

    by Anonymous Coward on Tuesday March 11 2008, @12:50PM (#22719410)

    he deleted the emails
    But did he make a backup first?
  • DMCA (Score:5, Insightful)

    by yohaas (228469) on Tuesday March 11 2008, @12:51PM (#22719424)
    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.
  • by MikeRT (947531) on Tuesday March 11 2008, @12:51PM (#22719426) Homepage
    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.
  • by RandoX (828285) on Tuesday March 11 2008, @12:52PM (#22719446)
    Good intentions and all, but I'm sure Mr. Brooks just opened himself up to "hacking" charges.
    • by San-LC (1104027) on Tuesday March 11 2008, @01:03PM (#22719652)
      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.
  • Caught (Score:5, Funny)

    by Itninja (937614) on Tuesday March 11 2008, @12:53PM (#22719450) Homepage
    Looks like someone got caught with their pants down in the cookie jar. That's not nearly as hot as it sounds.
  • by Pope (17780) on Tuesday March 11 2008, @12:56PM (#22719502) Homepage
    what can be explained by incompetance?

    Although in this case, that's some serious incompetance going on!
  • by Todd Knarr (15451) on Tuesday March 11 2008, @12:57PM (#22719528) Homepage

    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.

    • by gnick (1211984) on Tuesday March 11 2008, @01:36PM (#22720252) Homepage

      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.)
  • Just wondering... (Score:5, Interesting)

    by Doodhwala (13342) on Tuesday March 11 2008, @12:59PM (#22719576) Homepage

    So why did the binary program also have the password for the gmail account? One would assume that the email address would have been enough. After all, sending someone email doesn't require their password.
    • Re:Just wondering... (Score:5, Informative)

      by karmaflux (148909) on Tuesday March 11 2008, @01:21PM (#22719962) Homepage
      GMail requires you to authenticate with their SMTP servers to send mail. His choices were to include the account password, implement his own SMTP server and build it into the program, or use an open SMTP server. That last will often get your mail dropped as spam. The second one would have been better-secured, but the guy was obviously dumb enough to include a phishing function in a backup program, so it's obvious why he went with option number one.
  • by Pogie (107471) on Tuesday March 11 2008, @01:11PM (#22719828)

    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.
  • Deleted the emails (Score:5, Insightful)

    by gorre (519164) on Tuesday March 11 2008, @01:13PM (#22719852) Homepage
    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.
    • by L0rdJedi (65690) on Tuesday March 11 2008, @01:25PM (#22720060)
      Why? Because they happen to keep backups of email, like everyone else on the planet?
    • by sirwired (27582) on Tuesday March 11 2008, @01:42PM (#22720324)
      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
  • Snow Job (Score:5, Informative)

    by feed_me_cereal (452042) on Tuesday March 11 2008, @03:23PM (#22721604)
    From the G-Archiver website:

    What happened with G-Archiver?

    It has come to our attention that a flaw in the coding of G-Archiver may have revealed customer's Gmail account usernames and passwords.

    It is urgent that you remove the current version of G-Archiver from your computer, and change your Gmail account password right away.

    What happened was that a member of our development team had inserted coding used for testing G-Archiver in the debug version and forgot to delete it in the final release version.

    We sincerely apologize and assure you that this coding mishap was in no way intentional.

    We'll be releasing a new version that corrects the flaw in version 1.0. The new version will be available very soon.


    This is misleading. They should have fully disclosed the problem if they want to re-gain anyone's trust. It wasn't that they "may" have been revealed; they as a matter of fact "WERE" revealed. An admission that their program LOGGED AND TRANSMITTED PASSWORDS TO THE PARENT COMPANY would also have been nice.
    • by Z00L00K (682162) on Tuesday March 11 2008, @01:02PM (#22719642) Homepage
      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.

    • by Hatta (162192) on Tuesday March 11 2008, @01:24PM (#22720038) Journal
      That [bell-labs.com] was Ken Thompson [wikipedia.org], coinventor of UNIX.
    • by adamofgreyskull (640712) on Tuesday March 11 2008, @01:40PM (#22720306) Homepage
      Ken Thomson [bell-labs.com]?
      The actual bug I planted in the compiler would match code in the UNIX "login" command. The replacement code would miscompile the login command so that it would accept either the intended encrypted password or a particular known password. Thus if this code were installed in binary and the binary were used to compile the login command, I could log into that system as any user.

      Such blatant code would not go undetected for long. Even the most casual perusal of the source of the C compiler would raise suspicions.

      (...)

      The final step is represented in Figure 7. This simply adds a second Trojan horse to the one that already exists. The second pattern is aimed at the C compiler. The replacement code is a Stage I self-reproducing program that inserts both Trojan horses into the compiler. This requires a learning phase as in the Stage II example. First we compile the modified source with the normal C compiler to produce a bugged binary. We install this binary as the official C. We can now remove the bugs from the source of the compiler and the new binary will reinsert the bugs whenever it is compiled. Of course, the login command will remain bugged with no trace in source anywhere.