Pcornel
Security · Active Directory Security

NTLM

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

Back to the Topic

Answer

NTLM in AD security is a weaker fallback protocol vulnerable to relay and pass-the-hash attacks. Audit its use, require NTLMv2, enable SMB and LDAP signing, and block NTLM where Kerberos works.

Remember

  • NTLM is vulnerable to relay and pass-the-hash.
  • Audit before blocking.
  • SMB and LDAP signing reduce relay risk.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} | ? {$_.Properties[14].Value -match 'NTLM'} — NTLM logons
  • GPO: Network security: Restrict NTLM — policy
  • NTLM audit logs (Microsoft-Windows-NTLM/Operational) — usage

Verify in this order

client → NTLM challenge/response → server → DC

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/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=4506

Confirmation

Confirm action

Continue?