<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Outlook — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/outlook/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 04 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/outlook/feed.xml" rel="self" type="application/rss+xml"/><item><title>Persistence via Malicious Microsoft Outlook VBA Template</title><link>https://feed.craftedsignal.io/briefs/2024-01-outlook-vba-persistence/</link><pubDate>Thu, 04 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-outlook-vba-persistence/</guid><description>Attackers establish persistence by installing a malicious VBA template in Microsoft Outlook, triggering scripts upon application startup by modifying the VBAProject.OTM file, detected by monitoring for unauthorized file modifications.</description><content:encoded><![CDATA[<p>Attackers can leverage Microsoft Outlook&rsquo;s VBA scripting capabilities to establish persistence on compromised systems. This is achieved by installing malicious VBA templates within the Outlook environment. These templates are designed to execute upon application startup, granting the attacker sustained access and control. The attack centers around unauthorized modifications to the <code>VbaProject.OTM</code> file, a critical component for VBA script storage in Outlook. This technique allows threat actors to maintain a foothold even after system restarts or user logoffs. Defenders need to monitor for suspicious changes to this file to identify and mitigate potential compromises.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to the target system, potentially through phishing or other social engineering methods (not detailed in source).</li>
<li>The attacker identifies a user with Microsoft Outlook installed and running on a Windows system.</li>
<li>The attacker modifies or replaces the existing <code>VbaProject.OTM</code> file located in the user&rsquo;s Outlook profile (<code>C:\Users\*\AppData\Roaming\Microsoft\Outlook\</code>).</li>
<li>The modified <code>VbaProject.OTM</code> file contains malicious VBA code designed to execute when Outlook starts.</li>
<li>The victim launches Microsoft Outlook.</li>
<li>The malicious VBA code within <code>VbaProject.OTM</code> executes automatically upon Outlook startup, establishing persistence.</li>
<li>The VBA script can perform various malicious actions, such as downloading and executing additional payloads, establishing command and control, or exfiltrating data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to persistent access to the compromised system, allowing attackers to steal sensitive information, deploy ransomware, or use the system as a staging ground for further attacks within the network. The number of victims and specific sectors targeted depends on the attacker&rsquo;s objectives and scope of the campaign. If the attack succeeds, an attacker could gain complete control over the user&rsquo;s email account and associated data, leading to significant data breaches and financial losses.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect Outlook VBA Template Modification</code> to your SIEM to identify unauthorized modifications to the <code>VbaProject.OTM</code> file based on file creation events.</li>
<li>Enable Sysmon file creation logging (Event ID 11) to activate the <code>Detect Outlook VBA Template Modification</code> rule.</li>
<li>Implement application control policies to restrict unauthorized modifications to Outlook VBA files as described in the &ldquo;Response and remediation&rdquo; section of the source.</li>
<li>Monitor file creation events related to <code>VbaProject.OTM</code> in the specified paths (<code>C:\\Users\\*\\AppData\\Roaming\\Microsoft\\Outlook\\VbaProject.OTM</code>) as highlighted in the rule query.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>persistence</category><category>vba</category><category>outlook</category><category>windows</category></item><item><title>Outlook Security Settings Registry Modification</title><link>https://feed.craftedsignal.io/briefs/2024-01-outlook-registry-security-settings/</link><pubDate>Wed, 03 Jan 2024 18:15:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-outlook-registry-security-settings/</guid><description>Attackers modify Outlook security settings via registry changes to enable malicious mail rules and bypass security controls, potentially leading to persistence and data compromise.</description><content:encoded><![CDATA[<p>Attackers are known to modify Outlook security settings by directly manipulating registry values. This tactic allows them to bypass built-in security controls and enable potentially malicious functionalities such as running unsafe mail client rules. This circumvention of security measures can be leveraged for various malicious purposes, including persistence, data exfiltration, and further compromise of the victim&rsquo;s system. The specific registry keys targeted reside under <code>\SOFTWARE\Microsoft\Office\Outlook\Security\</code>. This technique has been observed in various attack scenarios and poses a significant risk to organizations relying on Outlook for email communication. The modification of these registry settings may be performed by various means, ranging from manually executed commands to automated scripts deployed as part of a larger attack campaign.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to the system through methods such as phishing or exploiting vulnerabilities.</li>
<li>The attacker establishes persistence on the compromised system.</li>
<li>The attacker identifies the specific registry keys controlling Outlook security settings, located under <code>\SOFTWARE\Microsoft\Office\Outlook\Security\</code>.</li>
<li>The attacker uses a command-line tool or script (e.g., <code>reg.exe</code>, PowerShell) to modify the registry values related to Outlook security settings.</li>
<li>Specifically, values are modified to enable the execution of &ldquo;unsafe&rdquo; mail client rules, potentially allowing arbitrary code execution via crafted emails.</li>
<li>The attacker crafts a malicious email designed to trigger the newly enabled, unsafe mail rules.</li>
<li>Upon receiving the email, Outlook processes the rules, executing the attacker&rsquo;s payload.</li>
<li>The attacker achieves code execution, enabling further malicious activities, such as data exfiltration or lateral movement within the network.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful modification of Outlook security settings allows attackers to execute arbitrary code within the context of the user account running Outlook. This can lead to the compromise of sensitive information contained within emails, the installation of malware, and further propagation of the attack throughout the organization. The scope of the impact depends on the privileges of the user account and the attacker&rsquo;s objectives, potentially affecting all users within an organization if the attacker gains domain administrator access.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Outlook Security Settings Updated - Registry&rdquo; to your SIEM to detect unauthorized modifications to Outlook security-related registry keys (logsource: registry_set/windows).</li>
<li>Monitor process creation events for suspicious processes (e.g., <code>reg.exe</code>, <code>powershell.exe</code>) modifying registry keys under <code>\SOFTWARE\Microsoft\Office\Outlook\Security\</code> (Sigma rule below, logsource: process_creation/windows).</li>
<li>Implement strict application control policies to prevent unauthorized execution of scripts and executables that could be used to modify registry settings.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>persistence</category><category>registry_modification</category><category>outlook</category><category>email</category></item></channel></rss>