Slashdot Mirror


Ophcrack Says Your Password Is Insecure

javipas writes "An insightful article at Jeff Atwood's Coding Horror reveals the power inside Ophcrack, an Open Source program that is capable of discovering virtually any password in Windows operating systems. The article explains how passwords get stored on Windows using hash functions, and how Ophcrack can generate immense tables of words and letter combinations that are compared to the password we want to obtain. The program is available in Windows, Mac OS and Linux, but be careful: the generated tables that Ophcrack uses are really big, and you should allow up to 15 Gbytes to store these tables."

249 comments

  1. so what a pregenerated database ...wow. by Anonymous Coward · · Score: 1, Informative

    pre generated codes...yawn... didn't we have the same sort of thing - a database of md5 hashes - like a over a decade ago?

    1. Re:so what a pregenerated database ...wow. by anno1602 · · Score: 1

      While it is true that a rainbow table is no big feat, the fact that it is possible surprises me. Doesn't Windows use salt when hashing the passwords? Or what am I missing?

  2. It won't figure this one out by Anonymous Coward · · Score: 0

    My new password is "1nm3ns3"

    ...generate inmense tables of words

    1. Re:It won't figure this one out by lottameez · · Score: 1

      Now that you've fixed the spelling error, perhaps ophcrack can help you with grammar too:

      how Ophcrack is capable of generate immense tables of words

      --
      Yeah? Well I think you're overrated too.
    2. Re:It won't figure this one out by pookemon · · Score: 1

      It doesn't have to. It just has to find something that hashes to the same value as your new password.

      --
      dnuof eruc rof aixelsid
  3. Link to 15GB Rainbow Table File? by Shadow_139 · · Score: 0

    Anybody got a link to the 15GB rainbow table file?

    1. Re:Link to 15GB Rainbow Table File? by Anonymous Coward · · Score: 1, Informative

      Don't know about a 15gb table, but here's a 120gb LM-hash table:
      http://silivrenion.com/rainbowtables/hak5_rtables_lm_all_1-7.torrent

      and that's from the guys at www.rainbowtables.org

    2. Re:Link to 15GB Rainbow Table File? by Shadow_139 · · Score: 0

      Link not working, anybody got another one hopefully not a torrent?

    3. Re:Link to 15GB Rainbow Table File? by Nullav · · Score: 1

      I don't know about any other links, but I will say you probably stand a snowball's chance in hell of finding a direct download for a 20-200GB rainbow table. (Talk about being slashdotted!)

      --
      I just read Slashdot for the articles.
    4. Re:Link to 15GB Rainbow Table File? by Shadow_139 · · Score: 0

      ok, then does anybody got a "working" link to a torrent file?

  4. There's no way they're getting my password! by eln · · Score: 4, Funny

    Ha, I've got these fools beat! I don't even USE a password on my Windows box. I'd like to see you try and crack MY password!

    1. Re:There's no way they're getting my password! by rmadmin · · Score: 1

      Got it.

      norad:~# echo "" | md5sum
      68b329da9893e34099c7d8ad5cb9c940 -
      norad:~#

    2. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 3, Informative

      echo -n "" | md5
      d41d8cd98f00b204e9800998ecf8427e

      His password is nothing, not a newline.

    3. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 0

      I know this was meant as a farce, but technically speaking you can still crack a black password. A hash of a non value will still return a hash value.

    4. Re:There's no way they're getting my password! by eln · · Score: 4, Funny

      norad:~# You may be able to crack it, but you're cheating. Clearly, working at NORAD you have access to ultra top-secret military-grade cryptographic techniques not available to your average cracker.
    5. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 1, Insightful

      I know it's a joke, but in Windows you cannot remotely connect to a passwordless account, so in that sense it actually is more secure.

    6. Re:There's no way they're getting my password! by ceeam · · Score: 5, Interesting

      You laugh but Windows indeed blocks some operations when no password is assigned. So - no password sometimes may be better than crackable password.

    7. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 0

      Tsk.

      % md5sum
      <ctrl-d>
      d41d8cd98f00b204e9800998ecf8427e -
      %

    8. Re:There's no way they're getting my password! by pegr · · Score: 5, Informative

      Got it.

      norad:~# echo "" | md5sum
      68b329da9893e34099c7d8ad5cb9c940 -


      Actually, it's:
      Password:
      LM Hash: AAD3B435B51404EEAAD3B435B51404EE
      NT Hash: 31D6CFE0D16AE931B73C59D7E0C089C0

      Windows password hashes are not MD5...

      Brought to you by the "genhash" utility of the PassTheHash toolkit for Windows. (Google it, it's awesome.)

    9. Re:There's no way they're getting my password! by Tweekster · · Score: 1

      I just disable those restrictions.

      My network isnt connected to the intertubes, so why cant i have a blank password for a remote desktop connection.

      --
      The phrase "more better" is acceptable English. suck it grammar Nazis
    10. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 1, Informative

      Worse - Windows hashes are MD4! That's all that's needed.

    11. Re:There's no way they're getting my password! by ZwJGR · · Score: 1

      Just about the only operation blocked is network share authentication, and that is easy to enable with no password (Local Security Policies...).

      IMO There is absolutely no point in having a login password for stand-alone machines as it is TRIVIAL to bypass with something as easy as a boot CD/floppy that just resets the passwords, as long as you have physical access to the box, (or just yank out the hard drive and remount somewhere else).
      Passwords are only really useful for network-type arrangements or full-disk encryption if you're especially paranoid...

      --
      There is no psychiatrist in the world like a puppy licking your face - Ben Williams
    12. Re:There's no way they're getting my password! by jafiwam · · Score: 1
      No, "Norad" is the name of a site. Not a computer, the correct version is:

      wopr:~# echo "" | md5sum
      68b329da9893e34099c7d8ad5cb9c940 -
      wopr:~#
    13. Re:There's no way they're getting my password! by AuMatar · · Score: 3, Funny

      Given the government's computer security, I'm fairly sure NORAD *IS* available to the average hacker.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    14. Re:There's no way they're getting my password! by vux984 · · Score: 4, Insightful

      IMO There is absolutely no point in having a login password for stand-alone machines as it is TRIVIAL to bypass with something as easy as a boot CD/floppy that just resets the passwords, as long as you have physical access to the box, (or just yank out the hard drive and remount somewhere else).

      IMO There is absolutely no point in having a lock on a bathroom door, as it is TRIVIAL to bypass with something as simple as a small screwdriver.

      Oh wait, yet, despite that, it is remarkably effective at keeping people out while your in there.

      Many locks and passwords are more symbolic than anything else. Most people respect the implied privacy requested by a lock or password. Even if they know they could circumvent it trivially, they don't do it.

    15. Re:There's no way they're getting my password! by bogie · · Score: 1

      "Google it, it's awesome"

      Googling "PassTheHash toolkit" brings up 1 hit. I didn't even know that was possible with Google. I've gotten zero hits, but one hit? Anyway it's Pass-The-Hash Toolkit. Gotta include those dashes. :-)

      --
      If you wanna get rich, you know that payback is a bitch
    16. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 0

      You're doing it wrong.

      norad:~# echo -n "" | md5sum

    17. Re:There's no way they're getting my password! by Anonymous Coward · · Score: 0

      Wrong command!

      echo "" doesn't return the empty string, but a newline, i.e. "\n". If you really want to hash the empty string, you need to tell echo to suppress the newline:

      echo -n "" | md5sum
      d41d8cd98f00b204e9800998ecf8427e -

      However, this hash also doesn't match the other hashes. :-)

      BTW, there's an even simpler command that will do the trick:

      md5sum </dev/null
      d41d8cd98f00b204e9800998ecf8427e -

    18. Re:There's no way they're getting my password! by StikyPad · · Score: 3, Funny

      More importantly, just like the bathroom, you generally need physical access to the machine (short of some remote exploit, trojan, rootkit, etc., in which case your password is irrelevant anyway). It's a well known axiom that if an attacker has physical access to a machine, all bets are off.

    19. Re:There's no way they're getting my password! by Hucko · · Score: 1

      You are obviously trolling; they use windows

      --
      Semi-automatic amateur armchair Australian philosopher; conjecture ready at any moment...
    20. Re:There's no way they're getting my password! by vtcodger · · Score: 1
      ***IMO There is absolutely no point in having a login password for stand-alone machines as it is TRIVIAL to bypass with something as easy as a boot CD/floppy that just resets the passwords, as long as you have physical access to the box, (or just yank out the hard drive and remount somewhere else).***

      Sounds right to me.

      If I had mod points today, I'd mod this insightful. The one exception. Some sort of password (other than "password") might be a good idea on a machine that is publically accessible. There's no point in making it too easy for the someone just wandering through to hit Enter, then delete all the files the file manager can see.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    21. Re:There's no way they're getting my password! by Belial6 · · Score: 1

      You know... that is a very insightful post. I tend to think along those lines every time we hear a "man arrested for using open Wifi access point" story, but your analogy is much better than the ones I usually think of.

    22. Re:There's no way they're getting my password! by Daychilde · · Score: 1

      "just like the bathroom, you generally need physical access"

      Not me.

      BTW, you have email. PISS ON YOU!!!!

      (disclaimer: this is intended as humour, not trolling. I'm posting as me, not AC, to help prove this point :D )

      --
      A cheerful little bird is sitting here singing.
    23. Re:There's no way they're getting my password! by J.Y.Kelly · · Score: 1

      Googling "PassTheHash toolkit" brings up 1 hit. I didn't even know that was possible with Google. I've gotten zero hits, but one hit?

      Are you kidding. There's at least one person whose career is based on trying to do exactly that!

    24. Re:There's no way they're getting my password! by undercanopy · · Score: 1

      last time i checked, -n suppresses the newline.

      --
      -- D-23994, Muff#2613
  5. This is news? by Lord_Frederick · · Score: 3, Insightful

    How long have rainbow tables been around? And hasn't just about everyone stopped storing LM hashes?

    1. Re:This is news? by CJ145 · · Score: 2, Interesting

      People that know should have, however the majority of Windows users have no clue what a LM hash is. I use the ophcrack livecd almost daily to find lost passwords. Not once on a customer computer have I found LM disabled (Windows XP systems). I have not seen any vista PC's yet so I do not know what the default is on vista.

    2. Re:This is news? by CastrTroy · · Score: 3, Interesting

      I remember once I tried a Linux bootable floppy that was supposed to be able to reset windows passwords, from what I recall, by just changing the value of the hash. Anyway, the drive was NTFS, and something got screwed up, and the file was unreadable. What I ended up doing was copying the same file from a computer with a similar set up (both were college issued laptops), and use the other person's username as password to log in. Anybody with enough access to the machine can get past a simple password. And unless you keep all your important data on an encrypted partition, and use encrypted swap (can you do this in windows??), then you really don't have much protection, and shouldn't assume that the data on your computer is locked down.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    3. Re:This is news? by maddskillz · · Score: 1

      I read that LM is disabled by default on Vista, but don't have a computer with it on to check it out on. It's about time!

    4. Re:This is news? by Anonymous Coward · · Score: 1

      then you really don't have much protection, and shouldn't assume that the data on your computer is locked down.

      For black hat, there's still many advantages to knowing the password over just cracking the system.

    5. Re:This is news? by TheThiefMaster · · Score: 1

      I think it was '98 where you could just boot into dos and delete username.pwd to make it so that user "username" had no password.

      Security at it's finest.

    6. Re:This is news? by Anonymous Coward · · Score: 0

      I read that LM is disabled by default on Vista, but don't have a computer with it on to check it out on. It's about time!

      One needs to keep in mind that Windows XP was released in 2001 so Microsoft fixed this issue in the next version of Windows. It just so happens that it took them ~5 years to release the next version.
    7. Re:This is news? by Anonymous Coward · · Score: 2, Informative

      "And unless you keep all your important data on an encrypted partition, and use encrypted swap (can you do this in windows??)"

      Yes, it's called "Bitlocker".

    8. Re:This is news? by Opportunist · · Score: 1

      Like it mattered in 98...

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    9. Re:This is news? by mlts · · Score: 1

      Vista and Windows 2008 Server (the beta that is) both don't store LM hashes by default. You can turn it on by running secpol.msc, if you have older machines that need that.

    10. Re:This is news? by CastrTroy · · Score: 1

      Does bitlocker make your system use an encrypted swap file? I really don't think so. At some point the data read from the file will be decrypted in memory, and if that chunk of memory gets swapped out, then it's now recorded, unencrypted to some part of your hard drive. This is why encrypted swap is needed.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    11. Re:This is news? by cnettel · · Score: 1

      I think it does. The reason why is simple: the swap is a somewhat special memory-mapped file. They still have to get the encryption logic tied in with the swapping logic for all other memory-mapped files (like all exes). That's one difference between Bitlocker and previous NTFS compression/encryption, where several of the more fancy I/O operations (aysnch I/O in general, efficient memory mapping) were really disabled.

    12. Re:This is news? by mlts · · Score: 1

      If you need to protect the swap file, you can set Windows to zero it out cleanly on shutdown (a setting under security options if you pull up secpol.msc.)

      For further protection, there is a third party utility called BestCrypt which loads a low level device driver that intercepts the read and write calls between Windows and the swap file, and encrypts it with a randomly generated key every time the machine gets booted.

      IMHO, the best protection for nearly any Windows machine is whole disk encryption (BitLocker or a third party utility like BestCrypt or PGP), but a number of WDE programs won't work with Windows Server 2003, so protecting the swap file helps.

    13. Re:This is news? by cbhacking · · Score: 2, Informative

      And unless you keep all your important data on an encrypted partition, and use encrypted swap (can you do this in windows??), then you really don't have much protection, and shouldn't assume that the data on your computer is locked down. That's the idea behind BitLocker. When it was discussed on here, a lot of people compared it to FileVault, PGP/GPG, and NTFS EFS (Encrypting File System). The point is, none of those can do the kind of total protection that encrypting EVERYTHING on the system volume (and any others you want protected, except you need an unencrypted boot partition) provides.

      Or, to answer your question a little differently: Yes, Windows Vista can encrypt all your data and the swap (pagefile.sys in Windows). My $DEITY, what a terrible OS! Let's all stick with XP!

      (Sorry, I've been using Vista and Linux side-by-side for well over a year, and can't stand XP. Sometimes it shows in my posts.)
      --
      There's no place I could be, since I've found Serenity...
    14. Re:This is news? by Anonymous Coward · · Score: 0

      Often in Windows 98, you just push the escape key at the logon box. All that logon was about was an identity to access *network* resources, not to the local machine.

    15. Re:This is news? by Kagami001 · · Score: 2, Informative

      BitLocker encrypts the entire drive. If your swap file is on that drive, it's encrypted along with everything else.
      BitLocker is only available in Windows Vista Ultimate.

      Unrelated to BitLocker, Vista supports encrypting the swap file with a random key generated on startup (same as the way it's done in Linux). The setting is buried inside the EFS settings in Group Policy.
      I don't know if the swap file encryption setting is available in all editions of Vista or not--group policy wasn't available in XP Home Edition, so it wouldn't surprise me if it's crippled in Vista Home Basic and Vista Home Premium. Still, you can get to the part with the EFS settings via secpol.msc, not just gpedit.msc, so I'm not sure. Can't remeber if secpol.msc was missing from XP Home or not.

      There also exist third-party utilities for XP to encrypt the swap file.

    16. Re:This is news? by darkpixel2k · · Score: 1

      If you need to protect the swap file, you can set Windows to zero it out cleanly on shutdown (a setting under security options if you pull up secpol.msc.)

      The problem is that if I go steal your server to hack stuff, I'm not going to do an orderly shutdown. I'm just pulling the plug and running.

      I doubt windows can zero the pagefile when it loses power. (...or bluescreens.)

      --
      There's no place like ::1 (I've completed my transition to IPv6)
  6. So... by InvisblePinkUnicorn · · Score: 4, Funny

    So basically, if I want to find out the passwords on someone else's computer, I have to bring along a high capacity DVD's-worth of data as well? I might as well just pretend I'm their tech support and ask for the password.

    Back in the day, getting Windows passwords was as easy as opening a program from a floppy. That's how I got an A in Spanish class when the teacher challenged us to guess what his screensaver password was (the prize was an A for the year - dumb teacher).

    1. Re:So... by jayhawk88 · · Score: 5, Insightful

      The point is that it can get the password in under 5 minutes. You could bring along something like L0pht, and then wait 2 weeks while it brute forces it.

    2. Re:So... by ajs · · Score: 1

      Of course, on real systems you use a decent hashing algorithm that can handle a much larger space.

      If you're interested in generating random, but secure passwords, I recommend my mkpasswd program, which can securely generate random passwords, or generate very insecure passwords, and the entire spectrum in-between. It uses a regular-expression-like syntax for describing a possible password, and then generates random passwords that fit the pattern. For example, you can tell it that you want 10 completely random characters, or you can tell it that you want a nine-letter pseudo-word (something that's pronounceable as if it were English, but is not a valid word) followed by a random character. Obviously the second example is much less random than the first, and thus less secure against attacks. There are many, many knobs, as well as a large number of default patterns that can be randomly selected from if you're lazy (at the cost of some security, of course).

    3. Re:So... by Anonymous Coward · · Score: 5, Funny

      Back in the day, getting Windows passwords was as easy as opening a program from a floppy. That's how I got an A in Spanish class when the teacher challenged us to guess what his screensaver password was But then, you didn't really guess his screensaver password. So no prize should have been given to you.

      (the prize was an A for the year - dumb teacher). Pretty dumb to give away grades, I agree. But, then, no one expects the Spanish algorithm!
    4. Re:So... by Poromenos1 · · Score: 1

      LC has supported Rainbow Tables since version 5 IIRC. Also, how would salts work on this? If you stored EVERY md5 hash (which is what rainbow tables do), then you've stored the salt as well. You'll just get "saltpassword" as the retrieved password, won't you?

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    5. Re:So... by prockcore · · Score: 1

      If you stored EVERY md5 hash (which is what rainbow tables do)


      That is certainly not what rainbow tables do. md5 is 128 bit. So to store every md5 hash would require 2^128 (3.4 × 10^38) * average_password_length bytes.
    6. Re:So... by mh1997 · · Score: 1

      So basically, if I want to find out the passwords on someone else's computer, I have to bring along a high capacity DVD's-worth of data as well?
      If you want all my passwords (at work), just look at the cardboard backing attached to the paper calendar under my keyboard. If the IT department wanted me to have a very secure, impossible to guess password, then they would not require me to have different passwords on different company sites (payroll, timecard, network, email, etc), force me to change my password every 30, 45, 60, or 90 days (depending on the company site) so that I have at least one password changing every other week, and have different rules for each site with regard to password length, special characters, capital letters, and numbers.

      If I can't be trusted to make up a password, then assign me a password that is incredibly complex that accesses everything that I need to access, but let me keep the damn thing long enough to make remembering easy and worthwhile.

    7. Re:So... by Poromenos1 · · Score: 1

      Okay, every md5 hash whose original input was under 7 characters and in the alpha-numeric-space-special range. But, I guess I answered my own question, it adds 5ish characters to the password so a 7 character password becomes 12 chars, and thus not breakable (unless it's an LM hash, which is retarded anyway).

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    8. Re:So... by prockcore · · Score: 1

      Okay, every md5 hash whose original input was under 7 characters and in the alpha-numeric-space-special range.


      That would be 62^7 (a-zA-Z0-9) or 3.5 trillion combinations. To even store 3.5 trillion hashes would require 56 terabytes.. and that doesn't even include the plaintext passwords the hashes equal.

      The only reason rainbow tables seem to work is because the LM hash has so many collisions that each hash represents one million unique 7-character passwords.
    9. Re:So... by couchslug · · Score: 1

      "So basically, if I want to find out the passwords on someone else's computer, I have to bring along a high capacity DVD's-worth of data as well?"

      Most passwords can be got with the Ophcrack Live CD, the extra data is optional.

      You could also use a live CD to install DreamPackPL (disable host system antivirus while running the live CD so sfcfiles.dll isn't detected on boot) and log in without knowing or changing the password.

      www.d--b.webpark.pl/dreampackpl_en.htm

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    10. Re:So... by jandoedel · · Score: 1

      His chief weapon was surprise... and a floppy disk

    11. Re:So... by Anonymous Coward · · Score: 0

      Agreed. I make my operations folks have a 12 character or greater password (not nearly as much as a pain as it might seem), and a different, but equally strong password for the production environment (we don't use the same username or password for the corp and prod environments). The passwords never expire, and are only changed if there is good reason to believe it has been compromised. These are pretty much the only password that we ever need to use.

      Multiple weak passwords are useless.

    12. Re:So... by Poromenos1 · · Score: 1

      One of us doesn't know how Rainbow Tables work, because I have my mixalpha-numeric md5 DVDs right here. 30 GB with probability of 99.56% of cracking an md5 hash of length 7.

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    13. Re:So... by Elad+Alon · · Score: 1

      Not only dumb - unethical, too. What the fuck gives him the right to give you an A you don't deserve? It's not his to give. Corrupt SOB. A teacher a the university I attend has given five points bonus to students who translated his PowerPoint presentation for him. What next, wash his car?!

      --
      News for merdes. Shit that matters.
      Ask me about my sig.
    14. Re:So... by DavidRawling · · Score: 1

      Wait, that's two. Our two chief weapons are surprise, a floppy disk ... and an external hard disk.

  7. I dont like SALT!! by Creepy+Crawler · · Score: 0, Offtopic

    or Lobster Thermidor a Crevette with a mornay sauce served in a Provencale manner with shallots and aubergines garnished with truffle pate, brandy and with a fried egg on top and SALT!!

    --
  8. Windows is insecure by design by Anonymous Coward · · Score: 4, Insightful


    if i have physical access to the machine and have a bootable CD i have no need to crack any passwords
    i can just reset the password and carry on, i have a customer whos 9yo girl showed me how she "cracks" her brothers password by booting in safe mode and simply removing his password
    luckliy in some ways iam glad windows is insecure, i can only imagine the hell a user (and MS) would go through when you tell them that their entire photo/music collection is toast because they forgot their 21 random character hard to remember password

    dont blame the user blame the whole crappy password concept

    1. Re:Windows is insecure by design by eln · · Score: 4, Informative

      if i have physical access to the machine and have a bootable CD i have no need to crack any passwords
      i can just reset the password and carry on, You can do this with a Linux box as well, as well as practically any other system, so I'm not sure what your point is here.

      Physical access to a box pretty much means you have root access to that box. This is why physical security is such an important part of overall system security.
    2. Re:Windows is insecure by design by baggins2001 · · Score: 0, Troll

      I don't really care about this issue with linux. Because zero of my users know how to do this with linux. But MS advertises this as a feature and by god people around here want to be as secure as possible. God forbid someone should stubble on the porn they are storing on their computer. But occassionally they will encrypt something really important and just go, well if I forget it the IT guy can get it back.

      We don't have bitlocker on any of our systems, but I'm sure we will in the next 3 months. I haven't even looked at it, but I am concerned that it may be too secure for the users own good.

      --
      He who said 1,000,000 monkeys on 1,000,000 typewriters would eventually type the great novel, never saw an AOL chat room
    3. Re:Windows is insecure by design by neoform · · Score: 1

      I'd say it just highlights the need/usefulness of cryptography.

      People think having a password on their box's login screen means their information is somehow 'safe'. Heavy encryption is the only way to keep your stuff safe.

      --
      MABASPLOOM!
    4. Re:Windows is insecure by design by Anonymous Coward · · Score: 0

      The point is you can find out people's passwords very quickly either with a bootable or launched .exe . Then, you can log in using their name without them knowing - even at another terminal. Also, since people tend to use the same password for other services, it makes it easier to get into other parts of their lives.

    5. Re:Windows is insecure by design by A+non-mouse+Coward · · Score: 1

      if i have physical access to the machine ...


      You should have just stopped there. It doesn't matter what OS you're a fanboy of, since nearly ALL of them are monolithic kernels on DMA-supported hardware. All it takes is a hardware device that is configured to read portions of memory that it should otherwise not need, and forget passwords-- you're the kernel! As long as we don't separate trust down to the most fundamental building blocks, I don't want to hear another whining "[insert OS here] sucks because I can use a boot CD ..." blah blah blah.

      Oh yeah, and if we had the above figured out, it might actually be possible to have a system where the credential hashes (salted or not) are protected from random access. In fact, they could be restricted to only the authorized processes. But we have to have those building blocks first (which Windows, Mac OSX, Linux, Solaris, AIX, BSD, etc., etc. on standard DMA-supported hardware does not have).

      Read more here, here, here, and here.
      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    6. Re:Windows is insecure by design by Opportunist · · Score: 2, Insightful

      I think the usefulness is rather in the legitimate owner of the machine not knowing that you know his password. When his password is blown, he usually knows something's fishy.

      Not to mention the fact that most people use only one or two password for pretty much every application, from their computers to online services.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    7. Re:Windows is insecure by design by mlts · · Score: 1

      On Windows servers such as domain controllers, BitLocker will be a good security feature, assuming the machine has a usable TPM chip. The machine can then boot as normal (without requiring a password at boot as with other WDE utilities), but barring someone with a physical device that can read the RAM on a machine while its on, there is no easy way to just boot from a CD and access a machine's SAM to crack the passwords. BitLocker is intended to reduce the attack profile on a local machine to just the username and password on the console.

      BitLocker may not be 100% secure, but its extremely hard to make a whole disk encryption program for a server that requires no password on bootup. On servers, BitLocker is intended to be the last ditch protection, after the machine is put in a locked server room with adequate physical security. I may sound like a shill, but I do think MS did a good job making encryption to protect volumes, but still allow the machine to boot up and go into service after patches are applied.

      If the machine doesn't have a TPM chip, then one can still use a conventional program (PGP, BestCrypt, SecureDoc) for whole disk encryption, but someone trusted will have to know it on site should a server get powered off or rebooted.

    8. Re:Windows is insecure by design by afidel · · Score: 1

      Even better is the RODC or Read Only Domain Controller program. This will allow you to place a DC out in the world that contains no sensitive data other than that which you specifically enable via policy, so if you have a site that needs a DC but where you don't trust the physical security you can place a DC that only contains the password hashes for the people normally located at that site. This way your affected surface is reduced to only those account, much easier than having everyone in the domain change their passwords!

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    9. Re:Windows is insecure by design by Oktober+Sunset · · Score: 3, Funny

      either that or get grandpa to watch over your box with his 12 gauge day and night.

    10. Re:Windows is insecure by design by Anonymous Coward · · Score: 0

      if i have physical access to the machine and have a bootable CD i have no need to crack any passwords

      You are half right/wrong. Being able to load a bootable CD will give you access to the unencrypted files on an Windows partition. However, as of Windows XP, you need the user's password to decrypt files that were encrypted with EFS.

    11. Re:Windows is insecure by design by AP31R0N · · Score: 1

      That only works if there you know the/an admin password, or there is no admin pw set.

      What is the alternative to passwords? Thumb print devices are hackable. Electronic keys are fine, but they require only possession of the key. So all i need is your key, not to know something only you know. A key and pw combination would be best, but then what happens when you lose the key or the key/reader is borken? No, the pw concept is just fine.

      Just use one that is complex enough that someone can't guess. Don't write it on a yellow sticky. Don't use use words or numbers like your SSN, DoB or the like.

      Here's a good pattern:

      My Son Jeff Was Born in 1998 becomes MSJWBi1998

      In 1492, Columbus Sailed the Ocean Blue becomes i1492,CStOB

      21 random character pw??? Who would use that besides NSA? My pw's are 8 or 9 characters and easy to remember, and they evaluate as "strong".

      --
      Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
    12. Re:Windows is insecure by design by Anonymous Coward · · Score: 0

      Better still if he's simultaneously your uncle and older brother, 'cuz then you can get three shifts of work a day out of the old rednecked geezer.

  9. Couple things by BadAnalogyGuy · · Score: 5, Funny

    "Passwords should never be saved as plaintext"

    Tell that to /etc/passwd, bitch!

    Second, if you've computed all possible hash values for all possible character combinations, then it really doesn't matter what your password is, since you only have to have the input hash to the correct hash value. Since an infinite number of character strings map to a finite number of hash values, it is only a matter of building the tables before you can hack any system.

    Third, if your only defense against this type of attack is a single password, you're screwed.

    Fourth, if you are worried about this sort of attack and you still live with your parents, it's probably not really too critical that you implement heavy-duty, multiple-hardened points on your Gentoo system right now. You'll have plenty of time to implement that sort of security after you finish your current bag of Cheetos.

    1. Re:Couple things by m50d · · Score: 1
      Second, if you've computed all possible hash values for all possible character combinations, then it really doesn't matter what your password is, since you only have to have the input hash to the correct hash value. Since an infinite number of character strings map to a finite number of hash values, it is only a matter of building the tables before you can hack any system.

      If passwords are salted, then you need to build tables for all possible salts as well as all character combinations, i.e. 2^128 times as much data, or more than 10^39 bytes.

      --
      I am trolling
    2. Re:Couple things by PPH · · Score: 1

      Passwords should never be saved as plaintext"

      Tell that to /etc/passwd, bitch!

      Hmm. There are no passwords (hashes or otherwise) in my /etc/password file.
      --
      Have gnu, will travel.
    3. Re:Couple things by everphilski · · Score: 1

      before /etc/shadow, /etc/passwd held (scrambled) passwords, visible to any user on the machine.

    4. Re:Couple things by zeromorph · · Score: 1

      Right, but which distribution still saves passwords in /etc/passwd? Name one, I don't know of any.

      --
      "Hannibal's plans never work right. They just work." Amy/A-Team
    5. Re:Couple things by blhack · · Score: 1

      Passwords should never be saved as plaintext"

              Tell that to /etc/passwd, bitch!

      Hmm. There are no passwords (hashes or otherwise) in my /etc/password file. You fail at funny. The fact that /etc/passwd hasn't contained password data for YEARS is funny because every newbie linux user who downloaded "how to hack.txt" and read that using linux will turn them into a cr4ck1ng GOD finds /etc/passwd and freaks out so hard that they almost knock that two liter of generic Dr. Pepper all over moms carpet every time they find it.

      Wow that is a long sentance, am i writing EULAs or is the the 18th century?
      --
      NewslilySocial News. No lolcats allowed.
    6. Re:Couple things by everphilski · · Score: 1, Insightful

      None that I was aware of, but I don't think that was GP's point. He was quoting the "Passwords are never stored in plaintext. At least they shouldn't be, unless you're building the world's most insecure system using the world's most naïve programmers." from the article. Which was at one time true for Windows (? or were they referring solely to apps?) but was also at one time true for Linux.

    7. Re:Couple things by mav[LAG] · · Score: 1

      but was also at one time true for Linux.

      Evidence of this would be greatly appreciated. I can't remember _ever_ seeing plaintext passwords in /etc/passwd or /etc/shadow in Linux and I've been using it since 1992 or so.

      --
      --- Hot Shot City is particularly good.
    8. Re:Couple things by caluml · · Score: 1
      Tell that to /etc/passwd, bitch!

      Am I falling for something here by pointing out that there aren't any passwords in /etc/passwd - even the ones in /etc/shadow are crypted, and the file is 400.

    9. Re:Couple things by gangien · · Score: 1

      also was at one point true for /. unless i'm misremembering.

    10. Re:Couple things by Doctor+Crumb · · Score: 2, Informative

      It appears that the manual for Unix "First Edition" (1971) makes no mention of the password being encrypted in /etc/passwd, so it may have been stored in plaintext at that time.

      However, the manual for 7th edition Unix (1979) specifically states that /etc/passwd contains the encrypted passwords. So, Unix had been encrypting passwords on disk for at least 12 years before Linux existed. The GP appears to be making things up.

      Refs:
      http://www.cs.bell-labs.com/who/dmr/
      http://plan9.bell-labs.com/7thEdMan/v7vol1.pdf

    11. Re:Couple things by Anonymous Coward · · Score: 0

      have you asked yourself why ophcrack only works with windows passwords?

    12. Re:Couple things by mlts · · Score: 1

      Jolitz's 386BSD (the BSD that FreeBSD, NetBSD forked from), due to ITAR requirements, stored passwords in /etc/passwd (I think it had the option to run pwconv to move them to /etc/shadow, but don't remember) in 100% plaintext. You could recompile from source with a flag for the usual crypt(3) function, like other UNIX variants.

      Early Linux distros (SLS) always used crypt(3) for their passwords, originally stored the passwords in /etc/passwd, but around '92 or '93, they moved to storing them in /etc/shadow.

    13. Re:Couple things by wdr1 · · Score: 1

      Tell that to /etc/passwd, bitch!

      Isn't that the point of /etc/shadow?

      -Bill

      --
      SlashSig Karma: Excellent (mostly affected by moderatio
    14. Re:Couple things by Eivind · · Score: 1

      Actually, they're not encrypted. What is stored (well, was, these days they're in shadow or any of a dozen other alternatives) was a null-string encrypted with a hash of the password as a *key*. Well, and some details about a salt.

      The difference matters. When things are *encrypted* they can then be *decrypted*, if you have the right key. In this case that's not so though, all one could do was brute-force guess. Which was bad enough as many people had and have lousy passwords.

  10. 15GB isn't large enough by Anonymous Coward · · Score: 0

    15GB isn't large enough to handle the possible combinations...

    Aside from the fact that you need access to those Hashes in the first place...

  11. Test ophcrack live. by realdodgeman · · Score: 3, Informative

    Ophcrack live (CD) does not crack all windows passwords, only about 99%. Still it uses only 20 minutes and can crack passwords up to 14 characters, while running from a bootable CD. And it is horrifying how few windows sysadmins who know about this...

    1. Re:Test ophcrack live. by gad_zuki! · · Score: 3, Insightful

      First off, it certainly does not crack 99% of passwords. A reasonable password policy means it wont crack anything. Its a 700 meg CD. Its very limited. I've seen it fail on some pretty basic stuff. Esentially toss in a !@#$%^&*()_-{};',.? and its screwed.

      >And it is horrifying how few windows sysadmins who know about this...

      Well, they should be asking "Why are my PCs set up to let the end user boot a CD?" Or "Why do malicious users have physical access to our machines." With physical access youre pretty much sunk. Someone could moutn ntfs, write to the registry where its stores your admin password, and set it to null. I dont care what OS you use, physical access usually means trouble. Heck, if my portable tools cant crack it, I'll just take the hard drive home and work on it at my leisure.

    2. Re:Test ophcrack live. by realdodgeman · · Score: 4, Insightful

      It does crack 99% of used passwords, not 99% of theoretical passwords.

    3. Re:Test ophcrack live. by tkw954 · · Score: 3, Funny

      Ophcrack live (CD) does not crack all windows passwords, only about 99%

      Can you please post a list of the remaining 1% and their hashes?

    4. Re:Test ophcrack live. by Tim+C · · Score: 1

      If you're going to be pedantic, it cracks 99% of passwords used on the systems on which it has been used and data is available.

    5. Re:Test ophcrack live. by Anonymous Coward · · Score: 0

      Well, they should be asking "Why are my PCs set up to let the end user boot a CD?" Or "Why do malicious users have physical access to our machines." With physical access youre pretty much sunk. Someone could moutn ntfs, write to the registry where its stores your admin password, and set it to null. I dont care what OS you use, physical access usually means trouble. Heck, if my portable tools cant crack it, I'll just take the hard drive home and work on it at my leisure.

      welcome to the real world. Malicious users can easily access your companies PC's. Simply get in the building. Most places hire really low quality security personell, dress up as a copier tech and most done even notice you, So many copier techs have Laptops today I can jack in at your copier/printer and start cracking Window Domain passwords and sniffing traffic without you even having a clue.

      Do I need to get in and have more fun? maintaince crew or cleaning crew, start by installing hardware keyloggers. A decent Malicious user will either build them for about $6.00 each or if it's a high paying job will gladly spend $60.00 each on the usb ones with 2=4 meg of storage. install, wait a week, go and retrieve them. I now own your whole network. Be sure to install one on key users that look like they might be trouble for IT and you get IT and admin passwords. (Hint, receptionist and sales will be your target to get IT passwords easily)

      Problem is Most MS admins are hired based on certifications and not experience. Most of the MCSE's I know do not even look at important info like this and go "something like that is possible?" These are not highly trained professionals, they are basic understanding individuals because companies cant afford to pay for highly trained professionals.

      I wrote a keylogger for the company just today to gather evidence on an employee. It took me 35 minutes in C and even hides it's self very well and the current virusscanners and anti malware does not see it. The other It admins here at the company are like "OMG! you did that that fast! HOW!"

      Most admins barely know how the computers operate.

    6. Re:Test ophcrack live. by thePsychologist · · Score: 2, Funny

      When I took grade ten computer class for fun I made my password 115 characters (some sentence and the digits of pi), but once I forgot it the first time and had to retype it. The teacher became frustrated so he made me make it shorter.

      --
      "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
    7. Re:Test ophcrack live. by smellsofbikes · · Score: 1

      Clearly, someone should get busy and make a list of the other 1% of windows passwords it can't crack and start selling them.

      (Seriously, I do wonder what the general characteristics are of passwords it can't handle: longer? fewer alpha?)

      --
      Nostalgia's not what it used to be.
    8. Re:Test ophcrack live. by Opportunist · · Score: 1

      Oh, I can see the scene.

      Teacher: "5 minutes 'til the test ends."
      You: "What? I'm still logging in!"

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    9. Re:Test ophcrack live. by RAMMS+EIN · · Score: 1

      ``And it is horrifying how few windows sysadmins who know about this...''

      I think it's a safe bet that most admins adminning Windows machines don't know as much as they should.

      --
      Please correct me if I got my facts wrong.
    10. Re:Test ophcrack live. by Johnny+Mnemonic · · Score: 1


      "Why do malicious users have physical access to our machines."

      I guess you don't have any users that use work provided laptops? They never get stolen?

      With physical access youre pretty much sunk. Someone could moutn ntfs, write to the registry where its stores your admin password, and set it to null. I dont care what OS you use, physical access usually means trouble.

      This won't work on Mac OS X's FileVault protected home directories. Yes, with physical access you can change the user's password--or remove the drive--but without the original password you still can not mount the directory. I can only believe that this is true with Window's encryption too. It had better be, or it's just as worthless as you say.

      --

      --
      $tar -xvf .sig.tar
    11. Re:Test ophcrack live. by StikyPad · · Score: 1

      The problem is that most password policies require certain things, like X uppercase, X lowercase, X numeric, and X special characters. That seems more secure, but it's an inherent weakness. In practical terms, however, it IS more secure than some user choosing "password" or "qwerty".

    12. Re:Test ophcrack live. by Oktober+Sunset · · Score: 1

      well 100% of the people I've asked for a blowjob have given me one, so, does that make me a sex god?

    13. Re:Test ophcrack live. by krbvroc1 · · Score: 3, Funny

      No, it just makes you very flexible, perhaps double jointed.

  12. special chars by Anonymous Coward · · Score: 2, Insightful

    And that's exactly the reason why I prefer using passwords like: k|$$mY/\rs3

    1. Re:special chars by allthingscode · · Score: 1

      The fun part about this is, I know of some password systems that prevent you from using special characters. No idea why.

    2. Re:special chars by chrisjwray · · Score: 1

      My bank and both credit cards do.
      Amex (Canada) is particularly bad. It also restricts you to between 6 and 8 alphanumeric characters but doesnt give you an error when you create it longer, it just chops the end off. This caused me a lot of confusion on the first login.

    3. Re:special chars by Anonymous Coward · · Score: 0

      look. Better read the story before commenting next time.

    4. Re:special chars by IdolizingStewie · · Score: 1

      The explanation I've heard is usually poorly written password programs that use special characters to escape stuff and really weird characters may not be in the character set it's using. I don't remember where it was - an online store I think - but a while back I got an email telling me to change my password explaining helpfully that they were improving the security of their password system by no longer allowing special characters.

  13. First three entries in the table by HangingChad · · Score: 5, Funny

    (blank)

    password

    password1 That formula will crack 90% of Windows passwords out there. The remaining 10% are what the other 14.999999 GB in the table are for.

    --
    That's our life, the big wheel of shit. - The Fat Man, Blue Tango Salvage
    1. Re:First three entries in the table by Rob+T+Firefly · · Score: 4, Funny

      Amazing! That's the same password I have on my luggage!

    2. Re:First three entries in the table by InvisblePinkUnicorn · · Score: 1

      "Amazing! That's the same password I have on my luggage!"

      Me too! My password is *blank* since I use a key and lock on my luggage.

    3. Re:First three entries in the table by TheThiefMaster · · Score: 1

      Don't forget *SameAsUsername*.

  14. Things to note by nsanders · · Score: 2, Interesting

    The title is a bit of a stretch. Some simple techniques can help protect your self from these attacks. Using special characters will greatly increase the strength of your password, since the rainbow set for ALL characters is 64GB in size. Also, a LONG password, even of simple word can increase the complexity due to its length. Something as simple as my!dear!aunt!sally would be far stronger than 1pass!

    Some additional info on this topic can be seen here: http://druid.caughq.org/papers/Mnemonic-Password-Formulas.pdf

    1. Re:Things to note by prockcore · · Score: 1

      since the rainbow set for ALL characters is 64GB in size


      How is that possible? I thought LM did 7 characters with A-Z0-9. Even that gimped password has 36^7 or 78 billion combinations. That would require 1.2 terabytes to store (hash length is 16 bytes).
    2. Re:Things to note by nsanders · · Score: 1

      Sorry, not ALL, as in all possible characters. I meant alpha, numeric, and special. If you read the article it shows the character set of "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_+=~`[]{}|\:;"',.?/" is 64GB in size.

  15. Windows security.... by Mc1brew · · Score: 5, Funny

    Windows has a security feature it uses when a user attempts to create a 15Gb table called "crashing". This makes it extremely difficult to break in using the tool defined.....

  16. WHO THE PHUCK TAG THIS ARTICLE AS ... by soccer_Dude88888 · · Score: 0, Offtopic

    "Saltmakeseverythingbetter"...

    WHEN SOMEONE HAD TO SPEND ONE NIGHT IN JAIL because he put too much salt on a burger?

    http://www.msnbc.msn.com/id/20677230/?GT1=10357

  17. Translation Manual not included by drrck · · Score: 1

    I don't speak broken English. Can someone translate TFS for me?

    1. Re:Translation Manual not included by Cracked+Pottery · · Score: 1

      I think it means something like Too bad fool, shucks.

  18. Careful? by miguel · · Score: 1, Insightful

    "but be careful: the generated tables that Ophcrack uses are really big, and you should need up to 15 Gbytes to store these tables."


    Since when 15 gigs were considered "really big"?

    Aren't people at conferences handing out USB sticks as schwag with 493424 gigs these days in exchange for your business card?

    1. Re:Careful? by BlackSnake112 · · Score: 1

      "Aren't people at conferences handing out USB sticks as schwag with 493424 gigs these days in exchange for your business card?"

      Please let me know what conferences are handing out USB sticks that are 493,424 Gigs in size! I can only find 16GB USB sticks available.

    2. Re:Careful? by NeoTerra · · Score: 1

      15gb is still larger than a Vista install, but not by much. Therefore it is "big".

    3. Re:Careful? by Opportunist · · Score: 1

      Since when 15 gigs were considered "really big"?

      I guess since some fool said something about 640k being enough.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    4. Re:Careful? by RAMMS+EIN · · Score: 1

      ``Since when 15 gigs were considered "really big"?''

      Since a long time ago. In fact, there were times when most people couldn't imagine ever needing so much storage.

      --
      Please correct me if I got my facts wrong.
  19. Editors at it again... by lixee · · Score: 0, Troll

    An insightful article at Jeff Atwood's Coding Horror reveals the power inside Ophcrack, an Open Source program that is capable of discover virtually any password in Windows operating systems.
    Please CmdrTaco, do your job.
    --
    Res publica non dominetur
    1. Re:Editors at it again... by bhima · · Score: 1

      Slashdot has no editors.

      Only copyists.

      --
      Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
    2. Re:Editors at it again... by HouseArrest420 · · Score: 1

      Slashdot has no editors. Tell that to all the would be english teachers that browse thru the forums, including the one your informing.
      --
      This is Slashdot! Give me the latest gadget, bug, or OS project! This ain't english class so don't confuse the two!
  20. Lousy password - no dashes or underscores by Anonymous Coward · · Score: 0

    Put a few non-numbers and non-letters in the password. That short 160 second breaking time will balloon up very quickly.

  21. This is why two factor authentication is necessary by colinmcnamara · · Score: 3, Informative

    This is a prime example of the need for a multi layered security model for authentication and authorization of your systems. There are many vendors that supply two factor authentication methods (RSA being the most well known) that provide for one time passwords. Techniques like this effectively mitigate the risk of a user account compromised by use of a hash table like this. BTW, this is nothing new. Rainbow tables have been out for ages. --Colin

    --
    Colin McNamara - CCIE #18233 "The difficult we do immediately, the impossible just takes a little longer"
  22. Re:secure password? by Anonymous Coward · · Score: 0

    The key phrase in that sentence is "Most people" as in everyday users, and not security professionals and clued-in sysadmins. You know, the non-technical people who may have relied on Microsoft's password checker to tell them that their shit password is "strong" even though it could be cracked in 160 seconds.

  23. Re:secure password? by woodhouse · · Score: 2, Insightful

    >If I remember correctly...

    Is this another way of saying "I'm about to spew forth a load of FUD".

    I guess if it's anti-microsoft FUD, it'll get modded up, right.

  24. Windows passwords Secure? by nick13245 · · Score: 5, Informative

    First of all, ophcrack only comes with alpha-numeric tables for LM hashes. If you have special characters in your password, you'll have to generate your own table, which takes a very long time, and a lot of hard drive space. Ophcrack does not have the ability to generate Rainbow tables as the article suggest... Second of all, Ophcrack only works well against LM hashes, because with LM hashes, passwords are split into 7 byte halves, then hashed. So you only have to have tables that go up to 7 characters with LM hashes. If you disable LM hashes on your Windows box, and use NTLM hashes, the entire password is hashed, and is not split up. So if you pick a good password, with special characters, that's fairly long, it will be pretty much impossible to crack if your using NTLM only. Even with rainbow tables... The problem is Windows XP (by default) stores passwords as LM and NTLM hashes. So if an attacker can get the LM hashes, they can crack your password easily. You can hack the registry and keep Windows from storing LM hashes. See http://support.microsoft.com/kb/299656

    1. Re:Windows passwords Secure? by Anonymous Coward · · Score: 0

      You don't seem to realize that generating a rainbow table takes longer than the brute force search of one password. Almost no one should ever generate tables. It's worth it only when you want to crack a mass of passwords (NSA), or if you want to publish a CD for others to use (Ophcrack).

    2. Re:Windows passwords Secure? by RAMMS+EIN · · Score: 1

      Holy cow! They are _still_ using LM hashes? How long has it been now that they have been shown to be crackable in seconds?

      --
      Please correct me if I got my facts wrong.
    3. Re:Windows passwords Secure? by rsmith-mac · · Score: 1

      To be fair, Microsoft has stopped using LM hashes by default starting with Windows Vista. So unless I'm reading TFA wrong, this attack only works on XP/2000/2003.

  25. Re:secure password? by Penguinisto · · Score: 2, Insightful
    Re: NT:

    That may have easily been true for NT 4.0, but (IIRC) Win2k and later stretches 'em out a lot more than 8 chars, esp. with AD password policies turned on. (No, not defending 'doze per se, but it simply doesn't parse IMHO).

    But then, NT 4.0 once let you have perfect access to its SAM registry keys by simply letting at.exe open regedt32 for you.

    (PS: If it helps, I do agree w/ you perfectly that that's a pretty crappy password.)

    /P

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
  26. Re:secure password? by pegr · · Score: 2, Informative

    If I remember correctly NT drop anything after the first 8 characters so the password is actually "Fgpyyih8"
     
    You do not remember correctly. LM hashes are created by hashing the first seven characters and the second seven characters, and truncating the hashes together. Yes, instead of having to brute force one fourteen character password, you have to brute two seven character passwords, a much easier proposition.

    The hashes are created by using DES56 on the password chunks with a known key. In practice, I've used a DVD with rainbow tables and retrieved 99%+ successfully. For those I need 100%, I have a USB drive with a complete keyspace set of rainbow tables. Works everytime...

  27. Re:secure password? by a_nonamiss · · Score: 2, Funny

    I once took the time (and CPU horsepower) to generate 64GB worth of rainbow tables. I must've done it wrong, though, because it didn't work on anything. I'll happily admit that I was just puttering around, and probably forgot to set some switch somewhere. Fortunately, I had a server that I didn't need for a couple weeks. :)

    --
    -Arthur
    Cave ne ante ullas catapultas ambules
  28. In other words... by Spy+der+Mann · · Score: 1

    you're telling me that my Hotmail or Yahoo! passwords are much more difficult to crack than the Windows one?

    1. Re:In other words... by Opportunist · · Score: 1

      And less interesting, too. When I have your Windows password, installing a keylogger, a BHO or a network traffic collector is trivial and I'll have your Hotmail password too, sooner or later, depending on how often you check your mail.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  29. Jeff Atwood is a hack by Nick+of+NSTime · · Score: 1

    No pun intended.

  30. Special characters are BAD for password security by Anonymous Coward · · Score: 1, Insightful

    That is actually still a very bad idea from a brute force attack perspective.

    Most good brute force attacks will focus on chaining words together and permutating all the 1337speak versions of the passwords. An example is John The Ripper which is rule-based and will therefore crack based on the probability that two characters will be next to each other... and a whole stack of interesting and complicated rules. It can work around deliberate spelling errors and random characters inserted in the middle as well.

    Seeing as most IT admins pick dictionary passphrases and convert them to 1337speak, the approach I mentioned above can be VERY fast & effective.

    The other problem is that out of the character set (a-z,A-Z,0-9,punctuation) you are using far more punctuation symbols and numbers than what would be expected in a purely random password. Using this knowledge, you can dramatically decrease the brute force cracking time.

    I'm surprised people still use passwords. People need to get off their asses and setup public key cryptography for all their authentication.

    Or at the very least, turn off LanManager hashes from being stored in the SAM database on the Windows machine (and also disable all protocols which aren't NTLMv2).

  31. Re:This is why two factor authentication is necess by RingDev · · Score: 4, Interesting

    Or simply require your users to have passwords at least 15 characters long. There was an article out of MS a year or so ago about how the "password" is dead and that "pass phrases" will take over. Not a very well written article, but it did go over the weaknesses of short passwords, hashes, and rainbow files. They are essentially the same thing, only pass phrases are longer... much longer. Instead of having to remember "HYjK))w!x%" (which, if LM Hashed, can be cracked by a rainbow file in short order) you can remember "This is the passworrd for my new computerr". No one is going to carry a 5 terrabyte rainbow file around to try to crack a password that long. And brute force would take years. Given a few spelling mistakes and a dictionary attack will fail.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  32. It's not as simplistic as all that. by Medievalist · · Score: 2, Insightful

    From the linked blog: "How fast? It can crack the password "Fgpyyih804423" in 160 seconds. Most people would consider that password fairly secure." Sorry Jeff, but thats a shit password. If I remember correctly NT drop anything after the first 8 characters so the password is actually "Fgpyyih8" You have one uppercase letter in there and one number. That's terrible. Where are your characters like !@#$%^&*()-_+ or extended ascii stuff? Why are you starting with a capitalized letter? Leaving aside your incorrect remembrance of the NT LM hash algorithm, what makes you think that having funny characters, more than one uppercase, and more than one number increases your security?

    Is 53cr3TPa55W@rD a better password than Fgpyyih804423? Why?

    It's not a trick question. Can you demonstrate that real security is improved by having a secret string conform to a non-secret policy? Are you sure you haven't got any unexamined assumptions in your reasoning?

    You also should think twice about allowing commonly used metacharacters in passwords - dollar signs and asterisks carry some risks, for example, that should be probably be quantified within your computing environment.
    1. Re:It's not as simplistic as all that. by archen · · Score: 1

      It increases the space required to brute force the password. There are also statistical issues with where numbers are placed. For instance when you tell a person to use letters and numbers people almost always put the letters first and the numbers last. The vast majority will just use one number at the end. A few may actually put numbers in the beginning. If asked to use upper case letters, people automatically try to capitalize the first one. Using any non alphanumeric characters will make cracking far harder. The characters $ and @ are only more vulnerable when people use them in place of 'S' and 'A'.

      Brute forcing isn't necessarily about going from aaa to zzz and such. You can improve cracking by orders of magnitude by utilizing statistical weaknesses in passwords. So that actually does make your password more secure. Assuming that you're in the range of passwords that is the %1 that takes 99% longer to crack, many people trying to crack your password may simply not find it worth the effort.

      An interesting program to look through is John, I think it comes with tables of the most common things people try for passwords. A must read for anyone seriously looking at security I would think, but that strikes me as being way too geeky :)

    2. Re:It's not as simplistic as all that. by Quasar1999 · · Score: 1

      Simple, 53cr3TPa55W@rD is still a word. One of the simplest steps in password cracking is taking a list of english words and common passwords and then substituting symbols and numbers for the letters. Secretpassword is a bunch of commonly used words. Now Fgpyyih804423 would have to be hit by random trial and error. So the likely hood of secretpassword being cracked is way higher than random characters.

      --

      ---
      Programming is like sex... Make one mistake and support it the rest of your life.
    3. Re:It's not as simplistic as all that. by caluml · · Score: 1

      I once had a password with a # (what we call a hash) in it. On a UK keyboard, it's on the same key as the ~ key, next to the Enter. On a US keyboard, it's Shift 3 - where our £ (what we call a pound) is.
      I once locked out password, after password, after password trying to put it in. It was a UK keyboard too, and I couldn't work out why. Eventually I twigged - someone hadn't changed the default keymap from US at install time.

    4. Re:It's not as simplistic as all that. by Anonymous Coward · · Score: 0

      The characters $ and @ are only more vulnerable when people use them in place of 'S' and 'A'. Or, in the case of $, when your network has a poorly engineered web password changer. Hello variable interpolation, welcome to my stack?

      Or, in the case of @, when you have a call-out for password synch to a VMS system... etc. etc. etc. metacharacters are dangerous and must be managed.

      Password policies from textbooks are not conducive to good security practices. On the other claw, reading the John the Ripper source is a very good way to get your head in the right place. But very geeky, as you say!
    5. Re:It's not as simplistic as all that. by prockcore · · Score: 1

      Is 53cr3TPa55W@rD a better password than Fgpyyih804423? Why?


      Because the only reason Fgpyyih804423 was cracked is because of the way the LM hash breaks it up into two hashes.

      Sure it looks all difficult because it uses mixed case and numbers, but LM hash breaks it into two 7 character strings and hashes each one separately.

      Fgpyyih
      804423

      Neither of which are very good on their own.
    6. Re:It's not as simplistic as all that. by k31bang · · Score: 1

      Is 53cr3TPa55W@rD a better password than Fgpyyih804423? Why?


      Don't know. But i bet unoOne1!dosTwo2@tresThree3#quatroFour4$ takes the cake :-)
      --
      -+-=-+-=-+-=-+-=-+-=-+ *** http://www.mountainfort.com *** +-=-+-=-+-=-+-=-+-=-+-
  33. DEATH TO FASCISM by Anonymous Coward · · Score: 0

    In Soviet Russia, you eat hamburger,

    In Fascist Amerika, hamburger eats you!

  34. Not MY password! by GabeN · · Score: 1

    You twits! Nobody will ever find out my password!

    1. Re:Not MY password! by SEMW · · Score: 1

      You twits! Nobody will ever find out my password! It's "password", isn't it?
      --
      What's purple and commutes? An Abelian grape.
  35. Rainbow Tables anyone? by sat1308 · · Score: 1

    So why is this news? Haven't Rainbow Tables been around for several years now? I remember I was looking into them when I wanted to crack my high school network admin's password (turns out I didn't need to, it was 3 characters long).

    1. Re:Rainbow Tables anyone? by Anonymous Coward · · Score: 0

      haha my netadmin's password was "ultwiz"

      i found a folder in the business teacher's room that had every password for every staff member in the school.

      D'OH!

  36. There's no need to crack the password by hernano · · Score: 4, Interesting

    Hi, There's no need to crack the LM&NT hashes of a password, you can use the hash directly on windows using this tool: http://oss.coresecurity.com/projects/pshtoolkit.htm basically you can impersonate on your own windows machine any user if you have the hash, and then use your Windows machine to authenticate to services using that user's credentials. There's no need to know the cleartext password, unless you explicitly want to know the cleartext password to test it on other services that do not use NTLM authentication.

    1. Re:There's no need to crack the password by archen · · Score: 1

      You know, I was sort of worried about all of this stuff at first, but it's been well known that windows stores lanman hashes for a while now, and you can force NT hashes by using a long enough password. So I figured this is really all old news.

      But thankfully you've managed to instill that paranoia back in me. Thanks dude =P

    2. Re:There's no need to crack the password by inject_hotmail.com · · Score: 1

      You said:
      There's no need to crack the LM&NT hashes of a password, you can use the hash directly on windows using this tool:

      Their website says: ...You must have Administrator privileges to run these tools...

      So, if you already have admin/root on the box, chances are security is kinda lax wherever you are...why do ya need to impersonate someone else, you would only be violating a trust that was handed to you...on the other hand, rooting a box starting only with user, or even better -- guest, permission...THAT is something to talk about.

      I get that if you had local admin rights, but not domain admin rights it might be helpful, but, how often would the admin log into your box? I guess if you really want it bad enough, you can wait forever and it's worth it...but then you'll just lose your job, or get arrested or something dumb.

      Cool tool though.

  37. Re:secure password? by zlogic · · Score: 3, Informative

    LM hashes split passwords in 8-letter chunks, and for each of them:
    1) the last symbol is removed, so the chunk becomes a 7-character password
    2) the password is uppercased (yeah, that's dumb)
    and then hashes are calculated for these chunks.
    BOTH the LM and NTLM (a much more secure hash) hashes are stored in the registry.
    So to get a typical 8-character password, you only need to guess the first 7 characters in uppercase.
    After that the more secure NTLM hash is used to guess the case of each character and the eighth character which is missing from LM.
    This means that guessing a 16-character password takes at most twice the time than for a 8-char, and not something like 40^8 times as much.

    More info here: http://en.wikipedia.org/wiki/LM_hash

  38. who cares by stenn · · Score: 1

    if you are already on the local box, then install a keylogger.. why bother trying to crack a database?

    1. Re:who cares by Eevee1 · · Score: 0

      Only problem is that you'd end up getting an AOL convo. Although nothing can solve one of those things, though.

  39. Of course it worked! by Spy+der+Mann · · Score: 1

    Burger without salt = anybody can mug you for your money
    Burger WITH salt = You have a full security team recording who comes to visit you, and you have this barrier of protection with reinforced steel bars! PLUS - you have the right to make a call!

    See? With salt it's much more secure! :D

  40. Re:secure password? by hernano · · Score: 1

    and there's no need to crack the password if you want to connect to services using NTLM authentication: take a look at this tool: http://oss.coresecurity.com/projects/pshtoolkit.htm http://oss.coresecurity.com/pshtoolkit/doc/index.html

  41. Salting Your Hashes by bjackson1 · · Score: 1
    They are referring to the encryption technique of salting the hashes:

    Salts also help protect against rainbow tables as they, in effect, extend the length and potentially the complexity of the password. If the rainbow tables do not have passwords matching the length (e.g. 8 bytes password, and 2 bytes salt, is effectively a 10 byte password) and complexity (non-alphanumeric salt increases the complexity of strictly alphanumeric passwords) of the salted password, then the password will not be found. If found, one will have to remove the salt from the password before it can be used. Shamelessly quoting: http://en.wikipedia.org/wiki/Salt_(cryptography)
  42. I smell a dupe ... by Anonymous Coward · · Score: 0

    power inside l0phtcrack ...

    there, fixed that for ya. This was news in 1999, y'all. Seriously, this story is proof that CmdrTaco is posting stories to troll.

    3,735,928,559 articles on Slashdot, and "news" is a decade-old dupe.

  43. Already in Debian by paulproteus · · Score: 1

    Just a heads-up to those looking to install it easily: This program is already in Debian, thanks to the work of Adam Cécile (Le_Vert). You can see it on the packages page at http://packages.debian.org/lenny/ophcrack .

    --
    |/usr/games/fortune
  44. Re:secure password? by secPM_MS · · Score: 1

    The LM hash is a old legacy security technology, ~ 20 years old, and like the crypto of its day, single key DES and 384 bit RSA, is weak. It is off by default in modern Microsoft products, where the more secure NTLMv2 is preferred. If you don't know what your policy is, simply use 15 character or larger passwords. The larger passwords disable the LM hash functionality, forcing movement to NTLM. If you use mixed case and add in numbers and special characters, the resulting large passwords are quite resistant to rainbow tables. My passwords are typically ~ 18 characters long. Cracking them with a cracker is goign to be rather expensive.

  45. Windows is SECURE by design. by Zapped.Info · · Score: 1

    What are you talking about here? Windows 98? So tell me...You walk up to my computer console, but you don't see the computer. The keyboard is wirelessly connected to it and the monitor cable goes up into the ceiling, but somehow you manage to locate my computer, by following the monitor cable and you discover my computer is locked in a steel rack-cabinet, how do you plan on hacking it? Ok...let me make it simplier...my computer is on the desk, I don't have any devices you can boot from on the computer, because I boot from the network. I have turned off USB and other access points via the bios, which I have locked with a strong password. How is it the 9 year old is going to hack my computer? Oh...wait...even simplier....I setup a strong password in my bios that will be required at power-on...exactly how was it you were going to hack that again? A strong password doesn't have to be difficult to remember...for example: iC-UR~N~ED-ot

    --
    It's important to know that I forgot what I thought I knew when I thought I knew it all:Now I don't even know whatIknow.
    1. Re:Windows is SECURE by design. by hax0r_this · · Score: 1

      Ah, thanks, I've been looking for a good secure password to use on my bank account.

    2. Re:Windows is SECURE by design. by Gazzonyx · · Score: 3, Funny
      If it's sitting on the desk, I open the box and short the CMOS for 3 seconds with its jumper, and then boot up and enter BIOS, which no longer has a password. I turn on USB and plug in my portable 80 gig drive which has all my tools. ;)


      Also, If it's windows 98, I can blue screen the thing with a con/con from the command line and hopefully you have the thing set to reboot on BSOD.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    3. Re:Windows is SECURE by design. by xappax · · Score: 2, Interesting

      The keyboard is wirelessly connected to it [...] how do you plan on hacking it?

      Point a high-gain antenna at your window and wait for you to transmit all your precious passwords from your wireless keyboard to your ultra-secured box. Likely, your keyboard will transmit your every keystroke in "plaintext", however some wireless keyboards use encryption. It's a very weak key and can be bruted offline with minimal effort.

      Sleep tight :)

    4. Re:Windows is SECURE by design. by Zapped.Info · · Score: 1

      Excellent! Yes it truly is amazing how much data floats around out there, unsecured. Of course you assume that my concrete bunker has a Window, but it's a nifty idea that I wouldn't have considered. I've heard some hacks "gain" alot of intelligence, simply by watching unencrypted wireless video. I've even heard of hackers attaching wireless bridges to non-wireless unencrypted feeds.

      --
      It's important to know that I forgot what I thought I knew when I thought I knew it all:Now I don't even know whatIknow.
    5. Re:Windows is SECURE by design. by patches · · Score: 1

      Oh...wait...even simplier....I setup a strong password in my bios that will be required at power-on...exactly how was it you were going to hack that again?

      That one is easy. Take the hard drive out, and mount it in another PC. Didn't "hack" your system but I have all your data none-the-less.

      Patrick

      --
      The worst part of being athiest.... You don't have anyone to talk to during orgasm!
    6. Re:Windows is SECURE by design. by en4ca · · Score: 1

      Not on my Thinkpad laptop you can't. With a BIOS and harddisk password enabled, and no way to reset those passwords, you're not booting off anything.

    7. Re:Windows is SECURE by design. by Gazzonyx · · Score: 1
      I always hold this as the first rule to security:

      If someone else has physical access to your box, it is no longer yours. Apparently there is a back door BIOS password of "merlin" for IBM BIOSes (reference: How do I reset a BIOS password?) which also has a hardware reset (reference: How do I reset an IBM ThinkPad BIOS password?) by shorting the CMOS.


      Manufacturers always make it possible to circumvent passwords since users have a tendency to forget their passwords ("123456 - that's the combination to my luggage!").

      There appears to be a way to get read access to BIOS as well, with $5 in parts from Radio Shack. Hacking IBM Thinkpad Bios Password

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  46. Big deal by TheLink · · Score: 1

    Actually this doesn't mean you should panic and start using difficult passwords for windows.

    This just means you shouldn't use the same passwords for windows as you do for other stuff.

    If someone can successfully run 0phcrack on your system (or its lanman hashes) it means they're already in, and they probably already have access to the data they want (can install rootkits, keyloggers etc).

    It's laughable to think someone is going to physically bring it to your machine and _bother_ using it without your cooperation. Might as well just boot the "Offline NT Password & Registry Editor" disk.

    If the "rules" are no reboot then it's far easier to plug in a USB or firewire device and instantly take over your system.

    A cleaner could also stick in a hardware keylogger whilst being so nice as to clean the crud from your keyboard.

    Being worried about this is like being worried that someone in your house could take photos of your keys, and make duplicates.

    On that subject, if a real snoop is targeting you, with all those high res cameras available, they could in theory take pictures of your keys when they are visible e.g. just before you use them (or if you dangle them about somewhere, on your person, or even in the house but visible from outside) and then get in later with no fuss - no need for the lockpick crap or even bumpkey stuff (bumpkeys don't work with certain sort of locks).

    Burglars will just break in.

    --
  47. Total non-story by Sycraft-fu · · Score: 1

    It's just another rainbow tables program. Yay. It may be better written than some (I don't know I haven't tried it) but it isn't anything new. There are plenty of rainbow table generators out there. The only problem you discover is that they take a shitload of space to get useful results. Also, if you are dealing with LM hashes, as this program is, there's no need. A Core 2 Duo can easily break pretty much any LM password in 24 hours or less.

    However it also isn't that useful since as of Windows Vista, Windows disables the storing of LM hashes by default (you can tell XP and 2000 to disable it too if you wish). As such LM tables are ineffective, there's no LM hashes to compare against. NTLM, being a much better hash, is not nearly so easy to generate a hash table for.

  48. Re:secure password? by Anonymous Coward · · Score: 0

    >Sorry Jeff, but thats a shit password. If I remember correctly NT drop anything after the first 8 characters so the password is actually

    Actually, Unix DES-56 truncated it to 8. But we all use a Blowfish one nowadays (minus the fedora folks who still have not managed to update their glibc...).

  49. Re:This is why two factor authentication is necess by SQLGuru · · Score: 4, Funny
    http://support.microsoft.com/kb/276304

    Or just force authentication against the MIT Kerberos domain.....

    Your password must be at least 18770 characters and cannot repeat any of your previous 30689 passwords. Please type a different password. Type a password that meets these requirements in both text boxes. Layne
  50. Re:secure password? by George+Beech · · Score: 1

    But then, NT 4.0 once let you have perfect access to its SAM registry keys by simply letting at.exe open regedt32 for you.
    You can still do this with WinXP, although i find it much more useful to open cmd.exe, more options that way ... and yes it still opens under the 'Local System' SID. Oh and if they prevent you from running a command prompt ... write a batch file to do it.
  51. Re:This is why two factor authentication is necess by DamnStupidElf · · Score: 1

    No one is going to carry a 5 terrabyte rainbow file around to try to crack a password that long.

    At least not for a couple years until 5TB hard disks are available.

  52. Re:This is why two factor authentication is necess by Opportunist · · Score: 2, Insightful

    Give it a year and someone will come up with a clever plan to decypher it again. Don't ask me how, our cypherguys are elsewhere (and I refuse to talk to them, they're creepy!). Some statistical imbalance for this or that if this or that structure is in your sentence, or a flaw in the algorithm because you now have a larger sample to work with than with traditional passwords of 5-10 characters length...

    It's always been a race. Don't think one side can win forever.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  53. L0phtcrack? by necro2607 · · Score: 1

    Pretty similar name to L0phtcrack... any relation? If not, you'd think they would be wary of looking like they're trying to play off LC's success. Ahh regardless, reading up on L0pht brings back a lot of memories.. ;)

    1. Re:L0phtcrack? by deftcoder · · Score: 1

      It might be worth worrying about if L0pht was still active... they haven't done a damn thing in years!

      --
      Peace sells, but who's buying?
  54. Parent post is Racist! by Anonymous Coward · · Score: 0

    technically speaking you can still crack a black password

    That's African-American password, bigot.

    1. Re:Parent post is Racist! by fractoid · · Score: 1

      The euphemism treadmill sucks.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
  55. Exactly. by Anonymous Coward · · Score: 0

    Right! Even though it conforms to a supposedly "better" password policy, it's more crackable than something that didn't conform to the policy.

    Too-strong policy can easily reduce security - the best example being the sticky note under the keyboard, because a sysadmin set a policy so strong that Joe Sixpack can't possibly remember his password.

    If we all use the same policy it makes things much easier for the black hats. So, anybody who is following a recipe from a book (instead of thinking really hard about their unique environment and user base) is not practicing good security.

  56. current bag of Cheetos by Anomalyst · · Score: 1

    I have CheetOS 98, you insensitive clod.

    --
    There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
  57. This brings up a point... by rmdyer · · Score: 1

    Good passwords are half of the equation. If the hacker knows your user name then the hacking program only needs to solve for the entropy (cipher quality) of the password (of the hash). This is given by an equation based on the number of characters you can use in a password and the character set base. So let's say you are using a base64 character set. That gives us:

              6 bits per character = (ln 64) / (ln 2)

    This is because there are 64 possible ascii values per string character in a base64 character set. So for example, creating a random key string to be used in encryption with a base64 character set, you would require the following number of characters:

              A 128 bit encryption key: 128 / 6 >= ~22 characters

    The problem here is that Windows only allows passwords that are 15 characters (I don't immediately know the base character set windows uses without looking it up). But the entropy to solve for with Windows passwords is probably much less. It is best if your user name is something that isn't easily known. I suppose a 15 character base64 random username and a 15 character base64 random password would be about the best you could get under windows. However again, you need to release the username "publicly" sometimes, so again we are stuck.

    To prevent attacks against passwords, the authentication or encryption libraries need to be able to use failure-delay schemes. However that won't work for physical access to the machine in which case all bets are off anyway. So if Ophcrack needs physical access to the machine, why exactly are we discussing this anyway?

    1. Re:This brings up a point... by afidel · · Score: 1

      The problem here is that Windows only allows passwords that are 15 characters (I don't immediately know the base character set windows uses without looking it up).

      Wrong! Windows 2000+ based OS's and Active Directory allow for 64 character passwords using the entire Unicode character set. These tables attack the LMHash which is the legacy hash algorithm which stored the password hash into two 7 character hashes. Using a 15+ character password disables the LMHash from being stored. There is also a policy to disable them available in 2003 and XP (Network security: Do not store LAN Manager hash value on next password change)which is default for Vista and will be default for Server 2008. Btw even the depricated LMHash function used a 142-character character set, not bad for something written in the 80's!

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:This brings up a point... by rmdyer · · Score: 1

      You are right. I have of course forgot something. In the environment in which I work, we don't exclusively use only Windows. We are a heterogeneous network composed of Linux, Windows, and Solaris, as well as several web based applications and database interfaces. Over the years I have become conditioned to the fact that because of this large number of systems, our passwords (and some user names) are "limited" to 15 characters "in our environment". Of course Windows itself (2000 and beyond) can use long user names and very long passwords, we just can't. So in the case where you actually have used a 15+ character password Ophcrack is just a cpu exorciser.

      However your remark about using "unicode" character sets for the password intrigues me. I'm not sure how I would enter a "unicode" character into the password entry logon box without some extra interface. The interface provided obviously depends on your language or location code, but you still only have your basic keyboard for input. I suppose you could use the "alt + keynum" sequence, and I know some security freaks do. I'd hate to enter a 15+ character password using the "alt + keynum" sequence! ;-)

  58. um, old news by The+-e**(i*pi) · · Score: 1

    How on earth is this news, I have done this for at least a couple years, and others have one it for years before me. Cracking windows passwords is soooo easy. I even have my own web cracker for MD5 hashes that I wrote myself for my first active webpage(its code is downright ugly and in ASP and Java with MSSQL). I have the Rainbowtables (64 GB binary not decimal) to crack any (99.95% success rate) Windows LM password of any length (due to how windows hashes only sets of 42 bits (7 chars) for each password. and no you may not have the URL or you would overload my poor little server's bandwidth, but probably not my cracking power. anyways 2^42 * (42+2^8) = 1310 TB = space to store an array of all 2^42 possible 42 bit passwords and their 8 byte hashes. and this is not an unfeasible number for a distributed project that offers instant lookup of ANY password. oh also this number would be much smaller due to collisions where you only need to store one of the plaintexts not both because both passwords would work. by comparison, if you take sqrt(mass Earth) in grams of carbon, the number of atoms you have is the number of possible md5 hashes assuming no collisions.

  59. Re:secure password? by Anonymous Coward · · Score: 0

    If I remember correctly NT drop anything after the first 8 characters
    Windows Irritation #4873:
    I have to use a frigging 16 character admin password (that my company's policy says I have to change every 30 frigging days)!
  60. Re:This is why two factor authentication is necess by Reverend528 · · Score: 0, Troll

    "This is the passworrd for my new computerr"

    That would be a great password, except:

    md5sum("This is the passworrd for my new computerr") = fb7393356dd5f5e6d3909e06bf64c91e
    md5sum("hello12") = fb7393356dd5f5e6d3909e06bf64c91e

    Better luck avoiding an unintentional collision next time.

  61. Re:This is why two factor authentication is necess by izomiac · · Score: 1

    Hmm... it seems to me that the pass phrase idea wouldn't be that much more secure should cracking utilities be crafted to them. English words and phrases aren't terribly random. They compress very well after all. So it doesn't seem like you gain any entropy from a pass phrase, just length. To crack a pass phrase one could use an intelligent dictionary search that exploits the rules of grammar (subject, verb, noun) combined with word and letter frequencies, and with some spelling variation. Pass phrases aren't inherently more secure than passwords, just longer. It's possible that pass phrases could serve as mnemonic devices, thus allowing a user to remember a secure pass phrase more easily than a secure password, but I have my doubts.

    Just in case I haven't explained my point very well, here's a more mathematical example. A 16 character alphanumeric password has a total of (26*2 + 10)^16 ~= 2^95 possible combinations. The average person uses something like 2,000 words in a given day (and only knows something like 15,000). A 9 word pass phrase could then be something like 2000^9 ~= 2^98 possibilities. That's better than a 16 character password, but it assumes that the 10 words are randomly picked and unrelated (and spelled perfectly). By mixing in misspellings you might gain, say, 100 possibilities per word, but it's also likely that a few of the words will be "the", "a", or "I". The rest can be searched based on usage frequency and word order. It makes cracking more complicated, but it probably wouldn't add significant time to a bruteforce attack. Unless, of course, pass phrases are a mnemonic device that let people remember something really long and random (hence with a lot of entropy).

  62. Please God, save me from the tags by analog_line · · Score: 1

    saltmakeseverythingbetter, hrmmrainbowtablesmustbesomethingnew


    Will someone please tell me how these fucking tags, or any of the other letsshoveanentiresentenceinonetag tags contribute in any meaningful way to reading Slashdot? You used to be able to turn this shit off. Click on it, and it doesn't even link to the stupid post that was tagged. Waste of fucking time. Every time I visit slashdot, I ask myself louder and louder why, because shit like this makes it more of a problem than a solution to anything.
  63. Re:This is why two factor authentication is necess by Huwawa · · Score: 0

    Or you can carry around a 256 MB flash drive, take the hashes home, and crack them there.

  64. Answer to some question by obduk · · Score: 2, Informative

    First of all, this is specific new to windows (I am not a 100% windows hater)
    1) Unix derived stored passwords use salt, windows doesn't, which instantly makes them far more secure.
    2) Linux no longer stores the main password in /etc/password, but in a special hidden protected file

    Using "funny" symbols in your passwords do help, the chances are people will use rainbow tables over brute force to crack a password, and these generaly start with known words, then random letter, ending in random symbols and such likes, meaning it will take longer to crack your password.

    Assuming a person can't get inside your computer, it is possible to secure a unix derived machine.
    1) Password protect the BIOS, and make the only boot device the main hard drive
    2) Password GRUB, or whatever boot loader you are using, so they can only access your OS, and not as root
    3) Password protect your user account, and don't allow root login, just for good measure
    4) Use extra login security, like an external key device and biometric scanner, pretty rare, stops agains key loggers
    5) Use an encrypted file system and swap space, if you really don't want people to get in (even if they steal your hard drive)
    6) Put an electro magnetic scrambler in the case, so when it is opened without the key it wipes the entire hard drive (assuming you keep backups)

    1. Re:Answer to some question by realdodgeman · · Score: 1

      Or you could hire an armed guard standing beside your computer/server at all times. Or just don't.
       
      In most cases, point 1, 2, 3 and possibly 5 is more than enough security. In any case you should have a secure lock on your server room if you have important secret stuff stored there. Physical security has a lot less bugs and workarounds...

    2. Re:Answer to some question by Anonymous Coward · · Score: 0

      > 6) Put an electro magnetic scrambler in the case, so when it is opened without the key it wipes the entire hard drive (assuming you keep backups)

      A dynamite charge would be far more effective.

  65. Re:This is why two factor authentication is necess by JianTian13 · · Score: 2, Informative

    Eh?

    > ttyp5 zhengyi@oracle.local.lan:~
    > 0 14:11:43 504 $ echo "This is the passworrd for my new computerr" | md5
    fb7393356dd5f5e6d3909e06bf64c91e

    > ttyp5 zhengyi@oracle.local.lan:~
    > 0 14:11:59 505 $ echo "hello12" | md5
    39e8713c209ccefc6ddfafa6aedde5d1

    (FreeBSD 6.2 box here; md5 came w/ the system...)

  66. Re:This is why two factor authentication is necess by RingDev · · Score: 1

    I'm not sure I entirely agree with you. I would concur that if the pass phrase were written in sentence for with proper spelling, then yes, it would be easier to brute force then a random string of characters of the same length. Such an engine would have to be significantly more complex though, and there is no way to identify the number of words. So if we were talking about a 9 random word pass phrase, with an average of 100 possible mis-spellings per word, you are looking at 200,000^9 possibilities (~5e10^47) as opposed to a your rough estimate of 2000^9 (~3e10^29).

    Heck, lets figure you can stick some grammar rules in there to bring the average likelihood of each word down to 1 in 500. Even then you are looking at 50,000^9 (2e10^42).

    If you are using MD5 for encryption (32 characters, 1char = 2Bytes, 1 Byte = 8bits, 32 Char = 512bits) that means 64,000,000,000,000,000,000,000,000,000,000TB of space. Although I'd venture a guess you'd start running into key collisions long before you made it there. Even then, to have every valid seed for every possible key would be like 512! bits. And 512! is a huge freaking number.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  67. Use foreign language by Neanderthal+Ninny · · Score: 1

    Use foreign language characters to give them a headache. We in US have a 26 character alphabet with rare use of accents and other modifiers so it is easier for them to to crack at these English based passwords. I use Japanese on my home system and they use a larger multibyte per character so that they need to know I'm using another language for the password first. Try using most western European languages will throw them off like using esset from German alphabet or accent marks on the letters.

    1. Re:Use foreign language by neurovish · · Score: 1

      I did that for some of my online accounts....I kinda stopped doing that once I had to log in somewhere from a computer I didn't own and couldn't get into the configuration to setup cyrillic characters.

  68. 15 gigs... by band-aid-brand · · Score: 1

    Unless something has changed dramatically since the last time I researched this topic I'd say that 15 gigs is being extremely generous. I'd say closer to 60 gigs on average.

  69. Re:This is why two factor authentication is necess by fltsimbuff · · Score: 1

    The problem here is that longer passwords will not help at all.

    A complete rainbow table contains an example of EVERY possible hash for the given hash length. Therefore if you are using MD5 hashes that are 32 hex chars long, the size of your hashtable is going to be whatever is required to store every possible hash.

    Then all that is needed is to look up *A* string that results in said hash. This may not give you their password at all, but rather *A* password that will hash to the same result, therefore allowing you entry anyway.

    Now, usually the collisions of a text string end up being something unprintable or something totally off the wall, so the actual password is typically found first when brute forcing. But this is not brute forcing, this is a rainbow table!

  70. Ophcrack? by Richy_T · · Score: 1

    I thought that was a union for the people that made trousers for plumbers and construction workers...

    Rich

  71. Re:Special characters are BAD for password securit by eli+pabst · · Score: 1

    I'm surprised people still use passwords. People need to get off their asses and setup public key cryptography for all their authentication.

    If someone has enough access to steal the LM hashes, couldn't they just steal your private key as well? How is that an improvement? At least with a hashed password file, they'd need to take the additional step of cracking the hashes.
  72. You're going to jail for using salt on a burger. by Pap22 · · Score: 1
  73. Re:This is why two factor authentication is necess by prockcore · · Score: 1

    If you are using MD5 for encryption (32 characters, 1char = 2Bytes, 1 Byte = 8bits, 32 Char = 512bits)


    You messed that up. md5 is 128 bit. 1 char = half a byte or one nibble. 32 char = 16 bytes = 128 bits. Still a huge search space though.
  74. Safer because of how brute force works! by Anonymous Coward · · Score: 0

    > Is 53cr3TPa55W@rD a better password than Fgpyyih804423? Why?

    First, there's an issue unique to LTMN passwords where they chop the password in two and hash each part separately. But I'm going to focus on the "four food groups" for a good password and why you use them.

    You see, most password crackers have a few modes:
    * Crack via a word list
    * Crack via word list + rules
    * Brute force all passwords with some character set of up to N characters

    You want to make sure that your password is hard to get, so you make sure it's not something that'd be in a word list, even if you apply simple rules like "l33t sp34k" and that it's not a word in any language.

    What kind of simple rules? Well, I already pointed out l33t, but you also have to remember that those rules are applied to word lists (e.g. /usr/bin/dict + lots of foreign language dictionaries, names, etc.). I've seen some that even contained things like "keyboard runs" (e.g. shift+12345 -> !@#$% or qwertyasdf). So you want to avoid those.

    Then you get down to character sets. Most passwords are all lowercase letters. So that's the most obvious thing to brute force, followed by lowercase + numbers. There are four main "food groups" as far as password crackers are concerned: lowercase, uppercase, numbers and symbols. Also, password crackers try shorter passwords before longer ones, so longer is better.

    Therefore, to ensure that your password takes as long as possible to crack, you want it to be composed of all four character sets and to be as long as possible. The reason for this is because they'll try to crack the easy passwords before the hard ones, and you want one that will force it to waste a lot of time guessing so that they'll give up.

    Don't get me wrong: there are many attacks where your password will be irrelevant because they'll hack in an easier way. Or perhaps they'll crack someone else's password instead of yours. But if you want your password to last, you want to make up your own unique rules to compose something with a good mix of uppercase, lowercase, numbers & symbols that doesn't look much like a word.

    My standard example is to suppose that I took a phrase like "Land ho, matey!" and reduce it to a nice 8 character password like L&h0m8y! (L& -> land | h0 -> ho | m8y! -> matey!). Now don't use that. Come up with your own rules. And no, I'm not contradicting myself--that's just not likely to fall in a word list, even with rules applied to it. They usually don't condense passwords out of that many words, especially not with that many substitutions.

    But don't take my word for it; pick your own rules and crack your own passwords.

    A long time ago, I had read tons of worthless and contradictory advice and I didn't know who to believe. Then I learned to use a password cracker and I set it loose on my own passwords. That's how I know that my advice is good: because I did empirical tests on my own security.

    I encourage everyone with an interest in the subject to attempt to reproduce my results. There are too many people who simply repeat advice they thought sounded good and FAR too few who can advise you based on their own experience.

  75. Re:This is why two factor authentication is necess by RingDev · · Score: 1

    And the worst part is I wrote 128b the first time, then double guessed myself and wrote out the math (while screwing up the char to byte size).

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  76. Re:This is why two factor authentication is necess by RingDev · · Score: 2, Informative

    A rainbow table is a pre-emptive brute force. You can do the brut force work at your leasure, then when you need to crack a LM Hash encrypted password, you just need to find a matching key in your table and enter the seed that generated that key. But the specific problem in the Windows case is the way LM Hash works. As soon as your password hits 15 characters though, the encryption runs through Kerberos. And I have not heard of any existing rainbow table solution to cracking a Kerberos password. Then again, I've been out of the security field for a year or two now, so I may have missed that memo.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  77. SysKey by Anonymous Coward · · Score: 0
  78. In that case, by Anonymous Coward · · Score: 0

    maybe they can suggest one for me.

  79. Locks are for the Honest... by Grog6 · · Score: 1

    The rest of us don't need keys...

    Or passwords. (lol)

    --
    Truth isn't Truth - Guliani
  80. Re:This is why two factor authentication is necess by izomiac · · Score: 1

    I didn't calculate in variations of words and misspellings because the grammatical and frequency components would still dwarf it. (And even misspellings are somewhat predictable.) With pass phrases the number of possible "phrases" is huge, but the number of likely phrases is much more manageable. English text (and probably text in other languages) compresses very well, something like 85% - 95%. A brute force algorithm could simply decompress random text of the appropriate length. Something like: random string --> decompression --> longer string of characters with English-like characteristics. Here's an example:

    So if a 9 word pass phrase has an average word length of 5, plus one for punctuation/spaces, then the pass phrase would be approximately 54 characters long. If that's compressed to 5% - 15% of it's original size then the compressed text would only be 2.7 - 8.0 characters long. So you only have to search a key space of between 2^8 and 2^24. Therefore, in this case, the pass phrase would be far easier to brute force, unless it was extremely random (high entropy --> lousy compression but better encryption). The problem, IMHO, is that people aren't good at being random, and have a lot of difficulty remembering truly random things. It doesn't matter if you make people type 16 characters or 54 characters, if it's not random then it will be easy to brute force.

  81. There are four ways to hijack windows... by Anonymous Coward · · Score: 0

    from a prompt, using a floppy, that are present in every version of windows since 3.1 that I own; I don't have vista.

    If you can get a login prompt on a remote box, they work there too.

    And, there are hidden logins that always work, and have default passwords; if they're different, that means you ARE being investigated...

    The nice thing about open code is that no one can slide in stuff like this...

  82. If you have the hash, why do you need the password by JRHelgeson · · Score: 1

    Actually, all you need is the password hashes. You don't even need to crack the password.

    Example:
    When you go to login to your server, you type your username and password into your machine and click 'submit'. Your machine sends a request to the server to login (no credentials are sent). The server responds with a nonce, (nonsense data/random garbage). Your PC takes the password you typed in and hashes it, then it uses the hash to encrypt the nonce it received from the server. It combines the encrypted nonce with the username and transmits it back to the server. The server does a lookup on the username, takes its private copy of your hashed password (stored on the server) and uses that hash to decrypt the nonce it sent you, then compares the decrypted nonce to the nonce it sent out to you. If it matches, you must have typed in the correct password and you are issued an access ticket; your actual password is never sent across the network.

    The weak spot is the hash. If I have gathered the hashes from the server, I do not need to go through the trouble of cracking them. I have written a custom login tool that all you do is type in the username. The program looks up the hashed password associated with the username and uses the hashed value to encrypt the nonce.

    At this point, it doesn't matter if your password is 1 character or 14 random characters, if I have your hashes, you're toast. Cracking the passwords is simply an academic exercise at that point. :)

    Regards,
    Joel Helgeson

    --
    Good security is based upon reality and common sense. Common sense is a function of having common knowledge.
  83. meh by insomniac8400 · · Score: 1

    Just repeat your normal password 3-4 times to make it long enough that ophcrack can't break it.

  84. Salt by ET_Fleshy · · Score: 1

    Can anybody tell me why Vista STILL doesn't salt their passwords?

    /screw backwards-compatibility -- can you just stop sucking for once?

  85. Re:This is why two factor authentication is necess by RingDev · · Score: 1

    There's a problem with your theory though. Password encryption is one way. It is lossey by design, and you will not be able to determine the length. Wether you type in 4 characters, or 40,000 characters, the encrypted value will only be 128b long (or how ever long your encryption system is geared around). We're not working with a phrase that ever needs to be decoded like you would with a communication.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  86. Old News by phcrack · · Score: 1

    This tool's been around for well over a year. I remember getting pissed off that it had taken over as the number one result on Google. All that work for an original name, and someone comes along and uses it for this.

  87. Re:This is why two factor authentication is necess by izomiac · · Score: 1

    You don't need to know the length though. Just like traditional brute forcing, start small and work your way up. Start with decompressing an 8 bit sample (or whatever), then move up to whatever is practical. Decompressing x random bytes won't always result in an output of y bytes, but as x increases y should increase as well (in general, specific cases are unpredictable). I defined the length so I could estimate the keyspace that would need to be searched before a match would probably be found. BTW, (just a semantics note) encryption does let you know the length of the clear text within one block size (128 bits for example). Hashing always results in the same size output.

  88. How about Word or RAR archives? by AmiMoJo · · Score: 1

    I see there is a commercial version that supports Office documents, but how about a free version? Also, could this be used with AES encrypted RAR files perhaps?

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  89. Self-correction by Kagami001 · · Score: 1

    Whoops, my "home user" perspective is showing.
    BitLocker is also available in Vista Enterprise(only sold through volume licensing), not just Ultimate.

  90. Re:This is why two factor authentication is necess by RingDev · · Score: 1

    I'm not sure I follow ya. If I grab an md5sum of a 17GB DVD rip, it will be 32bytes long. If I grab an md5sum of "Hi", it will be 32bytes long. Looking at an md5 hash, there is no way to determine the length of the seed (so far as I know). The LM hash does present this issue to an extent though as it is two 7 character blocks hashed. In the case of LM, yes you can determine if the password is 0-7 or 8-14 characters in length. But, as soon as you go to 15 character, Windows will not use LM to encrypt your password. So you will not be able to get the length of the passphrase, even to a block length, once it is longer than 14 characters.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  91. Re:This is why two factor authentication is necess by izomiac · · Score: 1

    Hashing works like you mention. It takes any length input and generates a fixed sized output. There are two major types of encryption, block and stream. Stream encryption always generates output the same length as the input. Block encryption requires that the last block processed be padded so that it has a block to work with. In either case the original length can be determined (to within a block size, so 128 bits for example) by the length of the cipher text. Hashing is one way, used for file and password verification. Encryption is reversible, so it can't discard data to generate a fixed length output. So, as I mentioned before, it's a semantics issue since encryption != hashing, though they are similar.

    As for brute forcing, adding an additional character increases the keyspace geometrically. So it doesn't take much longer to bruteforce all 1 - 9 character passwords than just 9 character passwords. The method I describe for bruteforcing pass phrases is essentially traditional bruteforcing with one extra step. So it isn't necessary to know the length of the original pass phrase.

  92. Slashdot loses again by zero1101 · · Score: 1

    I love how FUD articles get posted on the front page, but they would never post something with actual content like this:
    Enough With The Rainbow Tables: What You Need To Know About Secure Password Schemes

  93. Re:This is why two factor authentication is necess by RingDev · · Score: 1

    Why on earth would we be going over a reversible encryption in a conversation about passwords and pass phrases? I am familiar with the difference. I was avoiding that part of the conversation because I assumed that anyone looking at encrypting passwords/phrases would know that you do not want there to be any possibility of decrypting the value. Hashing is a subset of Encryption. Saying Hashing != Encryption is like saying Car != Vehicle.

    You keep jumping back and forth here. If you are going to brute force, then no, going 1-9 is not that much bigger than just 9, but if you're going brute force, then your English logic is not going to help you. And if you are trying to use the logic, you are going to be hampered by not knowing the length of the string. The other problem with that statement is that we aren't talking about 1-9 character passwords. We're talking about 15-100+ character passwords. 256^9 is a huge freaking number (close to 500 quadrillion?), but 256^100... you're talking about 6.6e240. Even if you figure your logic can cut the character count down to say 30:1 (mostly letter, slight possibility of upper case, etc...) you're still looking at 5.1e147 possibilities. Heck, lets toss in another 50% reduction for your English logic, even with 15:1 for each character you're looking at over 4e117 possibilities.

    The point remains, if you are using Windows, and you want the most secure* password you can get regardless of your PC's or network's configuration, make sure your password is at least 15 characters long. If you do that, these rainbow files will not crack your password. And any attempt to brute force your password, including those attempting to apply pass phrase logic, will take such an inconceivably long time** that they are not a primary security concern***.

    *most secure does not imply that the password is actually secure, just that it affords the most security as far as default
    password protection in Windows is concerned.

    **obviously the caveat here is that if someone has your security data off site and has unlimited time and sufficient processing power, it is possible to crack. But with solid network security and expiring passwords, the likelihood of your password being cracked before you change it again is slim.

    ***Once again, not saying that the password is uncrackable, just that at that point there are other weaker links in the chain.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  94. Brute force works the way I tell it to. by Anonymous Coward · · Score: 0

    I've found writing password crackers also provides insights. They are useful for auditing your enterprise, for converting hashes without forcing users to do mass password reassignments, and for recovering lost passwords from systems you don't want to shut off for whatever reason.

    For example, when you write a cracker you don't follow the same algorithm everyone else does. That would be pointless, since you could just use John or pandora or whatever. I haven't written one for a few years, but I'll tell you what I learned the last time around.

    Your post presupposes that the programmer who wrote the crack makes the same distinctions you do about separating characters into groups. I certainly don't code that way. I assume all the printable ascii characters can occur in a password because it makes the code easier to write. Using more or less of them has no effect on runtime, it just makes it take longer to generate the rainbow tables, which is essentially a one-time job and I don't care if it takes six months (it took about a week for the last crack I worked on, which was a pretty simple XOR based thing a widely used email client uses to save POP passwords). The order in which passwords are tested, however, is indeed based on some simple rules (some gathered from others, some invented by myself on the spur of the moment) and the individual tests run very very fast.

    If you *allow* the user to use more characters (including upper/lower case, numbers, and specials) you've increased the space that may need to be searched. If you have smart users you have just made the job harder. But then, if you restrict the password space by requiring certain combinations of certain numbers of characters you just made the crack much easier. If I were writing a cracker today, I'd absolutely assume that I didn't need to test for anything listed in cracklib, and I'd test the strings that fit your criteria FIRST, not last. I'd specifically look in the space of all possible passwords for things that embedded leet-speak substrings I could find in a dictionary of short (eight char or less) words, too.

    Incidentally, unless I've audited the code (which I don't typically have time to do in such situations) I always assume that programs like Lophtcrack and John the Ripper are secretly emailing (or otherwise passing on) the password and host information to their original authors or distributors, or installing backdoors, or whatever. It pays to be a little paranoid. I only use code like that when I can physically isolate the cracking host from all external connectivity - for example, when I bruted a bunch of MD5s with john, I built an "expendable" host, moved the password file on to that host, unplugged the network, ran the cracker for six weeks, and moved the output with a 3.5 floppy... after which I reformatted the hard drive on the expendable PC.

    Educating the users, and restricting everyone (including yourself) to the least possible access required to perform the job, is the one recipe that works. The other recipes just make your passwords more predictable.

  95. hmm... goggle indexes /. ? by skoval · · Score: 1

    i must be new here, but i've never found links to /. comments before this day
    probably i haven't search hard
    i'm speaking about "PassTheHash toolkit" keyphrase btw

    --
    I choose friends for sigs
  96. sf.net and digg does this by skoval · · Score: 1

    I had troubles with logging in to sf several times since I always had to change my easy password for unimportant sites which usually contains special chars.
    Thanks to recovery system :)

    --
    I choose friends for sigs
  97. Re:This is why two factor authentication is necess by izomiac · · Score: 1
    I figured that you knew the difference, but since this is the internet you can't be too sure. That's why I pointed out that "Password encryption is one way." is a false statement as a side not in my post. "Password hashing is one way", is true. "Password encryption is one way", is false. You were using the terms sloppily so I mentioned it just in case you didn't realize the difference. It's not a subset of encryption BTW, but the distinction isn't terribly important. Passwords and pass phrases can be used to seed encryption or be hashed. I've been talking about both since they both apply. You're right in that length cannot be determined by a hash. You're wrong in thinking that such a thing matters.

    We're talking about 15-100+ character passwords.

    Nope, "we" aren't. I'm talking about 15-100+ character passphrases compared to standard sized passwords. If we were talking about 100+ character passwords then nothing that I've mentioned would even come close to making it crackable. Proper passwords have a fairly high entropy, pass phrases don't. That's the difference and that's why what I'm suggesting would probably work. I realize that you already understand the difference, but you're using the terms synonymously, and it's a little hard to discuss the differences between the two unless we use different terms for each.

    With the exception of my hash VS encryption triad I haven't been jumping around. My original post was about the fact that pass phrases don't inherently contain more entropy than passwords, and as such could be bruteforced. My later posts entail a theoretic way that such a bruteforce engine could operate. It would be stupid to bruteforce 30+ characters of anything using the traditional aaaa, aaab, aaac approach. A keyspace of 256^100 isn't even worth considering. Because they are longer, pass phrases seem more secure at face value. But English is very low entropy. Compression is not a 50% reduction, the human brain has few problems decoding something like that. Fr exmp ths sent cn b read ez. With a more standard 85% compression that 100 character pass phrase becomes only 15 characters (still difficult, but not impossible with current technology). Now why does this matter? Well, what if we try to brute force the compressed version of the text? That's what I'm suggesting. I am not suggesting brute forcing the fairly long pass phrase, just the short compressed text. "This is my really, really, really long pass phrase." may not be easy to brute force directly (256^length), but a 10 (or whatever it may be) character compressed version is bruteforcable (256^10 = 2^80). Knowing the length of the pass phrase isn't necessary. The reason I'm stating the length is to illustrate the the keyspace isn't something like 256^100.

    The point remains, if you are using Windows,

    I don't even use a multi-user OS, so there are no hashed passwords on my system. I'm speaking in general terms. Also, the storage of lanman hashes can be disabled in the registry, so a 15+ character password isn't necessary (though it is more secure). Rainbow tables will still work, but I wouldn't feel safe against them at 15 characters.
  98. My secret random number generator by z-j-y · · Score: 1

    return ++i+++i++ ;

    They told me that the result is totally unpredictable.

  99. Get another table. 96% by PMBjornerud · · Score: 1

    Esentially toss in a !@#$%^&*()_-{};',.? and its screwed. So you passwords are not cracked by the freely distributed one-touch LiveCD, does that make you feel safe?

    http://ophcrack.sourceforge.net/tables.php:

    LM Hashes with 33 special chars (WS20k tables)
    This table set cracks 96% percent of LM Hashes of passwords of length up to 14 characters made of the following characters :
    0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&' ()*+,-./:;?@[\]^_`{|}~ (including the space character)

    This table set is available from Objectif Securité and from Forensic & Security Services in the US.
    --
    I lost my sig.
  100. Physical access is not the key by PMBjornerud · · Score: 1

    Sure, you need physical access for the one-touch LiveCD.

    The key point for real security, however, is the speed. Obtain the SAM anyway you manage, and you'll know most of the passwords in a very short while. I'm sure this can come in handy even without physical access.

    Say, an old hard drive junked by the company. Maybe not an important machine, and nobody cares if you have physical access to it or not. But if you get some usernames and passwords off it, chances are you can use them elsewhere.

    --
    I lost my sig.