Boot or Logon Autostart Execution: Authentication Package

Adversaries may abuse authentication packages to execute DLLs when the system boots. Windows authentication package DLLs are loaded by the Local Security Authority (LSA) process at system start. They provide support for multiple logon processes and multiple security protocols to the operating system.[1]

Adversaries can use the autostart mechanism provided by LSA authentication packages for persistence by placing a reference to a binary in the Windows Registry location HKLM\SYSTEM\CurrentControlSet\Control\Lsa\ with the key value of "Authentication Packages"=<target binary>. The binary will then be executed by the system when the authentication packages are loaded.

ID: T1547.002
Sub-technique of:  T1547
Platforms: Windows
Version: 1.1
Created: 24 January 2020
Last Modified: 24 October 2025

Procedure Examples

ID Name Description
S0143 Flame

Flame can use Windows Authentication Packages for persistence.[2]

Mitigations

ID Mitigation Description
M1025 Privileged Process Integrity

Windows 8.1, Windows Server 2012 R2, and later versions, may make LSA run as a Protected Process Light (PPL) by setting the Registry key HKLM\SYSTEM\CurrentControlSet\Control\Lsa\RunAsPPL, which requires all DLLs loaded by LSA to be signed by Microsoft. [3] [4]

Detection Strategy

ID Name Analytic ID Analytic Description
DET0207 Detect LSA Authentication Package Persistence via Registry and LSASS DLL Load AN0583

Registry modification of the LSA Authentication Packages key followed by LSASS loading a non-standard or unsigned DLL. This includes unusual write access to HKLM\SYSTEM\CurrentControlSet\Control\Lsa, especially during non-installation timeframes. Correlated with lsass.exe loading DLLs not present in baseline or lacking valid signatures.

References