Security AffairsPierluigi Paganini
Researchers uncover EasyShell RAT built for LoongArch Linux
MalwareMustDie has analysed Linux/EasyShell, a Rust-based implant that targets Linux and macOS with LoongArch support and stealth features. The investigation began after a shell script found on a victim node appeared to be a beaconed downloader rather than a simple miner-uninstaller. The stager, hosted on a server at 192.3.31[.]148:8443 and operated from ColoCrossing in the United States, delivers a payload named polkitd for Linux (saved as /usr/bin/polkitd) and for macOS (placed in ~/Library/Caches/polkitd).
The server offers seven builds (l32, l64, l128, a32, a64, darwin_amd64 and darwin_arm64); the Linux x86 l32 build is described as a Rust HTTPS beacon with the EasyShell framework embedded, while the LoongArch l128 build was compiled with rustc 1.96.0 (others with 1.95.0). The author notes this as one of the earliest publicly documented LoongArch64 RATs within the EasyShell multi-platform implant family.
The Beac on communicates via HTTPS POST to /api/v2/sync with an X-Client-Id header and a Windows Chrome 131 user agent, and can open a remote shell, execute plugins and scripts, transfer files, and provide SOCKS5 and relay tunnelling. It also supports screenshots, process listing, and self- deletion, with credential dumping and browser password theft available only through a separate “Extensions” plugin set.
A third‑party Joe Sandbox test on Ubuntu 20.04 showed a separate l32 copy running briefly, with a different hash but similar size, indicating per-download randomisation of payloads. The researchers caution that macOS and LoongArch payloads are default framework options in EasyShell, not operator‑specific builds, and advise defenders to look for sandbox-detection indicators and traffic to /api/v2/sync. They also provide YARA, Sigma and osquery rules, emphasising detection‑only mode and preserving memory and session data if infection is suspected.