Skip to main content
Mallory
Malware10 associated actors1 associated CVE

TINYSHELL

Tracked since Nov 25, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns1Associated
Actors10Associated
ATT&CK31Techniques
IOCs31Tracked
Type
Backdoor
Capabilities
ExfiltrationPersistencePost exploitation
Platforms
LinuxNetwork device

TinyShell is a lightweight, open-source backdoor used to provide remote access to compromised Linux systems and Linux-based network appliances. Its core functionality includes remote command execution, interactive or reverse-shell access, and bidirectional file transfer. It supports encrypted communications and is commonly deployed during post-exploitation to retain access to compromised servers. Operators have configured multiple TinyShell instances into chains connecting internal hosts with externally reachable systems, enabling access within otherwise enclosed networks.

TinyShell has been used by multiple independent threat groups, including UNC3886, UNC2891, UNC1945, UNC4540, and LIMINAL PANDA. Documented deployments include banking infrastructure, telecommunications networks, and SonicWall Secure Mobile Access appliances. Operators have established persistence through modified system binaries, initialization scripts, and services, and have concealed running instances through process masquerading and manipulation of process-filesystem visibility. In UNC4540 operations, TinyShell formed part of an appliance-specific malware suite whose accompanying scripts maintained deployment through crashes and firmware upgrades; credential theft was performed by other components of that suite.

TinyShell code and functionality have also been incorporated into other backdoors, including Rekoobe-derived implants and BPFDoor variants. Individual derivatives may add configuration encryption, alternative activation mechanisms, or other capabilities that are not universal to TinyShell.

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
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2025-21590via csirt skExploited in the wildJuniper Junos OS Kernel Isolation Bypass and Arbitrary Code InjectionJuniper vydala bezpečnostné aktualizácie pre svoj sieťový operačný systém Junos OS, ktoré opravujú aktívne zneužívanú zraniteľnosť. CVE-2025-21590 by lokálny útočník s prístupom k shell-u mohol zneužiť na obídenie bezpečnostného mechanizmu Veriexec, vykonanie škodlivého kódu a získanie úplnej kontroly nad systémom. | Zariadenia sú infikované až 6 variantmi open-source backdooru TinyShell. Každý variant na maskovanie svojej činnosti používa iné C2 a inú metódu riadiacej komunikácie.View vulnerability →Source ↗
Threat actors

Associated threat actors

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

View more details →
Jewelbug

“Off-the-shelf Linux backdoor: A VMProtected Rekoobe/TinySHell derived backdoor (raw-TCP + OpenSSL + PTY shell) first seen in March 2024.”

via symantec blogsed-cms.broadcom.com
UNC3886

The use of TinyShell by UNC3886 demonstrates a focus on lightweight, agile attack tools that are highly effective in targeted, post-exploitation operations.

via trendai security blogtrendaisecurity.com
UNC4540

The campaign uses malware consisting of bash scripts and an Executable and Linkable Format binary that Mandiant identified as a TinyShell backdoor.

via register securitytheregister.com
OldGremlin

TinyShell is listed alongside TinyFluff, TinyPosh, and TinyNode among the four implants used by OldGremlin.

via the hacker newsthehackernews.com
UNC2891

To maintain access to hosts within enclosed networks, TINYSHELL was deployed on multiple servers and configured to connect to other servers within the same network.

via group ibgo.group-ib.com
UNC1945

To maintain access to hosts within enclosed networks, TINYSHELL was deployed on multiple servers and configured to connect to other servers within the same network.

via group ibgo.group-ib.com

+4 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1587.001MalwareEvidence2

LIMINAL PANDA employs several custom malware families... PingPong... SIGTRANslator... [and] TinyShell.

Initial Access

3 techniques
T1078Valid AccountsEvidence2

Attacks usually begin at the network edge by exploiting exposed services or valid accounts on devices like VPNs, firewalls, and virtualization hosts.

T1190Exploit Public-Facing ApplicationEvidence4

A suspected Chinese hacking campaign has been targeting unpatched SonicWall Secure Mobile Access (SMA) appliances... While it is unclear what vulnerability was used to compromise devices, Mandiant says that the targeted devices were unpatched, making them likely vulnerable to older flaws.

T1200Hardware AdditionsEvidence2

A Raspberry Pi with a 4G modem was physically connected to the same network switch as the ATM.

Execution

2 techniques
T1059Command and Scripting InterpreterEvidence1

One of the most recognized tools in its malware arsenal is a Linux backdoor called BPFDoor. | Upon gaining a successful foothold, Linux-compatible beacon frameworks such as CrossC2 are deployed to facilitate post-exploitation activities.

T1059.004Unix ShellEvidence3

Command #sh will execute remote commands using the existing command line interpreter.

Persistence

8 techniques
T1037.005Startup ItemsEvidence1

The threat actor was also observed persisting with TINYSHELL via init scripts and service creation.

T1078Valid AccountsEvidence2

Attacks usually begin at the network edge by exploiting exposed services or valid accounts on devices like VPNs, firewalls, and virtualization hosts.

T1505Server Software ComponentEvidence1

TinyShell and China Chopper were both used to establish persistence on staging systems during lateral movement.

T1505.003Web ShellEvidence1

"In March 2025, it was revealed that Chinese cyber-espionage actors were deploying custom backdoors on EoL Junos OS MX routers to drop a set of ‘TinyShell’ backdoor variants."

