<?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>The Dukes — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/actors/the-dukes/</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 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/actors/the-dukes/feed.xml" rel="self" type="application/rss+xml"/><item><title>Potential Vcruntime140 DLL Sideloading</title><link>https://feed.craftedsignal.io/briefs/2024-01-vcruntime140-dll-sideload/</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-vcruntime140-dll-sideload/</guid><description>Detects potential DLL sideloading of vcruntime140.dll, a common C++ runtime library, often used by threat actors like APT29 (via WinELOADER) to load malicious payloads under the guise of legitimate applications, leading to defense evasion, persistence, and privilege escalation.</description><content:encoded><![CDATA[<p>This brief addresses the threat of DLL sideloading, specifically targeting the <code>vcruntime140.dll</code> library, a common component of the Visual C++ Redistributable. Threat actors, including APT29, have been observed exploiting this technique to load malicious payloads disguised as legitimate applications. By placing a malicious <code>vcruntime140.dll</code> in the same directory as a vulnerable application (e.g., SqlWriter, SqlDumper), attackers can hijack the application&rsquo;s execution flow. This allows them to bypass security measures and execute arbitrary code with the privileges of the compromised application. The use of <code>vcruntime140.dll</code> sideloading has been documented in campaigns involving WinELOADER and targeted attacks against European diplomats. This technique is effective for defense evasion and establishing persistence on compromised systems.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a vulnerable application susceptible to DLL sideloading, such as SqlWriter or SqlDumper.</li>
<li>The attacker crafts a malicious <code>vcruntime140.dll</code> containing the desired payload (e.g., a reverse shell or malware loader).</li>
<li>The attacker gains initial access to the target system (e.g., through phishing or exploiting a software vulnerability).</li>
<li>The attacker places the malicious <code>vcruntime140.dll</code> in the same directory as the vulnerable application.</li>
<li>The attacker executes the vulnerable application (e.g., SqlWriter.exe).</li>
<li>The application attempts to load <code>vcruntime140.dll</code> from its local directory, inadvertently loading the malicious version instead of the legitimate system library.</li>
<li>The malicious DLL executes its payload within the context of the vulnerable application, bypassing security controls.</li>
<li>The attacker achieves persistence and privilege escalation, enabling further malicious activities on the compromised system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful DLL sideloading can lead to a complete compromise of the affected system. Attackers can use this technique to execute arbitrary code, install malware, steal sensitive data, or establish a persistent foothold for future attacks. This technique has been observed in targeted attacks against political organizations and diplomats, highlighting its potential for espionage and disruption. If successful, organizations risk data breaches, financial loss, and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Potential Vcruntime140 DLL Sideloading&rdquo; to your SIEM to detect instances of suspicious <code>vcruntime140.dll</code> loading from non-standard paths (logsource: image_load/windows).</li>
<li>Investigate any instances of <code>vcruntime140.dll</code> being loaded from directories other than <code>C:\Windows\System32\</code>, <code>C:\Windows\SysWOW64\</code>, <code>C:\Program Files\</code>, or <code>C:\Program Files (x86)\</code> using process creation logs.</li>
<li>Implement application whitelisting to prevent the execution of unauthorized applications and DLLs.</li>
<li>Monitor for unsigned or improperly signed instances of <code>vcruntime140.dll</code> being loaded.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>dll-sideloading</category><category>vcruntime140.dll</category><category>apt29</category><category>wineloader</category><category>defense-evasion</category><category>persistence</category><category>privilege-escalation</category></item></channel></rss>