Skip to content
Threat Feed
medium advisory

Detection of Unauthorized Access to Outlook Registry Credentials

This brief outlines the detection of unauthorized processes attempting to access sensitive Outlook credentials stored within the Windows registry, a technique commonly employed by info-stealing malware to compromise email accounts.

Security teams should monitor for unauthorized access to Outlook profile credentials stored within the Windows registry. Info-stealing malware, including families such as Stealc, Snake Keylogger, Meduza Stealer, and Lokibot, frequently target these specific registry keys to harvest email account credentials. By accessing these paths, attackers can decrypt stored credentials to exfiltrate sensitive communication or gain unauthorized entry into corporate email environments. This activity is detected by tracking Windows Security Event ID 4663, which records object access attempts. Because legitimate Outlook processes naturally access these registry paths, defenders must filter for legitimate processes (Outlook.exe, HxOutlook.exe) to reduce noise and isolate potentially malicious activity originating from unknown or unauthorized binaries.

Attack Chain

  1. Initial infection typically occurs via phishing or malicious file downloads that drop an info-stealer payload.
  2. The malware executes and gains user-level execution privileges on the target endpoint.
  3. The malware performs reconnaissance of the local file system and registry to locate configuration files and profile data.
  4. The malicious process specifically targets Windows registry keys associated with Outlook profiles, typically located under the Windows Messaging Subsystem hierarchy.
  5. The malware utilizes Windows APIs to perform a read operation on these protected registry keys to retrieve encrypted credentials or profile metadata.
  6. The exfiltrated credential material is staged locally by the malware for network transmission.
  7. The stolen data is exfiltrated to attacker-controlled command-and-control infrastructure for later use in account compromise.

Impact

Successful exploitation allows attackers to gain unauthorized access to user email accounts. This can lead to the exfiltration of sensitive business communications, the impersonation of users for business email compromise (BEC) attacks, and further lateral movement within the network using compromised credentials.

Recommendation

Prioritized actions for detection engineering:

  • Enable "Audit Object Access" in Windows Group Policy and configure tracking for EventCode 4663 to capture registry access attempts.
  • Deploy the provided Sigma rule to alert on non-Outlook processes attempting to read sensitive Outlook registry profile keys.
  • Regularly audit the list of authorized processes that require access to Outlook profile registry keys to account for environment-specific software.
  • Investigate alerts involving unsigned or unknown binaries performing registry read operations on the defined Outlook registry hives.

Immediate actions

Enable Audit Object Access for registry keys in Windows group policy.

IT Operations 48h

Threat Hunt

Search for non-Outlook processes accessing the specific registry hives associated with Outlook profiles.

T1552 high high confidence hunt now

Data: Windows Security Event Logs (Event ID 4663)

Mitigations

Restrict registry read permissions for non-administrative and non-Outlook users.

medium_term System Administrators

Credential theft T1552

Detection coverage 1

Detect Unauthorized Access to Outlook Registry Credentials

high

Detects unauthorized processes attempting to access Outlook credentials stored in the Windows registry, a technique used by info-stealers.

sigma tactics: credential_access techniques: T1552 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →