Linux/EasyShell Rust implant analysed, including an early LoongArch64 build
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published
What happened
Researchers examined a malicious program that can give an attacker remote control of Linux and macOS computers. It disguises itself as a normal system process, and it was found on a victim's machine after a script installed it.
Like I’m new · Written by AI from 1 source · Report an error
In depth
MalwareMustDie analysed a shell script found on a victim's node that installed a Rust beacon implant called Linux/EasyShell. The stager is hosted on a server in the United States run by ColoCrossing, and it installs a payload called polkitd on Linux and macOS. The server provides seven builds, including an l128 build for the LoongArch CPU architecture. The researchers say it may be one of the earliest publicly documented LoongArch64 RAT implementations.
The implant can open a remote shell, run plugins and scripts, transfer files, create SOCKS5 and relay tunnels, take screenshots, and delete itself. Credential dumping and browser password theft come from a separate Extensions plugin set rather than the core implant. A third-party Joe Sandbox run on 21 November executed an l32 copy on Ubuntu 20.04 for about five minutes and scored it 2 out of 100, with no YARA or Suricata match.
The researchers describe EasyShell as a Chinese red team C2 framework sold through trial and member programmes, and say its public repository matches the samples. They say it is not VShell, although the stager is based on a VShell template. No operator is named. A link to a separate intrusion on a Chinese mobile-malware hosting server is rated medium confidence, and a December 2025 incident is unverified. The first report draft is dated 19 November, with an addendum on 22 November.
Key points
- Linux/EasyShell is a Rust implant that targets Linux and macOS, and the researchers identify it as part of the EasyShell multi-platform framework.
- It was delivered by a shell-script stager that installs a payload named polkitd, with eight possible file names chosen at random.
- The beacon can open a remote shell, transfer files, tunnel traffic and take screenshots, and it checks for sandboxes before running.
- The server adds random bytes to each payload, so every victim gets a different file hash and hash-based detection will miss most copies.
- The researchers say the LoongArch and macOS builds are framework defaults, and the operator's intent is unknown.
Q&A
- What does the malware do once it is installed?
- According to the report, the implant can open a remote shell, run plugins and scripts, transfer files, tunnel traffic, take screenshots and delete itself. Credential theft comes from a separate plugin set.
- Who is behind the malware?
- No operator is named in the report. The researchers describe EasyShell as a Chinese red team C2 framework sold through trial and member programmes, and they say the tool's build markers describe its build environment rather than the person running this C2.
- How can defenders spot it when file hashes do not match?
- The server writes random bytes into each payload, so hashes differ between victims. The researchers recommend the YARA rule MMDLinuxEasyShellRustImplant, plus looking for kernel-thread-style process names that have a real executable and for HTTPS POST traffic to /api/v2/sync.
linux easyshellrust implantremote access trojanloongarchpolkitdmalwaremustdiec2 beaconmacos malware
- Publishers
- 1
Sources and verification
Sources and editorial review
No named human review has been recorded for this story.
How severity and exploitation labels work · All sources · Report an error
What to do
- Hunt for processes that use kernel-thread names such as [kworker/0:0] or [rcusched] but have a real executable listed under /proc/pid/exe.
- Look for HTTPS POST traffic to /api/v2/sync with an X-Client-Id header.
- On macOS, look for executable files in user Caches folders that lack a quarantine attribute.
- Use the YARA rule MMDLinuxEasyShellRustImplant on memory dumps and new binaries, rather than relying on file hashes.
Written by AI from the sources, checked against them
Source timeline (UTC) · 1 update
1 published report from 1 publisher. Independent confirmations are unverified.
Explore this report
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Malware
Companies