Key facts
- MalwareMustDie analyzed Linux/EasyShell, a Rust-based remote access trojan targeting Linux and macOS including LoongArch architecture.
- The investigation began after a shell script was found on a victim's node, and the script's author is credited as 0xrb.
- The researcher initially classified the shell script as a Chinese miner-style uninstaller or downloader.
- MalwareMustDie compiled four reverse engineering notes, a single forensics note and two OSINT notes into one report.
Security Affairs reported that MalwareMustDie analyzed Linux/EasyShell, which it describes as a Rust-based remote access trojan for Linux and macOS machines, including systems using LoongArch architecture.
The inquiry started when a shell script turned up on a victim’s node, and MalwareMustDie credits the script’s author as 0xrb. The researcher first labeled the script as an uninstaller or downloader in the Chinese miner style.
MalwareMustDie assembled four reverse engineering notes, one forensics note and two OSINT notes into a single report. The initial draft is dated November 19, and a November 22 addendum recorded per-download hashes and pointed to the developer repository.
MalwareMustDie says the stager sits at 192[.]3.31[.]148:8443 and pushes a payload called polkitd to Linux and macOS hosts. On Linux, the payload lands at /usr/bin/polkitd; on macOS, it goes to ~/Library/Caches/polkitd. The stager picks one of eight file names at random, and the same server hosts the malware and collects beacon traffic over TCP port 8443.
MalwareMustDie identifies ColoCrossing as AS36352 and says it houses the server in the United States. The server offers seven builds: l32, l64, l128, a32, a64, darwin_amd64 and darwin_arm64. MalwareMustDie says l32 is a Rust-based HTTPS beacon that bundles all required libraries inside the executable.
MalwareMustDie says build paths contain EasyShell references such as easyshell-http-beacon-implant and impl-core, which is how the researcher arrived at the name Linux/EasyShell. The l128 build is aimed at LoongArch, a CPU architecture, and was compiled using rustc 1.96.0 while the remaining builds rely on rustc 1.95.0.
MalwareMustDie says EasyShell is a Chinese red team command-and-control framework distributed through trial and member programs, and the analyzed samples match its public repository. It is not VShell, and it has no Kinsing or SystemTen link, although the stager comes from a VShell template. No operator has been identified, and the author says build markers describe the build environment rather than the person operating the C2.
MalwareMustDie states that l128 counts as one of the first publicly documented LoongArch64 remote access trojans in the EasyShell family, judging by reporting available as of November 21. The author explains that earliest means no earlier public analysis surfaced, and notes that the LoongArch build comes from the chapter 7 addendum as a default framework component.
MalwareMustDie states that macOS and LoongArch builds ship as default options on every EasyShell stager rather than reflecting a specific decision by this operator. The author wonders whether the LoongArch build runs on stock Debian loong64 or Kylin systems without matching links or a compatible loader, and suggests it may never have executed on real hardware. The author did not execute any sample.
MalwareMustDie says the implant reaches the server through an HTTPS POST to /api/v2/sync, attaching an X-Client-Id header and a Windows Chrome 131 user agent. It opens a remote command line, runs plugins and scripts, moves files in both directions, and builds archives from directories. It also provides SOCKS5 and relay tunnels, an outbound proxy, screen capture, process listing and termination, and self-deletion.
MalwareMustDie says credential dumping, token elevation and browser password theft are not part of the implant itself; those arrive through a separate Extensions plugin set. Before going further, the implant scans system resources, mouse activity, hypervisor names and DMI data for sandbox indicators. It then renames itself to look like a kernel thread, choosing names such as [kworker/0:0].
Joe Sandbox ran a second l32 copy on Ubuntu 20.04 for about five minutes on November 21. The file was 3,769,372 bytes, matching the original size, though its hash differed. The sample opened three TCP sessions with the command server, launched a child process that ran prctl and uname before pausing the thread, and left an empty hidden file behind.
Joe Sandbox scored the sample 2 out of 100 and found no YARA or Suricata match. MalwareMustDie says the server writes random bytes into one slot of each payload, so no two victims get the same file. MalwareMustDie recommends the YARA family rule MMD_Linux_EasyShell_Rust_Implant for memory dumps and new binaries because it matches builds even without the crate name. The report warns, “do not rely on the hashes for other victims.”
MalwareMustDie describes an intrusion against a Chinese mobile-malware hosting server where a single shell-history line re-ran the EasyShell stager from the same command server. MalwareMustDie rates the connection between the two operators at medium confidence. A note about a December 2025 incident involving the same stager template at a different IP address is marked unverified.
MalwareMustDie says the l32 build has no built-in persistence mechanism, though plugins may supply one. Defenders should hunt for processes that borrow kernel-thread names such as [kworker/0:0] or [rcu_sched] while showing a real executable under /proc/pid/exe. They should also monitor for HTTPS POST traffic to /api/v2/sync that carries an X-Client-Id header.
MalwareMustDie says on macOS, defenders should check for executables in user Caches folders lacking a quarantine attribute, code signatures without a Team ID, and TCC prompts that mention polkitd. The report includes YARA, Sigma and osquery detection rules, and the researcher advises starting in detection-only mode. MalwareMustDie validated its rules against known malware strings but did not test them against a broad set of legitimate software for false positives.
If a system looks infected, MalwareMustDie says not to kill the fake kernel thread immediately, and instead to isolate and preserve the system before stopping any process. The report’s golden rule is to collect process state and memory, freeze the thread, cut its network, and then clean, because killing it first destroys the live configuration, session keys and tunnel table.

Join the discussion