<?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>Redc2 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/redc2/</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>Fri, 21 Aug 2026 20:31:50 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/redc2/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>Trojanized npm Packages Distribute RedC2 4.0 Linux Backdoor</title><link>https://feed.craftedsignal.io/briefs/2026-08-npm-redc2-trojan/</link><pubDate>Fri, 21 Aug 2026 20:31:50 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-npm-redc2-trojan/</guid><description>Fourteen trojanized npm packages masquerading as utility libraries deliver the RedC2 4.0 'RedShell' Linux beacon, which features AI-assisted command execution and cross-platform post-exploitation capabilities.</description><content:encoded><![CDATA[<p>Fourteen trojanized npm packages have been identified that appear to provide legitimate calendar and streak utility functionality but act as delivery mechanisms for the RedC2 4.0 Linux backdoor. The malicious packages, discovered by researchers, execute a bundled binary named 'RedShell' upon being imported into any application dependency graph. This execution occurs without the requirement of install hook functions or specific exported method calls, significantly increasing the probability of silent infection.</p>
<p>RedC2 4.0 is a sophisticated C2 framework marketed on cybercrime forums by the actor 'MarlboroMan'. It is designed for cross-platform operations, including Windows, Linux, and macOS. The Linux variant provides interactive shell access, credential theft, and network pivoting capabilities. The framework is notable for its integration of 'Red Agent', an LLM-driven component that allows operators to issue post-exploitation commands in natural language, abstracting the complexity of manual command-line sequences.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker publishes trojanized npm packages (e.g., <a href="mailto:streak-metrics-math@1.0.0">streak-metrics-math@1.0.0</a>) containing a hidden binary payload under the 'dist/' or 'dist/internal/' directories.</li>
<li>Victim environment imports the malicious package, triggering the 'dist/index.mjs' loader file.</li>
<li>The loader script identifies the bundled binary (e.g., math-core.bin, calc.bin) and programmatically modifies file permissions to make it executable.</li>
<li>The loader launches the 'RedShell' beacon binary as a detached, background process, bypassing common installation-time analysis.</li>
<li>The RedShell beacon establishes communication with the attacker's C2 server and transmits host system information in a registration 'check-in' message.</li>
<li>The beacon enters a command-processing loop to receive instructions, which are executed via '/bin/sh' on the host.</li>
<li>Operators utilize 'Red Agent' (LLM-based) to translate natural-language intent into specific framework commands for lateral movement, data collection, or further payload delivery.</li>
<li>Exfiltrated data (SSH keys, browser credentials) is transmitted back to the C2 operator through the established channel.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful deployment of the RedShell beacon grants an attacker persistent interactive access to the Linux host. The framework facilitates mass credential harvesting, network visualization, and the execution of shellcode or BOFs in-memory. This poses a severe risk to development environments and CI/CD pipelines where npm packages are frequently used, potentially allowing attackers to pivot into internal infrastructure and orchestrate complex, multi-stage intrusions.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy detection rules targeting the execution of binaries directly from node_modules directories, as documented in the detection rules below.</li>
<li>Audit project dependencies for the package names identified in this brief (e.g., streak-metrics-math, kit-map-vim, streak-map-cache, etc.) and remove them if present.</li>
<li>Implement egress filtering on build servers and developer workstations to block connections to unauthorized external IP addresses or domains identified as C2 infrastructure.</li>
<li>Use npm lockfiles to pin dependency versions and perform integrity checks to ensure that no unexpected sub-dependencies have been introduced to the application.</li>
<li>Monitor for unexpected background processes spawned by Node.js or npm-related processes.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>supply-chain</category><category>npm</category><category>malware</category><category>linux</category><category>c2</category><category>redc2</category></item></channel></rss>