MITRE ATT&CK / Techniques / T1547.004

Boot or Logon Autostart Execution: Winlogon Helper DLL

ID
T1547.004
Tactics
TA0003 Persistence, TA0004 Privilege Escalation
Sub-technique of
T1547 Boot or Logon Autostart Execution
Platforms
Windows
Data sources
Module Load, Process Creation, Windows Registry Key Modification, Windows Registry Key Access
Source
attack.mitre.org
MITRE last modified
25 Oct 2025

Adversaries may abuse features of Winlogon to execute DLLs and/or executables when a user logs in. Winlogon.exe is a Windows component responsible for actions at logon/logoff as well as the secure attention sequence (SAS) triggered by Ctrl-Alt-Delete. Registry entries in HKLM\Software[\\Wow6432Node\\]\Microsoft\Windows NT\CurrentVersion\Winlogon\ and HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ are used to manage additional helper programs and functionalities that support Winlogon.[4]

Malicious modifications to these Registry keys may cause Winlogon to load and execute malicious DLLs and/or executables. Specifically, the following subkeys have been known to be possibly vulnerable to abuse: [4]

  • Winlogon\Notify - points to notification package DLLs that handle Winlogon events
  • Winlogon\Userinit - points to userinit.exe, the user initialization program executed when a user logs on
  • Winlogon\Shell - points to explorer.exe, the system shell executed when a user logs on

Adversaries may take advantage of these features to repeatedly execute malicious code and establish persistence.

Detection

Mitigations (2)

M1018 User Account Management

Limit the privileges of user accounts so that only authorized administrators can perform Winlogon helper changes.

M1038 Execution Prevention

Identify and block potentially malicious software that may be executed through the Winlogon helper process by using application control [1] tools like AppLocker [2] [3] that are capable of auditing and/or blocking unknown DLLs.

Groups (3)

Software (10)

References

  1. Beechey 2010
  2. Windows Commands JPCERT
  3. NSA MS AppLocker
  4. Cylance Reg Persistence Sept 2013