Skip to main content
Mallory
Malware

Linux/EasyShell

Tracked since Nov 20, 2026 · Updated today
Trending this week#42of 30,739 malware families
Mention activity · 30 days7 mentions · peak 3 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK22Techniques
IOCs0Tracked
Type
RAT
Capabilities
ExfiltrationPost exploitationDefense evasionReconnaissance
Platforms
LinuxmacOS

Linux/EasyShell, also known as ESCH, is a Rust remote-access Trojan and beacon associated with the Chinese EasyShell red-team command-and-control framework. Its payloads support Linux on x86, x86-64, ARM, ARM64, and LoongArch, and macOS on Intel and Apple Silicon. Distribution uses a multi-platform shell stager resembling a publicly documented VShell downloader template, although the implant itself is EasyShell rather than VShell. Initial access and the deployment operator have not been established, and macOS infections have not been confirmed.

The implant communicates over HTTPS and supports interactive pseudo-terminal shells, execution of supplied native binaries and scripts, chunked file uploads and downloads, directory archiving, process enumeration and termination, host-information collection, and self-deletion. Its networking capabilities include SOCKS5 proxying, multiplexed tunnels, relay hops, and outbound proxies. Screenshot support uses a helper on Linux and native screen-capture functionality on macOS.

Defense-evasion features include XOR-obfuscated strings, Linux process masquerading using kernel-thread-style names, suppression of interactive shell history, and anti-analysis checks involving virtualization indicators, hardware resources, uptime, storage conditions, and user activity. The macOS stager hides the payload, clears extended attributes, and conditionally applies an ad-hoc signature. No persistence routine was identified in the examined Linux sample, and no launch-service persistence indicators were identified in the macOS clients. Links to a Chinese red-team development ecosystem do not establish the operator's identity, nationality, or affiliation.

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
MITRE ATT&CK

Techniques & procedures

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

Execution

2 techniques
T1059.002AppleScriptEvidence1

T1059.002 AppleScript osascript mouse check in the macOS client

T1059.004Unix ShellEvidence1

T1059.004 Unix Shell Stager script; PTY shell in interactive.rs

Privilege Escalation

2 techniques
T1055Process InjectionEvidence1

Process injection (T1055) !inj: command marker only; behaviour not traced

T1134Access Token ManipulationEvidence1

Credential dumping, token elevation, browser passwords (T1003, T1134, T1555.003) Offered through the Extensions plugin set per operator text; plugins not in hand

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence1

Part of the string pool is stored XOR encoded with one byte, 0x5A .

T1036.005Match Legitimate Resource Name or LocationEvidence1

T1036.005 Match Legitimate Name or Location polkitd file name; eleven kernel-thread process names

T1055Process InjectionEvidence1

Process injection (T1055) !inj: command marker only; behaviour not traced

T1070.004File DeletionEvidence1

T1070.004 File Deletion delete_self.rs

T1134Access Token ManipulationEvidence1

Credential dumping, token elevation, browser passwords (T1003, T1134, T1555.003) Offered through the Extensions plugin set per operator text; plugins not in hand

T1497.001System ChecksEvidence1

T1497.001 System Checks DMI, hypervisor names, resources; sysctl hw.model on macOS

T1497.002User Activity Based ChecksEvidence1

T1497.002 User Activity Based Checks /dev/input/mice on Linux; AppleScript mouse position on macOS

T1564.001Hidden Files and DirectoriesEvidence1

T1564.001 Hidden Files and Directories chflags hidden on macOS

Defense Impairment

2 techniques
T1553.001Gatekeeper BypassEvidence1

T1553.001 Gatekeeper Bypass xattr -c and ad-hoc codesign

T1690Prevent Command History LoggingEvidence1

The interactive shell prepares its environment with HISTFILE=/dev/null , HISTFILESIZE=0 and set +H so shell history is not kept Confirmed .

Credential Access

2 techniques
T1003OS Credential DumpingEvidence1

Operator messages (Simplified Chinese, translated) say that token elevation, credential dumping (via Mimikatz), browser password theft and sensitive file search are not built into this implant and are offered through an "Extensions" plugin set Confirmed .

T1555.003Credentials from Web BrowsersEvidence1

Credential dumping, token elevation, browser passwords (T1003, T1134, T1555.003) Offered through the Extensions plugin set per operator text; plugins not in hand

Discovery

4 techniques
T1057Process DiscoveryEvidence1

T1057 Process Discovery Process list in svc_ops.rs

T1082System Information DiscoveryEvidence1

T1082 System Information Discovery sysinfo.rs , uname in the stager

T1497.001System ChecksEvidence1

T1497.001 System Checks DMI, hypervisor names, resources; sysctl hw.model on macOS

T1497.002User Activity Based ChecksEvidence1

T1497.002 User Activity Based Checks /dev/input/mice on Linux; AppleScript mouse position on macOS

Collection

2 techniques
T1113Screen CaptureEvidence1

T1113 Screen Capture screenshot_sidecar.rs on Linux; silent screencapture -x on macOS

T1560.002Archive via LibraryEvidence1

T1560.002 Archive via Library Folder zip in folder_zip.rs

Command and Control

4 techniques
T1071.001Web ProtocolsEvidence1

T1071.001 Web Protocols HTTPS POST /api/v2/sync

T1090ProxyEvidence1

T1090 Proxy SOCKS5, relay hops, outbound proxy

T1105Ingress Tool TransferEvidence1

T1105 Ingress Tool Transfer /file/<arch> downloads; plugin delivery

T1571Non-Standard PortEvidence1

T1571 Non-Standard Port HTTPS on tcp/8443

Activity feed

Recent activity

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

View more in app →
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 matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping22Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.