Summery

LM and NT are password hashes used by Windows to verify passwords, while NTLM and NTLMv2 are challenge-response authentication mechanisms used to authenticate users over a network. LM is the older, weaker hashing method; NT replaced it with a stronger hash. NTLM is the original authentication mechanism build with those hashing algorythms, NTLMv2 improved the security of the original. Lastly, Kerberos was introduced into the environment.

TermWhat it isIntroduced
LMLegacy Windows password hash using uppercase conversion and two 7-character chunks hashed separately with DESIntroduced in the 1980s
NTNewer MD4 password hash of the password encoded as UTF-16LE1993, with Windows NT 3.1
NTLMAuthentication protocol using challenge-response authenticationNTLMv1: 1993
NTLMv2Newest challenge-response authentication protocol, right before KerberosNTLMv2: 1998. Windows NT 4.0 SP4

LM
LM (LAN Manager) is a legacy Windows password-hashing method that converts passwords to uppercase, splits them into two 7-character chunks, and hashes each chunk separately using DES. Its design makes it relatively easy to crack offline. Example:
aad3c435b514a4eeaad3b935b51304fe

NT
The NT hash (sometimes just called NTLM) is an MD4 hash of a user’s password encoded as UTF-16LE. Windows uses it as a password verifier, and it may be stored locally in the SAM database or centrally in Active Directory. Pentesters can crack it offline or use it for Pass-the-Hash (PtH) attacks. Example:
e46b9e548fa0d122de7f59fb6d48eaa2

NTLM
NTLM is Microsoft’s challenge-response authentication protocol family, used for network authentication when Kerberos is not used. Pentesters may capture authentication exchanges, attempt offline password cracking, or relay authentication to other services when protections allow it. Example:
Rachel:500:aad3c435b514a4eeaad3b935b51304fe:e46b9e548fa0d122de7f59fb6d48eaa2:::

NTLMv2
NTLMv2 (also called NetNTLMv2) refers to the challenge-response data exchanged during NTLMv2 network authentication, commonly captured using tools such as Responder. Pentesters can attempt offline password cracking or relay a live authentication exchange under suitable conditions. Unlike an NT hash, a captured NetNTLMv2 response cannot be used directly for Pass-the-Hash. Example: admin::N46iSNekpT:08ca45b7d7ea58ee:88dcbe4446168966a153a0064958dac6:5c7830315c7830310000000000000b45c67103d07d7b95acd12ffa11230e0000000052920b85f78d013c31cdb3b92f5d765c783030

References

Similar concepts: Kerberos, Pass the hash
Furhter reads: NTLM Authentication, Pass the Hash (PtH)
Canvas overview: NT, NTLM and NTLMv2 attack options.canvas
Related techniques: Convert a password into an NTLM hash
Related tools: impacket-ntlmrelayx, Responder, ntlm_theft, hashcat