Skip to main content
Mallory
Malware1 associated actor

RedShell

Tracked since Aug 21, 2026 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK37Techniques
IOCs3Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPersistenceReconnaissancePost exploitationDefense evasionLateral movement
Delivery
Landing page
Platforms
Linux

RedShell is a native Linux backdoor and post-exploitation beacon introduced with the RedC2 4.0 command-and-control framework in June 2026. It registers compromised hosts with its controller, collecting host and network identifiers, operating-system details, user information, and privilege status before processing operator commands. Its capabilities include interactive shell access, command execution, file management and transfer, system reconnaissance, SSH key and browser credential theft, database discovery, and data exfiltration. SOCKS5 proxying, TCP port forwarding, and tunneling enable network pivoting. RedShell also supports in-memory ELF and shellcode execution and persistence through scheduled tasks, shell startup mechanisms, user-level services, and desktop autostart entries. Its command channel uses TLS with certificate verification disabled, while some file transfers and exfiltration use plaintext HTTP.

RedShell has been distributed through a software supply-chain campaign involving 14 malicious npm packages disguised as calendar, date-math, and streak-calculation utilities. These packages retain their advertised functionality while concealing a bundled Linux executable presented as a native accelerator. Importing an affected package, directly or through a transitive dependency, triggers a loader that makes the payload executable and starts it as a detached background process. Execution does not depend on installation lifecycle hooks, so disabling npm installation scripts does not prevent this infection path.

The campaign exposes Linux developer systems and build environments to remote control, credential theft, and access to reachable internal services. RedC2 is commercially marketed by an actor using the name MarlboroMan; this association does not establish that actor's responsibility for the npm campaign.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
MarlboroMan

It's located either directly within the "dist/" or under "dist/internal/," but what it contains is the same: the RedShell Linux beacon for RedC2 4.0 that communicates with a remote Windows or Linux server to facilitate post-exploitation activities on the compromised host.

via the hacker newsthehackernews.com
MITRE ATT&CK

Techniques & procedures

37 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1195Supply Chain CompromiseEvidence5

Researchers identified the activity as a software supply chain attack delivering RedShell, a Linux implant.

Execution

8 techniques
T1053.003CronEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

T1059Command and Scripting InterpreterEvidence1

RedShell can run commands, open a reverse shell, transfer files and inspect users, processes and network settings.

T1059.004Unix ShellEvidence3

Through /bin/sh, the Linux beacon provides an interactive shell and allows for a wide range of system operations

T1059.007JavaScriptEvidence2

The attack starts when an affected package is imported into an application.

T1106Native APIEvidence1

The loader makes a bundled Linux executable runnable and launches it silently in the background.

T1129Shared ModulesEvidence1

/dlopen < path > [sym] Loads a shared library and optionally executes a symbol

T1204User ExecutionEvidence2

The danger begins when an affected module is imported.

T1204.002Malicious FileEvidence2

Delivery is handled by the package entry file, dist/index.mjs, which acts as a trojan loader. It re-exports the date helpers and launches the bundled implant as soon as the module loads.

Persistence

5 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

T1053.003CronEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

T1098.004SSH Authorized KeysEvidence2

This implant also has the capability of searching for sensitive information, including SSH keys

T1136Create AccountEvidence1

/adduser < user > < pass > Creates a new user and sets their password

T1543.002Systemd ServiceEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

Privilege Escalation

5 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

T1053.003CronEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

T1055Process InjectionEvidence1

Windows commands ... /redshell bin -inject < process > < filename > Injects shellcode into given process

T1098.004SSH Authorized KeysEvidence2

This implant also has the capability of searching for sensitive information, including SSH keys

T1543.002Systemd ServiceEvidence1

It can create persistence through cron, shell startup files, user-level services or desktop autostart entries.

Stealth

5 techniques
T1036MasqueradingEvidence2

14 trojanized NPM packages have been masquerading as legitimate calendar modules and utility modules while secretly delivering a Linux backdoor

T1055Process InjectionEvidence1

Windows commands ... /redshell bin -inject < process > < filename > Injects shellcode into given process

T1070Indicator RemovalEvidence1

PRIORITY_DELETE Deletes the configuration file and executable, then exits

T1218System Binary Proxy ExecutionEvidence1

This function executes the command via /bin/sh -c... The file or archive is uploaded using curl over HTTPS.

T1620Reflective Code LoadingEvidence3

execution of BOFs, .NET assemblies and shellcode in memory

Credential Access

2 techniques
T1555Credentials from Password StoresEvidence3

The report describes RedShell as capable of taking SSH keys, browser-stored credentials and database-related files.

T1649Steal or Forge Authentication CertificatesEvidence2

The report describes RedShell as capable of taking SSH keys, browser-stored credentials and database-related files.

