Re: NT4 password limited to 14 characters ?



There are two hashes:
* LM
* NT

There are four authentication methods:
* LM
* NTLM
* NTLMv2
* Kerberos

Here's how they relate:
* LM authentication uses the LM hash
* NTLM, NTLMv2, and Kerberos all use the NT hash

(It's incorrect to say "NTLM" or "NTLMv2" hash.)

LM hashes (and it's really a stretch to call them "hashes") are generated only if both of these are true:
* You haven't disabled LM hash generation
* Your password length is 14 characters or less

In NT 4.0, the User Manager wouldn't permit you to enter a password longer than 14 characters. Windows 2000 and higher permit entering a password up to 127 characters; the actual maximum length is 255 characters.

If, however, you meet a certain, ah, esoteric set of requirements, your minimum length must be at least 18,770 characters. :) Actually, that's a UI bug described in http://support.microsoft.com/kb/q276304/. Still, it's funny.

Steve Riley
steve.riley@xxxxxxxxxxxxx
http://blogs.technet.com/steriley


<jwgoerlich@xxxxxxxxx> wrote in message news:1184585840.401754.150720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello Pascal,

The answer lies in how Windows hashes and stores the passwords. There
are three mechanisms: LM (MD4), NTLM hash (MD4), and NTLMv2 (MD5).

LM has a maximum length of 14 characters. It breaks the password up
into two 7 character strings, makes both strings uppercase, and then
hashes the strings. Because of the length and because of the case
insensitivity, LM is very easy to break with brute force tools.

NTLM also has a maximum length of 14 characters. It hashes the
password as one 14 character chunk and does not change the characters
to uppercase. It is a little better than LM.

NTLMv2 has a maximum length of 127 Unicode characters or 254 Ascii
characters. Most systems use Unicode to support international
character sets, and thus 127 is the number you will see most often.

Windows NT4 will use either NTLM or NTLMv2. If at all possible in your
environment, set it to only use NTLMv2 (see 147706). Using "Net User"
may still default to 14 characters because the utility may not
recognize the change. Usrmgr should be fine, however.

Hope that helps,

J Wolfgang Goerlich


Microsoft Article 147706, How to disable LM authentication on Windows
NT
http://support.microsoft.com/kb/147706

On Jul 16, 5:24 am, Pascal <pasca...@xxxxxxxxxxxxxxxxxx> wrote:
Hi,

sorry for this "noob" question but is there a password limit on NT4
SP6a ?

Indeed, I am not able to define a password that has more than 14
characters length.

SOmetimes I am reading that the limit is 128 characters and sometimes
it is 14 characters.

Please someone could help me ? :)

Thank you

--
Pascal


.



Relevant Pages

  • RE: Password Management
    ... Utz is correct when looking at LM hashes. ... is not 7 characters. ... See why so many companies trust Spy Sweeper Enterprise to ... FREE 30-Day Trial of Spy Sweeper Enterprise ...
    (Security-Basics)
  • Re: Password hashing in Windows 2003.
    ... If you use passwords shorter then 14 characters for your password then it ... then it will automatically use NTLM Hash. ... policy) and set server and your clients to use only NTLM. ... NTLM hashes are much more secure, but still relay on password complexity. ...
    (microsoft.public.windows.server.general)
  • RE: [Full-Disclosure] Senior M$ member says stop using passwords completely!
    ... Actually in a Win2003 domain the LM hashes are eliminated by default. ... old LM hashes from being stored from the next time passwords are changed. ... I was under the understand that passwords of over 14 characters were ... Charter: http://lists.netsys.com/full-disclosure-charter.html ...
    (Full-Disclosure)
  • RE: Basic question
    ... If somebody else hasn't covered it already, I'll try to send out a Kerberos ... > Unicode character set and can be up to 128 characters long, ... > Pre-W2K user interfaces limits do not allow passwords to ... I believe that you are referring to *LM* hashes. ...
    (Focus-Microsoft)
  • risk of crypt(3) + [NT]LM hashes?
    ... under both unix hashes) and Windows? ... cryptis limited to 8 characters. ... LM hashes are 14 chars, ...
    (sci.crypt)