Slashdot Mirror


Debian Locks Out Developers

daria42 wrote in with an update to an earlier story about a Debian server that was compromised. He explains: "The Debian GNU/Linux project has discovered a compromised developer account was used to gain access to a server compromised this week. A local kernel vulnerability was then used to gain root access. Due to this, a number of developers with weak passwords have been locked out of their system accounts." To be fair, they'll most likely be let in once everything's back to normal. Of course, they'll probably need to set safer passwords too.

42 of 331 comments (clear)

  1. Ah. balance by Kid+Zero · · Score: 5, Insightful

    That wonderful feeling of making the password hard to guess, but easy to recall.

    1. Re:Ah. balance by JebusIsLord · · Score: 4, Insightful

      Yeah, instead you have to worry about the locations of their memory keys!

      --
      Jeremy
    2. Re:Ah. balance by finiteSet · · Score: 5, Funny
      That wonderful feeling of making the password hard to guess, but easy to recall.
      If you are like me, it seems like almost everyday the bank or eBay is emailing about a new upgrade to the system, one that requires entering your old and new passwords, social security numbers, bank account numbers, and so on. Accordingly, I've developed some simple tips for coming up with making a hard-to-crack but easy-to-remember password:
      • Short but strong: you can make the password relatively short (e.g. one character) so that it is easy to remember, but random enough to be hacker-proof. Do you really think someone would guess 'q' or 'z' ?
      • Long but simple: if you are unsatisfied with the previous strategy, try this one on for size: the longer the better. So instead of 'a', you might want to use 'aaaaaaaaaaaa'. ('0000000' works, too.)
      • Mirror Mirror: use your username as your password and cut the memory load in half!
      • Long and strong: for the absolutely mission critical stuff, you may have to spice it up. Pair a common dictionary word, like 'dog', 'log' or 'hog' with a small digit ('1', '2', and so on), and you're golden.
      • Final Notes: don't forget to recycle your old passwords and - please - keep a public list!
      --
      If we start buying CDs then the terrorists have already won.
    3. Re:Ah. balance by Millenniumman · · Score: 5, Funny

      "and starting today, all passwords must contain letters, numbers, doodles, sign language and squirrel noises."

      --
      Stupidity is like nuclear power, it can be used for good or evil. And you don't want to get any on you.
    4. Re:Ah. balance by arivanov · · Score: 4, Insightful

      Ahem.

      That was my first reaction as well. If you are using ssh, passwords are "the wrong idea" (TM). A password is guessable while a private key is not. That is the way it is designed.

      Not that it would have helped in this case though. The attacker compromised the developer machine first and from there on compromised the server. Once you are in full control of a user machine it is game over as far as any resources it accesses are concerned.

      While at it, I can also understand an admin on a large linux shell machine which still allows passwords.

      Due to Theo and Co's knee jerk (hello Theo) attitude to non-OpenBSD OSes there is no way to make ssh public key authentication plug cleanly in the OS authentication chain. The reason is that ssh continues to be developed from the perspective "PAM sucks, we here do not do that". That is a purely political OpenBSD position which belongs to the realm of OpenBSD and should have nothing to do with OpenSSH. If OpenSSH is to really support linux without "OpenBSD is better TM)" being involved it will have to support PAM properly, natively, all the way and for all authentication methods including public keys. This is the way of the land.

      As this is not the case yet, if you want to limit access to public key only you have to turn off PAM for ssh. Alternatively, if you manage a big machine (or network) and you need PAM you end up turning on passwords and praying.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    5. Re:Ah. balance by corychristison · · Score: 3, Funny

      I like nice, long, random passwords. 16+ characters. I have no problem remembering them, and I use dozens for lots of different things.

    6. Re:Ah. balance by Mark+Hood · · Score: 4, Insightful

      Not in this case - if you read the summary, even.

      They got in with a developer's password, then used a local exploit to get root permissions.

      I.e. they didn't know (or need to know) the root password. So in this case, having two 8 character passwords was exactly as secure as having one 8 character password.

      Mark

      --
      Liked this comment? Why not buy me something nice
    7. Re:Ah. balance by BecomingLumberg · · Score: 4, Informative

      Well, the parumutaions change depending on whether or not the program displays that you are correct with the first password. Cracking a 16 digit password would square the time it took to crack, where two eight digit passwords separatly would simply double it.

      --
      If a nation expects to be ignorant and free, in a state of civilization, it expects what never was and never will be.-TJ
    8. Re:Ah. balance by aymanh · · Score: 4, Informative
      Talking about openssh's security, here's a vital patch:
      -PermitRootLogin yes
      +PermitRootLogin no

      A couple more:

      Protocol 2
      PermitEmptyPasswords no
      LoginGraceTime 2m
      MaxAuthTries 6

      And it's always a good idea to restrict SSH access to trusted IP addresses in /etc/hosts.allow.
      --
      python>>> q="'";s='q="%c";s=%c%s%c;print s%%(q,q,s,q)';print s%(q,q,s,q)
  2. back to normal by Coneasfast · · Score: 4, Insightful
    To be fair, they'll most likely be let in once everything's back to normal. Of course, they'll probably need to set safer passwords too.
    Um. What exactly does this mean? If everything isn't back to normal, shouldn't they lock out ALL developers? That's what I would do.
    --
    Marge, get me your address book, 4 beers, and my conversation hat.
    1. Re:back to normal by Ohreally_factor · · Score: 4, Funny

      They're only locking out the developers who used the password "tux".

      --
      It's not offtopic, dumbass. It's orthogonal.
  3. kernel exploited... by scum-e-bag · · Score: 4, Informative
    Schulze said the particular Linux vulnerability only
        exists in kernel versions:

    • 2.6.13 up to versions before 2.6.17.4
    • 2.6.16 up to versions before 2.6.16.24


        Schulze advised admins to upgrade their software if they were
        using these versions but said the current stable version of
        Debian was not affected as it run kernel 2.6.8.


    I guess this means that there are a lot of ubuntu users out there who are vunerable right now... how long for the patch?

    Also, the article seems to be a little out. Shouldn't it be just 2.6.12 -> 2.6.17.4 as this includes 2.6.16 -> 2.6.16.24
    --
    Does it go on forever?
    1. Re:kernel exploited... by scum-e-bag · · Score: 5, Informative

      According to the ubuntu-security-announce lists, the current up to date kernel version is 2.6.15-26.44 This was released 3 days ago, before the debian server compromise was announced. According to the zdnet report, this version falls within the exploitable.

      I made a mistake in my initial post, slip of finger, 2.6.13* not 2.6.12*

      --
      Does it go on forever?
    2. Re:kernel exploited... by andersa · · Score: 3, Informative

      Since the 2.6.16 kernels are still being maintained with regard to bugfixes, the statement is valid. The vulnerability was fixed in maintainance release 2.6.16.24 and versions of 2.6.16 from then on forward are ok.

  4. libpam-cracklib by dduardo · · Score: 4, Funny

    Time to enforce a 200 character minimum for passwords.

    1. Re:libpam-cracklib by teslar · · Score: 4, Insightful
      You're laughing, but in practice I have too often seen restrictions on the maximal security of passwords.
      Take for instance my online banking system (which in its defense has other security measures alongside the password, but still):
      • no more than 10 characters please
      • upper/or lowercase does not matter, lowercase will automatically be converted to uppercase
      • alphanumeric characters only

      Seriously, what's the point of this?? Why am I forced to use weak passwords just because some developper somewhere can't figure out how to allow a " or a \ in a string?
  5. password requirements by PetriBORG · · Score: 5, Insightful

    Hopefully then they will also implement a good set of password rules and enforce them to protect themselves from future problems. Where I work they require 3 out of the 4 rules to be met such as mixed case, numbers and special characters... of course they also make us change our password every 30 days so i've discovered that people have taken to doing things like Asdf1234 and then when the password requires changing changing it to Asdf2345... Doh.

    --
    Pete/Petri "damn, my chainsaw is clogged with 1's and 0's again." --clyde
    1. Re:password requirements by Bostik · · Score: 4, Interesting

      Hopefully then they will also implement a good set of password rules and enforce them...

      I have a suggestion. Dump the password based access altogether. These are Debian developers, who by their position already NEED to both know and understand how to use GPG for signing their uploads. The concept of public-key access control/validation is their bread and butter.

      Allow only public-key SSH access to Debian machines. Period.

      That way, to compromise Debian server(s), any potential attacker would need to daisy-chain their targets. Break a developer's home or work box first, get their keys and their passphrases. Only then can they proceed to bigger targets.

      --
      There is no such thing as good luck. There is only misfortune and its occasional absence.
  6. I wonder... by MSFanBoi2 · · Score: 4, Insightful

    Why when this happens on a Windows server is "OMG! Windows is insecure! M$ is evil!!!!"

    But with this its "Oh just set more difficult passwords"...

    1. Re:I wonder... by The+Bungi · · Score: 3, Insightful

      Did you miss the part where a local Linux kernel exploit was used in the attack?

    2. Re:I wonder... by Anonymous Coward · · Score: 5, Insightful

      Did you fail to understand what a remote exploit is?

      Here, let's try an analogy. In this case someone left the door to the building unlocked. A burglar got in. He then methodically cracked the safe, and took the money from within.
        Following this, "MSFanBoi" posts to slashdot making a false equivalency between that and the Win building where the locks were defective and the money was taken from where it was sitting on the floor. (The windows exploits being criticised are remote, the linux exploit was local-only. In the latter, you have to actually break in before they are useful.)
        Do you still fail to see the difference?

  7. If only they'd... by a_greer2005 · · Score: 4, Funny
    been running with the stability and security of Windows Server, they wouldnt have had this happen. They would have kept their service up and agile for the furtherance of the enterprising endvors of hacking...er...uhhh...computer science research.

    Bill G.

  8. ssh2 keys? by saleenS281 · · Score: 5, Insightful

    Why don't they just have the developers use ssh2 keys? I didn't know anyone actually used passwords on secure systems for authentication...

    1. Re:ssh2 keys? by Gregg+Alan · · Score: 3, Insightful

      Why don't they just have the developers use ssh2 keys? I didn't know anyone actually used passwords on secure systems for authentication...

      Agreed. Don't we all know this already? I don't have anywhere near the number of users that Debian does, but it's keys all the way.

      On the other hand, if they used a weak password for something as serious as Debian developer access who's to say that their workstation/personal network/whatever wouldn't be compromised and leak the encrypted key and then the key (assuming they have a weak passphrase).

      I smell a sleeper.

      --
      Here before all but 8486 of you.
    2. Re:ssh2 keys? by Just+Some+Guy · · Score: 3, Interesting
      This is a good idea, although distribution is a problem. The key could be sent in an encrypted mail to the user, with the password set to something specified in another encrypted mail.

      Ummm, no. Debian takes the whole "web of trust" thing seriously. That means that developer joecoder@example.com generates his own SSH public key and sends it in a signed email to the development server's administrator. That person verifies the email signature and puts the key in ~joecoder/.ssh/authorized_keys. Nothing more need be done.

      --
      Dewey, what part of this looks like authorities should be involved?
  9. Re:So? by PetriBORG · · Score: 3, Interesting

    I guess I should be more specific. My point was that people were puting strings of letters and or numbers in sequence as their password because they were forced to change them so frequently. I would argue that any string which is sequential is less secure then a randomized number. Like putting 1234 as your ATM pin... it leads to easy shoulder serfing.

    Thus people would pick their first name, Peter123 if I was to use my own name as an example. I'm comparing this to passwords that I had to use at Sandia National Labs which were randomized letters and number strings generated by computer, the user was presented with a screen of 30 passwords and you were allowed to pick any of the 30, or to generate a screen of 30 more passwords... The people would pick things that made sense to them but were completely randomized and were never a dictionary word or even a common short hand for the words etc.

    --
    Pete/Petri "damn, my chainsaw is clogged with 1's and 0's again." --clyde
  10. B...b...b... by htnprm · · Score: 5, Funny

    ...but it's Linux!

  11. Secure Passwords lead to Insecure Passwords by cloricus · · Score: 5, Interesting

    I have noticed what you talk about though I've seen it go to further extremes. While at work (we run a mainly Windows network with a few hundred users) I've done further education (out side of Uni) at Australian TAFEs (basically vocational collages) in Queensland - the TAFE I went to runs a pure Windows network with around twenty thousand plus users over several sites...Any one who has been to one of these TAFEs understands how much of a raping they have taken from Microsoft, and I say raping because they run the 'perfect Windows network' following all of Microsoft guidelines etc which mean some machines take over fifteen minutes to log in and are laggy as all hell once they are in.

    Anyway onto the topic. They also follow the recommended guidelines for passwords which includes at least one capital, two numbers, over six chars, and cannot be any of your previous passwords (with I believe a 80% match so you can't just add a 1 or a 2 to it) and these roll every thirty days. Now as a geek I have my own unique password system where no two are the same, they are long, and they have numbers, and at least one capital - unfortunately there is only five or six possible combinations that meet the password system for each item meaning after five months going to this TAFE (I was there a year part time) I ran out of passwords. This put me on the tred mill that every one else had been on for a few months (they did a fresh roll over to XP from 98 at the start of last year) of forgetting the password (that I made up to get into the system after my old one expired) or where I wrote it down (yes, every one wrote down their passwords in blatant places so they could find them again, which to me makes passwords null anyway) and then starting to use generic passwords that every one else was using that month for example t4f3IsShit or fUkp455words and the like. As you can probably see this just ends up a mockery of the idea.

    So basically the point I'm trying to make is you have to be careful with what you mean by a 'good set of password rules' as if you go overboard even to the slightest extent (as I've seen happen time and time again) passwords just become a joke and you may as well not have them.

    Personally I've found that if you teach people/users what a secure password is, teach them not to tell it to any one, get them to use firefox to avoid keyloggers, and then enforce a six to twelve month roll over no problems ever come up. That's my happy medium and 2cents anyway. :)

    --
    I ate your fish.
  12. Re:Passwords by Anonymous Coward · · Score: 3, Informative

    By running cracking tools against them, of course.

  13. good idea by smash · · Score: 3, Insightful
    I mean, it's one thing to use an insecure password on your personal machine - but using an insecure password on a common development machine for a fairly high profile project is just irresponsible.

    Locking them out is totally fair, and imho it's the responsible thing to do.

    STRONG passwords should be enforced (hell, mandatory keyed logins would be better) on machines like this (which are fairly attractive targets for abuse)...

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  14. *gasp*! by grasshoppa · · Score: 4, Funny

    Goodness, no! This might push them behind schedule!

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
  15. Re:Passwords by sholden · · Score: 3, Insightful

    There's no way you could be dumb enough to actually think that.

  16. Re:So? by TCM · · Score: 4, Insightful

    How the hell could this be modded insightful? The whole point of changing passwords is so that the compromise of one password doesn't lead to unlimited access or the compromise of future passwords.

    If a password is so secure that it can't be guessed, then why change it? If it's so weak that it gets guessed monthly, changing just one digit doesn't do shit.

    And if the system gets compromised, you reinstall and choose a totally different password.

    Seriously, this must be the most stupid advice I've seen and it's currently +2, Insightful. Scary.

    --
    Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  17. Re:WTF?!!! by linvir · · Score: 5, Funny
    Old password:
    > ******
    New password:
    > *****
    Retype new password:
    > *****

    WARNING
    This is a really stupid password, the kind that would put this entire computer at risk.
    Are you sure you want to continue?
    [ Y / n ]
    > Y

    BASTARD
    Okay then, fuck you. Your account has been completely cleared out, to help you understand the importance of choosing a secure password.

    Now, let's try again, shall we?
    Old password:
    >
  18. Re:Passwords by ozbird · · Score: 4, Informative

    John the Ripper most likely. Great tool - recovered the root password for a SGI box a friend bought on eBay in less than a second (your password may vary.)

  19. Re:Weak Passwords ?? If they know that ...well by Anonymous Coward · · Score: 4, Insightful

    Believe me, the Debian project does not store passwords in the clear.

    As administrators they have access to the shadow file that contains hashed versions of all the passwords. What they did was run a cracking utility against the shadow file to pick out weak passwords. Usually these cracking utilities use brute force dictionary attacks to try and randomly guess the password. If the utility was able to guess a password quickly, that password was definitely not secure. It's as simple as that.

    I encourage you to read more about the topic, it's a fascinating one. Wikipedia has an interesting article at http://en.wikipedia.org/wiki/Password_cracking/.

  20. Accounts with bad passwords locked, not all by dondelelcaro · · Score: 5, Informative

    The story title is a bit misleading; only accounts with bad passwords or those who (for $DEITY knows what reason) appeared to have private keys on gluck were locked out. Everyone who has sane passwords and/or only uses ssh keys to log into their accounts still have access.

    Of course, anyone who could actually log in already knows this because they've read d-d-a (or have already logged in.) In any event, rather troubling that the PRCTL bug managed to find its way into the kernel, but good that the intrusion was caught relatively quickly and neutralized.

    --
    http://www.donarmstrong.com
  21. Re:Oh the irony! by Architect_sasyr · · Score: 3, Interesting
    Oh yeah? Someone has been playing on their network for months, and we know of it only because one of their employees blabbed about it.


    As no doubt others will make the same case, the difference here is not that Debian got pwned or the Microscum (personal bias aside ;) are any worse/better. The deal is that Microsoft stands to lose a hell of a lot more by saying they have been owned, especially with the new "secure" vista coming out.

    Anyone know of the latest citibank cracks? Funny, no banks will tell us that they have been cracked, yet they are not ripped on as much...
    --
    Me failed English...
    FreeBSD over Linux. If my comments seem odd, this may explain...
  22. Your new Debian password. by Savage-Rabbit · · Score: 5, Funny

    Dear Mr finiteSet,
    To punish you for using such a weak password to your Debian developer account we have changed your password to the following:
    !_@m_@n_!ns3ns!t!v3_cl0d_wh0_us3s_w3@k_p@ssw0rds_b ut_!_pr0m!s3_n0t_t0_d0_!t_@g@!n_s0_l0ng_@s_!_l!v3

    Enjoy
    The Debian team

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
  23. Chip and Pin by giafly · · Score: 4, Funny
    I use my credit card Chip and Pin number as my password. If you do the same, you'll be completely secure, because it's the one thing that cannot be forged. Don't just take my word for it, check out these quality endorsements:
    --
    Reduce, reuse, cycle
  24. Overreacting a bit? by rai4shu2 · · Score: 3, Insightful

    "Due to the short window between exploiting the kernel and Debian admins noticing, the attacker hadn't time/inclination to cause much damage," wrote Schulze.

    "The only obviously compromised binary was /bin/ping. The compromised account did not have access to any of the restricted Debian hosts. Hence, neither the regular nor the security archive had a chance to be compromised."

    It seems like nothing much really happened. I mean, if this is all a hacker is capable of even with root access to a major Debian server, then what's all the fuss about?

  25. howto: strong passwords by dune73 · · Score: 5, Insightful

    If you are in need of a strong password, use the following recipe:

    Think of a sentence with 6-10 words with a number in it.
    - The number can be inside one of the words.
    - If you manage to have multiple Capital words in the sentence, your password gets stronger.

    Then take the first letter and write the numbers as digit, include the point,
    question mark, exclamation point at the end and you got a strong password.

    Today i ate two buns for breakfast! -> Tia2bfb!
    I have seen six dups on Slashdot this week. -> Ihs6doStw.
    Can you memorize all four new passwords? -> Cyma4np?
    And today: A new password for my debian account! -> At:1npfmda!

    Works fine for me and is fairly easy to memorize.