<?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>Dll-Loading — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/dll-loading/</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/tags/dll-loading/feed.xml" rel="self" type="application/rss+xml"/><item><title>Regsvr32 Silent and Install Parameter DLL Loading</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-regsvr32-dll-loading/</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-03-regsvr32-dll-loading/</guid><description>Detection of regsvr32.exe being used with the silent and DLL install parameter to load a DLL, a technique used by RATs like Remcos and njRAT to execute arbitrary code.</description><content:encoded><![CDATA[<p>This threat brief focuses on the abuse of <code>regsvr32.exe</code>, a legitimate Microsoft Windows utility, to load and execute malicious DLLs. Attackers, including those using Remote Access Trojans (RATs) like Remcos and njRAT, leverage <code>regsvr32.exe</code> with the <code>/s</code> (silent) parameter and the <code>DLLInstall</code> function call. The activity is observed by analyzing process command-line arguments and parent process details from Endpoint Detection and Response (EDR) agents. This technique allows attackers to bypass application whitelisting and execute arbitrary code, maintain persistence, and compromise the system further. The detection described was published in splunk-escu on 2026-05-04.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access via an unknown vector (e.g., phishing, exploit).</li>
<li>The attacker deploys a malicious DLL on the compromised system.</li>
<li>The attacker executes <code>regsvr32.exe</code> with the <code>/s</code> (silent) parameter and the <code>DLLInstall</code> function, for example: <code>regsvr32.exe /s /i:DLLInstall &lt;malicious_dll_path&gt;</code>.</li>
<li><code>Regsvr32.exe</code> loads the specified DLL.</li>
<li>The DLLInstall function within the DLL executes, performing malicious actions. This could involve installing services, modifying registry keys, or injecting code into other processes.</li>
<li>The attacker establishes persistence through registry modifications or scheduled tasks created by the DLL.</li>
<li>The attacker executes arbitrary commands on the system, potentially installing additional malware or exfiltrating data.</li>
<li>The attacker achieves their final objective, such as data theft, system disruption, or ransomware deployment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can allow attackers to execute arbitrary code, bypass application whitelisting, and establish persistence on compromised systems. This can lead to data theft, system disruption, or ransomware deployment. The affected systems can be remotely controlled by the attacker, enabling further lateral movement within the network.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Regsvr32 Silent and Install Param Dll Loading</code> to detect instances of <code>regsvr32.exe</code> being used with the <code>/s</code> and <code>/i</code> parameters.</li>
<li>Enable Sysmon process creation logging (Event ID 1) and Windows Event Log Security Auditing (Event ID 4688) to capture the necessary process and command-line information.</li>
<li>Investigate any instances of <code>regsvr32.exe</code> execution with the silent and DLLInstall parameters, paying close attention to the parent process and the DLL being loaded.</li>
<li>Implement application control policies to restrict the execution of <code>regsvr32.exe</code> or other LOLBins from untrusted locations.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>lolbin</category><category>dll-loading</category><category>regsvr32</category></item></channel></rss>