Skip to content
NewA calmer, faster ZeroHour
Malwaremedium

MalwareMustDie documents EasyShell RAT builds for LoongArch Linux

Original title: Linux/EasyShell: MalwareMustDie Identifies One of the Earliest Publicly Documented RATs Built for LoongArch Linux

Security Affairsby Pierluigi Paganini ()5 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

A Rust HTTPS beacon posing as polkitd offers a shell, file theft, SOCKS pivots and plugin-based credential theft.

MalwareMustDie analyzed a shell script from a victim node that installs a Rust beacon the researcher names Linux/EasyShell. The stager at 192.3.31.148:8443, hosted by ColoCrossing in the United States, drops a file called polkitd on Linux and macOS and offers seven builds, including a LoongArch l128 binary compiled with rustc 1.96.0. The implant beacons with HTTPS POST to /api/v2/sync, can open a shell, move files and tunnel, and uses plugins for credential theft. The author says macOS and LoongArch builds are framework defaults, not proof of a targeted campaign, and names no operator.

Unconfirmed: No operator is named; the link to a separate Chinese hosting intrusion is medium confidence, and a December 2025 lookalike is unverified.

Key facts
  • Linux payload path is /usr/bin/polkitd; macOS uses ~/Library/Caches/polkitd.
  • Build names are l32, l64, l128, a32, a64, darwin_amd64 and darwin_arm64.
  • Each download is mutated with random bytes, so hashes differ per victim.
  • A Joe Sandbox run scored 2 of 100 and made three TCP connections to the C2.
  • EasyShell is described as a Chinese red-team framework, not VShell, Kinsing or SystemTen.
Security assessment · AI, from the article

Impact: Remote shell, file theft, SOCKS pivot and plugin credential theft

What to do
  1. 1.Hunt for kernel-thread names such as [kworker/0:0] whose /proc/pid/exe is a real file.
  2. 2.Watch for HTTPS POST to /api/v2/sync with an X-Client-Id header.
  3. 3.Match memory dumps with YARA rule MMD_Linux_EasyShell_Rust_Implant rather than file hashes.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Indicators of compromise

auto-extracted · verify before use · export allAll
TypeIndicatorContext
ipv4192.3.31.148guides the entire analysis. The stager is hosted at hxxps://192[.]3.31[.]148:8443 and installs a payload called polkitd on both Linu
urlhttps://192.3.31.148:8443pproach guides the entire analysis. The stager is hosted at hxxps://192[.]3.31[.]148:8443 and installs a payload called polkitd on both Linux and

From the original article

5 min read at securityaffairs.com

MalwareMustDie analyzes Linux/EasyShell, a Rust implant targeting Linux and macOS, with LoongArch support and stealth features to evade detection. This case began with a shell script found on a victim’s node, which the author credits to 0xrb. MalwareMustDie’s researcher first read it as one more Chinese miner-style uninstaller or downloader.

Security Affairs

By Pierluigi Paganini · securityaffairs.com

Read the full article at Security Affairs

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.