T1543Create or Modify System ProcessEvidence1

Mandiant explained ... it discovered the UNC3886 “China-nexus espionage group” had deployed several TINYSHELL-based backdoors into Junos OS-powered routers.

T1543.002Systemd ServiceEvidence1

These services were registered with systemd to achieve persistence, allowing them to automatically execute during system startup and reboot.

T1547Boot or Logon Autostart ExecutionEvidence1

Once inside, attackers deploy tools such as CrossC2 for command execution, TinyShell for stealthy persistence...

T1554Compromise Host Software BinaryEvidence1

The threat actor modified software binaries to ensure persistence on the compromised hosts.

Privilege Escalation

7 techniques
T1037.005Startup ItemsEvidence1

The threat actor was also observed persisting with TINYSHELL via init scripts and service creation.

T1055Process InjectionEvidence2

Nesprávne overovanie pôvodu súborov a nedostatočnú izoláciu procesov možno injekciou kódu do legitímnych procesov zneužiť na obídenie zabudovaného bezpečnostného mechanizmu Veriexec.

T1068Exploitation for Privilege EscalationEvidence1

CVE-2025-21590 by lokálny útočník s prístupom k shell-u mohol zneužiť na obídenie bezpečnostného mechanizmu Veriexec, vykonanie škodlivého kódu a získanie úplnej kontroly nad systémom.

T1078Valid AccountsEvidence2

Attacks usually begin at the network edge by exploiting exposed services or valid accounts on devices like VPNs, firewalls, and virtualization hosts.

T1543Create or Modify System ProcessEvidence1

Mandiant explained ... it discovered the UNC3886 “China-nexus espionage group” had deployed several TINYSHELL-based backdoors into Junos OS-powered routers.

T1543.002Systemd ServiceEvidence1

These services were registered with systemd to achieve persistence, allowing them to automatically execute during system startup and reboot.

T1547Boot or Logon Autostart ExecutionEvidence1

Once inside, attackers deploy tools such as CrossC2 for command execution, TinyShell for stealthy persistence...

Stealth

8 techniques
T1014RootkitEvidence2

Mandiant has documented the activities of a team it's called UNC2891 and its targeting of Solaris systems with backdoors dubbed TINYSHELL and SLAPSTICK and a rootkit called CAKETAP.

T1027.002Software PackingEvidence1

STEELCORGI is a packer used to encrypt malware used by the attackers.

T1036MasqueradingEvidence2

the backdoor process, which was named “lightdm” in an attempt to masquerade as the legitimate LightDM display manger, but was found at an unusual location

T1036.005Match Legitimate Resource Name or LocationEvidence2

The threat actor disguised deployed malware with legitimate-looking names.

T1055Process InjectionEvidence2

Nesprávne overovanie pôvodu súborov a nedostatočnú izoláciu procesov možno injekciou kódu do legitímnych procesov zneužiť na obídenie zabudovaného bezpečnostného mechanizmu Veriexec.

T1070Indicator RemovalEvidence2

These backdoors included active and passive functions, and embedded scripts that disabled logging mechanisms on the device.

T1078Valid AccountsEvidence2

Attacks usually begin at the network edge by exploiting exposed services or valid accounts on devices like VPNs, firewalls, and virtualization hosts.

T1564.013Bind MountsEvidence4

UNC2891 also leveraged anti-forensics techniques such as Linux bind mount abuse (MITRE ATT&CK T1564.013) to conceal their activity.

Credential Access

3 techniques
T1003OS Credential DumpingEvidence1

Also dropped are Sliver, TinyShell, keyloggers, and brute-force utilities to facilitate credential harvesting and lateral movement.

T1056.001KeyloggingEvidence2

Also dropped are Sliver, TinyShell, keyloggers, and brute-force utilities to facilitate credential harvesting and lateral movement.

T1110Brute ForceEvidence2

Also dropped are Sliver, TinyShell, keyloggers, and brute-force utilities to facilitate credential harvesting and lateral movement.

Collection

1 technique
T1056.001KeyloggingEvidence2

Also dropped are Sliver, TinyShell, keyloggers, and brute-force utilities to facilitate credential harvesting and lateral movement.

Command and Control

7 techniques
T1071Application Layer ProtocolEvidence5

TinyShell ... provides threat actors with remote command execution over HTTP/HTTPS

T1090.001Internal ProxyEvidence1

The broadly-connected network monitoring server was used as a pivot; a secondary backdoor on the internet-facing mail server maintained access.

T1105Ingress Tool TransferEvidence2

where the BPFdoor controller was deployed... The BPFdoor backdoor was deployed on these systems for long-term persistence.

T1219Remote Access ToolsEvidence2

Employing remote access tools (T1219) and application layer protocols (T1071) for command and control.

T1568Dynamic ResolutionEvidence6

The A-records of these domains were activated only for the duration of the attackers' operations and then disabled afterwards.

T1571Non-Standard PortEvidence2

Investigating which processes were beaconing to Raspberry Pi on port 929.

T1573Encrypted ChannelEvidence1

RifleSpine ... employs the CryptoPP library to implement the AES encryption algorithm, securing data transmitted between the compromised system and the threat actor.

Indicators of compromise

Observables

31 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

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

View more in app →
+40 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 matching31Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors10Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs 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 mapping31Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.