<?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>Arrayref (0.3.10) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/arrayref-0.3.10/</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>Thu, 20 Aug 2026 19:09:48 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/arrayref-0.3.10/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>Supply Chain Attack Targeting Rust Ecosystem via Malicious Crate Dependencies</title><link>https://feed.craftedsignal.io/briefs/2026-08-rust-supply-chain/</link><pubDate>Thu, 20 Aug 2026 19:09:48 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-rust-supply-chain/</guid><description>Threat actors associated with DPRK campaigns compromised the Rust crates.io registry by injecting malicious build scripts into typosquatted dependencies to execute a backdoor on developer and build environments.</description><content:encoded><![CDATA[<p>On August 20, 2026, researchers identified a sophisticated supply chain attack targeting the Rust ecosystem. Attackers compromised maintainer credentials to publish malicious versions of three widely used crates: arrayref (0.3.10), internment (0.8.7), and append-only-vec (0.1.9). These crates were modified to include a dependency on 'proc-macro1', a typosquatted version of the legitimate 'proc-macro2' crate.</p>
<p>The attack leverages the fact that Cargo build scripts are executed with user privileges at compile time. By embedding malicious logic within the build.rs file of the typosquatted crate, the attackers achieve remote code execution whenever an affected project is built. The second-stage payload is a feature-rich backdoor capable of host reconnaissance, browser credential theft, and persistent access. Infrastructure analysis reveals significant overlap with prior supply chain campaigns attributed to North Korean state-sponsored actors, specifically the Mastra and axios campaigns, utilizing Hostwinds LLC infrastructure. Given the ubiquity of these crates, any workstation or CI/CD runner that has built an affected version should be treated as compromised.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker compromises crates.io maintainer credentials or workstation to gain publication access.</li>
<li>Attacker publishes malicious versions of arrayref, internment, and append-only-vec, injecting a dependency on the typosquatted 'proc-macro1' crate.</li>
<li>Victim project builds a dependency tree including the malicious 'proc-macro1' crate.</li>
<li>Cargo triggers the malicious 'build.rs' script within 'proc-macro1' during the compilation phase.</li>
<li>Build script reconstructs the C2 URL from Base64 fragments and downloads a platform-specific binary payload (e.g., Linux, Windows, or macOS).</li>
<li>The payload is written to a temporary directory (/tmp/rust-setup or %TEMP%\rust-setup.ps1) and executed in the background.</li>
<li>The backdoor establishes persistence via systemd services, Registry Run keys, or LaunchAgents.</li>
<li>The backdoor exfiltrates host metadata and stolen browser credentials to the C2 server using HTTPS POST requests.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The campaign affects any developer workstation or automated CI/CD environment that compiled the compromised crates. Successful execution results in full system access, persistent backdoor deployment, and the exfiltration of credentials stored in Chrome, Brave, and Edge browsers. As arrayref is present in a significant percentage of Rust environments, the potential exposure for enterprise build pipelines is substantial, necessitating a full credential rotation and forensic review of affected infrastructure.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Perform an immediate search for the compromised crate versions (arrayref 0.3.10, internment 0.8.7, append-only-vec 0.1.9) in all 'Cargo.lock' files and local registry caches.</li>
<li>Treat all hosts that have compiled these crates as compromised; rotate all credentials, signing keys, and CI secrets accessible from those machines.</li>
<li>Delete malicious artifacts including '/tmp/rust-setup', '%TEMP%\rust-setup.ps1', and '%TEMP%\rust-setup-launch.vbs'.</li>
<li>Block the C2 IP addresses (23.254.165.112 and 23.254.167.107) and the domain 'hwsrv-798836.hostwindsdns.com' at the network perimeter.</li>
<li>Review all new or modified 'build-dependencies' entries in 'Cargo.toml' files, specifically flagging crates that perform unexpected network activity.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>