Safeguard
Application Security•

Detecting and Mitigating LSASS Driver Persistence (T1547.008)

Replacing or adding LSASS drivers gives code a recurring run inside the Windows security subsystem. MITRE T1547.008 explained, with LSA Protection and Credential Guard as defenses.

Safeguard Security Team
2 min read

LSASS Driver persistence is tracked by MITRE as T1547.008. It sits under Boot or Logon Autostart Execution, covers Persistence and Privilege Escalation, and applies to Windows.

How attackers use it

The Windows security subsystem is a set of components that enforce security policy. The Local Security Authority (LSA) is the main one, responsible for local security policy and user authentication. It includes several DLLs for security functions, and they all run inside the lsass.exe process.

MITRE describes the abuse plainly. By replacing or adding illegitimate drivers, for example through Hijack Execution Flow, an adversary can use LSA operations to run a payload again and again.

How to detect it

The detection strategy has three parts to watch together.

  • Unauthorized creation or modification of DLLs that LSASS loads.
  • Abnormal registry values under the LSA extension keys.
  • Anomalous DLL loads into the lsass.exe process, especially around boot or logon.

Because LSASS is a small, stable process, a module list baseline is realistic. Any new module is worth a look.

How to reduce the risk

MITRE lists three mitigations.

  • Credential Access Protection: on Windows 10 and Server 2016, enable Windows Defender Credential Guard so lsass.exe runs in an isolated virtualized environment without any device drivers.
  • Privileged Process Integrity: on Windows 8.1 and Server 2012 R2, enable LSA Protection by setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\RunAsPPL to dword:00000001. Plug-ins and drivers then load only if digitally signed by Microsoft and built to Microsoft SDL guidance.
  • Restrict Library Loading: keep safe DLL search mode enabled, using HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SafeDllSearchMode, to reduce the chance that lsass.exe loads a malicious library.

Quick check

Why does LSA Protection stop a planted driver?

It makes LSA load plug-ins and drivers only when they carry a Microsoft signature and meet SDL guidance, so an unsigned replacement is refused.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.