Skip to content

Lesson 3 of 9 · 25m

Credential Theft, LSASS, and the NTLM Realities Nobody Escapes

Follow how plaintext, hashes, tickets, and cached secrets move through Windows systems — and why protocol transition keeps old attacks alive.

A new hire once asked me why disabling NTLMv1 did not end credential theft. The answer is that Windows authentication is a compatibility ecosystem, not a single protocol. Passwords become verifier material, tickets, cached logon data, service secrets, browser tokens, and memory-resident keys. Attackers do not need your password if they can reuse the artifact your system already created.

Separate the artifact types

Do not use "credential" as a blob word:

plaintext password     reusable everywhere until changed
NT hash                reusable for NTLM authentication
Kerberos TGT           proof of initial authentication for a lifetime window
service ticket         reusable for a specific service and target
cached logon data      supports offline logon, not normally direct reuse
DPAPI-protected secret depends on master keys and context
LSA secret             service passwords, machine account material, cached data

The artifact determines where it can be replayed, what telemetry it creates, and how urgently it must be invalidated.

LSASS matters because it is a memory cache of trust

On a compromised endpoint, attackers target Local Security Authority Subsystem Service memory because it may contain keys and authentication material for currently or recently logged-on users. Modern systems increasingly run LSA protection, Credential Guard, or both, but compatibility gaps persist:

Get-CimInstance -ClassName Win32_DeviceGuard |
  Select-Object SecurityServicesConfigured,SecurityServicesRunning

If Credential Guard is running, credential theft gets harder, not impossible. Attackers pivot toward tokens, tickets, service accounts, configuration files, browsers, and administrative abuse instead.

NTLM is still everywhere because fallback is convenient

NTLM appears when Kerberos cannot resolve an SPN, when hosts are reached by IP address, when legacy applications demand it, and when trust or network design breaks service discovery. It matters because NTLM authentication can sometimes be relayed if signing is not enforced:

victim -> attacker-controlled service: NTLM authentication
attacker -> target server: relayed NTLM authentication
target <- attacker: authenticated session or command execution

LDAP signing, LDAPS channel binding, SMB signing, EPA, and disabling legacy NTLM where possible are the controls that turn a relayable network into dead ends.

Local secrets are domain secrets when reuse exists

A local administrator password reused across 800 workstations is a domain lateral movement credential. LAPS, Windows LAPS, or another per-machine password system is therefore a domain security control, not merely endpoint hygiene. The same logic applies to service account passwords embedded in scheduled tasks, deployment scripts, and old Group Policy Preferences XML files.

Response is artifact-specific

If LSASS was dumped, resetting one user's password is not enough. Determine which users were logged on, which tickets existed, whether service accounts authenticated, whether the machine account is trusted for sensitive paths, and whether exported material could remain valid after reboot. Ticket lifetimes, not just password lifetimes, control exposure.

Field notes

  • Do not tell a client to "disable NTLM" without inventorying fallback authentication; print servers, appliances, and service accounts will break.
  • Credential Guard does not protect accounts that never log on to that host, nor does it erase credentials already stolen elsewhere.
  • Cached logons help traveling users but expand forensic questions after endpoint compromise.
  • The presence of a password in memory is not proof of poor hygiene by itself. Windows authentication requires keys to exist somewhere.

Was this lesson helpful?

Sign in to rate