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."

105 of 462 comments (clear)

  1. This is why I backup my Gmail with G-Archiver by Anonymous Coward · · Score: 5, Funny

    Oh, wait...

    1. 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.
    2. 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
    3. 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!
    4. 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
    5. 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
    6. 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 */
    7. Re:This is why I backup my Gmail with G-Archiver by Schraegstrichpunkt · · Score: 4, Informative

      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.

    8. Re:This is why I backup my Gmail with G-Archiver by TerminalSpin · · Score: 2, Interesting

      Not quite.

      The fact that the source is available makes the publisher far less inclined to place "nastiness" in the code. For any moderately popular piece of software, some pesky kid will point out that it contains hidden routines to reprogram your VCR, drink all your beer, etc.

      if the source and binaries do not match up, the same pesky kid will gleefully point it out to the world.

      Now the compiler itself is a different matter - what a great place it would be to hide malware...

      --
      :wq
    9. Re:This is why I backup my Gmail with G-Archiver by Spokehedz · · Score: 2, Insightful

      Umm... Gmail lets you use IMAP from their own servers. So, it would be your own client. On your own computer.

      I'm failing to see how this is insecure.

    10. Re:This is why I backup my Gmail with G-Archiver by infonography · · Score: 5, Funny

      Well he wrote it .Net, isn't that enough evidence of malicious intent?

      --
      Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
    11. Re:This is why I backup my Gmail with G-Archiver by Sleepy · · Score: 4, Funny

      >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...

    12. Re:This is why I backup my Gmail with G-Archiver by toriver · · Score: 4, Informative

      man strings

      Can't remember if strings is part of Microsoft's "Unix tools for Windows" though, but Cygwin32 will do the trick.

    13. Re:This is why I backup my Gmail with G-Archiver by Mongoose+Disciple · · Score: 2, Informative

      I was assuming the source does not match binaries case, and for a one-man project like G-Archiver.

      How trivial is that to verify if I control both? Depending on the compiler/options you could get some different executables...

    14. 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?

    15. 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.
    16. Re:This is why I backup my Gmail with G-Archiver by Nullav · · Score: 2, Informative

      Yeah, logging; logging the usernames and passwords of every single user. Perfectly legitimate!

      If something is collecting my login information (and thus access to every conversation made using that address), I expect a damn good reason and I expect it before someone else exposes it and potentially gains access to my account and countless others. For that matter, I expect it before the money leaves my hands.

      --
      I just read Slashdot for the articles.
    17. 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.
    18. 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?

    19. 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
    20. Re:This is why I backup my Gmail with G-Archiver by sonofusion82 · · Score: 2, Insightful

      as i know, it is possible to download the emails using POP access and the mails remain as unread. so then the next question: is POP or IMAP access enabled for that account?

  2. 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.
    1. Re:Debug, Sure by tristian_was_here · · Score: 5, Funny

      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.

    2. Re:Debug, Sure by Anonymous Coward · · Score: 5, Funny

      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?!?

    3. Re:Debug, Sure by OptimusPaul · · Score: 2, Interesting

      I actually did something like that accidentally. I enabled debug logging on a server and later noticed that it was logging usernames and passwords for all users on the system. It wasn't my code that was logging the names and it took me a week to find where it was being done and disable it.

    4. Re:Debug, Sure by countSudoku() · · Score: 2, Funny

      And if he had nothing to hide, why was he trying to protect his password? People who use passwords are trying to hide something. I say leave open your accounts just in case the FBI or CIA need to check to make sure you're not a terroristo!!1!

      --
      This is the NSA, we're gonna geet U h@x0r5! Also, what is a h@x0r5?
    5. Re:Debug, Sure by gEvil+(beta) · · Score: 4, Funny

      oiling snakes I assume?

      And who among us can honestly say they've never oiled their snake?

      --
      This guy's the limit!
    6. Re:Debug, Sure by bcat24 · · Score: 4, Funny

      And who among us can honestly say they've never oiled their snake?
      Girls?
    7. Re:Debug, Sure by pipatron · · Score: 4, Funny

      And who among us can honestly say they've never oiled their snake? Girls?

      He said us, that clearly excludes girls.

      --
      c++; /* this makes c bigger but returns the old value */
    8. Re:Debug, Sure by IceD'Bear · · Score: 2, Insightful

      Girls? On /.?
    9. Re:Debug, Sure by DancesWithBlowTorch · · Score: 4, Funny

      And who among us can honestly say they've never oiled their snake?

      Girls?
      Who?
  3. A-ha! by ccguy · · Score: 3, Interesting

    Maybe _this_ is why I'm getting more spam in my gmail account lately?
    If it isn't, surely someone had a boner after reading the article and is coding as we speak...

    1. Re:A-ha! by Roofus · · Score: 5, Funny

      Yeah, I was logged into your account and noticed that too....very strange!

  4. 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 Galactic+Dominator · · Score: 2, Interesting

      Not if you're debugging the authentication process. I don't know the particulars of this project, but it's a least conceivable a hash wasn't processed correctly, or some other auth error. I don't that this was some oversight however.

      Plausible but unlikely.

      --
      brandelf -t FreeBSD /brain
    2. Re:That doesn't make sense. by harry666t · · Score: 2, Insightful

      Assuming that this code was really just some debugging stuff accidentaly left there... It might have been there in only a few particular versions or something like that...

    3. 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...

  5. Hmmm by Anonymous Coward · · Score: 5, Funny

    he deleted the emails But did he make a backup first?
    1. 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.
  6. Trust me, trust me not. by bruce_the_loon · · Score: 2, Interesting

    Trust me, trust me not, trust me, trust me not.

    Oh damn, there goes my password.

    Do you believe the developer? What debug code needs to send an email containing user account information?

    --
    Trying to become famous by taking photos. Visit my homepage please.
    1. 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.
    2. 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

    3. Re:Trust me, trust me not. by TheRaven64 · · Score: 2, Interesting

      GCC attempts to avoid this kind of problem by building itself once with the system compiler, then again with itself and then a third time with the version of itself built with itself. It then compares the binaries from the second and third attempt to see if it inserted any malicious code into itself. Of course, an attacker is likely to just write a special case for compiling GCC...

      --
      I am TheRaven on Soylent News
  7. 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.

    1. Re:DMCA by yohaas · · Score: 2, Insightful

      He reversed engineered the program, that would probably be banned under the DMCA. http://www.chillingeffects.org/reverse/

  8. 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.

    1. Re:Even the courts aren't this daft by WPIDalamar · · Score: 5, Funny

      It only did send them to Gmail :)

    2. Re:Even the courts aren't this daft by Zordak · · Score: 5, Funny

      This guy deserves to be prosecuted under anti-hacking statutes. Exactly. I mean, he was using a debugger! Doesn't he know that violates the DMCA? No doubt he'll be hearing from the G-Archiver lawyers AND the DoJ soon. It's time to show this clown that, in America, we don't put up with these kinds of shenanigans. And somebody call the copyright lobby. This is exactly the story they've been looking for to justify increasing the penalties for violating copyright to capital punishment.
      --

      Today's Sesame Street was brought to you by the number e.
    3. Re:Even the courts aren't this daft by Zordak · · Score: 2, Funny

      Hmmm, maybe I should have used explicit sarcasm tags.

      --

      Today's Sesame Street was brought to you by the number e.
    4. Re:Even the courts aren't this daft by Z00L00K · · Score: 4, Informative
      I actually found a few links that should be useful in cases like this: Of course you may have your own national version of IT incident reporting.

      So if we really want to avoid having the police hunt us for petty crimes of downloading files - give them something real. :-)

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    5. Re:Even the courts aren't this daft by Anonymous Coward · · Score: 2, Insightful

      Anonymous Coward is not a synonym for insightful.

  9. 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.

  10. Caught by Itninja · · Score: 4, Funny

    Looks like someone got caught with their pants down in the cookie jar. That's not nearly as hot as it sounds.

    --
    I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
    1. Re:Caught by Spy+der+Mann · · Score: 2, Funny

      It's probably more like "with their pants down" AND "in the cookie jar." Then it makes sense.

      Son, I think it's time we talk, man to man.

  11. Gmail Backups? by techpawn · · Score: 3, Interesting

    You have 6.5 gig of space on redundant remote servers. What are you backing up? Perhaps I do not understand what this application does and who needs it...

    --
    Ask not what you can do for your country. Ask what your country did to you
    1. Re:Gmail Backups? by fyrie · · Score: 2, Informative

      It's useful in case your account get stolen, or if it ever gets deleted by accident (it's happened to gmail users before).

    2. Re:Gmail Backups? by Tony+Hoyle · · Score: 2, Insightful

      Of course using this software virtually guarantees that your account *will* be stolen, because the author 'accidentally' kept a record of your username/password 'for backup purposes'.

    3. Re:Gmail Backups? by Arccot · · Score: 4, Informative

      You have 6.5 gig of space on redundant remote servers. What are you backing up? Perhaps I do not understand what this application does and who needs it... Gmail has been known to shut down down accounts without notice or any chance of reversal. It's prudent to have a copy of your own data at all times, no matter how secure you think someone else is storing it.
    4. Re:Gmail Backups? by LLKrisJ · · Score: 2, Insightful

      Well... I recently came across a situation where I wanted to migrate some emails from one account to another. So I could understand the need for some type of backup and restore software.

      However, you already have software like Imapsize to make backups using imap.gmail.com and even without that; one can easily move GMail messages to your local machine using Thunderbird or most other mail clients.

      So indeed, this must be the most redundant piece of software I have ever seen. Either the devs are quite stupid or they really were out to get account info of people...

    5. Re:Gmail Backups? by hetfield · · Score: 2, Insightful

      You have 6.5 gig of space on redundant remote servers. What are you backing up? Perhaps I do not understand what this application does and who needs it...

      Redundancy is never a replacement for backups.

      http://slashdot.org/article.pl?sid=08/01/25/1535226

  12. 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.
  13. 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.
    2. Re:Don't give out passwords by gEvil+(beta) · · Score: 2, 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.

      I was looking at [finally] creating a facebook account the other day. On the account creation page, they have some fields where you supply your webmail address and the password to your webmail account, and it'll automatically look through your address book and find your friends who have facebook accounts. As soon as I saw that, I decided that I still don't really want a facebook account. I steer way clear of any site that asks me for my logins to other sites.

      --
      This guy's the limit!
  14. Almost Willing To Believe by _bug_ · · Score: 2, Informative

    I'm almost willing to believe the G-Archive excuse that its debug code. From the screenshots posted online of the inbox (before it was deleted) I only see e-mails marked as unread. If the entire inbox is filled with unread e-mails then I'm willing to believe it was a throw-away e-mail account used for testing/debugging. Also this kind of "bug" seems really blatant and certainly headed for an easy discovery. I'd expect a more obfuscated means of transmitting the username and password, were one so inclined to bug the software.

    However 1,777 seems a bit small for "popular software" if this represents every install since the bugged software was released. Furthermore, how does e-mailing a password to a random account help in debugging the software?

    I'm almost willing to believe in human stupidity as the reason this happened, but not quite.

  15. That REALLY doesn't make sense by fph+il+quozientatore · · Score: 2, Interesting

    Suppose you want to harvest all users' emails by simply mailing them to your own account. Why on h^Hearth do you need the password of this account to be written in the source code?

    --
    My first program:

    Hell Segmentation fault

    1. Re:That REALLY doesn't make sense by Fnord666 · · Score: 3, Informative

      Why on h^Hearth do you need the password of this account to be written in the source code?
      Because Gmail's SMTP server uses username/password to authenticate the user before accepting outgoing mail. He was not only emailing info to his gmail account, he was using gmail's smtp server as the outbound connection. Given the purpose of the program, the author assumed that the user had a gmail account and used gmail's smtp server, so the program would not have any firewall issues connecting outbound for its nefarious purposes.
      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  16. Just wondering... by Doodhwala · · Score: 5, Interesting


    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.

    1. Re:Just wondering... by karmaflux · · Score: 4, Informative

      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.

      --

      REM Old programmers don't die. They just GOSUB without RETURN.

    2. Re:Just wondering... by ZOMFF · · Score: 2, Informative

      This door would more than likely leave a copy of the message in the users 'sent' folder. The chances of someone detecting that are far more likely than the hoops this particular user jumped through to decompile the code.

      Just another thing that points to the application author's malicious intent. By utilizing his own credentials he was able to authenticate to Gmail as himself and shoot himself an email with no trace in the end-user's sent box.

      --
      Launch every sig.
  17. what was that dude's name by rice_burners_suck · · Score: 2, Interesting

    how about that guy who modified the login program to give him a backdoor hard-coded password and username? then he modified the compiler to recognize when it was compiling login and automatically insert the code, and deleted that code from login so it wouldn't be apparent in a code review. then he modified the compiler to recognize when it was compiling itself, and insert the code to modify both itself and login, and then deleted that code from the compiler as well. now there ain't no code to do that in the source code no more, but it does it anyway. eh?

    1. Re:what was that dude's name by Hatta · · Score: 4, Informative

      That was Ken Thompson, coinventor of UNIX.

      --
      Give me Classic Slashdot or give me death!
    2. Re:what was that dude's name by adamofgreyskull · · Score: 4, Interesting
      Ken Thomson?
      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.
  18. Backup???? by spectrokid · · Score: 2, Insightful

    Isn't the whole freakin point of GMail that you don't have to backup?

    --

    10 ?"Hello World" life was simple then

  19. 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

    2. Re:Doesn't look malicious to me by faloi · · Score: 2, Informative

      I'm on the fence. On one hand, sending them to your own account seems pretty stupid. One the other hand, if the software has been out there for a while I would think I would notice suddenly getting a bunch of usernames and passwords in my inbox. Perhaps it was a real "oh crap" moment and he figured that he could sneak the fix into a patch before someone else noticed what was going on. It doesn't look like the emails had to be read, incidentally, it looks like the username and password were on the subject line.

      --
      "It is a miracle that curiosity survives formal education." -Albert Einstein
    3. Re:Doesn't look malicious to me by dmitrybrant · · Score: 2, Informative

      Stop me if I'm wrong, but Google previews the first line of the message, right next to the Subject header (as is evident in the screen shot). So there's no need to even "read" the message.

  20. 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?

    2. Re:Deleted the emails by BitZtream · · Score: 2, Insightful

      Considering when gmail started out there was no 'delete' functionality, it should not be suprising that the messages are never deleted.

      Why are suprised that when you let someone other than yourself hold onto your data that they can access it even after you can't? Do you know what backups are?

      For google, there are a number of reasons why they would want to retain the data, not that I think they should if they tell you its deleted. The amount of example emails they can run new code at to test various performance and reliability aspects of the code is the first thing that comes to mind. Feeding more data to their add targeting software is enough.

      Finally, I've not read the license agreement fully myself, but I do seem to recall them stating pretty clearly that they may not delete your emails even after you mark them as deleted. They certainly aren't the only site that does this.

      If you want complete control over your data retention policy, you need to run your own server, not outsource it to a free provider who has no liability to you at all.

      I.E. ... if you don't want your private stuffs getting out on the internet, DON'T PUT IT ON THE INTERNET. duh.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  21. This is why... by Thelasko · · Score: 2, Interesting

    I stopped using shareware and only use open source software. You never know what kind of crap the programmer might have stuck in there unless you can read the source yourself.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  22. Re:Debug, Sure... Around 1999 I found this out by davidsyes · · Score: 4, Interesting

    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.

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  23. Re:Many Laws Broken , No Ehics by MightyYar · · Score: 2, Insightful

    What twisted, warped world do you live in where it is unethical to stop a crime-in-progress?

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  24. 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

  25. Re:One thing strikes me by LordSnooty · · Score: 2, Informative

    Have you read the summary? If you used the G-Archiver program then your details will have been leaked. If you just use Gmail then there is no concern.

  26. His name is Dennis Ritchie by krog · · Score: 2, Informative

    He did it so he could more easily troubleshoot support calls on his new "Unix" operating system.

  27. Yet another SCM problem by plopez · · Score: 3, Interesting

    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.

    Just a few suggestions:
    1) Use source control and know how to use it. Know how to tag releases and when your code is 'frozen' and ready to ship. Communicate.

    2) Know how to use your source control to ID recent changes. Review recent changes.

    3) At least know how to use diff, for Christ's sake. Diff your code and look for recent changes.

    4) Just a thought, you might want to move your soon to be released code to another repository. Just a thought.

    5) LART any programmer touching the soon to be released code without communicating or following through (i.e. removing debug code). If the said programmer is a cowboy, move that programmer over to sales.

    6) Dare I say it, QA and code reviews. Even short-cycle extreme programming has de facto code reviews in that 2 programmers check each other's work.

    As projects get larger and more complex, version control get harder. But a few basic rules can help out.

    --
    putting the 'B' in LGBTQ+
  28. Wha?!? by an.echte.trilingue · · Score: 5, Informative

    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?
    --
    weirdest thing I ever saw: scientology advertising on slashdot.
    1. Re:Wha?!? by voxelz · · Score: 2, Interesting

      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. I know the free version of ZoneAlarm can distinguish which program is sending data over port 80. Additionally, I would hope that all firewalls do this. ZoneAlarm even asks you for verification when the program checksum is changed / updated. I can't elaborate much on the second, but there are fairly extensive protections against rewriting the firewall rules. You cannot simply overwrite a settings.xml file without it complaining. Still, a firewall will not prevent G-Archiver application from sending your login credentials to gmail, since you must already give the program access to the port used to download and archive your emails.
    2. Re:Wha?!? by B'Trey · · Score: 2

      ZoneAlarm is a software firewall that runs on your desktop. The advantage of this is that it can do things like restrict access to the network or specific ports on a process basis. The disadvantage is that if your machine is pwned, your firewall is pwned too. An attacker can disable it, change the rules, replace the software with a hacked version that allows certain traffic without displaying any evidence of it, etc. (And yes, ZoneAlarm might complain about some methods of changing the rules but a competent attacker with root access should be able to get around those fairly easily.)

      The post you were responding to specified a hard firewall. It was itself in response to a post which talked about having a separate firewall running on different hardware. If your desktop is pwned, your firewall is still secure unless you do something stupid like use the same password on both machines, or it's independently attacked and compromised. That's their advantage. Their disadvantage is that they aren't privileged with info like what program or process generated a packet and therefore can't discriminate based on such things. All they have is the info that can be gleaned from the packet itself. There might be clues - like the browser ID string - in a packet stream that would allow a hard firewall to make a guess as to the source, but there's no guarantees with that and I'm not aware of any that even make the attempt.

      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

    3. Re:Wha?!? by asdfghjklqwertyuiop · · Score: 2, Informative

      It may not be easy but people do this sort of thing all the time to remove DRM from video games.

      And if the firewall software checks to see if it has been modified then alter the firewall software so that it does not perform such a check. Hopefully you see where this is going...

    4. Re:Wha?!? by raddan · · Score: 2, Informative

      Little Snitch for Mac OS X lets you write per-application firewall rules. It's pretty sweet. Not that this will help you if your favorite application is secretly sending your diary to your mom.

    5. Re:Wha?!? by XMyth · · Score: 2, Funny

      I don't see where this is going.

      So, to continue, why not just make the firewall check itself to make sure it checks if it has been modified?

      What could the malware possibly do then?

  29. Malice? Incompetence? by bestinshow · · Score: 2, Interesting

    Had any of the emails been looked at?

    If they were all unread, and if the last login on that account was like forever ago, then maybe the developer's story is the truth.

    But this is a key example of where open source wins, because most eula's will have a don't decompile clause.

  30. To quote Hanlon's Razor...again. by _Shad0w_ · · Score: 2, Insightful

    "Never attribute to malice that which can be adequately explained by stupidity"

    Although in this case I think stupidity might not be an appropiate term. Unless you have oversight (either peer or some other form) it's quite easy to accidently leave deubugging code in a release. I'll hold my hand up and say I've done it; any programmer who says they haven't done it - or at least something similar - is either delusional, hasn't noticed yet or is a downright liar.

    --

    Yeah, I had a sig once; I got bored of it.

  31. 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...

    3. Re:The /. crowd has no imagination by cbart387 · · Score: 3, Informative

      Easily could be a test email address that he uses for only that purpose. I'll give him the benefit of the doubt on this one. That doesn't mean I'll use the product however. You have two cases. Either (a) the coder is malicious -or- (b) the coder is sloppy. If I'm paying for a program (g-archiver's site says it's 29.95) then I expect the code to be of good quality ... and having debug code in does not count as good code in my opinion.

      Also, I'm kinda interested in his market. Thunderbird has an option to download/sync to a local machine. I'm curious why you'd want to use yet another tool when a decent email client has the same basic feature.

      --
      Lack of planning on your part does not constitute an emergency on mine.
  32. Re:Debug, Sure... Around 1999 I found this out by davidsyes · · Score: 2, Funny

    Thanks!

    I call:

    - ms word ms blurb
    - access abscess
    - excel hexedcell
    - x box hexed box
    - outlook LOOKOUUUTTT!!!!
    - powerpoint powerpointless

    But, I'd have to say my faves are abscess and front phage...

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  33. Snow Job by feed_me_cereal · · Score: 4, Informative
    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.
    --
    "Question with boldness even the existence of a god." - Thomas Jefferson
  34. An Accident? by Jekler · · Score: 2, Insightful

    I've written a lot of code in my time. I've never written a routine/method/function that saved user account names and passwords then emailed them to myself. Writing passwords to the local system is fine, but even that you have to do correctly (in a sufficiently encrypted form) and you must notify the user. I can't understand how he could possibly justify creating emails that transmit password information as simply a debugging accident. The debugging process probably shouldn't involve automatically creating emails. And if it does, it probably shouldn't include secure information. And if it does, it probably shouldn't include secure information from the user without notifying them.

    I don't think this can be justified. You can't "accidentally" harvest account names and passwords. Bells go off in the head when you're writing code that says "create an email, send it to this address, and include the current user's username and password."

  35. Not to be droll by IBitOBear · · Score: 4, Interesting

    Turns out, I have actually oiled snakes. And I am not talking plumbing snakes.

    I worked at a pet store that did some light animal care, and snakes were some of the animals we treated and kept. The oil was Linatone(tm). It helps snakes shed, and it is lightly anti-biotic and anti-microbial and anti-parasite. (it makes reptiles happy 8-).

    So yes, snake oil for oiling snakes...

    --
    Innocent people shouldn't be forced to pay for inferior software development.
    --"Code Complete" Microsoft Press