Winlogon Registry and Helper DLL Abuse Enables Windows Logon Persistence
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Jun 12, 2022

Attackers can maintain persistence on Windows by abusing Winlogon autostart mechanisms, including modification of registry values such as HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell and Userinit, as well as use of the Winlogon Helper DLL technique tracked by MITRE ATT&CK as T1547.004. By altering these settings, a malicious executable or DLL can be launched automatically during user logon, giving malware a reliable way to survive reboots and regain execution.
Public technical material showed a C++ proof of concept that rewrites Winlogon registry keys to start a test payload at logon and noted that older Windows versions may also expose persistence through the Winlogon\Notify key. The technique requires elevated privileges, but it has been associated with real-world malware activity, including Turla, Gazer, and Bazaar. Defenders are advised to restrict local administrator access and monitor Winlogon-related autorun entries for unauthorized changes, including with tools such as Sysinternals Autoruns.


