NTLM vs Kerberos
Cheat sheet · https://pcornel.dk/topic.php?topic=3287
Answer
Kerberos is preferred over NTLM: it uses tickets, supports mutual authentication and delegation, and resists relay attacks. NTLM is used as fallback for IP addresses, workgroups, local accounts or missing SPNs.
Remember
- Accessing a server by IP address forces NTLM.
- A missing SPN causes fallback to NTLM.
- Workgroup and local accounts use NTLM.
First checks
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} -MaxEvents 50 | ? {$_.Message -match 'NTLM'}— NTLM logonsGet-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa -Name LmCompatibilityLevel— NTLM levelGet-WinEvent -LogName Microsoft-Windows-NTLM/Operational -MaxEvents 30— NTLM audit events
Verify in this order
Negotiate picks Kerberos when SPN/KDC available, else NTLM
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=3287