Skip to content
Threat Feed
high advisory

Outlook Home Page Registry Modification for Command and Control and Persistence

Adversaries can modify Outlook Home Page registry settings to inject malicious content, enabling command and control or persistence, detected by monitoring specific registry keys for unusual URL or path values.

Triage facts

Revision 2
Evidence
Unknown
Severity
High
Sources
2 public sources
Freshness
Revision 2Nov 2, 14:30 UTC
Detection
2 rules
Revision history 1 entry · Revision 2
  1. Revision 2

    Repaired a legacy canonical identity collision

    Changed: slug

Attackers can abuse the Outlook Home Page functionality by modifying specific registry keys to point to attacker-controlled content. This technique allows for command and control or persistence by injecting malicious HTML, scripts, or executables into Outlook's interface. The targeted registry keys reside under *\SOFTWARE\Microsoft\Office\*\Outlook\Webview\* and *\SOFTWARE\Microsoft\Office\*\Outlook\Today\*. This technique is known to be used in conjunction with tools like Specula, which leverages COM server abuse via loopback or localhost URLs. Defenders should be aware of unauthorized modifications to these registry keys, especially when the data strings contain external URLs, local HTML files, or UNC paths, as these could be indicators of malicious activity. The Elastic detection rule ac5a2759-5c34-440a-b0c4-51fe674611d6 detects this behavior across various Windows environments.

Attack Chain

  1. The attacker gains initial access to the target system, potentially through phishing or exploiting a vulnerability.
  2. The attacker identifies the Outlook Home Page registry keys (*\SOFTWARE\Microsoft\Office\*\Outlook\Webview\* or *\SOFTWARE\Microsoft\Office\*\Outlook\Today\*).
  3. Using a script or tool, the attacker modifies the registry values associated with the Outlook Home Page, specifically targeting the data strings.
  4. The attacker sets the registry data to a malicious URL, file path, or UNC path pointing to attacker-controlled content. This may include a local HTML file containing malicious JavaScript or a UNC path hosting an executable.
  5. When Outlook is opened or restarted, it attempts to load the content specified in the modified registry values.
  6. If the content is a URL, Outlook will attempt to connect to the specified web server. If it is a local HTML file, Outlook will render the HTML, potentially executing malicious scripts.
  7. The malicious content executes, establishing a reverse shell or downloading additional malware.
  8. The attacker maintains persistence and/or establishes command and control over the compromised system via the injected content.

Impact

A successful attack using Outlook Home Page modification can lead to persistent command and control within the victim's environment. Attackers can use this technique to execute arbitrary code, steal credentials, or move laterally within the network. Given the widespread use of Outlook in enterprise environments, this technique can potentially affect numerous users and systems, resulting in significant data loss and operational disruption.

Recommendation

  • Deploy the Sigma rule Outlook Home Page Registry Modification to your SIEM to detect suspicious registry modifications related to Outlook Home Page settings.
  • Enable Sysmon registry event logging to collect the necessary data for the Sigma rules to function correctly.
  • Investigate any alerts generated by the Sigma rules, focusing on the registry.path, registry.value, and registry.data.strings fields to identify the modified settings.
  • Monitor process creation events for unusual processes spawned by Outlook (outlook.exe) after the registry modification event.
  • Implement strict policies regarding the use of Outlook Home Page functionality, and consider disabling it entirely if it is not required.
  • Use network monitoring to detect connections to suspicious or unknown domains and IPs originating from Outlook processes.

Detection coverage 2

Outlook Home Page Registry Modification

high

Detects modifications to Outlook Home Page registry keys pointing to suspicious URLs or file paths.

sigma tactics: command_and_control, persistence techniques: T1071.001, T1547.001 sources: registry_set, windows

Suspicious Process Creation from Outlook After Registry Modification

medium

Detects suspicious process creations spawned by Outlook after a registry modification related to the Home Page functionality.

sigma tactics: command_and_control, execution techniques: T1059.001 sources: process_creation, windows

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