Discovery

6 techniques
T1016System Network Configuration DiscoveryEvidence2

RedShell can run commands, open a reverse shell, transfer files and inspect users, processes and network settings.

T1033System Owner/User DiscoveryEvidence2

RedShell can run commands, open a reverse shell, transfer files and inspect users, processes and network settings.

T1046Network Service DiscoveryEvidence2

Notable capabilities include: System, process, user, environment, interface, and network discovery.

T1057Process DiscoveryEvidence2

RedShell can run commands, open a reverse shell, transfer files and inspect users, processes and network settings.

T1082System Information DiscoveryEvidence3

Prior to entering a command-processing LO, they collect basic information about the host.

T1083File and Directory DiscoveryEvidence2

allows for a wide range of system operations, including system discovery, file management, collection of data

Lateral Movement

2 techniques
T1021Remote ServicesEvidence2

It supports SOCKS5 proxying, TCP port forwarding and tunnelling, features that can turn one compromised Linux host into a bridge toward otherwise unreachable systems.

T1570Lateral Tool TransferEvidence1

The C2 framework is also feature-rich, supporting terminal access, file transfer, staged payload delivery, data collection, multi-beacon operation, network visualization, host-to-host tunneling, and in-memory execution of Beacon Object Files (BOFs), .NET assemblies, and shellcode.

Collection

1 technique
T1005Data from Local SystemEvidence1

its Linux component facilitates data collection, including the theft of sensitive information such as SSH keys

Command and Control

5 techniques
T1090ProxyEvidence3

It supports SOCKS5 proxying, TCP port forwarding and tunnelling, features that can turn one compromised Linux host into a bridge toward otherwise unreachable systems.

T1090.001Internal ProxyEvidence2

In addition to persistence and in-memory ELF execution, it also supports SOCKS5 proxying.

T1090.003Multi-hop ProxyEvidence1

It supports SOCKS5 proxying, TCP port forwarding and tunnelling, features that can turn one compromised Linux host into a bridge toward otherwise unreachable systems.

T1105Ingress Tool TransferEvidence5

The loader makes a bundled Linux executable runnable and launches it silently in the background.

T1219Remote Access ToolsEvidence1

RedShell can run commands, open a reverse shell, transfer files and inspect users, processes and network settings.

Exfiltration

3 techniques
T1041Exfiltration Over C2 ChannelEvidence1

Commands are received from the server over that connection, and command output, status messages, and errors are sent back over the same connection.

T1048.003Exfiltration Over Unencrypted Non-C2 ProtocolEvidence1

The implant uses separate plain HTTP paths for data theft and payload downloads.

T1567.002Exfiltration to Cloud StorageEvidence1

/download < path > Outbound file or archive upload from the affected host to Litterbox over a separate HTTPS connection

Indicators of compromise

Observables

3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
gurucul threat researchNews · Aug 25, 2026Malicious npm Packages Deploy AI-Powered RedC2 Linux Implant to Steal Credentials and Pivot Networks | Community Portal | GuruculA Linux implant/backdoor delivered via malicious npm packages masquerading as calendar and streak-calculation tools. When the affected package is imported, a loader makes a bundled Linux executable runnable and launches it silently in the background.Read more ↗cyber security newsNews · Aug 24, 2026Malicious npm Packages Deploy AI-Powered RedC2 Linux Implant to Steal Credentials and Pivot NetworksA native Linux implant delivered via trojanized npm packages. It can collect credentials, steal SSH keys, browser-stored credentials and database-related files, execute commands, open a reverse shell, transfer files, inspect users/processes/network settings, establish persistence, and provide proxying, port forwarding, and tunnelling for follow-on compromise.Read more ↗medium meetcyberNews · Aug 24, 202614 Fake npm Packages Were Hiding an AI-Powered Linux Backdoor Called RedC2 4.0 | by Bash Overflow | MeetCyberLinux implant bundled in malicious npm packages as a purported math accelerator. Importing a package launches the binary as a detached background process without an installation hook. It fingerprints hosts, provides an interactive shell, enumerates system information, steals SSH keys and browser credentials, establishes persistence, executes ELF binaries in memory, and provides SOCKS5 proxying for network pivoting.Read more ↗cysecurity newsNews · Aug 23, 2026Trojanized npm Packages Distribute RedC2 4.0 Linux Backdoor Across Systems - CySecurity News - Latest Information Security and Hacking IncidentsLinux beacon/implant associated with RedC2 4.0 that loads from trojanized packages, contacts command-and-control servers, registers compromised hosts, collects host information, provides interactive shell access via /bin/sh, supports file management, data collection, command execution, SSH key and browser credential theft, persistence, in-memory ELF execution, SOCKS5 proxying, and network pivoting.Read more ↗
+2 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching3Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping37Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.