<?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>Suspicious-File-Creation - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/suspicious-file-creation/</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>Mon, 08 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/suspicious-file-creation/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>Executable or Script Creation in Suspicious Paths</title><link>https://feed.craftedsignal.io/briefs/2024-01-08-suspicious-executable-creation/</link><pubDate>Mon, 08 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-08-suspicious-executable-creation/</guid><description>Attackers may create executables or scripts in suspicious directories to establish persistence, execute malicious code, or evade detection by blending in with legitimate system activity.</description><content:encoded><![CDATA[<p>Attackers often create executable files (e.g., .exe, .dll, .ps1, .py) in unusual directories as part of their attack operations. This can be a way to establish persistence by placing a malicious script in a startup folder, or it could be a way to execute code while avoiding detection. Standard user directories like AppData, Temp, or Public are common targets because they often have relaxed security controls and are less scrutinized than system directories. This technique allows malicious actors to blend in with normal user activity. This type of behavior can be seen across various attack campaigns, from commodity malware to advanced persistent threats (APTs). Detecting these file creations is crucial for identifying compromised systems.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: The attacker gains initial access through an exploit or social engineering.</li>
<li>Privilege Escalation: The attacker escalates privileges to gain higher-level access to the system.</li>
<li>Payload Delivery: The attacker downloads a malicious payload, often a script or executable.</li>
<li>Suspicious Directory Creation: The attacker creates a new directory or uses an existing one in a suspicious location like <code>C:\Users\Public\</code>, <code>C:\Windows\Temp\</code>, or <code>%AppData%</code>.</li>
<li>Executable/Script Creation: The attacker writes the malicious payload (e.g., a PowerShell script, batch file, or compiled executable) to the created or existing directory.</li>
<li>Persistence: The attacker creates a scheduled task or modifies a registry key to execute the malicious script or executable automatically on system startup or user login.</li>
<li>Command and Control: The malicious script or executable establishes a connection to a command-and-control server to receive further instructions.</li>
<li>Lateral Movement/Exfiltration: The attacker uses the compromised system as a pivot point to move laterally within the network or exfiltrate sensitive data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to arbitrary code execution, potentially giving the attacker control over the compromised system. This can lead to data theft, system compromise, lateral movement within the network, and ultimately, significant business disruption. Depending on the level of access achieved, the attacker may be able to install ransomware, steal sensitive data, or disrupt critical business operations. The number of potential victims is broad, spanning across any organization where users have write access to the aforementioned suspicious directories.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable file creation monitoring, specifically for the suspicious paths listed in the rules, using tools like Sysmon (logsource category: file_event, product: windows).</li>
<li>Deploy the Sigma rules provided to your SIEM to detect the creation of executable files in suspicious directories (rules).</li>
<li>Investigate any alerts generated by these rules to determine if the created files are malicious or benign.</li>
<li>Implement application control policies to restrict the execution of unauthorized executables in user directories (recommendation).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>persistence</category><category>suspicious-file-creation</category><category>endpoint</category></item></channel></rss>