Researchers at MalwareMustDie have identified a remote access trojan (RAT) dubbed Linux/EasyShell, which is notable for being one of the first publicly documented instances of malware targeting the LoongArch CPU architecture. The implant is built using the Rust programming language and is designed to operate on both Linux and macOS systems. Analysis indicates that the malware is part of a broader framework, with build paths within the executable explicitly referencing the EasyShell name.
The infection process typically begins with a shell script that retrieves a stager from a remote server. This server, hosted on infrastructure provided by ColoCrossing in the United States, is configured to deliver seven distinct builds of the malware, including versions for 32-bit and 64-bit Linux, 128-bit LoongArch, and both Intel and Apple Silicon macOS architectures. The stager is programmed to randomly select one of eight file names for the payload, which is then saved as polkitd on the target system.
The LoongArch variant, identified as the l128 build, was compiled using version 1.96.0 of the Rust compiler, while the other variants utilize version 1.95.0. Despite the presence of the LoongArch build, researchers caution that its inclusion may be a default feature of the EasyShell framework rather than a specific targeting choice by the operator. Furthermore, there is uncertainty regarding whether the LoongArch payload is functional on standard distributions like Debian or Kylin, as it may require specific system links or loaders that were not present in the analyzed samples.
The malware functions as an HTTPS beacon, communicating with the command-and-control (C2) server via TCP port 8443. It utilizes a Windows Chrome 131 user-agent string and sends data to a specific endpoint for synchronization. Once active, the implant provides operators with extensive control, including the ability to execute remote shell commands, manage files, perform process manipulation, and establish SOCKS5 or relay tunnels. While credential dumping and browser password theft are not core components of the implant, these capabilities can be added through separate plugin extensions.
To evade detection, the malware performs sandbox checks by monitoring system resources, mouse activity, and hypervisor-related data. It also attempts to disguise its presence by renaming its process to mimic a legitimate kernel thread, such as kworker. Because the C2 server injects random bytes into each generated payload, every downloaded file possesses a unique hash, rendering traditional file-based detection methods ineffective. Researchers have instead recommended the use of YARA rules focused on memory dumps and binary structure to identify the presence of the EasyShell family.
The origin of the EasyShell framework is linked to Chinese red team tooling, which is distributed through various trial and membership programs. While the stager utilizes a template associated with VShell, investigators have found no evidence connecting Linux/EasyShell to other known malware families like Kinsing or SystemTen. The operators behind this specific campaign remain unidentified, and researchers emphasize that the build markers found in the code reflect the framework's development environment rather than the identity of the individual or group deploying the malware.
Evidence of the malware's deployment was discovered during an investigation into an intrusion on a server used to host mobile malware. A single line in a shell history file showed the re-execution of the EasyShell stager from the same C2 infrastructure, leading researchers to assign a medium-confidence rating to the link between the two incidents. Other reports of similar stager templates being used in late 2025 remain unverified. As of the current analysis, there is no evidence that the l32 version of the implant contains built-in persistence mechanisms.




