Suspicious Credential Manager Invocation
Detection of an adversary technique involving the invocation of the Windows Stored User Names and Passwords dialogue to access or export cached credentials.
This threat brief focuses on the exploitation of the Windows Stored User Names and Passwords interface, commonly referred to as the Key Manager. Attackers leverage the rundll32.exe utility to invoke this GUI-based component via the keymgr.dll library. By executing the specific command 'rundll32.exe keymgr.dll,KRShowKeyMgr', threat actors can force the Credential Manager window to appear in the user's session. This behavior is indicative of an attempt to interact with or export saved credentials, such as website passwords, network share authentication tokens, or stored certificates, facilitating credential access and persistence efforts. Defenders should monitor for this specific command line pattern to identify unauthorized attempts to harvest stored secrets from the host system.
Impact
Successful exploitation allows an adversary to view, modify, or potentially exfiltrate credentials stored by the Windows Credential Manager. This access can lead to lateral movement, privilege escalation, and persistent access to authenticated services, compromising the overall security posture of the targeted endpoint.
Recommendation
Deploy the Sigma rule below to monitor for unauthorized execution of the Credential Manager dialogue. Ensure Sysmon or equivalent process-creation auditing is active, specifically capturing command-line arguments. Investigate all instances where this utility is invoked outside of known administrative configuration tasks.
Immediate actions
Deploy the Sigma rule provided in this brief to SIEM
Threat Hunt
Search for rundll32.exe processes with command lines containing keymgr
Data: Process creation events
Detection coverage 1
Detect Suspicious Key Manager Access
highDetects the invocation of the Stored User Names and Passwords dialogue (Key Manager) via rundll32.exe
Detection queries are available on the platform. Get full rules →