Boot or Logon Autostart Execution: LSASS Driver
Other sub-techniques of Boot or Logon Autostart Execution (14)
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. 
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.
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.
|M1043||Credential Access Protection|
|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
Utilize the Sysinternals Autoruns/Autorunsc utility  to examine loaded drivers associated with the LSA.
- Microsoft. (n.d.). Security Subsystem Architecture. Retrieved November 27, 2017.
- Mullaney, C. & Honda, H. (2012, May 4). Trojan.Pasam. Retrieved February 22, 2018.
- Anthe, C. et al. (2016, December 14). Microsoft Security Intelligence Report Volume 21. Retrieved November 27, 2017.
- Microsoft. (2017, November 9). Backdoor:Win32/Wingbird.A!dha. Retrieved November 27, 2017.
- Lich, B., Tobin, J., Hall, J. (2017, April 5). Manage Windows Defender Credential Guard. Retrieved November 27, 2017.
- Lich, B., Tobin, J. (2017, April 5). How Windows Defender Credential Guard works. Retrieved November 27, 2017.
- Microsoft. (2014, March 12). Configuring Additional LSA Protection. Retrieved November 27, 2017.
- Microsoft. (n.d.). Dynamic-Link Library Security. Retrieved November 27, 2017.
- Russinovich, M. (2016, January 4). Autoruns for Windows v13.51. Retrieved June 6, 2016.