Slashdot Mirror


Swiss Researchers Exploit Windows Password Flaw

Bueller_007 writes "CNET is carrying an article about a new (albeit simplistic) method used to hack alphanumeric Windows passwords in a matter of seconds, rather than minutes. To blame is a 'weakness in Microsoft's method of encoding passwords.' According to the authors, the same method, when used on Mac OS X, Unix and Linux boxes, however, could require either 4,096 times more memory or 4,096 times longer." A few more details: Mister.de writes "As an example we have implemented an attack on MS-Windows password hashes. Using 1.4GB of data (two CD-ROMs) we can crack 99.9% of all alphanumerical passwords hashes (2 37 ) in 13.6 seconds whereas it takes 101 seconds with the current approach using distinguished points. We show that the gain could be even much higher depending on the parameters used. This was found at the Cryptography and Security Laboratory of the Swiss Federal Institute of Technology in Lausanne (EPFL)."

49 of 519 comments (clear)

  1. This is why... by mgcsinc · · Score: 5, Funny

    This is why I use Biopassword Perhaps their encryption method is just as insecure as microsoft's, but at least there aren't quite so many Swiss researchers trying to crack it...

    1. Re:This is why... by schon · · Score: 4, Insightful

      Because people consider Linux to be too obscure to be worth spending their time attacking, it rarely succumbs to such attacks.

      This is just plain false. If it were true, then there would be MUCH more attacks against Apache than IIS - but the reverse is true.

      Also, even if this assertion were true, can you provide references for it (as I asked in my previous post)? Let's see some posts from Linux users who think that they're immune from hack attempts because they run Linux and not windows.

      And before you start yammering about Many eyes/shallow bugs or whatever, I shall use my new favorite example: the sobig worm.

      First, a worm is not a hack attempt - it's malware (along with viruses.)

      Second, malware such as this has little to do with obscurity - it has to do with a mindset that ignores basic security practices (namely segregation of resources.)

    2. Re:This is why... by nolife · · Score: 4, Insightful

      I see your points to some extent but consider Apache was been by far the most popular web server for at least the last 8 years running on various platforms. Security is in design and not proportional to popularity. Hack ATTEMPTS maybe be higher with popularity but those attempts are useless until you find the hole.

      --
      Bad boys rape our young girls but Violet gives willingly.
    3. Re:This is why... by Charleton+Heston · · Score: 5, Funny

      I use plaintext. Granted, some people are working on cracking plaintext, but they are almost always in a 1st grade reading class and I ain't scared of them.

      --
      ======
      Get your stinking paws off me, you damned dirty ape!
    4. Re:This is why... by enomar · · Score: 5, Insightful

      I read the parent post as, "Because MS uses security through obscurity, many people think that Linux distros are inherently more secure than MS." I think he meant that security through obscurity doesn't work very well.

      Building a lock that cannot be picked by a blind man is a lot easier (and less effective in the real world) than building a lock that cannot be picked by someone with the blueprints.

      --

      :wq
  2. Performance increase by levik · · Score: 5, Insightful
    THis sort of performance increase is only useful for Mission Impossible type movie spies... I mean come on - who can't wait 100 seconds???

    People are really running out of interesting stuff to "research", aren't they...

    --
    Ñ'
    1. Re:Performance increase by Marx_Mrvelous · · Score: 5, Insightful

      You obviously aren't a computer scientist (or a computer hacker). What they got was a power of ten increase (roughly). This is a significant improvement because it is not simply incremental. Look at it this way:
      Let's say it usually took 200 days to crack a password. A company could enforce a 90-day (3 month) requirement to change passwords, and a brute force technique would have roughly a 1-in-2 chance of getting a password in any given 90-day period. Now they increased it by a factor of 10.
      Now it takes 20 days to crack a password. If the company want to keep the same level of password security, users would have to change their passwords every 7 days!

      This is a pretty big issue.

      --

      Moderation: Put your hand inside the puppet head!
    2. Re:Performance increase by MisterFancypants · · Score: 4, Insightful
      Yeah but their power of 10 increase isn't globally applicable to many types of encryption breaking, it exists due to a flaw in Microsoft's specific implementation, so really the original poster is right, this isn't big news of any sort.

      I can't imagine it would have made the front page at all if not for the usual "See how insecure Micro$oft is!" Slashdot biases.

    3. Re:Performance increase by mikeophile · · Score: 4, Funny

      So since this exploit takes an average of 13.6 seconds, do users need to change thair passwords every 4 seconds?

    4. Re:Performance increase by M00TP01NT · · Score: 5, Funny

      Yes, and soon we'll be at a point where the password will be changing so fast you can run a brute-force attack with a static keyword!

    5. Re:Performance increase by Tackhead · · Score: 4, Funny
      > Solution:
      > 1.Wipe the pad clean.
      > 2.Wait a few hours.
      > 3.Blow chalk on it and brush gently.
      > 4.Note which 3 digits have chalk stuck to them.
      > 5.Try the six possible combinations.
      > 6.Bingo! You're an executive.

      Tried it. No chalk remaining on any of the four pads.

      > YMMV, depending on whether you have execs of the sweaty oily finger variety, or the scaly lizard species.

      Incidentally, what's the polite way of telling your boss he's got chalk on his nose, especially on a day when he seems to be real pissed off about something, but he won't say what's buggin' him? He's got a press conference in 20 minutes, and I don't know how to bring this up.

      "Mr. Valenti, you have chalk on your nose" seems too direct, don't you think?

  3. Well, by TedTschopp · · Score: 4, Funny

    I sure hope we aren't using Microsoft Technology for anything important like National Security? Cause that would suck!

    Please Advise, I don't know how to think about this story, I'm a Swiss-American.

    Ted

    --
    Fantasy remains a human right; we make in our measure and in our derivative mode... -- JRR Tolkien
  4. Yoddle-Aay-Hee-Hooo by ambisinistral · · Score: 5, Funny
    This post isn't by me, it is by some Swiss guy who hacked my /. password to make me look bad.

    --

    deserve's got nothing to do with it...

  5. One problem by felix9x · · Score: 5, Informative

    LanMan is not used on win2000 and winXP machines.

    NThash dont know, probably not.

    This hack is obsolte

    1. Re:One problem by Shell!U4$ · · Score: 5, Informative
      Actually,

      The LANMAN hashes are still used in Win2k. They are enabled and kept in the ActiveDirectory by default.

      If your a 100% Win2k or higher shop, you can disable the LANMAN hashes and use NTLM 2 hashes exclusively.

      Microsoft is willing to tell you how, if you look here, along with some details about the whole subject.

      Hello, my name is Shakey Weaselteat and this is a song about a whale ...

    2. Re:One problem by Torne · · Score: 5, Informative

      This crack breaks both LanMan and NTLM hashes. NTLMv2 is not affected.

      NTLMv2 was introduced in Windows 2000 and is still not the default; Windows Server 2003 Enterprise defaults to 'Send NTLM only', which will stop LanMan attacks, but not prevent NTLM attacks. It will also not ALLOW NTLMv2 to be used, even if the client supports it. I.E. the only secure authentication system which is available is disabled by default.

      Yes, all the MS security practise documents will tell you to set it to NTLMv2 only (which requires upgrading all clients to Windows 2000 or above).. but it's still not the *default*. Enabling NTLMv2 does not break backward compatibility (only disabling v1 does), so I'm not sure how they justify this decision =)

      Torne

  6. Of course the Swiss were able to hack it... by JDRipper · · Score: 5, Funny

    They've got those great knives after all.

    --
    "You know Myra, some people might think you're cute. But me, I think you're one very large baked potato."
  7. I don't understand by Trelane,+the+Squire · · Score: 5, Insightful
    While an attacker would need administrator rights to a system to grab the file that contains the password hashes, the file is still valuable, said David Dittrich, a senior security researcher at University of Washington.
    if a hacker had administrator rights, wouldn't it already be game over? On the other hand, a 20 gb hack isn't extremely portable
    1. Re:I don't understand by Quietust · · Score: 4, Insightful
      if a hacker had administrator rights, wouldn't it already be game over? On the other hand, a 20 gb hack isn't extremely portable
      Not quite - admin rights would only give access to whatever was on that particular machine (and stuff on the network), while the passwords of everyone who used that system would be considerably more valuable.
      --
      * Q
      P.S. If you don't get this note, let me know and I'll write you another.
    2. Re:I don't understand by truthsearch · · Score: 4, Informative

      The game's over with admin rights to every workstation. With this scenerio, once you're admin on one computer of the network, it's quick to get every other password on the network, such as domain admins. On Unix, Linux, and Mac OS X, if you're admin and have the hash entries you can't use them to crack into other computers on the same network because of the random bits added to each hash.

    3. Re:I don't understand by whorfin · · Score: 4, Interesting

      The beauty is, consider these email virii applications of this...
      - Somebody reads an email with a simplified hack based on this embedded within it (don't need the whole dataset, you just reduce your hit rate)
      - They unwittingly send back the machine info and an admim-level password to the hacker. (where I work, all 'owners' have admin rights on their system).
      - From this, they can get admil-level access permanently, as well as a chance to download the full crack via a backdoor and get the network admin password, and from there, the whole network.

      --
      Laugh while you can, monkey-boy!
  8. Nothing new by raffe · · Score: 5, Informative

    "We fear, however, that the titles of these articles are a little sensational. While it is true that the LANMAN and NTHash windows password techniques have issues, the paper that kicked off this whole hub-bub [PDF] describes a refinement of an existing attack, not a new attack. We wanted to remind our readers that adequate password security is a good idea, whether your windows systems are being attacked with an adversary with an old copy of L0phtCrack, or with Philippe Oechslin's new system."

    Read it all here

  9. I hope someone hacks my passwords at work by gorjusborg · · Score: 5, Funny

    I hope someone hacks my passwords at work and deletes this stinking code I'm debugging.

    Oh, and the backups too. Just point your password crackers to ...

    --
    If it's not one thing, it's Steve's Mother
    1. Re:I hope someone hacks my passwords at work by codexus · · Score: 4, Funny

      Don't worry your boss has probably printed the whole thing already and you'll just have to retype it all including all the bugs.

      --
      True warriors use the Klingon Google
  10. Only works with NTMLv1, NTLM v2 not effected. by figleaf · · Score: 5, Informative

    This only works with NTML v1. Not with NTML v2.

    In order to prevent this
    Using secpol.mmc,
    in you security pocilies set the LAN manager authentication level to 'NTLMv2 response only refuse LM & NTLM'

    The passwords are only crackable if you have Win 9x machines in your doamin.

    If you have Windows 2000/2003 domain without Win 9x machines then you passwords cannot be recovered.

    Admins can prevent Windows 9x machines from logging in to the network.

    This is reason enough to migrate to Windows XP.

  11. If You RTA by deadlinegrunt · · Score: 5, Informative

    You'll notice the line:

    Users can protect themselves against the attack by adding nonalphanumeric characters to a password. The inclusion of symbols other than alphanumeric characters adds complexity to the process of breaking passwords--and that means the code cracker needs more time or more memory or both.

    For those that don't realize considering the following for example:

    # characters/Upper Case Only
    8 /208,827,064,576
    # characters/Upper, Lower, Numbers & Symbols
    8 /6,634,204,312,890,620

    This post is more for the types that really don't consider their password selection...

    --
    BSD is designed. Linux is grown. C++ libs
  12. This week only by Ptahian · · Score: 4, Funny

    I smell a sale coming!

    New New NEW. Lower Prices! Krazy Bill is just GIVING these away. Come on down. He's Krazy Krazy KRAZY to license this software with these terms! Get yours TODAY!

  13. What The...? by tds67 · · Score: 4, Funny

    Why do I keep getting ads for watches and chocolate now?

  14. So? by ioErr · · Score: 5, Insightful

    13.6 seconds or 101 seconds doesn't make much difference, now does it? The real problem is still getting administrator access to the target computer in the first place.

  15. With distributed computing, why bother? by jeeves99 · · Score: 5, Insightful

    Cracking becomes easier if you have access to a distributed network. Parse the table into managable chunks and throw it out to 100 computers. While the time taken to crack the password might not scale down in a linear fashion [ie: time/(N computers)], it will most definately drop the crack time down to less than an hour for those computers with 12bit salts (4906*.6min= 41 hr, 41hr/100comps= 25 minutes).

    Even if the 12 bit salt for mac/linux/etc was increased in size, a scale up in the number of computers used would defeat this added protection. The trend in the comp world seems to be more connectivity between large numbers of computers. All it takes is one disgruntled folding@Home grad student out at stanford to break even the most stringent password.

    It seems that increasing the size of the salt would prevent the average script kiddie from breaking your password, but does nothing to alleviate the threat distributed computing presents. So what other options are there?

    1. Re:With distributed computing, why bother? by phkamp · · Score: 5, Informative
      Nobody but old fashioned "enterprise" UNIXes like HPUX, AIX, Solaris use 12 bit salt.

      FreeBSD started using 64 bit salt and MD5 scrambled passwords back in 1994 (when I wrote the code) and since then NetBSD, OpenBSD, Cisco, GLIBC and presumably MAC OSX have adopted that code.

      Look for the tell-tale "$1$..." magic marker.

      (The fact that GLIBC doesn't correctly attribute the algorithm is somewhat sad, but they refused to do so, even when asked directly).

      --
      Poul-Henning Kamp -- FreeBSD since before it was called that...
  16. Re:Scary stuff... by PaizuriTatsujin · · Score: 5, Funny

    What we need is no passwords at all and a midget sitting on everyone's desk guarding their computer.

    When that happens I'll feel safe

  17. No salt by dpilot · · Score: 4, Informative

    You've made a supposition that MS passwords are marginally weaker than Unix passwords. Read the article, and there's a more basic factor at work.

    >"Windows passwords are not very good," he wrote. "The problem with Windows passwords is that they do not include any random information."

    From what I understand, Unix passwords normally take a little 'salt', a little random information, as well as the user password, and hash that. Microsoft just hashed the user password without the salt. This makes it easier to crack., anything else aside.

    To their credit, you have to be Admin to get to the password hashes, rather like /etc/shadow.
    To their debit, most WinDesktops that I'm aware of end up as glorified single-user machines, and that user is also.... Admin. Finally build a decent security model, and then customers ignore it.

    --
    The living have better things to do than to continue hating the dead.
    1. Re:No salt by Anonymous+Struct · · Score: 5, Insightful
      To their debit, most WinDesktops that I'm aware of end up as glorified single-user machines, and that user is also.... Admin. Finally build a decent security model, and then customers ignore it.

      I think the customers only ignore it because they've been bred on Win9x, which sort of casually asked if you felt like typing in a password, but didn't really care one way or the other if you actually did. You can't train people that passwords don't matter for 7 years and then expect them to start caring about security when you finally decide to implement it. So now we have a sea of internet users who don't know or care one whit about security all because they've been taught from the very beginning that all they ever have to do is plug it in, turn it on, and start browsing.

    2. Re:No salt by Jucius+Maximus · · Score: 5, Informative
      "Many Unix systems are now moving to MD5 encrypted passwords though, which as I understand it are more secure (how? I dunno... I'm not that up to date on it)."

      The String -> MD5 hash is an easy converison, it was designed to work nicely on 32 bit processors

      The MD5 -> String reverse-hash is not an easy conversion. So even if you give out the md5sum of your password, getting the actual password from that hash value is not trivial.

      That is why it is more secure. Now MD5 is not invulnerable. I have read some reports about more mathematical vulnerabilities in it. Some say that SHA-1 crypto hashing is the only way to do things now adays.

  18. I for one welcome our new Swiss Overlords!!! by Picass0 · · Score: 5, Funny

    13.6 seconds! Aren't swiss watches wunderful?

  19. Wow, less memory? by Nanite · · Score: 5, Funny

    Windows uses less memory to do this trick than Linux. Who knew Windows was so efficient at handling memory when being hacked?

    Nanite

    --
    God is real unless declared integer.
  20. Welcome to the 90s by jeeptj · · Score: 5, Informative

    This authN method is 8 or 9 years old. You can disable the NT hash by using either a password length of more than 14 chars or by using a simple registry value on Windows 2000 SP2 systems or higher. This KB explains how. Any good sys admin should have the LM hash disabled on all Windows machines by default anyways and set strong passwords which contains more than simple letters and numbers.

    Mindless Microsoft bashing at it's best!

  21. Hack obsolete on curent Windows servers by prisoner-of-enigma · · Score: 4, Informative

    You can (and should) disable NTLM authentication if you're running Windows 2000 or 2003. This is very easy to do and makes any server immune to this type of hashing attack. It's even listed in Microsoft's Best Practices documentation for administrating their servers. It might cause problems with older Win9x clients, but there are updates to these clients that allow them to get along without NTLM.

    If you're running Active Directory in Native Mode, NTLM is easily kicked to the curb. However, NT4 machines remain vulnerable to this hack. Yet another reason to just get off of NT.

    --
    In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
  22. Incorrect Information In The Article by Jerk+City+Troll · · Score: 5, Informative

    The article makes a statement that I think is untrue:

    While an attacker would need administrator rights to a system to grab the file that contains the password hashes, the file is still valuable, said David Dittrich, a senior security researcher at University of Washington.

    Using a tool like Cain & Able, it is possible to get access to this information without having administrative rights.

    You can also dump the hashes using Cain & Able's password cracking tool. It is really quite trivial to do.

    By the way, you can easily acquire the passwords of the last five users who logged into an NT system. They are stored in LSA "secrets", an area of memory which is easy to dump. Cain & Able does this for you.

    Have fun.

  23. Re:Scary stuff... by b!arg · · Score: 5, Funny

    Midget? No...Troll...and god knows we have enough of those around to take care of the demand. Maybe it'll solve our unemployment problem too.

    Before you can logon you must answer three questions...

    --

    Everybody dies frustrated and sad and that is beautiful
  24. Re:Gee... by ncc74656 · · Score: 5, Insightful
    I always thought there was something wrong with Microsofts password "encryption." Now it's confirmed.

    Why bother cracking NT (and Win2K/XP) passwords when you can just overwrite them? Boot from this floppy and you can change any local password (including the administrator). It's been useful on more than one occasion at work...when somebody quits or is fired, I can go in and retrieve everything in just a few minutes.

    That they're nearly as trivial to crack is somewhat disturbing...but given the ready availability of the password changer, it doesn't make Windows significantly less secure than it already is (hell, it can't get much less secure).

    --
    20 January 2017: the End of an Error.
  25. physical access by MORTAR_COMBAT! · · Score: 4, Interesting

    Boot from this floppy

    Because this doesn't require physical access to the machine? Because now some l33t d00d from another country can get passwords?

    --
    MORTAR COMBAT!
  26. Only 4096 more time on Unix ? by chrysalis · · Score: 4, Insightful

    I strongly disagree. Maybe this 4096 times applies to the traditional single DES crypt. But execept for some rare compatibilities issues with old systems or for dumb people that create Apache .htpasswd files with it, nobody uses single DES any more for years.

    Passwords hashed with MD5 and Blowfish don't have the 8 character limitation. There are still some people who like to assign users passwords like "*9_p7Z9ox" even though their system doesn't use single DES any more. This is just plenty stupid. Not only it's a hell to remember for the end user, but it's damn fast to brute force when hashes are precomputed as described in this article.

    A normal password like a real sentence (ex: "I'd like to have sex with Sandra") is not only way more easy to remember, it's also orders of magnitudes harder to brute force.

    --
    {{.sig}}
    1. Re:Only 4096 more time on Unix ? by pclminion · · Score: 4, Interesting
      I think they might be assuming a 12-bit salt added to the hash. This would make the hash dictionary 4096 times larger, since they would have to compute the hash of each password 4096 times (for each possible 12-bit salt value).

      If this is the case, it implies that Windows password hashes do not use salts. Now, I'm not claiming that salting makes the process secure (it doesn't), but it does make it orders of magnitude more intensive to compute a complete hash dictionary. At the expense of 12 bits per password (hell, use more if you want!) it seems worth it to use salts.

  27. Re:Lost Win XP Pro password by zoloto · · Score: 4, Informative

    Go here and use their nt password recovery tool. Click here for the floppy boot disk or click here for the cd boot image (only 2.0 mb)

    This works well on Win2k machines and WinXp boxes with sp 3 and 1 respectively as well as the native installs.

    cheers!

  28. Company Memo: New security procedures. by barracg8 · · Score: 5, Funny
    All,

    As you know we have a company security policy based around frequently changing passwords, in order to keep our Windows network secure.

    Previously, as you are all no doubt aware, you were required to change your Windows passwords once every 90 seconds, since NT passwords can be cracked in 100 seconds flat.

    Due to recent developments in MS password cracking, we will now be requiring all employees to change their passwords once every 10 seconds, to ensure they remain secure.

    We hope this will not detract from productivity, and apologise for any inconvenience it does cause.

    thanks,
    Management

  29. UNIX uses 64 bits salt by phkamp · · Score: 5, Interesting
    The MD5 based password scrambler I wrote for FreeBSD in 1994 uses a 64 bit salt, and has subsequently been adopted by NetBSD, OpenBSD, Cisco GLIBC and pressumbably MAC OSX.

    There is no immediate future for a table driven attack on this algorithm (Which can be recognized by the '$1$...' prefix.

    HP-UX, Solaris and AIX, however still use the old 12 bit salted DES derived passwords.

    --
    Poul-Henning Kamp -- FreeBSD since before it was called that...
  30. Nope by Anonymous+DWord · · Score: 4, Informative

    "Originally, we were targeting NT to the Intel i860 (code-named 'N-Ten)', a RISC processor that was horribly behind schedule. Because we didn't have any i860 machines in-house to test on, we used an i860 simulator. That's why we called it NT, because it worked on the 'N-Ten.'"

    -Mark Lucovsky
    Distinguished Engineer
    Windows Server Architect

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden