Pcornel
Identity · NTLM

NTLMv2

Cheat sheet · https://pcornel.dk/topic.php?topic=3286

Back to the Topic

Answer

NTLMv2 is the current NTLM version with stronger HMAC-MD5 responses and client challenges. Set LmCompatibilityLevel to 5 to send only NTLMv2 and refuse LM and NTLMv1.

Remember

  • LmCompatibilityLevel 5 sends only NTLMv2 and refuses LM/NTLMv1.
  • Old devices may break.
  • Audit before enforcing.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} -MaxEvents 50 | ? {$_.Message -match 'NTLM'} — NTLM logons
  • Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa -Name LmCompatibilityLevel — NTLM level
  • Get-WinEvent -LogName Microsoft-Windows-NTLM/Operational -MaxEvents 30 — NTLM audit events

Verify in this order

NTLMv2 response with client/server challenges

Where it usually breaks

First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3286

Confirmation

Confirm action

Continue?