NT-Hash
The Windows NTLM password hash: unsalted MD4 of the UTF-16 password
Practical attacks exist. Present for compatibility and research only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About NT-Hash
NT-Hash is a cryptographic hash function from the NT hash family. It produces a 16-byte (128-bit) output. Its registry entry cites MS-NLMP 3.3.1 (NTOWFv1). It is also known as ntlm-hash and ntowfv1. NextSSL lists it in the broken tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
The NT hash, sometimes called the NTLM hash, is the password hash stored by Windows for local and domain accounts. It is a single unsalted MD4 computation and offers little resistance to offline guessing.
The NT hash is computed as MD4 over the password encoded in UTF-16 little-endian. Unlike the LM hash it preserves case and supports long passwords, but it applies no salt and no work factor, so each guess costs one MD4 evaluation and identical passwords yield identical hashes across all systems.
The NT hash is the key material for the NTLMv1 and NTLMv2 challenge-response protocols, which is why possession of the hash alone is often sufficient to authenticate in "pass-the-hash" attacks. It is specified in MS-NLMP as NTOWFv1. NextSSL includes it for credential auditing and protocol compatibility. It is not a password hash in any modern sense.
History
1993–1993NT hash published
Security notes
The NT hash is broken as a password storage mechanism: it is fast, unsalted and based on MD4. Modern GPUs test many billions of candidates per second, and the hash itself is a usable credential in NTLM.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 16 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'broken' is reachable from the root API only
digest = root.call("hash_with", "nt-hash", None, b"abc")[0]
nextssl_root_hash_with("nt-hash", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "nt-hash", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is NT-Hash?
NT-Hash is a hash in the NT hash family. The NT hash, sometimes called the NTLM hash, is the password hash stored by Windows for local and domain accounts. It is also known as ntlm-hash, ntowfv1.
What are the NT-Hash sizes?
In NextSSL, NT-Hash uses: output 16 bytes.
Who designed NT-Hash and when?
NT-Hash belongs to the NT hash family, first published in 1993. Its origin: Microsoft Windows NT; MS-NLMP (NTOWFv1).
Which standards define NT-Hash?
NT-Hash is referenced by MS-NLMP 3.3.1 (NTOWFv1).
Is NT-Hash safe to use?
NT-Hash is in the broken tier. Practical attacks exist. Present for compatibility and research only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
Related families
The LAN Manager password hash: DES-based, unsalted and trivially crackable
MD2, MD4 and MD5Ron Rivest's message-digest hashes; all three are broken and kept for legacy use
Argon2The Password Hashing Competition winner: memory-hard hashing standardised in RFC 9106
PBKDF2The iterated-HMAC password-based key derivation function from PKCS #5 and NIST SP 800-132