<?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>Cortex Cloud Identity Security - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cortex-cloud-identity-security/</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>Tue, 02 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cortex-cloud-identity-security/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>Malicious PowerShell Use of EncodedCommand Parameter</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-powershell-encoded-command/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-02-powershell-encoded-command/</guid><description>Detection of PowerShell processes using the EncodedCommand parameter, often used by adversaries to obfuscate malicious scripts for unauthorized access, privilege escalation, or persistence.</description><content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>Attackers frequently use the PowerShell <code>EncodedCommand</code> parameter to obfuscate malicious scripts, making detection challenging. This technique allows for the execution of Base64-encoded commands, effectively hiding the true nature of the script from cursory inspection. Defenders should be wary of PowerShell processes using <code>EncodedCommand</code> because successful exploitation can lead to unauthorized access, privilege escalation, and persistent threats. This behavior has been observed across various campaigns, including those targeting SolarWinds WHD (post-exploitation), Ukraine (WhisperGate), and US critical infrastructure (Volt Typhoon). The CVE-2025-59287, affecting Microsoft WSUS, also highlights the risk of PowerShell-based attacks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: The attacker gains initial access through various means, such as exploiting a vulnerability or using stolen credentials.</li>
<li>PowerShell Execution: PowerShell is invoked on the compromised system.</li>
<li>EncodedCommand Parameter: The attacker uses the <code>-EncodedCommand</code> (or shortened variations) parameter to pass a Base64-encoded script to PowerShell.</li>
<li>Obfuscation: The encoded script contains malicious commands that are obfuscated to avoid detection by signature-based antivirus solutions.</li>
<li>Payload Delivery: The decoded script executes, downloading and installing a secondary payload, such as a backdoor or remote access trojan (RAT).</li>
<li>Privilege Escalation: The payload attempts to escalate privileges on the system, potentially using techniques like exploiting vulnerable services or bypassing User Account Control (UAC).</li>
<li>Lateral Movement: With elevated privileges, the attacker moves laterally to other systems on the network, often using techniques like Pass-the-Hash or Pass-the-Ticket.</li>
<li>Objective Achieved: The attacker achieves their objective, such as data exfiltration, ransomware deployment, or system disruption.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can result in a range of impacts, including unauthorized access to sensitive data, the deployment of ransomware, and the disruption of critical services. Organizations across various sectors have been targeted, including critical infrastructure (Volt Typhoon) and government entities (WhisperGate). A single successful attack can cost millions of dollars in recovery efforts, lost productivity, and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect PowerShell Encoded Command</code> to your SIEM to identify suspicious PowerShell processes using the <code>EncodedCommand</code> parameter and tune for your environment.</li>
<li>Enable Sysmon process-creation logging to capture the command-line arguments of PowerShell processes, which is required for the Sigma rule above.</li>
<li>Investigate any alerts generated by the Sigma rule <code>Detect PowerShell Encoded Command</code> to determine if the activity is malicious.</li>
<li>Patch CVE-2025-59287 on all affected Windows systems, especially WSUS servers, to prevent exploitation via PowerShell-based attacks.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>powershell</category><category>encodedcommand</category><category>defense-evasion</category></item></channel></rss>