<?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>Registry_modification — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/registry_modification/</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>Wed, 03 Jan 2024 18:15:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/registry_modification/feed.xml" rel="self" type="application/rss+xml"/><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><item><title>Werfault ReflectDebugger Persistence via Registry Modification</title><link>https://feed.craftedsignal.io/briefs/2024-01-werfault-reflectdebugger-persistence/</link><pubDate>Wed, 03 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-werfault-reflectdebugger-persistence/</guid><description>Attackers may establish persistence by modifying the ReflectDebugger registry key associated with Windows Error Reporting to execute arbitrary code when Werfault is invoked with the '-pr' parameter.</description><content:encoded><![CDATA[<p>Attackers can abuse the Windows Error Reporting (Werfault) service to establish persistence on a compromised system. This is achieved by modifying the ReflectDebugger registry key. When Werfault is executed with the <code>-pr</code> parameter, it will execute the debugger specified in the ReflectDebugger registry key. This allows attackers to execute arbitrary code every time the Windows Error Reporting utility is triggered. The technique involves modifying specific registry paths associated with the ReflectDebugger. This behavior has been documented as a persistence mechanism in malware analysis reports.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to the system through unspecified means.</li>
<li>The attacker attempts to modify the Windows Error Reporting ReflectDebugger registry key.</li>
<li>The attacker modifies the ReflectDebugger value within one of the following registry paths: <code>HKLM\Software\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger</code>, <code>\REGISTRY\MACHINE\Software\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger</code>, or <code>MACHINE\Software\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger</code>.</li>
<li>The attacker sets the ReflectDebugger value to a malicious executable or script.</li>
<li>The attacker triggers Werfault.exe with the <code>-pr</code> parameter, either manually or through a system event.</li>
<li>Werfault.exe executes the attacker-controlled code specified in the ReflectDebugger registry value.</li>
<li>The attacker achieves persistence, as the malicious code is executed each time Werfault is triggered with the <code>-pr</code> parameter.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to achieve persistence on the targeted system. This can lead to the execution of arbitrary code, potentially resulting in data theft, further malware installation, or complete system compromise. The impact is limited by the permissions of the Werfault process. While no specific victim counts are available, this technique can affect any Windows system where the attacker can modify the registry.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Werfault ReflectDebugger Registry Modification</code> to detect unauthorized modifications to the ReflectDebugger registry key (logsource: <code>registry_set</code>, rule title).</li>
<li>Enable Sysmon process creation logging to detect the execution of Werfault with the <code>-pr</code> parameter.</li>
<li>Monitor registry events for changes to the specific ReflectDebugger paths mentioned in the overview section (<code>HKLM\Software\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger</code>).</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>persistence</category><category>registry_modification</category><category>werfault</category></item></channel></rss>