Slashdot Mirror


Online MD5 Cracking Service

toast writes "Did you forget your password but have your /etc/shadow? If so, this site is for you. Submit a MD5 hash and within a few days you'll have an answer. Of course, once Slashdot has its way, you'll have to wait a few years for an answer.. At least now I'll always know what f3789b3c1be47758203f9e8a4d8c6a2a means.."

401 comments

  1. is it.. by MasTRE · · Score: 0

    ..free? cuz right now it's just /.

    --
    Must-not-watch TV!
  2. Dictionary attack by Anonymous Coward · · Score: 5, Interesting

    This is why we use salted, iterated hashing.

    1. Re:Dictionary attack by kasperd · · Score: 3, Insightful

      This is why we use salted, iterated hashing.

      I never really looked into exactly how crypt works, so I can't say for sure if it use iterated hashing. But in the case of MD5 passwords, it does indeed use a 48 bit salt (8 chars base 64 encoded). So mentioning /etc/shadow doesn't really make any sense. I still find it a bit worrying that they can crack a password with about 42 bits of entropy. A good 8 character password will have about 48 bits of entropy, which means it would take only 64 times as long to crack as what they can do now (a litle more if the hashing is in fact iterated). But the salt does mean they couldn't be cracking more than one password at a time. (I'm glad my root password is 16 chars long).

      --

      Do you care about the security of your wireless mouse?
    2. Re:Dictionary attack by hpavc · · Score: 2, Insightful

      which is why this website needs to have a distributed client

      --
      members are seeing something, your seeing an ad
    3. Re:Dictionary attack by fataugie · · Score: 5, Funny
      (I'm glad my root password is 16 chars long).

      See, that's why I have a blank root password...so they spend all that time cracking something that doesn't exist.

      --

      WTF? Over?

    4. Re:Dictionary attack by JPriest · · Score: 3, Funny

      This method and more in the next version of 101 ways to abuse virtual hosting package.

      --
      Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
    5. Re:Dictionary attack by Anonymous Coward · · Score: 0

      A great idea, but when you concider how there system works (looks up the hashes in a 80Gb or so hash table (oh whata pun)) I suspect the bandwidth used would vastly out-weigh the speed increase of indexing that table :)

    6. Re:Dictionary attack by julesh · · Score: 5, Funny

      Unfortunately, some of us here know the empty MD5 well enough to recognise it on site. It's the only one I've ever seen that contains the string '98 foob2'.

      I'm not entirely sure what a foob is, but I'm pretty sure we have at least 98 of them here.

    7. Re:Dictionary attack by Anonymous Coward · · Score: 1, Informative

      AKA d41d8cd98f00b204e9800998ecf8427e

    8. Re:Dictionary attack by NuclearDog · · Score: 1, Funny

      "(I'm glad my root password is 16 chars long)"

      I count 28 digits for my root password: "mOdoviNcismodOvincEris521252"

      So this means they couldn't crack mine, I assume?

      (For the curious, "Modo Vincis, Modo Vinceris" = "You win some, you lose some.")

      ND

      --
      This statement is forty-five characters long.
    9. Re:Dictionary attack by __aafkqj3628 · · Score: 1

      Think it might be a typo for fool?

    10. Re:Dictionary attack by SEWilco · · Score: 1
      I count 28 digits for my root password: "mOdoviNcismodOvincEris521252"

      Now we don't know whether to laugh or cry.

    11. Re:Dictionary attack by Anonymous Coward · · Score: 0

      I could not verify some of their "cracks".
      e.g.
      $ md5sum
      ssssssss
      d359bd6555ad135946695cd2bcf045f0

      The corresponding hash they give as
      4bbde07660e5eff90873642cfae9a8dd ssssssss

      Maybe this is a hoax...

    12. Re:Dictionary attack by NuclearDog · · Score: 0

      Umm... I guess I shouldn't mention my 47 digit password then, right?

      ND

      --
      This statement is forty-five characters long.
    13. Re:Dictionary attack by kasperd · · Score: 1

      I could not verify some of their "cracks".

      That is because you computed the MD5 hash of the wrong string. Eith times s does not produce the same MD5 hash as eight times s followed by a newline.

      --

      Do you care about the security of your wireless mouse?
    14. Re:Dictionary attack by kasperd · · Score: 3, Interesting

      which is why this website needs to have a distributed client

      How much would that help? Presumably everybody submiting a password to have cracked have a different salt, so how much can they help each other? Of course if you want to find the reverse image of a hash value by brute force, it would help to have a lot of machines working on it, and if everybody had a list of all the hashes being searched for, they could help each other. But brute forcing MD5 this way is something that wouldn't be realistic now, maybe in a 100 years we will have enough computing power to do that. So some shortcuts must be made, which is why they allow only short passwords using a restricted set of chars. This "service" will only find the password from a small set with 42 bits of entropy, the salt alone have 48 bits of entropy. Probably you could make similar shortcuts even given a salt, but they would have to be aimed at one particular salt.

      --

      Do you care about the security of your wireless mouse?
    15. Re:Dictionary attack by hpavc · · Score: 1

      i am thinking same cypher many machines.

      they are not helping 'each other' per se. merely cpu-intensive zombies.

      --
      members are seeing something, your seeing an ad
    16. Re:Dictionary attack by Anonymous Coward · · Score: 0

      I prefer salted, peppered hash-browns.

  3. Hmmmmmm by skynetos · · Score: 5, Insightful

    hmmmm I would never submit any shadow file, who knows what the admin of the site does with the results! Nick

    1. Re:Hmmmmmm by Anonymous Coward · · Score: 0

      umm...I don't think you would post your /etc/shadow with a note stating the IP address of the machine. That would just be dumb.

      You should have no problem posting an /etc/shadow and attribute it to some random IP address.

      I assume that your passwords are not used on other machines so it really should not be any issue.

    2. Re:Hmmmmmm by xlyz · · Score: 4, Funny


      you should not worry about it

      they just publish it on the internet

    3. Re:Hmmmmmm by cag_ii · · Score: 1

      I think the idea is you can log back in to change it (to something you'll remember this time).

    4. Re:Hmmmmmm by Concerned+Onlooker · · Score: 4, Informative

      Pardon me for actually checking out the site. It seems as though you don't submit an entire shadow file after all. Only the hash of the password.

      --
      http://www.rootstrikers.org/
    5. Re:Hmmmmmm by Anonymous Coward · · Score: 2, Insightful

      So they just publish it on the Internet...so what?
      How many people have your MD5 hash? If someone saw a MD5 hash and its associated plaintext password could they attribute to you or one of your machines? If the answer is "yes", then you have a lot more problems than this website.

    6. Re:Hmmmmmm by pizzarobot · · Score: 2, Interesting

      It appears that this only works for hashes that don't use salt, so it wouldn't work for any hashes that are stored in a shadow file.

    7. Re:Hmmmmmm by skynetos · · Score: 2, Informative

      the funny thing is you guys thought I was serious.. cant you tell a little joke ?? :) Nick D

    8. Re:Hmmmmmm by Richard_at_work · · Score: 4, Funny

      And the best part of it, it actually says that in the blurb at the top of this page!!! Sheesh, have we stopped reading the slashdot writeup now? Is it really true that we have become a civilisation where our attention spans are measured in microseconds? Does the title have to have 'sex' or something in it to gain more scrutiny?

    9. Re:Hmmmmmm by Anonymous Coward · · Score: 0

      fire up your computers gentlemen, it's time to telnet into your colleges. Hopping a few times first of course.

    10. Re:Hmmmmmm by Alsee · · Score: 5, Funny

      !!!!!
      Did someone mention sex?

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    11. Re:Hmmmmmm by Anonymous Coward · · Score: 3, Funny

      Quit exagerrating. Slashdot has only improved my attention span by... Hey, cool, China's deploying an IPv9 Network!

    12. Re:Hmmmmmm by Spetiam · · Score: 2, Interesting

      One thing they could do with it is expand dictionary lists. What better way to make a password dictionary than to get a pool of passwords that people actually use?

    13. Re:Hmmmmmm by debilo · · Score: 1

      Yes. What is it?

    14. Re:Hmmmmmm by snake_dad · · Score: 1

      Only when it is a little funny.

      --
      karma capped .sig seeking available Slashdot poster for long-term relationship.
    15. Re:Hmmmmmm by X-wes · · Score: 1

      My attention span has improved through exhaustion.

      I read at -1.

    16. Re:Hmmmmmm by julesh · · Score: 1

      Don't worry, if you're password ever turns up on that list, just slashdot it again. The story'll get posted again and then your password will get buried by about 500 slashdotters trying to do a reverse lookup on 'goatse'.

    17. Re:Hmmmmmm by causality · · Score: 0

      Knee-jerk reaction: 5, funny.


      Hindsight-is-20/20 reaction: -1, Predictable.



      My $0.02.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    18. Re:Hmmmmmm by Anonymous Coward · · Score: 0

      Hmm, hamburgers!

    19. Re:Hmmmmmm by E_elven · · Score: 1

      Good plan. I'm sure not a single even half-competent network admin has HTTP access logs, useless things.

      --
      Marxist evolution is just N generations away!
    20. Re:Hmmmmmm by Anonymous Coward · · Score: 0

      How the hell can you think "you're" means ownership? You just said "if YOU ARE password ever turns up"

      You FUCKING DUMBASS. ALL OF YOU.

    21. Re:Hmmmmmm by devilspgd · · Score: 1

      Posting a /etc/shadow from any machine other then the IP you're using at the moment would probably be relatively safe.

      Beyond that, you don't submit a /etc/shadow to the site, you just submit a hash -- So they'd only have your password, they don't know what username you submitted, or if the hash is even a password, you might have generated a test string.

      --
      Give a man a fish, he'll eat for a day, but teach a man to phish...
    22. Re:Hmmmmmm by DMUTPeregrine · · Score: 1

      I think you want www.autopr0n.com

      --
      Not a sentence!
  4. A /. 1st? by Your_Mom · · Score: 4, Funny

    All joking aside, how much do you want to bet this is the first time the slashdot effect /really/ causes a computer to catch fire due to excessive processor heat?

    --
    Objects in the blog are closer then they ap
    1. Re:A /. 1st? by TitanBL · · Score: 2, Funny

      Ya, cause I bet it the software does not queue the requests or anything fancy like that...

    2. Re:A /. 1st? by allenw · · Score: 5, Funny

      Hopefully it is running BeOS as its is_computer_on_fire() call will provide at least some protection.

    3. Re:A /. 1st? by Anonymous Coward · · Score: 0

      All joking aside,

      Well, since you say you aren't joking, I believe it's hard for the CPU in their web server to catch fire -- it's much more likely to shut down before that.

    4. Re:A /. 1st? by Anonymous Coward · · Score: 2, Funny

      i think it will be my fault for submitting the knoppix iso md5 hash

    5. Re:A /. 1st? by Aeiri · · Score: 3, Funny

      They can also use Linux. If you check the Linux source, not only does it check if your CPU is on fire, it also checks to see if your printer is on fire!

      # cd /usr/linux/src
      # egrep -ri "(on fire)" *

      This will return a lot, but here are two of the results:

      arch/i386/kernel/cpu/mcheck/p5.c: printk(KERN_EMERG "CPU#%d: Possible thermal failure (CPU on fire ?).\n", smp_processor_id());

      drivers/usb/class/usblp.c:static char *usblp_messages[] = { "ok", "out of paper", "off-line", "on fire" };

  5. What it really means by Zorilla · · Score: 4, Funny

    At least now I'll always know what f3789b3c1be47758203f9e8a4d8c6a2a means..

    Processing....

    (Three days later)

    Processing Complete: Result is 42

    --

    It would be cool if it didn't suck.
    1. Re:What it really means by BobPaul · · Score: 5, Informative

      on page 2 when results are 500, you'll find

      "f3789b3c1be47758203f9e8a4d8c6a2a" = "goatse"

      So stop submitting it! ;)

    2. Re:What it really means by Anonymous Coward · · Score: 0

      thats a1d0c6e83f027327d8461063f4ac58a6

    3. Re:What it really means by Anonymous Coward · · Score: 0

      nope, from the site:

      id:73994908
      hash:f3789b3c1be47758203f9e8a4d8c6a 2a
      result:goatse
      hex:676f61747365

      it's in the list, check it out...

    4. Re:What it really means by arvindn · · Score: 5, Informative

      This is probably obvious, but you can verify it using:

      $ echo -n goatse | md5sum

      f3789b3c1be47758203f9e8a4d8c6a2a -

      So parent is right.

    5. Re:What it really means by Anonymous Coward · · Score: 0

      And the question was????

    6. Re:What it really means by Anonymous Coward · · Score: 4, Funny

      So what the parent is really saying is that the question to life, the universe, and everything is "goatse"? and the answer is 42....expalins so much..

    7. Re:What it really means by Anonymous Coward · · Score: 0

      but if the same hash could be a product of more than one password, as someone pointed out, shouldnt the results eventually differ if this were true? and btw, kinda stupid to run the same hash anyway, why not just check against something they've already computed, and give back the result right away.

      doh!

    8. Re:What it really means by jeremy_dot · · Score: 1

      It may have been a bad idea to submit a hash along with the website...

      Looks like many a person decided to add f3789b3c1be47758203f9e8a4d8c6a2a to test it.

      http://passcracking.com/Good_values_list.asp

    9. Re:What it really means by Anonymous Coward · · Score: 0

      Mod this up!

    10. Re:What it really means by verbatim_verbose · · Score: 1

      Probably was a bad idea... the guys running this site probably aren't going to find Slashdot's great sense of humor all that funny either.

      At least I know I don't anymore.

    11. Re:What it really means by jonbryce · · Score: 1

      Cue the comments about a beowulf cluster of slashdotters.

    12. Re:What it really means by Pharmboy · · Score: 3, Funny

      But don't cue a beowulf of goatse!

      --
      Tequila: It's not just for breakfast anymore!
    13. Re:What it really means by Pharmboy · · Score: 2, Informative

      you dont get the same has from two different passwords. when you log in, your computer doesnt actually compare passwords, it compares the hash of the password you just entered to the hash of the previously stored password. This is why ROOT can't recover your password, and can only change it (unless they submit to this site, that is...)

      if you could get the same hash from two different passwords, then you would have multiple passwords for every user on most Linux/Unix computers. The 42 answer was a joke, a movie reference. I forget the exact movie, but I remember the guy asked "what is the meaning of life" and the answer was 42. Problem being he didn't know the question it was calculated from. You had to be there I guess.

      --
      Tequila: It's not just for breakfast anymore!
    14. Re:What it really means by notsoclever · · Score: 3, Informative
      It was Hitchhiker's Guide to the Galaxy, which was a radio show, a book, and a TV series, but not a movie.

      Also, one hash maps to infinitely many unique items. Read up on the pigeonhole principle. The short form is that there are only 2^128 md5 hashes, so if there are more than 2^128 things which can be hashed (and there are) then more than one of those will map onto the same md5 hash. Granted, at least one of the passwords will have to be longer than 16 bytes and it'll be likely to have non-printable or high-ASCII/UTF-8/whatever garbage in it, but it's still possible.

      (And, the converse is that no matter how long your password is, there'll always be a 16-character string which is equivalent to it.)

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    15. Re:What it really means by solicit · · Score: 1

      The 42 answer was a joke, a movie reference. I forget the exact movie, but I remember the guy asked "what is the meaning of life" and the answer was 42. Problem being he didn't know the question it was calculated from. You had to be there I guess.
      A MOVIE? Ungeek!
      It's from Hitchhiker's Guide To The Galaxy, a real book, on paper! Can you imagine it? A supercomputer was asked the answer to Life, The Universe, And Everything. It went into deep thought and returned a thousand (sic) years later, saying the answer is 42.
      Run, don't walk to your nearest bookstore and get a copy. :P

    16. Re:What it really means by solicit · · Score: 1

      As someone mentioned already, they should first check the list of hashed already cracked and return the answer if found, so as not to waste time. Now they're going to crack the same hash over and over again (unless they delete it first).

    17. Re:What it really means by Bullet-Dodger · · Score: 1

      Pfft, all real geeks know it was a radio show first! Plus, there was that bad Beeb miniseries, and the upcoming movie.

    18. Re:What it really means by Shaklee39 · · Score: 1

      or md5 -s 'goatse'

    19. Re:What it really means by Anonymous Coward · · Score: 0

      The answer to the ultimate question of Life, the Universe, and Everything! And in only 3 days! Douglas Adams would be proud.

    20. Re:What it really means by Anonymous Coward · · Score: 0

      Gee, and I thought 42 was the answer to everything, but it turns out it's only the answer to a1d0c6e83f027327d8461063f4ac58a6. Sigh.

    21. Re:What it really means by jon787 · · Score: 1
      It was Hitchhiker's Guide to the Galaxy, which was a radio show, a book, and a TV series, but not a movie.

      Yet...
      --
      X(7): A program for managing terminal windows. See also screen(1).
    22. Re:What it really means by notsoclever · · Score: 1

      Well, yeah, but the original poster was saying that he'd seen it in a movie, thus demolishing what little geek cred he may or may not have had. :)

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    23. Re:What it really means by Nailer · · Score: 1

      But I think that wouldn't be in yor password file, as it wouldn't be hashed right.

      Better try

      echo goatse | passwd --stdin

      on your test VM box.

    24. Re:What it really means by solicit · · Score: 1

      Yes, sorry. It was a radio show first, but it's most known for the book.

    25. Re:What it really means by Olathe · · Score: 1

      (And, the converse is that no matter how long your password is, there'll always be a 16-character string which is equivalent to it.)

      That assumes that there are no repeats in hash results for every 16-character password; it is very unlikely that that is true of MD5. If there are repeats, 16-character passwords won't cover every possibility.

    26. Re:What it really means by notsoclever · · Score: 1

      No, but some less-than-16-character passwords will fill in those gaps. :)

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    27. Re:What it really means by Olathe · · Score: 1

      It would be difficult to know whether or not they fully fill the gaps without an exhaustive test of all passwords 16-characters-or-less. Nearly all hash results for less-than-16-character passwords would collide with results for 16-character passwords.

      For all anyone knows, there could be a hash result that first occurs with a 39443-character password. It's more likely than you'd think.

    28. Re:What it really means by notsoclever · · Score: 1

      If that's the case, then md5 is a really bad hashing algorithm.

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    29. Re:What it really means by robotbrain · · Score: 1

      There sort of is a movie. I'm pretty sure this is what I rented on video. I thought it was the whole story on one tape, possibly edited down, but I don't think we even finished watching it because it was so awful.

    30. Re:What it really means by notsoclever · · Score: 1
      That's the TV series which I referred to. Oh, and earlier I forgot to mention that it's also been an off-broadway rock opera musical, but IIRC, audiences "didn't get it" so it was cancelled after a fairly short run. ("Don't Panic," a biography of Douglas Adams, has more information about that. I had rented it at a library many years ago and have been unable to find a copy of my own since, though, so I'm probably remembering incorrectly.)

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
  6. Passwords by Laivincolmo · · Score: 2, Funny

    I hope they can't identify information that could link you to your password... I guess most people would change it afterwards. Also, is there a possibility of abuse by this system for cracking other people's passwords?

    1. Re:Passwords by mindmaster064 · · Score: 4, Informative

      As long as you aren't using passwords that are straight out of the dictionary (this is like 3rd grade people) you should be fine even with something like this being available. I suggest quit using passwords, and use passphrases instead. Someone MD5ing phrases will have to look for months not days.. Change your passphrase like every three months and you'll never have a thing to worry about. The only problem is that md5 has a pretty limited key space and "foo" might equal "TheLastStand" so someone may come up with an equivalent key. Regardless, md5 is designed to keep people from being able to easily come up with these passwords or alter a file it is not designed to keep people off of your computer and it is still much better than crypt. Being able to reverse an md5sum isn't going to get someone on your system that hasn't already got in. Make sure root cannot log on to your box and a user cannot su without being in wheel so if someone does crack the md5 they have no hope of getting any more rights than they already have. Configure a script to run to alert you right away if someone attempts to su but gets canned because of not being in the wheel group. Really stuff unix people should have been doing all along

      Remember: Don't Panic!

      -Mind

    2. Re:Passwords by mamba-mamba · · Score: 1
      As long as you aren't using passwords that are straight out of the dictionary (this is like 3rd [sic] grade people) you should be fine even with something like this being available.

      Well, not in a dictionary, not trendy slang, not an obvious transform or abbreviation of what's in a dictionary or trendy slang, longer than 8 characters, and include both upper and lower case as well as some punctuation.

      A passphrase is indeed a good idea. You can also use a long password generated from the first letter from each word of a passphrase, provided that the passphrase is not something someone else would think of (e.g., a quote from a movie or book). If you do use the first letter technique, the phrase has to be very long. Maybe 15 words or so.

      MM
      --

      --
      By including this sig, the copyright holders of this work or collection unreservedly place it in the public domain.
    3. Re:Passwords by Anonymous Coward · · Score: 0
      Also, is there a possibility of abuse by this system for cracking other people's passwords?

      Your post has set a new record for cluelessness.

      Cracking other people's passwords is what this facility is for. That's what it's designed to do.

    4. Re:Passwords by Anonymous Coward · · Score: 1, Funny

      Also, is there a possibility of abuse by this system for cracking other people's passwords?

      No, none at all. There is no chance whatsoever that a system designed to crack passwords could be used to crack other people's passwords. If you took the time to check it out, you'd see that there's a check box before you submit that says:

      []Check here if this is your password.

      Now how could you ever abuse that?

    5. Re:Passwords by nazsco · · Score: 1

      90% of the submitions are the result of "echo fuckyou | md5sum"... the other 10% probably sent the root password hash and already have so many backdoors that this one will not be a problem

      PS: why is parent moded funny?!?!

    6. Re:Passwords by Anonymous Coward · · Score: 0

      With latest kernel holes that give you local exploits having users' accounts exploitable does the job.

      http://www.k-otik.com/exploits/

    7. Re:Passwords by Doesn't_Comment_Code · · Score: 1

      Someone MD5ing phrases will have to look for months not days.. Change your passphrase like every three months and you'll never have a thing to worry about.

      It's a little bit worse than that. You have to remember that as an admin/user, you must win the security fight 100% of the time to remain secure. The malicious hacker must be successful only once.

      So if it generally takes several months to recover your password and you change it more often, you still aren't totally safe. It doesn't always require the average time to crack a security scheme. By luck and random chance, some tries will be faster, others slower. After enough tries, the hacker will get lucky and guess your password within a day. If he tries an infinite number of times, he'll guess it on the first try!

      In the password and security arena, time is against you.

      --

      Slashdot Syndrome: the sudden, extreme urge to correct someone in order to validate one's self.
    8. Re:Passwords by Grey-Ghost · · Score: 1

      Although, if someone was able to yank the hash of your root password, you alreadyave more to worry about than where they'll be when they try to use it.

      --
      The emporer has no clothes -- Kabuki
  7. Um....couldn't you just change it yourself? by ScottGant · · Score: 4, Insightful

    If you have physical access to your computer...which you should...then of course you could just do it all by hand by booting off of a CD. Why go through all this, unless it's to do something you're not suppose to be doing.

    I don't know, what would this be usefull for? Remote admin tasks perhaps?

    --

    "Music is everybody's possession. It's only publishers who think that people own it." - John Lennon.
    1. Re:Um....couldn't you just change it yourself? by October_30th · · Score: 1
      I don't know, what would this be usefull for?

      Collecting password hashes and IPs, maybe?

      --
      The owls are not what they seem
    2. Re:Um....couldn't you just change it yourself? by gnuman99 · · Score: 2, Informative

      /boot/kernel init=/bin/bah ....[wait here] bash# passwd New UNIX password: .. Takes a minute or so...

    3. Re:Um....couldn't you just change it yourself? by boaworm · · Score: 1

      Well, perhaps you dont want to reboot your server. It could be in production or something.

      --
      Probable impossibilities are to be preferred to improbable possibilities.
      Aristotele
    4. Re:Um....couldn't you just change it yourself? by kbahey · · Score: 1

      Sounds like a faster rescue without the need for a CD.

      Have you tried this yourself?

      I am curious about filesystems being mounted and such when you do this.

    5. Re:Um....couldn't you just change it yourself? by VertigoAce · · Score: 1

      I haven't done this with a normal Linux PC, but this is a common recovery method with the VR3 linux pda. It's possible to mess up the configuration to the point where X won't start. If X doesn't start you can't start a network connection (to ssh in to fix things) or use the onscreen keyboard and a console window. If you don't want to erase all of your data and reset it, you can tell the bootloader to use /bin/bash as init (for the VR3, you access this from a serial port with a PC). The root file system is mounted, but that's about it. I assume it's similar with a desktop machine. You'd have to mount any other necessary file systems by hand.

    6. Re:Um....couldn't you just change it yourself? by sonicattack · · Score: 5, Informative
      I've done this a couple of times when something needed to be fixed and no-one remembered the root password. Since the system is in a very basic state after starting with init=/bin/bash, it's probably a good idea to only fix the absolutely necessary stuff in order to make a real startup.

      mount -o remount,rw /
      ... fix the password file ..
      sync ; sync
      reboot -f

    7. Re:Um....couldn't you just change it yourself? by kasperd · · Score: 2, Informative

      Have you tried this yourself?
      I have tried it once, and it does in fact work. (Not that I would have needed to try it, I knew it would work).

      I am curious about filesystems being mounted and such when you do this.
      There is one detail you must remember. The root filesystem is normally mounted read only if you follow the example, so you would have to remount it read/write before trying to change the password. Or you could just add rw to the boot command. Of course you have to type /bin/sh or /bin/bash, /bin/bah wouldn't work. It is a good idea to remount the filesystem read only again after changing the password. Then you can reboot or type exec /sbin/init.

      You can prevent all of this by protecting your bootloader with a password, such that you cannot change the boot command without providing a password. Of course booting from an alternate media is still an option. To prevent that you could change your BIOS configuration, and weld the case to prevent anybody from resetting your CMOS. (If you just need to protect confidential information on the HD, encryption would be a better solution).

      --

      Do you care about the security of your wireless mouse?
    8. Re:Um....couldn't you just change it yourself? by Pharmboy · · Score: 3, Funny

      or pass "linux 1" to the kernel, at least in RH. Also, what is this /bin/bah shell you speak of? Is it part of the humbug package? ;)

      --
      Tequila: It's not just for breakfast anymore!
    9. Re:Um....couldn't you just change it yourself? by julesh · · Score: 2, Interesting

      Why sync twice?

      Surely just once will flush all data to the hard disk controller buffers, which will then be flushed to the disk surface during the reset that the BIOS will send them during a warm boot?

    10. Re:Um....couldn't you just change it yourself? by sonicattack · · Score: 3, Informative

      It may be that only one sync is necessary to get the data to the disk.

      But since I've heard many times that on some systems, the first sync merely schedules dirty pages for writing, while the second sync won't return until the first sync has completed (buffers actually flushed), I've always gone for the safer bet.

      Syncing three times is also a popular way of doing it. I've also noticed that the number of syncs I perform before reboot -f'ing correlates to the amount of coffee I've had. :^)

    11. Re:Um....couldn't you just change it yourself? by Anonymous Coward · · Score: 1, Interesting

      Although someone already replied to this with a rather complex answer, I've seen a few explanations that it's an old UNIX habbit. Basically you sync to the disks once and then again to be SURE that it really synced. I think FreeBSD actually syncs three times automatically as the last step before reboot.

    12. Re:Um....couldn't you just change it yourself? by questor · · Score: 3, Informative
      The idiom is "sync[return]sync[return]sync[return]", so that the first sync schedules the dirty page writing, which should (at least in theory) be done by the time the (super)user is done typing the third. Using semi-colons instead of returns defeats the purpose of doing it three times, since nothing happens until the return is typed; the second and third sync's are there only for the typing delay, which doesn't happen if they're ganged up on one command line.

      Alternately, one could simply count to five or so before entering the "reboot" command/hitting the reset switch/whatever, but that's less reliable than muscle memory.

      --
      Mashed potatoes can be your friends!
    13. Re:Um....couldn't you just change it yourself? by __aafkqj3628 · · Score: 1

      wouldn't a boot floppy do the same? all you need is chroot.

    14. Re:Um....couldn't you just change it yourself? by NemosomeN · · Score: 1

      Proof of concept. Just like all of the Linux and OSX viruses. (I'm sure there are POC viruses on Windows, too, but they are the exception rather than the rule).

      --
      I hate grammar Nazi's.
    15. Re:Um....couldn't you just change it yourself? by afabbro · · Score: 1
      The idiom is "sync[return]sync[return]sync[return]"

      Or in its more classic form, "sync;sync;sync[return]

      Now that I think about it, maybe it should be "sync && sync && sync[return]" - except that it's faster with semi-colons.

      --
      Advice: on VPS providers
    16. Re:Um....couldn't you just change it yourself? by questor · · Score: 1
      I think you missed my point; the purpose, at least in the old days, was not to be fast; it was to slow the (super)user down to let the system catch up in flushing the dirty pages. Sync's two and three were effectively no-ops, but the typing thereof gave the system the chance to complete what the first sync put into motion. And the first sync wouldn't begin until after all the typing was done if you used semicolons (or double-amps) instead of returns.

      A quick groups.google.com search in alt.folklore.computers found this thread from 1992.

      --
      Mashed potatoes can be your friends!
    17. Re:Um....couldn't you just change it yourself? by illumin8 · · Score: 1

      sync ; sync

      reboot -f


      Not to be pedantic or anything, but you haven't needed to sync before reboot for years now on any modern *nix kernel. But it's kind of cool; I can always tell the experienced sysadmins out there that have been using Unix before Linux came along because they do this... I guess old habits really do die hard.

      --
      "When the president does it, that means it's not illegal." - Richard M. Nixon
  8. Hmm by Have+Blue · · Score: 3, Insightful

    This seems pretty irresponsible... There's not even a disclaimer or click-through license that tells you to submit only a shadow file you are authorized to manipulate. People who have legitimately lost their passwords are going to be a tiny, tiny minority of users of this site.

    1. Re:Hmm by GodEater · · Score: 5, Insightful

      Especially since the only people who should have access to /etc/shadow should be the people with root on the box.

      Joe bloggs on his shell account isn't going to be able to get it is he ?

      --

      Gentlemen, start your penguins

    2. Re:Hmm by JeffTL · · Score: 2, Insightful

      A disclaimer -- "This service, if being used for password retrieval, is intended only for use by system administrators or their authorized agents" -- would help avoid legal problems, but a click-through license is worthless. They may or may not hold water, and beyond that, how would you go about enforcing the contract?

    3. Re:Hmm by mat+catastrophe · · Score: 2, Insightful

      I'll bet you pay attention to this message on websites:

      If you are a member of a government agency you must leave now.
      don't you?

      The site is netrual, it's the uses that are irresponsible. And a silly disclaimer doesn't change that.

      --
      sig not found
    4. Re:Hmm by Have+Blue · · Score: 1

      "The window was unlocked, so it's not really burglary."

    5. Re:Hmm by Have+Blue · · Score: 1

      I didn't say it would solve the problem; what I meant was that a disclaimer or license would be at least a minimum effort to pretend that the owners of this site are not trying to simply facilitate owning *nix boxes.

    6. Re:Hmm by Secrity · · Score: 1

      I wouldn't bet on it. Many recent versions of Unix store hashed passwords in /etc/shadow, which should be owned by and readable only by root. The use of a root only readable file to store hashed passwords is neither universal nor is it enforced. Older versions of Unix by default store hashed passwords /etc/passwd, which is world readable.

    7. Re:Hmm by BJH · · Score: 2, Informative

      Any system which still stores the hashed passwords in /etc/passwd is almost certainly so old that (a) it has 10,000 other known attack paths and (b) doesn't use MD5 for its hashes.

    8. Re:Hmm by SlamMan · · Score: 1

      No, its not breaking and entering. Its just trespassing.

      --
      Mod point free since 2001
    9. Re:Hmm by Anonymous Coward · · Score: 0

      Any system which still stores the hashed passwords in /etc/passwd is almost certainly so old that (a) it has 10,000 other known attack paths and (b) doesn't use MD5 for its hashes.

      How many of those 10,000 other known attack paths are advertised on the most popular tech bulletin board system on the Internet?

    10. Re:Hmm by BJH · · Score: 1

      Perhaps you missed the second half of that sentence: doesn't use MD5 for its hashes.

    11. Re:Hmm by drinkypoo · · Score: 1

      OSF1 will let you put it in "enhanced security" mode which stores the passwords in assorted database files and then it has an auth system sort of like pam only lame that will look them up for you. Unfortunately you can do this with crypt passwords rather than md5 types. Yeah, that's secure... pfft.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    12. Re:Hmm by Anonymous Coward · · Score: 0
      There's not even a disclaimer or click-through license that tells you to submit only a shadow file you are authorized to manipulate.

      What would be the point of such a disclaimer? If it had such a statement, do you think anybody would pay any attention to it?

    13. Re:Hmm by rpdillon · · Score: 1

      Actually, it *is* breaking and entering. "Breaking" is constituted by physically manipulating an object to gain entry - so unless the window or door is *open*, it is breaking and entering, if you're not authorized to be there.

    14. Re:Hmm by Tyreth · · Score: 1

      Not really so safe as you make it sound. If someone is genuinely trying to exploit your system they may get their hands on /etc/shadow through a variety of tricky methods.

      This is one of the reasons why patching software is so important - if you don't, a hacker may be able to obtain your /etc/shadow file, and (with this site) easily obtain your password.

      Not to mention that a hacker might gain root access on your system through another flaw, obtain your password(s), and use them for other servers/systems that you use the same password on.

    15. Re:Hmm by SlamMan · · Score: 1

      Hey, you're right. Not how I personally would describe it, but case studies show otherwise.

      --
      Mod point free since 2001
  9. We offer a similar service by Anonymous Coward · · Score: 4, Funny

    Just send us your:

    1. SS#
    2. Mother's maiden name
    3. Address of the account with the forgotten password
    4. ID of the account with the forgotten password
    5. MD5 Hash of the forgotten password

    Please send all info to The Good Samaritans c/o Nigerian Embassy.

  10. Caching by Anonymous Coward · · Score: 1, Informative

    Of course, If it builds a database of results and checks this cache before attempting the hash directly..... Quite scary, really.... Like building an automatic database of common passwords and their hashes.....

    1. Re:Caching by pseudochaotic · · Score: 1

      Well, according to this, "goatse" is now the most popular password in the world.

      --
      And the l33t shall inherit the 34r7h.
    2. Re:Caching by Anonymous Coward · · Score: 0

      Yep, that's probably what they are doing and /. fell right into their maniacal plan.

  11. Nothing new. by Moonshadow · · Score: 3, Informative

    There are already md5 cracking utilities out there that are extremely fast. It'd probably be faster to brute force the hash on your own machine, really.

    Now, distributed md5 cracking would be quite interesting.

    1. Re:Nothing new. by Shachaf · · Score: 0
    2. Re:Nothing new. by gl4ss · · Score: 1

      *******
      "Technology

      This project is using RainbowCrack technology, which is based on Philippe Oechslin's faster time-memory trade-off technique to crack the md5 hashes. We use 80 Rainbow tables each 610 Mb of size. So total size of the tables reach 47.6 Gb. Average time for checking one hash is ~40 minutes, but the speed increases as the count of hashes is getting higher. So generally the speed of cracking is ~150 hashes / 24 hours.
      "******

      so yes, if you had the beef and the exact setup it would of course be faster on your own machine because you wouldn't have to wait in line before hashes sent by others are cracked.....

      --
      world was created 5 seconds before this post as it is.
    3. Re:Nothing new. by Vellmont · · Score: 1

      Faster than cracking passwords of up to 8 characters consisting of [a-z][0-9] in 40 minutes? I think the answer to that is a very easy NO.

      36^8 = 2821109907456 possible passwords.
      Do these password crackers get > 1,175,462,461 crypts/sec? If the answer is no, then this method is faster.

      --
      AccountKiller
    4. Re:Nothing new. by CableModemSniper · · Score: 1

      This is offtopic, but I must mention when I saw your sig, at first glance I thought it was an overly elaborate regex.

      --
      Why not fork?
    5. Re:Nothing new. by hey · · Score: 4, Funny

      hey's rule: for every slashdot article about something new and cool there exists at least one posting saying that its been done before.

    6. Re:Nothing new. by Anonymous Coward · · Score: 0

      ACs can't see sigs, you insensitive clod! When talking about someone's sig you ought to quote it.

    7. Re:Nothing new. by arose · · Score: 2, Funny

      I think I have heard that before...

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    8. Re:Nothing new. by drinkypoo · · Score: 4, Funny

      How many Slashdotters does it take to change a light bulb? One to change it, another one to change it again, and then fifty or sixty more to let everyone know the precise date and time of the first changing.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    9. Re:Nothing new. by MikeFM · · Score: 1

      Usually it's been done before by me.. but this one I find quite useles.. so nope I haven't done it before.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    10. Re:Nothing new. by Fortyseven · · Score: 1

      Fortyseven's Rule: For every repeated behavior someone will create, in a comedic fashion, a rule to govern that behavior.

      Oh wait. Goddamn it. :|

    11. Re:Nothing new. by eeeuh · · Score: 1
      You quote:

      but the speed increases as the count of hashes is getting higher.

      But then you go on to say:

      so yes, if you had the beef and the exact setup it would of course be faster on your own machine because you wouldn't have to wait in line before hashes sent by others are cracked.....

      These techniques work by taking the hash of a lot of number/letter combo's and comparing them to the hashes that are to be checked, as generating the hashes is much more cpu-intensive as checking the generated hash against a stored one there isn't much of a slowdown when you want to crack more hashes. So yes it would probably be a little bit faster to do it on your own, but it would not be significantly faster.
    12. Re:Nothing new. by digitalpeer · · Score: 1

      There are already md5 cracking utilities out there that are extremely fast.

      John the Ripper has been around for ages. Simple, easy, and pretty configurable.

      Now, distributed md5 cracking would be quite interesting.

      Find out for yourself: Distributed John Needs work, but worth playing with.

      It'd probably be faster to brute force the hash on your own machine, really.

      If you're using a small character set using an incrimental cracking method on passwords, around 7 or less in length, sure. But, of course, it's an exponential increase in time for each new length and goes from minutes to months in no time with one cpu.

    13. Re:Nothing new. by paz5 · · Score: 1

      ... and then one to make a (funny) smart-ass remark about it.

  12. Question by ArchAngel21x · · Score: 4, Interesting

    What is /etc/shadow?

    1. Re:Question by Zeebs · · Score: 5, Funny

      What /etc/passwd leaves against a surface when you shine a light at it.

      --

      Happy Noodle Boy says "F###ing doughnut! Mock me? You fried cyclops!!"
    2. Re:Question by Prod_Deity · · Score: 2, Insightful

      You must be new here.

    3. Re:Question by uberfruk · · Score: 0

      its where the passwords are kept secret.

    4. Re:Question by mooingyak · · Score: 2, Informative

      On Solaris Sytems (and probably others, but I only know for sure about Solaris) you have two files containing user/login information. /etc/passwd has most of that information, such as login name, actual name, home directory, login shell, etc. Any user can read the contents of /etc/passwd.

      The shadow file contains the login name, the hashed password, and some other stuff that I don't recall. This file is readable by root only.

      --
      William of Ockham had no beard. The most likely explanation is that it was chewed off by squirrels every morning.
    5. Re:Question by Xepo · · Score: 1, Flamebait

      There's this thing. It's called google. You type something into it, and it searches the web for that something. You should try it sometime.

      Considering on a search for "/etc/shadow" the first result is a page explaining what it is, why in the heck did you even comment asking a question like this? You deserve to not have your question answered. Google first, don't expect other people to fulfill your laziness.

    6. Re:Question by cant_get_a_good_nick · · Score: 2, Informative

      In the old days, you just had a world readable /etc/passwd. It had to be world readable because that was where all the uid username, uid home directory, etc. lookups got their data from. this left the passwords, though encrypted, world readable. Passwords are a one-way hash algorithm, so the only way to break a password is to guess something, encrypt it, and see if it matches. In theory, very hard to break. In practice, people severly limit the possible password space to search (how many passwords do you have that have your name, even though you know you shouldn't) so it reduces the amount to passwords you have to try.

      This got changed a long time ago to where the /etc/passwd file kept most of the info, but a file, readable only by root, kept the encrypted passwords. This is /etc/shadow. It has the username, password, and nowadays some password meta-information, like aging, etc.

      His statement basically is "did you forget your password, but still have it available, encrypted." It's semi-coded for "hey, wanna crack someone's MD5 based password, if you have it, we can crack it"

      Nowadays, /etc/shadow isn't as much of a security aid, since most people need to have logins on many machines, and the encrypted passwords are generally available (NIS, LDAP) from the server anyway. I freaked once in my dotcon daze when I found we had a root equiv account with no password, because the "skilled sysadmin" we hired couldn't remember passwords. My CEO, trying to justify this guy (essentially justifying his hiring an idiot) said "well, not having a password is unexpected, just like a good password". I thought 1) I found out, easily, without guessing and 2) justifying something by saying "no one will guess this because no one will think we're this stupid" isn't good justification.

    7. Re:Question by sonicattack · · Score: 1

      A shorter way of expressing your helpful tip, is to humbly offer this link anytime a question deserves such a response:

      www.fuckinggoogleit.com
      :^)

    8. Re:Question by julesh · · Score: 1

      Hmmm. User ID 686460 suggests user ID 678202 is 'new here' and it gets modded as insightful. Come on!

      Oh, and before you mention it, no I've been here for about 6 years.

    9. Re:Question by Feanturi · · Score: 2, Funny

      What's Google, where do I download it?

      (just kidding)

    10. Re:Question by Xepo · · Score: 1

      Darnit, I thought I told you people to google before asking questions! Look!: http://www.google.com/search?q=google

      The first result is google.com. Geez, you people are lazy.

      (I'm kidding too, of course)

    11. Re:Question by Nailer · · Score: 2, Informative

      Its where you password hashes (stored versions of passwords) live these days. /etc/passwd just stores user properties, but not the password hashes. It did once (hence the name), but since everyone on a Unix box can read the passwd file (so users can find each others home directories, for example) they could read the hashes too. With enough time and computing power, they could work out what the typed-in password were from the hashes.

      If we could rename /etc/passwd /etc/users, and /etc/shadow /etc/passhashes, that'd be nice.

    12. Re:Question by Anonymous Coward · · Score: 0

      it means a shadow is behind the etcetera! very spooky! eh?

    13. Re:Question by rew · · Score: 1

      In theory, very hard to break. In practice, people severly limit the possible password space to search (how many passwords do you have that have your name, even though you know you shouldn't) so it reduces the amount to passwords you have to try.

      The idea (mid seventies) was that one encryption would keep the user waiting at the login prompt for an acceptable 1 second. Checking 100 thousand possible "weak" passwords would be undoable. Computers became faster. A lot. I believe my computer can now do 100 thousand crypts per second. So, now we can not only check the 100 thousand words in the dictionary, but also a whole lot of variations. Like adding a single digit. In short, we can now almost exhaust a much bigger space like "all 8-letter all-lowercase" passwords.

    14. Re:Question by Anonymous Coward · · Score: 0

      Hey where is /etc/shadow? I checked all over my system and couldn't find it. It's not in /usr, /bin, /dev, /var, /home, or anywhere. I'm stumped. Pleez help.

    15. Re:Question by ArchAngel21x · · Score: 1

      I am really beginning to hate this Google It attitude. I also don't understand why you chose to take more time to type a rude answer than to just answer my question.

  13. MD5 vs SHA-1 by Anonymous Coward · · Score: 1, Interesting

    .. At least now I'll always know what f3789b3c1be47758203f9e8a4d8c6a2a means.

    You'll have to keep wondering! While MD5 isn't secure, any non-original byte sequence that produces the same MD5 is likely to be garbage. Hence an executable file with a specific MD5 value either is the original or garbage that won't run. In this sense it's reasonably secure... However, for the RIAA and others, garbage might just be what they need. Thankfully, LimeWire and other P2P apps have been using SHA-1 for a while now, which doesn't have the same vulnerability.

    1. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 2, Informative

      There is no publically known MD5 hash collision. While it's rumored that one or more is known, it's never been confirmed. While MD5 is thought to be weaker than SHA-1, saying that MD5 has a "vulnerability" is going a bit too far.

    2. Re:MD5 vs SHA-1 by Idimmu+Xul · · Score: 1

      There is no publically known MD5 hash collision. While it's rumored that one or more is known, it's never been confirmed. While MD5 is thought to be weaker than SHA-1, saying that MD5 has a "vulnerability" is going a bit too far.



      incorrect, md5 hash collisions occur all the time in ed2k/overnet



      http://www.filehash.com/file/13e34731bbd23648d3b 66ccdc5f955f6/en



      for isntance try that hash, youll find an iso and an mpg that are both different but ammount to the same hash

      --
      The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    3. Re:MD5 vs SHA-1 by Coke+in+a+Can · · Score: 1

      I thought ed2k used MD4, not MD5.

    4. Re:MD5 vs SHA-1 by Fweeky · · Score: 1

      The link on that page even says: http://www.filedonkey.com/url.html?md4=13e34731bbd 23648d3b66ccdc5f955f6. Any idea how much weaker md4 is than md5?

    5. Re:MD5 vs SHA-1 by kasperd · · Score: 4, Interesting

      Hence an executable file with a specific MD5 value either is the original or garbage that won't run.

      Don't count on it. When you create an executable it is easy to put 17 bytes somewhere, that is really not used for anything. After this has been done just start searching for a combination of those 17 bytes that produce the expected hash. It is very likely that more than one choice will exist. Of course this would take too much time.

      It is easier to produce a collision. Create two executables, and instead of the 17 bytes from before just leave 9 unused bytes in each file. Then try all choices for each of the two files, and sort the results to find your collision. 2*256^9 is way smaller than 256^17. Of course even this is still infeasible. But it will be possible in a few (50) years. Using SHA1 is a bit better, but it will only take about 100000 times as much CPU time to find a SHA1 collision as an MD5 collision. Which means the computer to do it will be available about 25 years later than the one to find an MD5 collision (assuming More's law still holds).

      --

      Do you care about the security of your wireless mouse?
    6. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0
      While MD5 isn't secure, any non-original byte sequence that produces the same MD5 is likely to be garbage.

      LimeWire and other P2P apps have been using SHA-1 for a while now, which doesn't have the same vulnerability.

      What do you mean it doesn't have the same vulnerability? All hashing algorithms are functions, and because the hash length is (or can be) shorter than the input length, they all have the same vulnerability. If the set of values used as the input of a function is larger than the set of values the function takes on (the output), then there ARE duplicates a/k/a collisions and the function is not one-to-one.

      In other words, all possible checksumming algorithms have this kind of weakness. The differences between algorithms are in the computational power it takes to exploit the weakness. Well, and also in the level of confidence we have about our knowledge of how much computational power it takes. (If someone proves tomorrow that P == NP, then we are all hosed.)

    7. Re:MD5 vs SHA-1 by Coke+in+a+Can · · Score: 1
      Check this page out.

      This bit particularly:
      MD4 was developed by Rivest in 1990. The message is padded to ensure that its length in bits plus 448 is divisible 512. A 64-bit binary representation of the original length of the message is then concatenated to the message. The message is processed in 512-bit blocks in the Damgård/Merkle iterative structure, and each block is processed in three distinct rounds. Attacks on versions of MD4 with either the first or the last rounds missing were developed very quickly by Den Boer and Bosselaers and others. Dobbertin has shown how collisions for the full version of MD4 can be found in under a minute on a typical PC. Clearly, MD4 should now be considered broken.

      MD5 was developed by Rivest in 1991. It is basically MD4 with "safety-belts" and while it is slightly slower than MD4, it is more secure. The algorithm consists of four distinct rounds, which have a slightly different design from that of MD4. Message-digest size, as well as padding requirements, remains the same. Den Boer and Bosselaers have found pseudo-collisions for MD5, but there are no other known cryptanalytic results.

    8. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      I was under the impression that MD5 hash collision must exist, since there are infinite files to create MD5's for, and there are only a finite number of possible MD5 hashes (due to limited length).

    9. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      You can create a file that generates a specific MD5 digest without using brute force, while with SHA-1 brute force is the only way possible, which in reality is impossible.

    10. Re:MD5 vs SHA-1 by julesh · · Score: 1

      You can create a file that generates a specific MD5 digest without using brute force

      Can you?

      Please, produce a file that generates the following MD5 digest without using brute force:

      3fd6f00a87821a120845cf418be70ef0

      Hell, I'll even tell you that the file I generated it from is 136 bytes long and contains only ASCII text. 5 lines of it with LF-only line breaks.

      Please let me know when you've achieved that.

    11. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      Yes. Mathematically, an infinite number of them exist. But they're so hard to find that nobody, as far as we know, has done it.

    12. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      I should add as well that exactly the same statement can be made for SHA-1, except that in the case of SHA-1 I don't even know of rumors that it's happened!

    13. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      I think you're thinking of MD4, which is a weak hash algorithm. MD5 is much stronger. Also, it's not been proven that there's no weakness in SHA-1 which would allow one to generate a string with a given hash without using brute force. Several people have looked at the algorithm and nobody's found a way (or will admit it), but it doesn't mean none exists.

    14. Re:MD5 vs SHA-1 by Anonymous Coward · · Score: 0

      "Give me the file or the girl gets it."

      Maybe that's brutish, but it's not technically brute-force.

    15. Re:MD5 vs SHA-1 by Random832 · · Score: 1

      for a 17-byte file, there are an average of 256 files per md5sum.

      for a 512-byte file, there are many orders of magnitude more files per md5sum than exist md5sums.

      --
      We've secretly replaced Slashdot with new Folgers Crystals - let's see if it notices.
  14. Great.. by Anonymous Coward · · Score: 1, Interesting

    So at my current job, where the guys at the datacenter that "manage" our boxes once a month copy /etc/passwd and /etc/shadow into /tmp to edit them automatically (to maintain their list of 160 people at the datacenter that have root access to our production boxes.. y'know, the guy that runs cables, the guy that sweeps the floors, etc...), and then makes the *world readable* in /tmp, just for shits and grins....

    Luckily I've been pusing to remove any users from our box other than those of us with root.. but still have a ways to go. Hey, now all those developers can grab our shadow file and get root access... online, quick and easy!

    1. Re:Great.. by Anonymous Coward · · Score: 0

      errr... i would have actually thought chmod 0600 /tmp/passwd; chmod 0600 /tmp/shadow would have been enough to restore some security.

      of course, if one of your users has exploited a privilege elevation hole...

  15. Simple solution, switch to Blowfish by Anonymous Coward · · Score: 0, Flamebait

    FreeBSD/DragonFly and OpenBSD can use blowfish to encrypt passwords, and it's what I personally use whenever I use any of them.

    MD5's security has been in question for some time, so quite a while ago I decided that it was a good time to move on to someting new and improved.

    Perhaps it's time that Linux allowed you to do the same, or failing that, perhaps it's time that you yourselves moved on to something "new and improved" and make the switch to one of the more security focused operating systems that I've listed above.

    1. Re:Simple solution, switch to Blowfish by Ewan · · Score: 1

      Dont know about other linux distributions, but Suse allows you to use blowfish, suggesting they all can. The reason for not doing it is backwards compatibility with other Unixes.

    2. Re:Simple solution, switch to Blowfish by julesh · · Score: 1

      Wouldn't really help, I don't think. This is a technology demonstration, and from what I understand it doesn't rely on any details of the specific hashing algorithm in use. Longer hashes are proportionally more difficult, hashes that take longer to compute are proportionally more difficult, but that's where it ends.

      I don't think blowfish is any harder to compute or longer than MD5 (?).

      Using a long salt is the answer. And just about everything that uses a password hash for identification does use salt. So, there isn't a problem.

    3. Re:Simple solution, switch to Blowfish by Anonymous Coward · · Score: 0

      Blowfish is longer and harder to compute than MD5 to the best of my recollection, although SHA1 is better :P

  16. f3789b3c1be47758203f9e8a4d8c6a2a... by Anonymous Coward · · Score: 0

    Soon that one MD5 sum will outnumber all others submitted by a vast majority...

  17. Thanks a lot! by SpaceTux · · Score: 0, Offtopic

    I'm so glad you brought the word "goatse" to my vocabulary! I really enjoyed finding out what it refers to! Too bad that goatse.cx doesn't exist any more!

    (VERY NOT!) ;-)

    1. Re:Thanks a lot! by Anonymous Coward · · Score: 0

      goat.cx has it now...

    2. Re:Thanks a lot! by KrisCowboy · · Score: 1, Informative

      Goatse does exist. Just that goatse.cx doesn't exist anymore. Try googling for goatse's mirrors...if not, let me know, I'll mail you those pics + tub girl + final solution - yep, I got 'em all :-)

    3. Re:Thanks a lot! by SpaceTux · · Score: 1

      No thank you!

      For the people who didn't know:

      BTW:

      "f3789b3c1be47758203f9e8a4d8c6a2a" goatse

      Which makes my first post a little bit more ON topic! :)

    4. Re:Thanks a lot! by Anonymous Coward · · Score: 0

      goat.cx is a mirror

    5. Re:Thanks a lot! by kyknos.org · · Score: 1

      mail them now!

      --

      SHE does throw dice.
  18. Debian Security? by Anonymous Coward · · Score: 0

    Does anyone know if/how this will effect Debian's package security (which uses MD5)? Is SHA-1 equally vulnerable, ruling it out as a replacement?

    1. Re:Debian Security? by DeeKayWon · · Score: 2, Informative
      Debian's security would only be compromised if this allowed creating a package with a desired MD5 sum. All this appears to do is tries MD5 on certain strings (built from from a limited character set) until it finds a string with an MD5 that matches the given one.

      The only thing that makes this remotely feasible is the limited character set and the length limit, which puts the total possible combinations it looks through at about 2.9 trillion. If they were to use uppercase letters as well, the total number of possibilities becomes about 222 trillion, and the search would take a lot longer.

    2. Re:Debian Security? by Jesrad · · Score: 1

      If they were to use uppercase letters as well, the total number of possibilities becomes about 222 trillion, and the search would take a lot longer.With a well-conceived indexing, wouldn't the search be proportional to the base 2 logarithm of that number ?

      --
      Maybe we deserve this world ?
    3. Re:Debian Security? by DeeKayWon · · Score: 1
      With a well-conceived indexing, wouldn't the search be proportional to the base 2 logarithm of that number ?

      Assuming they precalculate every combination, maybe. But 222 trillion MD5 sums at 16 bytes each is a few petabytes, and it's doubtful that they have that much storage available.

  19. Load of Crap... by MrGrendel · · Score: 1, Informative

    is what this is. MD5 is not a reversible algorithm. There is no way, even in principle, to go from a hashed result to retrieve the input. An infinite number of letter/number combinations could be used to produce any given MD5 hash. At best, they could come up with a combination that produces the same hash as the one given to them, but that does not mean it is the right answer. And they have virtually no chance of cracking a hash made from a well-selected password.

    1. Re:Load of Crap... by GoofyBoy · · Score: 2, Insightful

      >At best, they could come up with a combination that produces the same hash as the one given to them, but that does not mean it is the right answer.

      But then why wouldn't that be good enough?

      --
      The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
    2. Re:Load of Crap... by Anonymous Coward · · Score: 0

      so you are saying that MD5 has an infinite number of collisions per hash? I would like to see a proof of that. Getting another combination of characters to equal the same hash (even if it is not the original password) is still a "correct" answer if you are trying to authenticate to a system.

    3. Re:Load of Crap... by MavEtJu · · Score: 1

      At best, they could come up with a combination that produces the same hash as the one given to them.

      That's good enough for comparing encrypted passwords.

      --
      bash$ :(){ :|:&};:
    4. Re:Load of Crap... by Bert690 · · Score: 1

      True in principle but irrelevant in practice -- the password space they are considering can be represented in roughly 48 bits. So chances of a collision when hashing such passwords to a 128 bit MD5 hash space is EXCEEDINGLY LOW.

    5. Re:Load of Crap... by ecrips · · Score: 1
      Of course if they come up with a different password which matches the hash then the OS will have no idea it isn't the original password because all the OS does is check the hash. So in terms of getting into an account it doesn't matter which password you use as long as it has the same hash.

      Of course if you've looked at the site you'll know that it only tries passwords up to 8 letters, and the hashes are much longer than that. So the chances there's a hash which has two passwords which hash to it are really rather small. To be honest I can't think of any real uses for this site, except hacking into a computer for which you've managed to recover the shadow file.

    6. Re:Load of Crap... by dukerobillard · · Score: 4, Informative
      combination that produces the same hash as the one given to them, but that does not mean it is the right answer

      You are mistaken, sir. A combo that produces the same hash is indeed the right answer.

      This is something most people never think about. You actually could have several passwds that work for a given account...anything that hashes to the same thing is a working passwd.

    7. Re:Load of Crap... by nkh · · Score: 1

      MD5 is limited to 2^128 possibilities (which is bigger than the number of atoms in the universe). But if you try 1, 11, 111, 1111..., you'll have a collision on the (2^128 + 1)th number.

    8. Re:Load of Crap... by Anonymous Coward · · Score: 1, Interesting

      I once used a system that had a fairly weak reversible hash for the password, there were in fact several possible passwords that could be computed for any given hash. I changed my password to one that would hash to a typeable string, which was fun since anyone looking in the (equivalent of the) password file would see plaintext. I had my choice of several passwords, I just chose the one which was the least difficult to type. I still remember that password after 20 years.

      They did eventually change the hash to a much stronger one after I told them I could crack it. Still, it wasn't that much of a security breach as the hashed password was almost impossible to get to.

    9. Re:Load of Crap... by Dachannien · · Score: 1

      Or, hacking into accounts on other computers whose users use the same usernames/passwords as on the machine whose /etc/shadow was obtained.

    10. Re:Load of Crap... by jCaT · · Score: 1

      It's the pidgeon hole principle. given one megabyte of data (8,388,608 bits), you have 2^8388608 possible combinations of files. Since you only have 2^128 possible MD5 checksums, there HAVE to be collisions. And hell, that's just with a megabyte.

    11. Re:Load of Crap... by mko · · Score: 1
      MD5 is limited to 2^128 possibilities (which is bigger than the number of atoms in the universe)

      It isn't. Not even close.

      To put it in chemical terms:

      2^128 / 6*10^23 ~= 5.67 * 10^14

      6*10^23 is about one mole, approximately the number of molecules in two grams of hydrogen (H2). So, 2^128 molecules of H2 weigh about 567 million metric tons. Sounds like a lot, but our sun weighs about 10^18 times that (and since the sun weighs 333 times as much as the earth, even the earth consists of far more than 2^128 atoms).

      Hope this cleared that up. ;)

      That said, there are stipulations that our sun can't produce enough energy to allow a brute-force search of a 128 bit keyspace without quantum computers, which sounds reasonable.

    12. Re:Load of Crap... by Anonymous Coward · · Score: 0

      Maybe he was talking about Dark Matter :P

    13. Re:Load of Crap... by Anonymous Coward · · Score: 0

      I believe you mean 256 bit random keys. 128 is going to be feasible in the next 10 years.

    14. Re:Load of Crap... by wfberg · · Score: 2, Interesting

      This is something most people never think about. You actually could have several passwds that work for a given account...anything that hashes to the same thing is a working passwd.

      Another neat example of this principle at work is the soundex hash function, which was designed for the US Census to lookup names. It encodes a name such as Johnson as an alphanumerical code J525. Other, similar names, such as Jonsson, Joganson and even Jamieson and Jenkins are converted to J525 as well. In this way, even if people's names are misspelled in some way in the census (or when they were registered at birth; family names tend to evolve over time) they can still be found by a reasonable approximation.

      And because the soundex hash is computed when the records are stored, there isn't the kind of overhead that you'd get from a regular expression/glob search over all the records.

      The modest computational requirements for what amounts to a very clever phonetic lookup mechanish aren't surprising in a way; Soundex was patented in 1918.

      You can play with soundex on this page.

      Now imagine your password was stored as a soundex hash.. Ouch! Even if someone looking over your shoulder when you type in your password got half the letters wrong, he'd still get in!

      This is exactly why it's so important that cryptographic one-way hashes don't regularly produce the same hash. The name for finding a password that's not the same, but hashes the same is a birthday attack, named after the birthday paradox.

      This is the reason why you should salt!

      --
      SCO employee? Check out the bounty
    15. Re:Load of Crap... by jrockway · · Score: 1

      My calculations reveal that it can be done in 42 bits. Interesting, eh.

      26 letters + 10 numbers = 36.
      36 letters ^ 8 spaces = ~2.8211e+12 passwords

      log(# passwords) / log(2) = 41.359

      Therefore it's only a 42 bit problem.

      Yes. 42. I know, I know.

      --
      My other car is first.
    16. Re:Load of Crap... by Anonymous Coward · · Score: 0

      Which is the exact reason why random data cannot be compressed.

      But still many people believe the opposite... There are even patents (even... hmm maybe that is an overstatement in the golden days of manager-submitted patents)

    17. Re:Load of Crap... by aputerguy · · Score: 1

      Actually, according to http://www.solarviews.com/eng/sun.htm , the Sun's mass is equal to 332,830 the mass of the Earth.

      Still per the parent poster, the earth itself contains more than 2^128 atoms (even after correcting for the fact that the average atomic weight of an atom on earth is larger than 2)

    18. Re:Load of Crap... by mko · · Score: 1

      Thanks, that makes a lot more sense (damn those ambiguous number separators). Good thing I had a few orders of magnitude to spare. ;-)

  20. Umm.. by pilot1 · · Score: 4, Informative

    "At the moment we can crack md5 hashes in this character range: a-z;0-9 [8] which means we can break almost all hashes (99.56%) which are created from lowercase plaintext with letters and/or digits up to length of 8 characters." (Emphasis mine)

    If your password is under 8 characters and contains only lowercase letters and digits, you deserve to be cracked.
    If you use a proper password, then you have nothing to fear from this "service"

    1. Re:Umm.. by Anonymous Coward · · Score: 0

      For now.

    2. Re:Umm.. by Anonymous Coward · · Score: 0

      pH4r the quantum computer that will crack all your 20 characters [a-zA-Z0-9 and unicode] in less than 2 seconds!

    3. Re:Umm.. by Anonymous Coward · · Score: 1, Funny

      Why is that? Why couldn't I have 1 character in my password? All of you security buffs think you are good at math with your fancy crypto, but I won't be impressed til the day you come up an uncrackable 1 character password algorithm.

    4. Re:Umm.. by Vellmont · · Score: 2, Insightful


      If your password is under 8 characters and contains only lowercase letters and digits, you deserve to be cracked. If you use a proper password, then you have nothing to fear from this "service"


      Why am I so vulnerable if I don't have > 8 character passwords? Only root can look at /etc/shadow, so I guess if you already have root, you could guess my password. Big deal. Root can do anything to the system+account anyway, so this isn't much of a security compromise

      --
      AccountKiller
    5. Re:Umm.. by Anonymous Coward · · Score: 0

      And if you go out for a walk in your neighbourhood without a black belt in a martial art, 3 handguns, 2 assault rifles, and a grenade, you DESERVE to be beaten to a bloody pulp, right? Right?!

    6. Re:Umm.. by cgenman · · Score: 3, Interesting

      Anyone else wonder if this is just a clever way to steal passwords?

    7. Re:Umm.. by madprof · · Score: 1

      Pointless. You could just enter in all the characters in the character set...

    8. Re:Umm.. by pilot1 · · Score: 2, Informative

      The shorter the password, the fewer the number of combinations, the less time it will take to crack.
      Anything > 8 takes long enough to crack for it to be somewhat secure.

    9. Re:Umm.. by Anonymous Coward · · Score: 0

      No, but you deserve to be beaten to a bloody pulp for your stupid comment.

    10. Re:Umm.. by pilot1 · · Score: 1

      I don't know - I think I'm going to submit a fake md5 hash and see if they try to login via SSH.

    11. Re:Umm.. by Dwonis · · Score: 1
      Root can do anything to the system+account anyway, so this isn't much of a security compromise

      It is if you use the same password on multiple machines, like a lot of people do.

      Not that there aren't other ways of getting your password if you do that...

    12. Re:Umm.. by Anonymous Coward · · Score: 0

      If you use a proper password, then you have nothing to fear from this "service"

      Suppose your fantastic password happens to hash to the same thing as something in the set [a-z0-9]^8. Might be a good idea to run it through just to make sure it doesn't...

    13. Re:Umm.. by pyrrhonist · · Score: 2, Funny
      Pointless. You could just enter in all the characters in the character set...

      Ahhhh, but what he failed to mention is that it's one character of the unicode character set!

      --
      Show me on the doll where his noodly appendage touched you.
    14. Re:Umm.. by julesh · · Score: 2, Informative

      You missed the point -- if an intruder already has his password hash, they've got control of the system, so why would they benefit from cracking his password.

      What he's neglected to consider is that his password hash might be revealed by an exploit that can only read files as root, but not make modifications, thus enabling a crack which allows someone to log in with full access. E.g., an 'htpasswd' file inside a public web directory on which some dull admin had failed to ensure couldn't be accessed by an intruder.

    15. Re:Umm.. by julesh · · Score: 1

      I don't believe anyone has yet developed a quantum algorithm for MD5 cracking.

    16. Re:Umm.. by julesh · · Score: 1

      Err... under the standard assumptions of independence of each bit in the result, the changes of finding a collision are 2^128/36^8, which is about 1 in 2^87, or 1 in 10^26. I wouldn't hold my breath waiting for someone to find one.

    17. Re:Umm.. by Anonymous Coward · · Score: 0

      decode this: 7c1a84c1be8c966a92eb236de66575ac
      now, reverse it.

    18. Re:Umm.. by Vellmont · · Score: 1

      That's the only instance where this is much of a security compromise, and it's still a pretty minor one. Reading any/all files is in itself a very large security breach. At that point you've severly compromised the privacy of your system.

      Considering that people already have guessable passwords like "password" or their dogs name I'm not going to lose much sleep over this one.

      --
      AccountKiller
    19. Re:Umm.. by Anonymous Coward · · Score: 1, Insightful
      I refer you to the post "Re:Load of Crap..." (Score:5, Informative) by dukerobillard, wherein he points out that any series of characters that hashes to your value is in essence equivalent.

      So your Sup3r-|3e7,P4S5V0rT' may still be cracked because not only does
      md5(Sup3r-|3e7,P4S5V0rT') = 56968e34163ee69b1cd0c36971733932
      but so does
      md5(abc123) = 56968e34163ee69b1cd0c36971733932
      I don't know the actual likelihood of collisions, though. There's the real question.

      On the bright side, you may be able to find a less troublesome-to-type version of your not-deserving-of-crackage, proper password.
    20. Re:Umm.. by Anonymous Coward · · Score: 0

      You can brute force through normal login channels. You're vulnerable because brute force attacks become practical.

      At 1 attempt per second, 7 lowercase alphanumerics requires 907 K days maximum. Probably half that.

      Hm. I could maybe do 300 attempts a second via multiple simultaneous SSH to your box which brings the time down to 3 K days, though you'd wonder why your pr0n surfing was so slow. If I had a login on your machine I could attack with far greater bandwidth, to the point of it becoming a practical attack. With, say, 5 K attempts per second I could get your pass in 181 days == 6 months. Make your pass 8 characters and that changes to 3 years.

    21. Re:Umm.. by Anonymous Coward · · Score: 0

      However, after each 0.0006s of trying you'll be banned for half a minute ;)

    22. Re:Umm.. by digitalpeer · · Score: 1

      As a small side note, any user on a system that uses the yp server, also known as NIS, can get all the hashes of all the users. Just run ypcat. It's that simple.

      It's surprising how many companies still use this, despite this fact. It's stuff like this where the idea behind shadowed passwords means nothing.

    23. Re:Umm.. by Anonymous Coward · · Score: 0

      Dude you're absolutely right! I create an initial password that's 26 letters, numbers, and characters, THEN I do an md5 hash of it, then use THAT as my password!!

    24. Re:Umm.. by cms108 · · Score: 1
      because you never know...
      as an example... there was once an error in a setuid program on sco unix, called doctor.
      don't know what the program was supposed to do, but you ran it with a script... i.e "doctor /path/to/script"
      however... if you ran it with "doctor /etc/shadow"
      you would get an error message along the lines of
      error in line 1 of script:
      root:a4s5d87f76as567d:
      anyway... the point being... there might be absolutely nothing wrong with your security... apart from a 7 character password combined with a flaw in an obscure program that allows the reading of a section of an arbitrary file...
      you never know.
  21. Wow by Anonymous Coward · · Score: 0

    I love how like 50 /.'ers so far have added thier own f3789b3c1be47758203f9e8a4d8c6a2a to the processing queue. I can't belive ya'll weren't smart enough to just check thier logs. Obviously whoever write the comment already checked it.

    Oh and if you're too lazy to do that; from thier page:
    73994908 f3789b3c1be47758203f9e8a4d8c6a2a goatse hex:676f61747365

  22. 'scuse me? by NitsujTPU · · Score: 3, Insightful

    While I'm *cough* sure that this site has good intentions, the best thing to do if you lose your password is

    1) Get the admin to change it for you.

    or, if you've lost the root password

    2) Boot through some external method (generally from CD or network) and change your password that way.

    Admins should keep the shadow file safe from malicious access, but this is giving it to a 3rd party... bad juju.

    1. Re:'scuse me? by ResidntGeek · · Score: 0

      Or boot into single user mode.

      --
      ResidntGeek
    2. Re:'scuse me? by Pvt_Waldo · · Score: 1

      What if you ARE the admin? :^)

    3. Re:'scuse me? by NitsujTPU · · Score: 1

      Skip to step 2 in that case ;-)

    4. Re:'scuse me? by pyrrhonist · · Score: 1
      Or boot into single user mode.

      You still need a password for single user mode in most modern operating systems.

      --
      Show me on the doll where his noodly appendage touched you.
  23. How much use? by pctainto · · Score: 2, Interesting

    If you RTFA, it says that it will only hack the following passwords:

    a-z;0-9 [8]

    This just seems sorta pointless. Many people are ocmplaining about you getting a password for someone else's stuff -- but if they put a capital letter, or any sort of special character, they're safe from this attack. Is there a reason that they didn't add capital letters into the algorithm?

    --
    I think my principles are reachin' an all time low
    1. Re:How much use? by MntlChaos · · Score: 3, Informative

      that can be changed, it'll just take a lot more space for them. For those that didn't RTFA. What the rainbowcrack system is is a system that generates all the hashes for a known keyspace. Then all that is needed is a lookup in these (gigantic) tables.

    2. Re:How much use? by Anonymous Coward · · Score: 2, Insightful

      > Is there a reason that they didn't add capital letters into the algorithm?

      Sure there is: lack of computing power.
      26 letters and 10 digits * 8 characters = 2.8*10^12 combinations
      52 letters and 10 digits * 8 characters = 2.2*10^14 combinations

      Adding the capital letters would make the problem approximately 100 times more difficult to brute force.

    3. Re:How much use? by EvilSporkMan · · Score: 1

      Is there a reason that they didn't add capital letters into the algorithm?
      Yeah, the more characters you check for, the more resources needed for the crack. (Apparently their algorithm uses gobs of memory instead of gobs of time)

      --
      -insert a witty something-
  24. . . . not just you . . . by erikharrison · · Score: 3, Insightful
    At least now I'll always know what f3789b3c1be47758203f9e8a4d8c6a2a means

    A quick check of hashes pending results shows that not only will you know, but also the 52 dronelike /.ers who submitted the same hash.


    Tip: Change your password.

    1. Re:. . . not just you . . . by Anonymous Coward · · Score: 0

      Okay...

      root:f3789b3c1be47758203f9e8a4d8c6a2a.cx:0:0::/r oo t:/bin/zsh

      w00t...

    2. Re:. . . not just you . . . by MasTRE · · Score: 1

      > quick check of hashes pending results shows that not only will you know, but also the 52 dronelike /.ers who submitted the same hash.

      But, really now - it should have a cache of the most recent 1000000 hashes so it does not have to process them again. So /. is actually quality testing :)

      --
      Must-not-watch TV!
  25. Blowfish for FreeBSD/DragonFly by Anonymous Coward · · Score: 0

    http://bsdvault.net/sections.php?op=viewarticle&ar tid=89

  26. why? by sinnfeiner1916 · · Score: 2, Interesting

    so, what they are saying is that they can tell me my password if i give them my /etc/shadow. however, that file can't be read, opened, et cetera, unless you are root. so if i had my root password, i could change my user's password anyway... or make a new user and copy all my ~ files over. If I didn't have my root password, but had my user with sudo, I could fix it. Or I could reboot into single user mode. All things which can be done for FREE and without fear of the decrypted password file out in la-la-land with a bunch of h4x0rz? And this fall Fox is going to have a new reality TV show entitled "Orthodontic Surgery, The Final Frontier" where people get root canals for laughs.

    --
    The More Laws, the less Justice --Marcus Tullius Cicero
    1. Re:why? by Cheeze · · Score: 1

      first off, if someone were to gain root access to your machine, and you had a whole room full of servers, they could get the passwords to that one machine, and then probably have access to all of your machines, assuming you used some of the same passwords across all of your boxes. Second, they could probably read your ~/.bash_history and find out where you were sshing from there, try those passwords, and probably gain more access to remote servers. Third, they could guess your e-mail address, and they probably have your e-mail password too and go through and read your e-mail.

      --
      Why read the article when I can just make up a snap judgement?
    2. Re:why? by sinnfeiner1916 · · Score: 1

      so that makes it OK?

      --
      The More Laws, the less Justice --Marcus Tullius Cicero
    3. Re:why? by Anonymous Coward · · Score: 0

      Yes.

    4. Re:why? by Anonymous Coward · · Score: 0

      Would this work?
      Make sure BIOS is set to boot from CD first, Insert Knoppix, reboot, mount hard drive, get hash from hard drive, go online and give it to them to crack.
      Seems like anyone without root could do this as long as they had the privledge of rebooting the system.

    5. Re:why? by Cheeze · · Score: 1

      i'm not sure what you mean ok. Ethically sound? probably not. Does it serve a purpose? Yep.

      --
      Why read the article when I can just make up a snap judgement?
  27. Interesting... by Quixote · · Score: 2, Interesting
    From the passcracking.com page:
    This project is using RainbowCrack technology

    Heading on over to the RainbowCrack page, we find (at the bottom):
    Contact Information
    Zhu Shuanglei shuanglei[at]hotmail.com
    Member of Kingnet Security, Inc.
    Shanghai, China

    1. Re:Interesting... by drix · · Score: 3, Funny

      Ah ha! You've got `em, you cunning sleuth, you.

      It will be a cold day in Hell before I hand my /etc/shadow over to a Chinese person.

      Thank you so very much for enlightening me and the rest of /. about this very pertinent, sensitive and telling piece of information.

      --

      I think there is a world market for maybe five personal web logs.
    2. Re:Interesting... by BJH · · Score: 3, Funny

      Personally, I'd be more worried about handing my password over to someone whose main point of contact is a Hotmail address.

    3. Re:Interesting... by Anonymous Coward · · Score: 0

      Ha! So my fears of having my password shanghaied are justified. I knew it! ...and they all laughed at me. Well who's laughing now?

    4. Re:Interesting... by Anonymous Coward · · Score: 0

      Yeah, pretty much. I hates them dirty chinks.

    5. Re:Interesting... by ChronoWiz · · Score: 1

      There could be a communist in your... very... own... bathroom!!!!! Be paranoid^H^H^H^H^H^H^H^H vigilant, America!

  28. TROLL by Anonymous Coward · · Score: 0

    You can use blowfish to encrypt passwords under linux.

    In fact in some distros such as suse, it is as simple as launching YAST and selecting blowfish from the security settings dialog.

    I shouldn't feed the trolls, I know.

  29. a1d0c6e83f027327d8461063f4ac58a6 by Anonymous Coward · · Score: 0

    Now go find the question.

  30. Re: backwards compatibility by Anonymous Coward · · Score: 0

    Isn't this one of the biggest reasons why Windows security is in such a sorry state?

  31. Looks like they flushed a bunch of results... by angst7 · · Score: 1

    On the next to the last page, (currently 35) the ID jumps from 52 to 40308344, then after some obviously bogus passwords jumps again to 73993649.

    I suppose this was during their testing phase, but who knows. It seems that a comprehensive database of real md5 hash / plaintext combos could be a very powerful thing (assuming these were honest-to-goodness actually used passwords).

    --
    StrategyTalk.com, PC Game Forums
    1. Re:Looks like they flushed a bunch of results... by Anonymous Coward · · Score: 0
      It seems that a comprehensive database of real md5 hash / plaintext combos could be a very powerful thing

      Hope you've got a big hard disk. Let's say you just store all 8-character passwords and limit yourself to 64 possible characters (A-Z plus a-z plus 0-9 plus pick two others). The passwords will take 8 bytes to store, and the MD5 hashes will take 8 bytes as well. So, this table will take 4194304 gigabytes. You could probably buy the required hard disks and computers and networking equipment with only a few million dollars. So it would be possible, but not very practical. Of course it gets harder if you really store all possible 8-character passwords. Then you need 274,877,906,944 gigabytes. If you count on about a dollar per gigabyte, this is kind of a lot of money...

  32. possible answer: by sinnfeiner1916 · · Score: 5, Funny

    because Visual Basic isn't case sensitive?

    --
    The More Laws, the less Justice --Marcus Tullius Cicero
  33. hash by k31bang · · Score: 4, Funny

    All this talk about Hash is making hungry for brownies.

    --
    -+-=-+-=-+-=-+-=-+-=-+ *** http://www.mountainfort.com *** +-=-+-=-+-=-+-=-+-=-+-
    1. Re:hash by Anonymous Coward · · Score: 0

      i'm totally about to do a bonghit. like right now man.

    2. Re:hash by maskedbishounen · · Score: 1

      Sure, you say that now! Just wait until they start wanting you to buy their cookies, too--

      ooh.

      --
      "An infinite number of monkeys typing into GNU emacs would never make a good program."
  34. Needs another feature ... by jdkane · · Score: 1

    They forgot to add a comment field to say what originating server the MD5 hash was taken from .... um .... so you'll recognize your own result right away.

  35. Stop this nonsense by Peaker · · Score: 3, Informative

    A click-through license is not a binding contract. In fact, it is absolutely nothing, legally. Yes, EULA's are worthless pieces of text as well, and shown unenforceable in court.

    1. Re:Stop this nonsense by morkeld · · Score: 2, Informative

      I'm not sure that is true in Virginia or Maryland, thanks to their adoption of the Uniform Computer Information Transactions Act (UCITA); see http://en.wikipedia.org/wiki/UCITA

  36. Brute force search by arvindn · · Score: 5, Informative

    Just so that its clear, they haven't broken MD5 in the cryptographic sense; they're merely using the fact that the 8 character password space is small enough if you are restricted to lowercase alphabets and numbers (about 3*10^12) to run the whole thing through a brute force search. The nice thing is that they precompute all the plaintext-ciphertext pairs, which means that the actual cracking step is simply a lookup. Lookup can be greatly speeded up if you're looking up lots of things at once, so the /. effect is a very good thing for them, throughput-wise :-)

    1. Re:Brute force search by Anonymous Coward · · Score: 0

      The entire point of this is obviously so that they can generate a quick lookup of every lowercase 0-9/a-z based password in existance, thus rendering stronger passwords an ABSOLUTE REQUIREMENT rather than just lip service.

      Seems like a good thing to me.

    2. Re:Brute force search by Anonymous Coward · · Score: 0

      You can still use MD5+salt to protect from lookups.

    3. Re:Brute force search by Anonymous Coward · · Score: 1, Informative

      It's not a simple brute force search. If you read the technical documentation you'll see that this isn't a straight 1:1 trade of time for space, it's actually a 3-way trade with space, time and accuracy, where a tiny sacrifice of accuracy (they miss 1-in-1000 or so passwords in the target set) combined with a relatively small amount of space (in this case 40GB) gets them way more time reduction (many orders of magnitude) than casual experimentation would expect.

      The simple 1:1 approach needs about 10 000 times more space, making it impractical for people with limited resources (e.g. no RAID array or SAN).

      The same technique has been used on passwords, but that was the primitively protected "LM hash" of early Windows NT, not the modern MD5+salt found in your Unix shadow password file.

  37. The problem I see... by e9th · · Score: 1

    is that an unscrupulous sysadmin, in fact anyone who can gain rdonly access to the shadow passwd file, can covertly gather gobs of passwords for later use.

  38. Stop yammering about your passwords, folks by fanatic · · Score: 4, Informative
    From the rainbbow crack FAQ site: http://www.antsight.com/zsl/rainbowcrack/faq.htm:
    1. Is it possible to crack /etc/shadow file in linux with time-memory trade-off technique? No, you can't. Linux use salt to randomize the hash, which is originally designed to defend this kind of attack. However, any hash with salt is resistant to time-memory trade-off attack, while hashes without salt aren't.
    Emphasis added.
    --
    "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    1. Re:Stop yammering about your passwords, folks by twiddlingbits · · Score: 2, Funny

      Is Linux salt like Morton's Salt? Would that be idodized, non-iodized, rock, kosher, or sea salt? ;) How many teaspoons are neededto salt the Hash? And what if I want pepper too,does that mess up the amount of Salt needed... (a little levity never hurts cryptographic discussions)

    2. Re:Stop yammering about your passwords, folks by jhoffoss · · Score: 1

      There are a limited number of salts though, so all one would have to do [heh] is precompute the table for each salt; then a uesr selects the salt that was used in creating the hash, and voila. Of course, this means adding...62 different sets of tables, I think. A salt is one character, upper-case, lower-case, or digit, if I'm not mistaken. Not necessarilly trivial, but not impossible.

      --
      Linux: The world's best text-adventure game.
  39. Salt? by tshak · · Score: 1

    What happens if there's a salt involved? It looks like this only accounts for simple MD5 hashes, which is considered a very weak method of saving passwords.

    --

    There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    1. Re:Salt? by Anonymous Coward · · Score: 0

      I'm a slug, you insensitive clod!

    2. Re:Salt? by Anonymous Coward · · Score: 0

      My doctor told me to cut back on the salt. Is he trying to hack into my computer?

    3. Re:Salt? by julesh · · Score: 1

      You're in luck if the salt is a 2 digit lower-case-alphanumeric one and the password is 6 chars or less. Otherwise, sorry.

      (potentially s/in/out of/;s/sorry/congratulations/)

  40. a simple solution- use a salt by jCaT · · Score: 3, Informative

    Why not just use the method that crypt() uses, and use a salt? It's not terribly difficult to implement, and it would mean their database would need to be roughly 3,800 times as big as it is now ( assuming [a-zA-Z0-9]{2} ) Since they have 47.6 GB of lookup tables now, adding a salt would mean the resulting database would be over 180 terabytes.

    Not to mention adding in special chars and uppercase letters, which would increase the database by 600 fold, assuming it's linear...

    1. Re:a simple solution- use a salt by lightspawn · · Score: 1

      Why not just use the method that crypt() uses, and use a salt? It's not terribly difficult to implement, and it would mean their database would need to be roughly 3,800 times as big as it is now

      That's silly. If you're going to salt the passport, why not use the current time (down to the millisecond)? then the database would have to be a little larger...

    2. Re:a simple solution- use a salt by jCaT · · Score: 1

      My point is that a simple two character salt would make a HUGE difference already- of course an even larger salt would make an even bigger difference. You might as well be using a random string equal in length to your representation of the current time... it would increase the number of available salts. In using the current time, crackers would only need to keep the keyspace equal to (epoch of timestamp based salts) to (current). That is a significantly smaller space than all possible random strings of the same length. Plus, once they have calculated all of them to current, they only need add each day's values with each passing day.

      Sorry, I just geek out over implementation details. :)

    3. Re:a simple solution- use a salt by mbyte · · Score: 1

      I think openbsd already does that, when you look at the shadow file there you see something like $1$salt$md5sum ...

    4. Re:a simple solution- use a salt by julesh · · Score: 1

      In using the current time, crackers would only need to keep the keyspace equal to (epoch of timestamp based salts) to (current). That is a significantly smaller space than all possible random strings of the same length.

      Well, that depends if your random string generator is seeded off current time, or something more random.

      Sorry, I just geek out over implementation details. :)

      Hmmm. Yeah, guess I can relate to that ;)

    5. Re:a simple solution- use a salt by WuphonsReach · · Score: 1

      I think openbsd already does that, when you look at the shadow file there you see something like $1$salt$md5sum ...

      Looking at my fresh copy of "Practical Unix Internet Security" (O'Reilly), page 88:

      That's a modular cyrpt format (MCF) for the password, with the sections delineated by '$':

      First section: 1 = MD5, 2 = Blowfish
      Second: Salt (limited to 16 characters)
      Third: Encrypted password (sans salt)

      For MD5, the salt is treated as a literal string, possibly base64 encoded. For Blowfish, it's a number indicating how many iterations. Some confustion about whether blowfish is indicated by "$2" or "$2a" or "$5" (may be implementation dependent).

      --
      Wolde you bothe eate your cake, and have your cake?
  41. I'll probably get modded down just for asking... by rel4x · · Score: 0

    but I can't quite understand what so seperates this from a normal brute force cracker. It seems like it just stores the different possible values for the hash and plaintext combos in a text file, for quicker access? Maybe not? Anyone care to explain?

    --

    Before you mod me funny, think, perhaps I was insightfully funny?
  42. Even worse... by pseudochaotic · · Score: 1

    If it's a production server that you can't afford to even reboot, maybe you shouldn't be giving the root password to some random website. Just a thought.

    Personally, I think it would be better if they released an app that does this. Making you post it to the website just screams "harvester!"

    --
    And the l33t shall inherit the 34r7h.
    1. Re:Even worse... by schon · · Score: 4, Insightful

      If it's a production server that you can't afford to even reboot, maybe you shouldn't be giving the root password to some random website

      Yes, because knowing the password means that you automatically know the IP address too, right?

      Personally, I think it would be better if they released an app that does this.

      Yeah, a 47GB app. That'd be a snap to download.

      They're using RainbowCrack - the app is no secret.. it's the data tables that make this useful.

    2. Re:Even worse... by cjpez · · Score: 1
      Yes, because knowing the password means that you automatically know the IP address too, right?
      Well, whoever runs the website probably has logs. They'd know the IP you submitted the request from, at the least. That's unlikely to be the same box whose password you've requested, but it may be in the same netblock, at least.
    3. Re:Even worse... by Pharmboy · · Score: 1

      If it's a production server that you can't afford to even reboot, maybe you shouldn't be giving the root password to some random website. Just a thought.

      Makes me wonder if the owners of the site:

      1. Log you IP and submitted hash.
      2. nmap the class C for port 22.
      3. A rooting we will go.

      There is no 4. Profit. This is slashdot, half the users don't have jobs, half don't have anything worth stealing, and the other 10% can't do math ;)

      --
      Tequila: It's not just for breakfast anymore!
    4. Re:Even worse... by Pharmboy · · Score: 1, Informative

      Yes, because knowing the password means that you automatically know the IP address too, right?

      Um, YES. You obviously have never admin'ed an apache web server. By default, it logs every IP, every request,

      Yeah, a 47GB app. That'd be a snap to download.

      Its not a 47GB app. The source is 44k, and the compiled binary is well under 1mb. If you bothered to check you would know that. That has nothing to do with the resources it uses when it is cranking.

      --
      Tequila: It's not just for breakfast anymore!
    5. Re:Even worse... by croddy · · Score: 1

      I would think you'd CHANGE the password after regaining access.

    6. Re:Even worse... by Anonymous Coward · · Score: 0

      "There is no 4. Profit. This is slashdot, half the users don't have jobs, half don't have anything worth stealing, and the other 10% can't do math ;)"

      But at least we give you 110%!

    7. Re:Even worse... by schon · · Score: 1

      YES.

      Umm, NO

      You obviously have never admin'ed an apache web server. By default, it logs every IP, every request

      You obviously have no idea that most people who do admin webservers don't surf from them.

      If you bothered to check you would know that. That has nothing to do with the resources it uses when it is cranking.

      Try working on your reading comprehension. If you'd bothered to actually read to the end of my post (a whopping two more sentences) you'd see that I addressed that. Here it is, just for you:

      it's the data tables that make this useful.

      In order for this to be useful, you need the data tables - so unless you have a cluster that can create them, you need to download the 47GB worth of data.

      Next time, try reading the entire post before you reply. You make yourself look like much less of a moron.

    8. Re:Even worse... by phaze3000 · · Score: 1

      Just one more reason you should be using authentication using keys rather than passwords (although obviously it's a good idea to set a password on your key.. :)).

      --
      Blaming GW Bush for the Iraq war is like blaming Ronald McDonald for the poor quality of food.
    9. Re:Even worse... by pVoid · · Score: 1
      Next time, try reading the entire post before you reply. You make yourself look like much less of a moron.

      I beg to differ. He is a moron.

      *lights up cigarette, inhales while watching Karma burn away*

    10. Re:Even worse... by Anonymous Coward · · Score: 0

      >In order for this to be useful, you need the data tables - so unless you have a
      >cluster that can create them, you need to download the 47GB worth of data.

      Don't be a fuckwit. You're going to need 47GB of space on the server, whether you download that data or generate it. And there are no circumstances, ever, in which it'd make sense to download the data rather than generate it.

  43. Profit! by pseudochaotic · · Score: 5, Funny

    Step 1: Create a service that does something which needs a password hash
    Step 2: Get a bunch of bored slashdotters to post their password hashes, and log their IPs
    Step 3: Crack the hashes, keep the passwords
    Step 4: h4xx0r!

    --
    And the l33t shall inherit the 34r7h.
    1. Re:Profit! by Random832 · · Score: 1

      Step 5: realize nobody actually uses "goatse" as a password.

      --
      We've secretly replaced Slashdot with new Folgers Crystals - let's see if it notices.
    2. Re:Profit! by iNetRunner · · Score: 1

      Just wondering if the Step 5 is "Profit!" or "Goto Jail"? Or both.. *Though given the selection of participants the Step 5 is probably "pr0n"..*

      --
      Store with salt
  44. damn, that's my password... by laejoh · · Score: 1, Funny

    At least now I'll always know what f3789b3c1be47758203f9e8a4d8c6a2a means.."

    Damn!!! They cracked my password already. Better go and change it.

    1. Re:damn, that's my password... by julesh · · Score: 1

      The funny thing is, I suspect there are a number of slashdot users who do, in fact, use that password.

  45. If this works, your password is not strong enough. by rdewalt · · Score: 2, Insightful

    Sorry, but this is nothing more than a "Oh cool." to me. It has no value to me as an admin. I lost my root pw, or my user passwords? I have physical access to the machine, I just reboot single user, and boom, I'm in.

    I purchase old computers all the time (where old is relative of course) often with passworded logins, or -always- the owner forgot the root password. Every OS I've come across with has had a way to get past the password protection -IF YOU HAVE PHYSICAL ACCESS-

    Now if you lose your login on your unix machine that you have remote access to only, contact whoever hosts it, have -them- break it open for you. If they don't know how... question their admin-fu.

    A short range MD5 cracker. Neat tho, but nothing more than brute force no?

  46. Wait... by La+Camiseta · · Score: 2, Informative

    You have access to the shadow file, but you can't remember your password, so what do you do?

    Submit the hashes over the internet of course!!

    What the hell were these people thinking? If you have access to the shadow file, then you have root access, and you can just passwd a different password. Root doesn't have to supply the current password.

    Worst case scenario, just cut out the hash and it'll be a blank password until you reset it. And if you really need that password, odds are that the others in there would be a nice bonus too, in which case there's plenty of other tools available.

    1. Re:Wait... by jcuervo · · Score: 1
      What the hell were these people thinking? If you have access to the shadow file, then you have root access, and you can just passwd a different password. Root doesn't have to supply the current password.
      Uhm. Yeah, you're right there, but what if, say, I've got the same password somewhere else and I'd really like to know what it is, since the admin of that box went on vacation to Tahiti for brain transplant surgery and all my good porn is on his box?
      --
      Assume I was drunk when I posted this.
    2. Re:Wait... by Anonymous Coward · · Score: 0

      You were too busy masturbating to ask him before he leave the office?

    3. Re:Wait... by La+Camiseta · · Score: 1

      Boot into Knoppix, and then you've got root access to the box. Once that happens you can have all sorts of fun, including accessing your files.

      But why in hell would you put your good pr0n on a work box? Do you want to get fired?

    4. Re:Wait... by jcuervo · · Score: 1
      I suppose I could have phrased my post better...

      I meant "what if I have the same password for another box that I'm not root on and don't have physical access to?".
      But why in hell would you put your good pr0n on a work box? Do you want to get fired?
      Who said it was a work box? :-)
      --
      Assume I was drunk when I posted this.
  47. A better way? by Pedrito · · Score: 1

    Seems if they're going to get pounded, then maybe they ought to do this in groups. Since the whole thing appears to be done via a table lookup, wouldn't it make sense to wait until you have, say 10 that are nearby in the table and then do all 10 at once instead of restarting the search for each one. I would imagine their throughput could go upsignificantly if they did this.

    Of course, I don't know enough about how the whole thing works. Maybe I'm completely off base. I'm sure they weren't counting on getting slashdotted either.

    1. Re:A better way? by julesh · · Score: 1

      If you look at the list of hashes that have been submitted, some say 'pending' and some say 'waiting' (or something like that), so I think they are doing it that way.

  48. It gives one pause... by chill · · Score: 4, Interesting

    Well, 36 ^ 8 = 2,821,109,907,456. How long does it take to compute an MD5 Sum?

    More to the point, consider "cracking" passwords in this manner:

    The NSA has been reported to have ACRES of computer space; their own chip fab and some of the fastest computers in the world.

    What if, decades ago, they just dedicated banks of systems to cracking all possible passwords hashed with crypt. Then, a few years later, did the same thing with MD5, SHA-1, and Blowfish -- as each became available.

    They store all this stuff in a table, and now getting passwords to most systems is nothing more than a quick table lookup.

    Yes, I know the math. However, add in a bit of psychology and statistics.

    Most people don't use characters you can't type on a keyboard for a password. VERY few do ALT-nnn or something like that. Most are going to be puire alpha, or alphanumeric. Some will contain special characters.

    Meaning, you don't have to exhaust the entire 8-bit character space to get the vast majority of what you're looking for.

    Is it really a surprise that something like this is starting to be possible on consumer systems?

    Heck, imagine a beowulf cluster dedicated to this...

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:It gives one pause... by the+eric+conspiracy · · Score: 1


      The NSA has been reported to have ACRES

      They probably have db where you can look up a password for every MD5 hash.

    2. Re:It gives one pause... by dk.r*nger · · Score: 1

      They store all this stuff in a table, and now getting passwords to most systems is nothing more than a quick table lookup.

      Yeah, right after they aquire the hash using a root expliot? :D

      I can't think of any obvious way I'd get any password-hashes that matters, without having compromised something first, or being the admin, which kinda defeats the purpose.

    3. Re:It gives one pause... by Obiwan+Kenobi · · Score: 1

      Most people don't use characters you can't type on a keyboard for a password. VERY few do ALT-nnn or something like that. Most are going to be puire alpha, or alphanumeric. Some will contain special characters.

      I don't know if this is true for Linux, as I haven't tested it, but the Alt+X (*3) does NOT work for windows passwords.

      My fellow geek at work thought he was tough stuff because he used Alt + 333 in the master system password for the PDC.

      When I typed it in Notepad, it was simply a capital M. I informed him of this error.

      The ragging hasn't stopped to this day ;)

    4. Re:It gives one pause... by julesh · · Score: 2, Informative

      How long does it take to compute an MD5 Sum?

      Approximately 30 cpu cycles per byte, rounded up to a block size of 16 bytes, I think. That's assuming you can't vectorize the operations easily. That suggests that an average consumer system could generate the table for this project in approximately a week. Vectorize that correctly and you can probably halve it.

    5. Re:It gives one pause... by Anonymous Coward · · Score: 0

      You don't get it! The NSA have suparnatural powers, they can read your mind with technologies unknown to mankind. The NSA is so secret that our govmint won't admit it exist, but I know what they are up to because I'm real clever. I talk to my watch in crowded rooms.

    6. Re:It gives one pause... by chill · · Score: 1

      Root exploit will do it. Especially the way many people use the same password at multiple locations.

      Another way would be to send in the FBI on a new Patriot Act "we can search and not even tell you" warrant.

      Send the root hash via SMS to an auto-decrypt bot and voila! Instant root access to install key sniffer, etc.

      --
      Learning HOW to think is more important than learning WHAT to think.
    7. Re:It gives one pause... by Otto · · Score: 2, Insightful

      They store all this stuff in a table, and now getting passwords to most systems is nothing more than a quick table lookup.

      As should be obvious, a table lookup through a few terabytes of data isn't all that quick.

      That's what this is all about. Rainbow crack, which is what the original posts site is using, is a faster way to look things up in tables. So when they say it works for anything a-z,0-9, then they mean that they have precalculated all those passwords (up to 8 chars) and what you are in fact doing by submitting this request is essentially a table lookup over 47 gigs of data.

      The point is that efficent table searching for this sort of thing is relatively new. There was a /. article about this new table lookup method some time back.

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    8. Re:It gives one pause... by bertok · · Score: 1

      "Slow" in database terms is seconds. A table lookup on a sorted table will take at most 20-60 steps, and each is a single disk access. At a typical 5ms per access, that's no more than 100-300ms! A well designed index can reduce the number of steps required further. Only very naive database designs slow down significantly when the amount of data increases.

  49. How it works by slubberdegullion · · Score: 5, Informative
    Their method isn't just a brute-force attack or a "brute-memory" list of PLAINTEXT:HASH. It is faster than brute-force, and uses far less memory than "brute-memory"

    It is a time-memory tradeoff. They come up with a "reduction function" R, which maps hashes into keys. It is not a reversal of the md5 algorithm, it just generates some key based on the hash. Then they create sequences of hash, key, hash, key, hash, key... with each key being the reduction function applied to the previous hash, and each hash being the hash function applied to the previous key. They stop their sequences when they reach "distinguished values," which may e.g. have 0's for the first 12 bits. Then they store the start and endpoints of the sequence.

    So now they have a list of start and endpoints for these chains of hashes and keys. To crack a hash, they apply the same process to it - reduction function, hash, reduction function, hash, until they reach a value that is in their table of endpoints. Then they begin at the startpoint associated with that endpoint, and regenerate the sequence up to the hash they're trying to crack. Since the key directly before that hash hashes to that hash, they've successfully cracked the hash.

    The "rainbow" refers to the recent innovation of using a different reduction function for each step of the sequence, i.e. using R1 on the first hash, R2 on the second, etc. This means that, even if two sequences contain the same hash, they probably won't be exactly the same after that - a significant problem with the older method of having a single reduction function.

    If you want to read about this in more detail with math symbols and such, the pdf is linked from the site.

  50. Why does it take so long? by marinebane · · Score: 1

    If they have a db of all the possible md5 hashes for a-z0-9{8} then why does it take so long? couldnt they split up their database into the first few md5 hex combinations?
    so they could nest it so that you have 16 folders, with 16 folders in each say up to 3 levels (4096 folders in total), wouldnt it dramatically increase the speed?

    1. Re:Why does it take so long? by DaCool42 · · Score: 1

      Folders? Why not just sort the list?

      --

      ----
      All of whose base are belong to the what-now?
  51. Aptly named... by Jezral · · Score: 1

    A very aptly named site, seeing how it doesn't provide any real value...just look at the middle: http://p asscrack ing.com/

  52. Imagine if this was spaceballs with a twist by whiteranger99x · · Score: 5, Funny

    ROLAND The combination is (hesitates) 827ccb.
    HELMET 827ccb.
    SANDURZ 827ccb. (writes)
    ROLAND 0eea8a.
    HELMET 0eea8a.
    SANDURZ 0eea8a. (writes)
    ROLAND 706c4c.
    HELMET 706c4c.
    SANDURZ 706c4c (writes)
    ROLAND 34a1689.
    HELMET 34a1689.
    SANDURZ 34a1689. (writes)
    ROLAND (hesitates) 1f84e7b.
    HELMET 1f84e7b.
    SANDURZ 1f84e7b. (writes)
    HELMET So the combination is 827ccb0eea8a706c4c34a16891f84e7b (lifts mask) That's the stupidest combination I've ever heard in my life. That's the kinda thing a fucking n00b would have on his Windows box. ;)

    --
    Join the TWIT army now!
    1. Re:Imagine if this was spaceballs with a twist by Anonymous Coward · · Score: 0

      My God, that's the same combination I've got on my luggage!

  53. 827ccb0eea8a706c4c34a16891f84e7b! by Griim · · Score: 2, Funny

    "827ccb0eea8a706c4c34a16891f84e7b?? That's the same combination that's on my luggage!"

    1. Re:827ccb0eea8a706c4c34a16891f84e7b! by Jesrad · · Score: 1

      Chalk up one more synchronicity for the Noosphere hypothesis. It's been disturbingly apparent lately in Slashdot comments, that two unrelated persons will post the same reference at nearly the same time, despite consulting the article at differing times.

      Think about it when you read next articles.

      --
      Maybe we deserve this world ?
    2. Re:827ccb0eea8a706c4c34a16891f84e7b! by Griim · · Score: 1

      I've noticed this too, but I don't find any that were the same joke as mine...of course mine's a little involved and takes the humour out of it, if you run "echo -n '12345' | md5sum" you get 827ccb0eea8a706c4c34a16891f84e7b

    3. Re:827ccb0eea8a706c4c34a16891f84e7b! by Jesrad · · Score: 1

      This comment was posted just 5 minutes before yours (while you were typing it ?) and even has the same md5sum (827ccb0...) and same Spaceballs reference, only in a longer form.

      --
      Maybe we deserve this world ?
  54. If you can't trust root... you're screwed by StupidKatz · · Score: 1

    mv /etc/shadow /etc/shadow.old
    cp /etc/shadow.old /etc/shadow
    vi /etc/shadow
    (do your vile password manipulations now)
    (do whatever vile deeds wanted to do as victim user)
    mv /etc/shadow.old /etc/shadow

    No need for any "cracker site"... Also, if root really wants a specific password, he can run John the Ripper locally with a nice dictionary.

    1. Re:If you can't trust root... you're screwed by cobryce · · Score: 0

      There a reason you don't simply cp /etc/shadow /etc/shadow.old? You could save all of, 2 seconds even, and wear on the keyboard too. You could be using that time to build a list if those evil and dastardly things to do in those few CPU cycles you save. Point is still, it's rather redundant.

  55. Slashdot - news for the h4x0r by Anonymous Coward · · Score: 0

    A couple of stories back was the guy looking for warez for his laptop, now a site that cracks passwords. What's next, a list of porn sites and serial numbers? Where's the actual news, slashdot?

  56. f3789b3c1be47758203f9e8a4d8c6a2a everywhere by serialdj · · Score: 0, Redundant

    Its amazing how many people have submitted f3789b3c1be47758203f9e8a4d8c6a2a to the site. I'm scanning the last 500 submitted, and i've found close to a hundred so far.

    Will be interesting to see what it means.

  57. Corollary by Anonymous Coward · · Score: 0

    Anonymous Coward's Corollary to Hey's Rule:
    These postings will be modded up.

  58. Windows users not left out! by pegr · · Score: 5, Interesting

    Same thing for windows users (only different) is here. Submit an LM or NT hash, get the password emailed back to you...

  59. Yeah but running as root... by Kjella · · Score: 1

    ...it is trivial to grab your password before it is stored in /etc/shadow. Like say when you type it in? And with that kind of compromise, it doesn't help how secure your password is anyway..

    Kjella

    --
    Live today, because you never know what tomorrow brings
  60. Re:f3789b3c1be47758203f9e8a4d8c6a2a everywhere by Anonymous Coward · · Score: 0

    $ echo -n goatse | md5sum
    f3789b3c1be47758203f9e8a4d8c6a2a *-

  61. Keepass by DarkHelmet · · Score: 2, Informative
    All my passwords are generated through KeePass. They are 21 characters in length, from A-Z|a-z|0-9. I have the options to introduce other characters into the keyspace, but I wish anyone best of luck in cracking a 132 bit address space :)

    Anyway, time to change up to SHA1 ;)

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
  62. definition:sex by BlastQuake · · Score: 0

    This is /. Nobody here knows what sex is!

    --
    "What use is power to the Keeps of Balance?" -Disnt of Nightmare LpMud
    1. Re:definition:sex by NuclearDog · · Score: 0
      --
      This statement is forty-five characters long.
  63. /etc/shadow by Anonymous Coward · · Score: 0

    If the password isn't god, sex or password, it's not worth breaking into :-)

  64. Slashdot has been used by Twid · · Score: 3, Informative

    17:25 http://passcracking.com/
    17:25 <ge_> !!
    17:26 <toast> interesting
    17:26 <toast> let's DoS it
    17:26 <ge_> hehehehe
    17:26 <toast> just write a distributed tool to submit nonsense and keep the queue full
    17:26 <ge_> worse
    17:26 <ge_> let's slashdot it!
    17:27 <toast> haha
    17:27 <toast> perfect

    :)

    --
    - "When you want something with all your heart, the entire universe conspires to give it to you" -Paulo Coelho
  65. MOD PARENT UP by Anonymous Coward · · Score: 0

    Highly informative post. Thank you.

  66. It's another URL now... by Anonymous Coward · · Score: 0

    It doesn't exist anymore, but goat.cx does... [obviously NSFW!]

  67. /etc/shadow ??? /etc/passwd??? by Anonymous Coward · · Score: 0
    I don't have a /etc/shadow and my /etc/passwd doesn't contain any hashes.

    The entries in the passwd file look something like this:

    hengist:*:1000:1000:hengist:/home/hengist:/usr/loc al/bin/bash

    It seems there is an error in the story text...there are no hashes in /etc/passwd...

    /etc/shadow: No such file or directory

    Can anyone confirm the validity of the article text?

  68. f3789b3c1be47758203f9e8a4d8c6a2a by The+Real+Nem · · Score: 1

    Another site killed by excessive /. hits. Looks like f3789b3c1be47758203f9e8a4d8c6a2a is queued to start several hundred times.

  69. Not that impressed by SnapperHead · · Score: 1

    3 weeks ago, for shits and giggles, I pre-calcuated md5 passwords based on a 5 million word dictionary. I dropped all of the results in a PostgreSQL database. Took about 12 hours to complete, mainly becuase the app I wrote to handle it was kinda poor and a quick hack. If I were to re-do it, I would use my workstations to create the checksums, and do the inserts.

    I had a few friends come over and type in passwords to check against. Needless to say, 85% of those were found in the database. It only took 10 secs at most to do a search each time.

    I don't know why it takes them so long to come up with a result. Needless to say, I am gonna have to 1 up them now. Tonight, I am gonna start pre-calcuating a database simular to theres. Difference is, mine will run MUCH faster :P

    --
    until (succeed) try { again(); }
    1. Re:Not that impressed by Bert690 · · Score: 1
      3 weeks ago, for shits and giggles, I pre-calcuated md5 passwords based on a 5 million word dictionary. I dropped all of the results in a PostgreSQL database. Took about 12 hours to complete, mainly becuase the app I wrote to handle it was kinda poor and a quick hack. If I were to re-do it, I would use my workstations to create the checksums, and do the inserts.

      I don't know why it takes them so long to come up with a result. Needless to say, I am gonna have to 1 up them now. Tonight, I am gonna start pre-calcuating a database simular to theres. Difference is, mine will run MUCH faster

      If it took 12 hours to load a mere 5 million passwords, you'll need around 6,770,663 hours to load the entire space hashes considered by this tool. Somehow I doubt people will be very impressed if it takes you that long to one-up them. But hey, good luck with it!

    2. Re:Not that impressed by SnapperHead · · Score: 1

      You misunderstod ... my first attempt was very inefficient. I know what I can do to boost performance quite a bit.

      1) Since there was a lot of duplicates last time, I did a select and insert in the same query. I will just clean the duplicates after words.

      2) Auto vacuum was running, which slowed things down even more. Becuase of #1, I wanted the indexes to stay some what current. Every 10,000 entrys, it did an analyze. Not needed if I clean the duplicates after words.

      3) The code it self was a mess. It was a quite hack in PHP for the hell of it. This time, I am gonna write it in C++. (I was reading from multiple files, in different formats for the import). This time, I just have to increment the letters, so to speak.

      4) Instead of just having the same machine doing the import. (Same machine the database is on) I am going to have 5 computers churning it out.

      The main thing I am looking at is the post searchs. Not the time it takes to generate those numbers. With a large enough cluster, you could in theory cover the entire space. Which, would be an intresting distributed project :P

      --
      until (succeed) try { again(); }
  70. md5(md5(md5(pass))) by Anonymous Coward · · Score: 0

    Time to md5 my md5s :P That'll stop them ;)

  71. Re:I'll probably get modded down just for asking.. by julesh · · Score: 1

    There's an explanation on the site. It's apparently a compromise that doesn't take up as much storage space as a simple lookup table would, but is much faster than a brute-force search would be.

  72. okay by pyth · · Score: 1

    echo -n 'goatse' | md5sum
    f3789b3c1be47758203f9e8a4d8c6a2a -

  73. Another puzzle by pyth · · Score: 1

    ff36cc8b1806283dffe68df1e462a120

    This one should be in their DB.

  74. (OT)Re:Question by pegr · · Score: 1

    Re:Question (Score:1)
    by julesh (229690) on Saturday July 03, @04:21PM (#9601525)
    Hmmm. User ID 686460 suggests user ID 678202 is 'new here' and it gets modded as insightful. Come on!

    Oh, and before you mention it, no I've been here for about 6 years.


    Imagine that... A "6 digit" getting all uppidy...

    1. Re:(OT)Re:Question by gargan · · Score: 1

      kids these days...

      --
      Emory: Uh..we're still..beta testing that.
      Oglethorpe: What you're testing is me and my patience!
  75. Rootsecure.net MD5 password cracker by Anonymous Coward · · Score: 0

    Rootsecure.net has a version of this up at:

    http://www.rootsecure.net/crypttmt/
    http://www. rootsecure.net/rcrack/

  76. or you could just use this... by profet · · Score: 2, Interesting

    #!/usr/bin/perl

    use Digest::MD5;

    use constant POSSIBLE_CHARS => 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLM NOPQRSTUVWXYZ';
    use constant LAST_POSSIBLE_CHAR => substr(POSSIBLE_CHARS, length(POSSIBLE_CHARS) -1, 1);
    use constant FIRST_POSSIBLE_CHAR => substr(POSSIBLE_CHARS, 0, 1);

    print "Digest:\t";
    $digest = <STDIN>;
    chomp($data);

    $ctx = Digest::MD5->new;

    print "Beginning to decrypt...\n";
    $attempts = 0;
    $current_string=FIRST_POSSIBLE_CHAR;

    $start _time = time();

    while($digest ne $attempt)
    {
    $current_string = next_string($current_string);

    $attempts++;

    $ctx->reset();
    $ctx->add($current_string);

    $attempt=$ctx->hexdigest();
    }

    $end_time = time();

    print "String decrypted...\n";
    print "String = '$current_string'\t\t\tHash = $attempt\n";

    $time_to_complete = $end_time - $start_time;
    $seconds = $time_to_complete % 60;
    $time_to_complete = ($time_to_complete - $seconds) / 60;
    $minutes = $time_to_complete % 60;
    $time_to_complete = ($time_to_complete - $minutes) / 60;
    $hours = $time_to_complete % 24;
    $time_to_complete = ($time_to_complete - $hours) / 24;
    $days = $time_to_complete % 7;

    foreach $unit (($seconds, $minutes, $hours))
    {
    if($unit < 10) { $unit = '0' . $unit; }
    }

    print "String found in $days days, $hours:$minutes:$seconds\t\t\t$attempts cycles\n";

    sub next_string
    {
    ($string) = @_;

    $last_char_of_string = substr($string, length($string) - 1, 1);

    unless( $last_char_of_string eq LAST_POSSIBLE_CHAR )
    {
    substr($string, length($string) - 1, 1, substr(POSSIBLE_CHARS, ( rindex(POSSIBLE_CHARS, $last_char_of_string) + 1 ), 1));
    return $string;
    }
    else
    {
    if( (length($string) == 1) && ($string eq LAST_POSSIBLE_CHAR))
    {
    return FIRST_POSSIBLE_CHAR . FIRST_POSSIBLE_CHAR;
    }
    else
    {
    return next_string (substr($string, 0, length($string) - 1) ) . FIRST_POSSIBLE_CHAR ;
    }
    }
    }

    1. Re:or you could just use this... by profet · · Score: 1

      doh!!! thats why you should always use "use strict"

      $line[10] =~ s/data/digest/;

    2. Re:or you could just use this... by Anonymous Coward · · Score: 0

      +2 Perlwise

    3. Re:or you could just use this... by Doppler00 · · Score: 1
      Wow! Perl code that is actually LEGIBLE and understandable? Amazing.

      $time_to_complete = $end_time - $start_time;
      $seconds = $time_to_complete % 60;
      $time_to_complete = ($time_to_complete - $seconds) / 60;
      $minutes = $time_to_complete % 60;
      $time_to_complete = ($time_to_complete - $minutes) / 60;
      $hours = $time_to_complete % 24;
      $time_to_complete = ($time_to_complete - $hours) / 24;
      $days = $time_to_complete % 7;

      foreach $unit (($seconds, $minutes, $hours))
      {
      if($unit < 10) { $unit = '0' . $unit; }
      }

      print "String found in $days days, $hours:$minutes:$seconds\t\t\t$attempts cycles\n";


      You should have used a time library instead of calculating the time out. This is kind of messy.
  77. Bfish *is* harder to compute by ReKleSS · · Score: 1

    If you read the blowfish algorithm, it's actually quite expensive computationally to set up the keys used for encryption. The reason? Initialising the key tables requires 511 (I think... around there, anyway) rounds of the encryption algorithm. However, Blowfish being a reversible algorithm, I don't believe it would be any more secure than md5sum or SHA-1, because you'd need to input a key *and* some data into the algorithm, and the key would probably not change.
    -ReK

    --
    md5sum -c reality.md5
    reality: FAILED
    md5sum: WARNING: 1 of 1 computed checksum did NOT match
  78. Too much detail on FreeBSD's reboot habits by Fweeky · · Score: 2, Interesting
    Not quite -- it does, however, seem to sync in three seperate groups:
    1. reboot(8) syncs disks.
    2. reboot(8) sends TERM signals.
    3. reboot(8) syncs every 3 seconds for up to 60 while vm.stats.vm.v_swappgsin changes.
    4. reboot(8) sends KILL signals.
    5. reboot(2) is called, which calls boot(), which syncs in a loop 20 times, backing off from 1/20th to 1 second while there are active buffers.
    6. If any active buffers remain, the disk is left mounted so it's fscked next boot.
    Now, if only shutdown(8) called sync once, we'd be up to a maximum of 42... maybe I missed one. Nice function name in there at least; die_you_gravy_sucking_pig_dog().

    You really wanted to know all that didn't you? Hello? Bah.

  79. Um, no by autopr0n · · Score: 1

    According to the page, they are not using a dictionary attack. In any event, you may not get back the password you put in, but some peice of data that has the same md5 sum.

    --
    autopr0n is like, down and stuff.
    1. Re:Um, no by kantai · · Score: 1

      I am under the understanding the no two pieces of data have the same md5 sum, please correct me if I am wrong

    2. Re:Um, no by __aafkqj3628 · · Score: 1

      Theoretically, they can't... but given the size of an md5 hash, that can't always be true. There's already a project to try and find collisions.

    3. Re:Um, no by Anonymous Coward · · Score: 0

      According to the pages:

      In short, the RainbowCrack tool is a hash cracker. While a traditional brute force cracker try all possible plaintexts one by one in cracking time, RainbowCrack works in another way. It precompute all possible plaintext - ciphertext pairs in advance and store them in the file so called "rainbow table". It may take a long time to precompute the tables, but once the one time precomputation is finished, you will always be able to crack the ciphertext covered by the rainbow tables in seconds.

      We use 80 Rainbow tables each 610 Mb of size. So total size of the tables reach 47.6 Gb.

      A dictionary attack optimization, from Lecture Notes in Computer Science (Proceedings of Crypto '03):

      In 1980 Martin Hellman described a cryptanalytic time-memory trade-off which reduces the time of cryptanalysis by using precalculated data stored in memory. This technique was improved by Rivest before 1982 with the introduction of distinguished points which drastically reduces the number of memory lookups during cryptanalysis. This improved technique has been studied extensively but no new optimisations have been published ever since. We propose a new way of precalculating the data which reduces by two the number of calculations needed during cryptanalysis. Moreover, since the method does not make use of distinguished points, it reduces the overhead due to the variable chain length, which again significantly reduces the number of calculations. As an example we have implemented an attack on MS-Windows password hashes. Using 1.4GB of data (two CD-ROMs) we can crack 99.9% of all alphanumerical passwords hashes (2 37 ) in 13.6 seconds whereas it takes 101 seconds with the current approach using distinguished points. We show that the gain could be even much higher depending on the param-eters used.

    4. Re:Um, no by devilspgd · · Score: 1

      Well lets see. An MD5 hash is 32 bytes long. You can input a string longer then 32 bytes.

      Simple logic indicates that if

      # of possible inputs > # of possible outputs

      Then yes, duplicate outputs can and will occur. In practice, I'm not aware of anyone having discovered an actual dupliacte yet.

      --
      Give a man a fish, he'll eat for a day, but teach a man to phish...
    5. Re:Um, no by FLEB · · Score: 2, Informative

      IIRC, MD5 was based on the idea that even if two or more things had the same MD5 sum, there wouldn't be more than one *intelligible* or *usable* thing with the same MD5.

      That's why MD5 works well for error or tampering verification. You might be able to get a big pile of garbage to have the same MD5 as the real message, but you'd be hard-pressed to create any other legible/interpretable data, or wind up with corrupted (slightly different) data with the same hash.

      --
      Information wants to be free.
      Entertainment wants to be paid.
      You just want to be cheap.
    6. Re:Um, no by Kosgrove · · Score: 1

      Theoretically, they CAN. The length of the MD5 result would require at least as many characters as all possible inputs for it to be a 1-1 function (exactly 1 output for every input). But when you consider ASCII characters that are outside the typable range, that possibility becomes far more remote.

      What I think the parent meant to say was that while it's theoretically possible to have 2 strings give the same MD5 hash, it's extremely unlikely.

    7. Re:Um, no by Old+Wolf · · Score: 1

      I've heard that there are no two known files that are different, but have the same MD5 hash.
      If anyone has any more information on the topic, that'd be great..

    8. Re:Um, no by devilspgd · · Score: 1

      AFAIK you are correct, there are no known conflicts. However, simple math indicates that there ARE conflicts, we just haven't encountered them yet.

      --
      Give a man a fish, he'll eat for a day, but teach a man to phish...
  80. Wrong by autopr0n · · Score: 1

    This is not a dictionary attack, it's something else. All a long passphrase will get you is some other string with the same hash.

    --
    autopr0n is like, down and stuff.
  81. Things I've always wanted to know about salting... by Anonymous Coward · · Score: 0

    But been to afraid to ask (cause the doco I've read has been really difficult to understand)...

    I know how salting makes the hash of the same password different for different users, and I know that it adds other information on top of the md5 algorithm to get the final hash.

    But can someone tell me, on an average, modern day, md5-and-salt-using Linux box:
    1) What data is used for the salt?
    2) Is it possible to recreate that salt in future? Is there a simple command line program to do salting? If a client is logging on, the hash data they send across the network will neet to be compared against what getent shadow returns, so does the client hash and salt the users input and get the same salted password? Or is there something I'm missing?

  82. This is *NOT* an on MD5 by danielrm26 · · Score: 1

    I thought it may be worthwhile to mention the fact that this tool does not attack MD5 in any way. Remember, MD5 is designed to give the exact same output for identical input, all this is doing is trying all inputs for lowercase a-z and 0-9, i.e. it's a very limited brute force tool.

    Move along...nothing to see here...

    --
    dmiessler.com -- grep understanding knowledge
  83. I always wonder by Anonymous Coward · · Score: 0

    I always wonder, hasn't anybody already tried to bypass in some weird way the md5 hasher of a program, and feed the authentication "part" of the program with the MD5 hash? Dunno why, I have in mind that given a known hash, should be easy to fool a program and give it the hash directly instead of the password.

    I do not know if I made myself clear. It's 5.07am here :P

    1. Re:I always wonder by Anonymous Coward · · Score: 0

      Yes, but...

      If you already have access to the system sufficient to modify the password verification program, then you probably don't need to modify the password verification program to get access to the system. :)

  84. Oh, this is ridiculously simple! by hacker · · Score: 1
    #!/usr/bin/perl -w

    use strict;
    use Digest::MD5 qw(md5_hex);
    use Time::HiRes qw(gettimeofday tv_interval);

    my $t0 = [gettimeofday()];
    my $o_string = 'YourMD5HashGoesHere';
    my $x = 0;
    my $y = 0;

    for('a'..'zzzzzzzz') {
    $y++;
    if(md5_hex($_) eq $o_string) {
    print "\nPassword is: $_\n";
    last;
    }
    }

    my $ts = tv_interval($t0, [gettimeofday()]);
    print "Tested $y combinations\n";
    printf("Elapsed Time: %0.2f seconds\n", $ts);
    printf("Average Rate: %0.1f pass/sec\n", ($y / $ts));

    exit;
    1. Re:Oh, this is ridiculously simple! by Anonymous Coward · · Score: 0

      Man are you ever a total fucking idiot! A rainbow table precomputes the password space and stores it on disk so the password lookups happen *quickly*. Yours computes a big whack of the password space everytime it runs. They compute the bulk of the space once and then just run look ups, which is quick.

      It is actually a little more complex than that though. If they just computed the whole password space it would be huge. By using their system, the space is considerably reduced. So they have made a choice to use a resonably sized chunk of disk to reduce password cracking time to around 180 seconds. I'm pretty sure that beats the shit out of your sorry ass little code. What a fucking pansy! "hacker" my ass. You should change your name to k1dd13.

      These guys just wrote a little web front end to rainbowcrack, which was based on a paper by some chinese guy, which was an enhancement to one of Rivest's papers, so it doesn't seem like they've acomplished all that much. Not to mention the fact that it won't work. They don't seem to have dealt with salt anywhere, which is up to *8* characters in md5 linux passwords.

      Regardless, they managed to write up the app and get posted to slashdot, even if they missed the salt problem. You on the other hand, can't even bother to get acquainted with the basics of what the hell it is you're commenting about. Maggot.

  85. Text file compression by unclewalter · · Score: 1

    I've thought of this before, but it has always seemed unachievable, (still does.) It would sure take a while, but I bet you could compress a text file quite a ways more than gzip if you took a sample piece of text from the beginning of the plaintext and appended it to the hash, giving a hint at what the plaintext message would be, (narrowing the number of possible plaintexts the md5 would decode to.) How would it be to compress an encyclopedia to an md5 hash and it's first paragraph or two? Getting it back would take a while :)

    1. Re:Text file compression by Anonymous Coward · · Score: 0

      It wouldn't work...

      Basically, if your file was any bigger than:

      (size of plain-text hint) + (size of md5, 128 bits)

      You wouldn't necessary get the same output back.

  86. Re:Things I've always wanted to know about salting by jcochran · · Score: 5, Informative

    The "salt" is used to change how the password is hashed. If you look at the shadow password file on your computer, you'll see some lines that look like this

    root:$1$abcdefge$abcd1234efg789hijklmno:0:0:...

    You'll notice that the password field (the stuff after the 1st colon, and before the 2nd colon) is itself divided into 3 fields separated by dollar signs. The purpose of these fields are:

    1st field - Identifies hashing method. This allows for future changes to how the password in stored while allowing backward compatability with existing passwords.

    2nd field - This contains the salt used to hash the password. In order to verify a new password, this exact salt must be used in the hashing process. Since in this case, it's 8 characters long and each character can be one of 64 values, it means that each possible password my be hashed into one of 2^48 different values. This salt is generated randomly at the time that you set your password. The randomly generated salt is then stored here for use in verifying future authencation attempts.

    3rd field - This is the actual hashed password using the salt specified in the previous field. It is 22 characters long, which with base 64 encoding can store 132 bits. Since MD5 only hashes to 128 bits, there are 4 unused bits at the tail end of this value.

  87. Find me a collision by jamonterrell · · Score: 1

    Indeed key space is finite. That being said, go find me a single collision (two strings that result in the same MD5) and I'll conceed that your point is mildly valid.

    --
    I can count to 1023 on my hands. Ask me about #132.
    1. Re:Find me a collision by Anonymous Coward · · Score: 0

      shhhhhh nigger. Good boy.

  88. It doesn't scale forever.... by Otto · · Score: 1

    Nothing scales forever. In the very specific realm of passwords and hashes generated from those passwords, you have a huge scaling problem.

    Take a simple example: a-z,0-9, 8 chars, MD5.

    That's 36^8, or slightly more than 2.8 trillion passwords. Storage for those would be 2.25 × 10^13 bytes, or 22 and a half terrabytes. Now, storing the MD5 password along with them is another 16 bytes, so we need to triple that, and thus we have 67.5 terrabytes of storage needed. Now, what's the size of the index on this thing? It's going to be pretty big, I'm sure. Just searching the index is probably going to require an index itself.

    Now, realize that you're going to be searching for the MD5 here, not the password. So sorting it is a bit of a PITA too, and could take a hell of a long time. Ever try to run a quicksort on a 3 trillion item array?

    And all that only covers lowercase and digits, up to 8 characters. Yes, your data lookup could be made fast, if you have one hell of a big system to stick the whole thing on, and a few computers to handle the thing in sections. Big databases are not new, but when you start talking about fully populated databases created from arbitrary mathematical functions, you quickly get into the realm of the obnoxiously insanely big database. It's not practical, and it certainly isn't very fast unless you throw a ton of money at it.

    Whereas this method trades off space for cpu time, by the reducing function thing. Reducing functions are not new, what's new here is to use a changing reducing function, which is kinda nifty. It has its limitations as well, but the big evil database has some pretty major ones too.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  89. Encrypted files by pVoid · · Score: 1

    I can tell you one place where this is useful: in the NT equivalent of this app (there was a link posted to it somewhere above), retrieving a lost password can save your ass for encrypted files (since encrypted files use the password as a key seed in NT/2k/XP). Changing your password effectively munges all your encrypted files.

  90. Favorite cracking tool... by shokk · · Score: 1

    ...John the Ripper. It's been ported to cracking so many password systems. Very useful in telling someone that their dog's name is not a valid password. The upside of it is that you crack passwords on your own network for your benefit, and not expose them to masses of other people.

    --
    "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
  91. Input that creates the largest MD5 value by c64cryptoboy · · Score: 1

    I was going to queue up FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF to see a pre-image that creates the largest MD5 hash value, but someone beat me to it. However, the task is still "Waiting to start...". I'll post a reply when it completes.

    --
    I put the 'fun' in fundamentalism
  92. Re: Obligatory by Old+Wolf · · Score: 1

    In soviet china, the passwords crack you, etc. etc.

  93. What about collisions? by npcole · · Score: 1


    How probable is it (and can it be proved mathematically?) that any given "secure" password does not, in fact, give the same MD5 output as a "simple" password?

    I know everyone here thinks they are safe because their password is something complicated. It would be a shame if you could also log in by typing "password" at the prompt....

    N

  94. It came to my mind... by zz85 · · Score: 1

    ... that this RainbowCrack technology they are using, is very usefully utilising high end resources that people using leave these machines idle.

  95. mv not cp by StupidKatz · · Score: 1

    Yup. If you copy it (cp), you goof up the timestamps. Moving it, at least on the systems I've used, doesn't change the stamps. It's a little sneakier.