Adversaries may modify or add LSASS drivers to obtain persistence on compromised systems. The Windows security subsystem is a set of components that manage and enforce the security policy for a computer or domain. The Local Security Authority (LSA) is the main component responsible for local security policy and user authentication. The LSA includes multiple dynamic link libraries (DLLs) associated with various other security functions, all of which run in the context of the LSA Subsystem Service (LSASS) lsass.exe process.[1]
Adversaries may target LSASS drivers to obtain persistence. By either replacing or adding illegitimate drivers (e.g., Hijack Execution Flow), an adversary can use LSA operations to continuously execute malicious payloads.
| ID | Name | Description |
|---|---|---|
| S0208 | Pasam |
Pasam establishes by infecting the Security Accounts Manager (SAM) DLL to load a malicious DLL dropped to disk.[2] |
| S0176 | Wingbird |
Wingbird drops a malicious file (sspisrv.dll) alongside a copy of lsass.exe, which is used to register a service that loads sspisrv.dll as a driver. The payload of the malicious driver (located in its entry-point function) is executed when loaded by lsass.exe before the spoofed service becomes unstable and crashes.[3][4] |
| ID | Mitigation | Description |
|---|---|---|
| M1043 | Credential Access Protection |
On Windows 10 and Server 2016, enable Windows Defender Credential Guard [5] to run lsass.exe in an isolated virtualized environment without any device drivers. [6] |
| M1025 | Privileged Process Integrity |
On Windows 8.1 and Server 2012 R2, enable LSA Protection by setting the Registry key |
| M1044 | Restrict Library Loading |
Ensure safe DLL search mode is enabled |
| ID | Name | Analytic ID | Analytic Description |
|---|---|---|---|
| DET0225 | Detect unauthorized LSASS driver persistence via LSA plugin abuse (Windows) | AN0629 |
Unauthorized creation or modification of DLLs loaded by LSASS, abnormal registry values under LSA extensions, and anomalous DLL load activity into the lsass.exe process context—correlated during boot or logon events. |