EasyShell: A New Rust RAT Hides on Linux as a Fake Kernel Thread
MalwareMustDie details Linux/EasyShell, a Rust implant from a Chinese red-team C2 framework that installs as a fake daemon such as polkitd on Linux and macOS, hides behind kernel-thread names and beacons to /api/v2/sync. One C2 and one victim so far.
A one-line shell script found on a compromised Linux server turned out to be the installer for a Rust remote-access implant nobody had written up before. MalwareMustDie calls it Linux/EasyShell, after the Chinese red-team command-and-control framework it comes from, which is sold through a trial program and paid member circle. The stager picks one of seven builds (Linux on x86, ARM and LoongArch, plus Intel and Apple Silicon Macs), saves it under a fake system daemon name such as polkitd, and the implant hides behind a kernel-thread name like [kworker/0:0]. The operator is unknown: the tool’s Chinese-language traces describe who built the framework, not who ran this server.
For defenders
What it does (per MalwareMustDie): the stager probes for a writable system bin directory with a short-lived writeablex file (a public VShell stager template), downloads from hxxps://192[.]3.31[.]148:8443/file/<arch> with curl, wget or Python with certificate checks off, and on macOS hides the file in ~/Library/Caches, clears its quarantine flag and ad-hoc signs it. The implant beacons with HTTPS POSTs to /api/v2/sync carrying an X-Client-Id header, a Windows Chrome 131 User-Agent and a zh-CN Accept-Language, and offers a PTY shell, file transfer, SOCKS5 and relay tunnels, screenshots and plugin-based credential theft. It checks DMI data, hypervisor names, mouse activity, CPU, RAM and uptime to avoid sandboxes.
Watch the scope: one C2, one known compromised host, no observed entry point. MalwareMustDie rates it an “elevated watch”, not an active campaign, and says the Mac builds ship by default with every EasyShell stager rather than showing this operator targets Macs. The server writes random bytes into each download, so file hashes only match the copies analysed; hunt with the published YARA rules and behavior. The framework’s source is now public on GitHub.
ATT&CK (from the behavior described): T1059.004 (Command and Scripting Interpreter: Unix Shell), T1105 (Ingress Tool Transfer), T1036.005 (Masquerading: Match Legitimate Resource Name or Location), T1553.001 (Subvert Trust Controls: Gatekeeper Bypass), T1564.001 (Hide Artifacts: Hidden Files and Directories), T1497.001 (Virtualization/Sandbox Evasion: System Checks), T1071.001 (Application Layer Protocol: Web Protocols), T1090 (Proxy), T1113 (Screen Capture).
192.3.31[.]148
hxxps://192.3.31[.]148:8443/file/l32
hxxps://192.3.31[.]148:8443/file/l64
hxxps://192.3.31[.]148:8443/file/l128
hxxps://192.3.31[.]148:8443/file/a32
hxxps://192.3.31[.]148:8443/file/a64
hxxps://192.3.31[.]148:8443/file/darwin_amd64
hxxps://192.3.31[.]148:8443/file/darwin_arm64
hxxps://192.3.31[.]148:8443/api/v2/syncpolkitd (or rsyslogd, dbus-daemon, systemd-logind, crond, agetty, sshd, udevd) not owned by a package, in /usr/bin, /usr/local/bin, /usr/libexec or /tmp
~/Library/Caches/polkitd (macOS)
writeablex probe file in system bin directories
Process named like a kernel thread ([kworker/0:0], [rcu_sched]) with a real /proc/PID/exeWhat it means for you
This targets servers, not ordinary home computers, and so far there’s only one known victim. If you run a Linux server or a website on a rented machine, the giveaway is a process pretending to be part of the system that isn’t. If you have a Mac, there’s no sign anyone is aiming this at Macs, but a hidden file called polkitd in your Library/Caches folder would be bad news, because macOS has no such program.
Do this now
- On Linux servers, check that every file named polkitd, rsyslogd, crond, sshd and the like in bin folders belongs to an installed package (
rpm -qfordpkg -S). - Look for processes with kernel-thread names that point to a real program file; a genuine kernel thread has none.
- Stop servers from making outbound connections they don’t need, especially to raw IP addresses on unusual ports like 8443.
- If you find it, freeze the process and capture memory before killing it, as MalwareMustDie advises, then rebuild the server and change every credential used on it.
Source article: MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS
Publisher: MalwareMustDie (unixfreaxjp)
Published: Nov. 20, 2026 (updated Nov. 22, 2026, version v12)
URL: https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html
Executive Summary
MalwareMustDie names this malware Linux/EasyShell (alias ESCH), the client implant of EasyShell, a Chinese red-team command-and-control framework with versioned releases, HTTP, DNS and KCP listeners, a trial program and a paid member circle, associated with the GitHub developer handle doki-byte, whose repository is now public. No threat actor is named: Simplified Chinese strings and a USTC cargo mirror describe the tool’s build environment, and because the framework is handed to trial and paying users they do not identify the operator of this C2. MalwareMustDie confirms the implant is not VShell, although the stager reuses the public VShell stager template, and finds no link to Kinsing or SystemTen. The case covers one C2 (192.3.31[.]148 on TCP/8443, AS36352) and one known compromised host, itself another criminal’s multi-tenant mobile-malware server, where history line 333 piped the stager into sh; initial access was not observed. The stager probes for a writable system bin directory with a writeablex file, picks one of seven builds by OS and CPU, downloads it from /file/<arch> with TLS checks off, saves it under one of eight daemon names (polkitd here), and on macOS hides it in ~/Library/Caches, clears extended attributes and ad-hoc signs it. The statically linked Rust implant beacons over HTTPS POST to /api/v2/sync with an X-Client-Id header and a Windows Chrome 131 User-Agent, masquerades as a kernel thread, runs DMI, hypervisor, mouse, CPU, RAM and uptime sandbox checks, and offers a PTY shell, file transfer, SOCKS5 and relay pivoting, screenshots and credential plugins. The aim is hands-on access and pivoting; MalwareMustDie rates it an elevated watch rather than an active campaign. Hunt leads, false positive expectations, MalwareMustDie’s published YARA, Sigma and osquery content, and the indicators are detailed below.
ATT&CK chain: Execution → Command and Control → Stealth → Discovery → Collection
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | EasyShell C2, Payload Routes and YARA Family Sweep | T1105 (Ingress Tool Transfer), T1071.001 (Application Layer Protocol: Web Protocols) | Low. The IP, routes and family strings are specific; MalwareMustDie found no match in 2,852 benign ELF files at string level, but warns that a goodware retrohunt has not been done, so run the rules in detect-only mode first. |
| 2 (Pro) | Kernel-Thread Name With a Real Executable | T1036 (Masquerading) | Low. Real kernel threads have no /proc/PID/exe link, so a bracketed kworker, rcu_sched, migration or watchdog name with an executable path is almost never legitimate; the rule anchors on that link, not on the name. |
| 2 (Pro) | /api/v2/sync Beacon With a Windows User-Agent From Linux | T1071.001 (Application Layer Protocol: Web Protocols) | Low to Medium. /api/v2/sync is a generic API path some applications use; the lead anchors on the X-Client-Id header plus a Windows Chrome User-Agent coming from a Linux or macOS server to a raw IP on 8443. |
| 2 (Pro) | macOS Daemon-Named File Hidden, Unquarantined and Ad-Hoc Signed | T1553.001 (Subvert Trust Controls: Gatekeeper Bypass), T1564.001 (Hide Artifacts: Hidden Files and Directories), T1113 (Screen Capture) | Low. Developers ad-hoc sign and clear attributes on their own builds, but not on files named after Linux daemons in a Caches folder; the published rule requires both the action and one of the eight names. |
| 3 (Elite) | Web Server User Pipes a Raw-IP Download to sh, Then a Foreign Daemon Appears | T1059.004 (Command and Scripting Interpreter: Unix Shell), T1036.005 (Masquerading: Match Legitimate Resource Name or Location) | Medium. Deployment scripts do run curl or wget, but rarely as www-data or apache, with TLS checks off, to a bare IP, followed by a new non-package file named like a system daemon; it needs process, file and package-ownership data joined. |
EasyShell C2, Payload Routes and YARA Family Sweep
The single C2, 192.3.31[.]148 on TCP/8443 (AS36352, US), served the stager, the seven payloads at /file/l32, /file/l64, /file/l128, /file/a32, /file/a64, /file/darwin_amd64 and /file/darwin_arm64, and the beacon at /api/v2/sync. Per the framework source, payload downloads can carry X-EasyShell-Embed-Rev, X-EasyShell-Stage-Cache and X-EasyShell-Upx response headers, and the EasyShell console defaults to TCP/58090 with HTTP basic auth (a pivot for finding EasyShell servers, never a block or attribution on its own). In binaries the family is marked by the !ES/ configuration slots (for example !ES/9/UAGT/ and !ES/7/SBOX/), impl-core module paths, beacon strings such as ESCH chunk: and es-mux-agg, XOR 0x5A protected strings, and, in builds up to November 20, the crate name easyshell-http-beacon-implant. The detection is a retrospective sweep of proxy, firewall and NetFlow logs for the IP and routes, EDR file telemetry for the published hashes, and YARA scans of new binaries in bin directories, /tmp, ~/Library/Caches and memory dumps using MalwareMustDie’s rules, reproduced below.
MalwareMustDie recommends retro-hunting flows back to April 2026, which matches the earliest possible build date of the implant. Because the server writes random bytes into every payload it generates, the seven hashes only match the copies MalwareMustDie downloaded (a third-party Joe Sandbox copy of l32 had the same size and a different hash), so the YARA rules are the real hunt and the hashes are retro-hunt aids. Do not block the whole 192.3.28[.]0/22 prefix or AS36352; block the one IP. Run the stager rules over shell scripts in web roots, /tmp and upload directories, and the implant rules over ELF and Mach-O files. Any YARA hit on the family rule should be escalated as a confirmed implant: freeze the process with kill -STOP and capture memory before killing it, as MalwareMustDie advises, because killing it first loses the live configuration, session keys and tunnel table.
rule MMD_Sh_EasyShell_VShellTemplate_Stager
{
meta:
description = "Multi-platform shell stager (VShell template + /file/ routes, random daemon-name drop such as polkitd, macOS Gatekeeper handling)"
author = "MalwareMustDie / unixfreaxjp"
date = "2026-11-20"
reference = "MMD-073-2026"
tlp = "CLEAR"
strings:
$p1 = "touch /usr/local/bin/writeablex" ascii
$p2 = "touch /usr/libexec/writeablex" ascii
$p3 = "touch /usr/bin/writeablex" ascii
$p4 = "export PATH=$PATH:$(pwd)" ascii
$r1 = /:\d{2,5}\/file\/darwin_(amd|arm)64"/ ascii
$r2 = /\/file\/(l64|l32|a32|a64|l128)"/ ascii
$r3 = "loongarch64) DL=" ascii
$n1 = /v="(rsyslogd|dbus-daemon|systemd-logind|crond|agetty|sshd|polkitd|udevd)"/ ascii // v12: drop name is one of eight, random per stager
$m1 = "chflags hidden \"$v\"" ascii
$m2 = "xattr -c \"$v\"" ascii
$m3 = "codesign --force --sign - \"$v\"" ascii
$m4 = "$HOME/Library/Caches" ascii
$d1 = "_create_unverified_context()" ascii
condition:
filesize < 64KB and 2 of ($p*) and
( ($n1 and 1 of ($r*)) or (2 of ($m*) and 1 of ($r*)) or (#r2 >= 3 and $d1) )
}
rule MMD_Linux_EasyShell_Rust_Implant
{
meta:
description = "EasyShell (impl-core) Rust HTTPS beacon implant, any build: crate paths, !ES config slots, beacon and tunnel markers"
author = "MalwareMustDie / unixfreaxjp"
date = "2026-11-20"
reference = "MMD-073-2026"
tlp = "CLEAR"
strings:
$crate1 = "easyshell-http-beacon-implant" ascii
$mod1 = "impl-core/src/socks_tunnel/hop_wire.rs" ascii
$mod2 = "impl-core/src/sandbox_guard.rs" ascii
$mod3 = "impl-core/src/wire_dispatch.rs" ascii
$mod4 = "impl-core/src/wire_chunk.rs" ascii
$mod5 = "impl-core/src/delete_self.rs" ascii
$crate4 = "http-beacon-implant-55554944" ascii // ld64 ad-hoc identifier:
Rule source: MalwareMustDie, chapter 27 of the source article; the full pack (including the macOS rule, Snort, Suricata and the payload-set rule with the unmasked C2) is at https://github.com/unixfreaxjp/malwaremustdie/tree/master/etc/easyshell-rat-signatures
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Command and Control → T1105 (Ingress Tool Transfer), T1071.001 (Application Layer Protocol: Web Protocols)
Sources: “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie, Nov. 20, 2026, https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html (source article); MalwareMustDie EasyShell detection pack, https://github.com/unixfreaxjp/malwaremustdie/tree/master/etc/easyshell-rat-signatures (source article’s own rule repository)
Kernel-Thread Name With a Real Executable
The implant carries a table of kernel-thread names such as [kworker/0:0] and [rcu_sched], and per the framework’s server source sets its process name with prctl so that it blends into ps output; it also runs shells with history suppressed. MalwareMustDie’s single most important check is that a real kernel thread has no executable behind it, so a process whose name looks like a kernel thread but whose /proc/PID/exe link points at a file on disk is a user-space process in disguise. The detection is a fleet query for processes named like kworker, migration, rcu_sched or watchdog (with or without brackets) whose executable path is not empty, plus a secondary rule for shells whose environment sets HISTFILE=/dev/null. MalwareMustDie published an osquery query for this, reproduced below.
Run it through osquery, an EDR with Linux process telemetry, or auditd-based collection on a schedule across every Linux server, including inside container namespaces, where kernel-thread names never legitimately appear. Expect essentially no false positives, which is why any hit should go straight to response, but note MalwareMustDie’s warning that the framework has a user-mode Linux plugin that can hide programs and connections from ps and ss; if a host beacons and ps looks clean, walk /proc directly and compare with the network view from outside the host. Do not kill the process first: freeze it, capture memory, block egress, then clean. The check generalises to many Linux implants and miners that masquerade as kernel threads.
SELECT pid, name, path, cmdline, cwd, on_disk FROM processes WHERE (name LIKE '[kworker/%' OR name LIKE '[migration/%' OR name LIKE '[rcu_sched]%' OR name LIKE '[watchdog/%' OR name LIKE 'kworker/%' OR name LIKE 'migration/%' OR name = 'rcu_sched' OR name LIKE 'watchdog/%' OR cmdline LIKE '[kworker/%' OR cmdline LIKE '[rcu_sched]%') AND path != '';
Query source: MalwareMustDie, section 25.6 of the source article.
Hunt Lead Level: 2 (Pro)
ATT&CK: Stealth → T1036 (Masquerading), T1070.003 (Indicator Removal: Clear Command History) (history suppression)
Sources: “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie, Nov. 20, 2026, https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html (source article)
/api/v2/sync Beacon With a Windows User-Agent From Linux
The implant talks to its server over TLS (rustls) with HTTPS POST requests to /api/v2/sync, adding an X-Client-Id header, a User-Agent claiming Windows Chrome 131.0.0.0, and an Accept-Language of zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7, all on TCP/8443 to a raw IP address in this case. The User-Agent and other headers are builder-patched configuration slots (!ES/9/UAGT/ and !ES/14/HDRS/), so another operator may change them, but the path and the X-Client-Id header are part of the framework protocol. The detection is a proxy or TLS-inspection rule for POST /api/v2/sync with an X-Client-Id request header, scored higher when the source is a Linux or macOS server and the User-Agent claims Windows, when the destination is a bare IP rather than a hostname, and when the destination port is 8443. Without TLS inspection, a server making repeated HTTPS connections to a raw IP on 8443 that it never contacted before is the network-flow version of the same lead.
Use web proxy or secure web gateway logs with TLS inspection, Zeek or Suricata HTTP logs where traffic is inspected, and NetFlow or firewall logs for the uninspected variant. Servers should rarely browse at all, so a Windows browser User-Agent from a Linux host is a strong anomaly on its own; allowlist known monitoring or scraping jobs by source host and destination. Blocking all traffic to port 8443 would break legitimate services; enforce a server egress allowlist instead, which MalwareMustDie lists as the main hardening step. A confirmed beacon means an interactive operator may be on the host with tunnels open: freeze, capture memory, then cut egress.
Hunt Lead Level: 2 (Pro)
ATT&CK: Command and Control → T1071.001 (Application Layer Protocol: Web Protocols), T1090 (Proxy) (SOCKS5 and relay tunnels)
Sources: “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie, Nov. 20, 2026, https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html (source article)
macOS Daemon-Named File Hidden, Unquarantined and Ad-Hoc Signed
On a Mac, the stager writes the payload to $HOME/Library/Caches under one of eight Linux daemon names (polkitd in this case; macOS has none of these except its own /usr/sbin/sshd), runs chflags hidden on it, clears its extended attributes (including the quarantine flag) with xattr -c, and ad-hoc signs it with codesign –force –sign -, so Gatekeeper does not block it. The client then takes silent screenshots with /usr/sbin/screencapture -x -t png and checks mouse position through osascript and System Events to detect sandboxes, and its code-signing identifier starts http-beacon-implant-. MalwareMustDie stresses that these builds ship with every EasyShell stager, so they are not evidence this operator targets Macs, but a Mac that runs the stager is infected all the same. The detection is MalwareMustDie’s published Sigma rules for the chflags, xattr and codesign steps on one of the eight names, and for screencapture or osascript mouse checks started from a binary in a Caches folder, plus the osquery check for those file names in user Caches or /tmp.
Use macOS endpoint telemetry with process creation (an EDR or Endpoint Security Framework based tool) and osquery or MDM inventory for the file check. Scope to developer and admin Macs first, which MalwareMustDie identifies as the realistic way a Mac would run a Linux-targeted stager (for example via a compromised package or an SSH session). Legitimate developers do ad-hoc sign and clear attributes on their own builds, so the rule correctly requires one of the eight daemon names; do not widen it to all codesign –sign – activity. TCC prompts or denials naming polkitd are another strong signal. Any hit means the implant is installed: isolate the Mac and rotate SSH keys and cloud credentials that lived on it.
title: macOS Payload Hidden and Quarantine Cleared in Library/Caches (EasyShell Stager)
id: 86c74039-1854-5f1c-bb9d-e89889f7c663
status: experimental
description: Detects the macOS branch of the EasyShell stager that hides polkitd, clears its extended attributes and applies an ad-hoc signature.
references:
- https://blog.malwaremustdie.org/
author: MalwareMustDie / unixfreaxjp
date: 2026-11-20
tags:
- attack.defense_evasion
- attack.t1553.001
- attack.t1564.001
logsource:
product: macos
category: process_creation
detection:
sel_chflags:
Image|endswith: '/chflags'
CommandLine|contains: 'hidden'
sel_xattr:
Image|endswith: '/xattr'
CommandLine|contains: ' -c '
sel_codesign:
Image|endswith: '/codesign'
CommandLine|contains|all:
- '--force'
- '--sign -'
sel_name:
# v12: the drop name is one of eight, picked at random per stager
CommandLine|contains:
- 'rsyslogd'
- 'dbus-daemon'
- 'systemd-logind'
- 'crond'
- 'agetty'
- 'sshd'
- 'polkitd'
- 'udevd'
condition: (sel_chflags or sel_xattr or sel_codesign) and sel_name
falsepositives:
- Unlikely (none of these names is a macOS binary except sshd, which lives in /usr/sbin and is never re-signed this way)
level: high
title: EasyShell macOS Client Silent Screenshot or AppleScript Mouse Check from Non-Standard Parent
id: a288a8f2-8682-5b3c-b14d-46b97f4e0511
status: experimental
description: |
Detects the EasyShell macOS client (MMD-073-2026) behaviour seen in its static strings:
silent screenshots with /usr/sbin/screencapture -x -t png and an anti-sandbox mouse
check through osascript and System Events, started by a binary in a user cache folder
or named polkitd or another EasyShell drop name (macOS has none of them except sshd).
references:
- https://blog.malwaremustdie.org/
author: MalwareMustDie / unixfreaxjp
date: 2026-11-20
tags:
- attack.collection
- attack.t1113
- attack.defense-evasion
- attack.t1497.002
- attack.execution
- attack.t1059.002
logsource:
product: macos
category: process_creation
detection:
parent:
# v12: drop names from the server source; sshd left out (macOS has its own /usr/sbin/sshd)
- ParentImage|endswith:
- '/polkitd'
- '/rsyslogd'
- '/dbus-daemon'
- '/systemd-logind'
- '/crond'
- '/agetty'
- '/udevd'
- ParentImage|contains: '/Library/Caches/'
shot:
Image|endswith: '/screencapture'
CommandLine|contains|all:
- ' -x'
- 'png'
mouse:
Image|endswith: '/osascript'
CommandLine|contains: 'get position of mouse'
condition: parent and (shot or mouse)
falsepositives:
- Unknown; screencapture or osascript started from a cache folder binary is not normal
level: high
Rule source: MalwareMustDie, section 27.1 of the source article.
Hunt Lead Level: 2 (Pro)
ATT&CK: Stealth → T1553.001 (Subvert Trust Controls: Gatekeeper Bypass), T1564.001 (Hide Artifacts: Hidden Files and Directories); Discovery → T1497.002 (Virtualization/Sandbox Evasion: User Activity Based Checks); Execution → T1059.002 (Command and Scripting Interpreter: AppleScript); Collection → T1113 (Screen Capture) (mapping per source article’s Sigma tags)
Sources: “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie, Nov. 20, 2026, https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html (source article)
Web Server User Pipes a Raw-IP Download to sh, Then a Foreign Daemon Appears
On the one known victim, the stager was fetched from 192.3.31[.]148:8443/file and piped straight into sh, with curl and a wget fallback and TLS checks disabled in both. The stager then touches writeablex in /usr/local/bin, /usr/libexec or /usr/bin to find a writable directory, downloads the matching build with curl -k, wget –no-check-certificate or Python’s unverified SSL context, writes it as polkitd (or another of the eight names), and runs it. Initial access was not observed; MalwareMustDie notes the C2 surfaced during the October 2026 vulnerability wave, including PHP2Shell, but says no evidence ties this case to it, and lists a web server user spawning a shell and curl or wget toward a raw IP as a sign worth checking. The detection correlates on one host within minutes: a shell, curl, wget or python process with TLS verification disabled fetching from a bare IP (parent a web server user such as www-data, apache or nobody, or an SSH session); a create-and-delete of a file named writeablex in a system bin directory; and creation of a file with one of the eight daemon names in /usr/bin, /usr/local/bin, /usr/libexec or /tmp that no installed package owns, followed by that file executing and opening an outbound connection.
This needs Linux process telemetry with parent and user (auditd execve rules, eBPF-based EDR, or Sysmon for Linux), file integrity monitoring or file-create events on system bin directories, and a package-ownership check (rpm -qf or dpkg -S) run either inline by the EDR or in a scheduled osquery job. Baseline configuration-management and deployment agents that legitimately write to bin directories and allowlist them by process path and service account. Never match on the daemon name alone, since polkitd, sshd and crond are real programs; the anchor is package ownership plus location plus parentage. If the web server user triggers it on a PHP host, MalwareMustDie suggests checking for memory-exhaustion error bursts and worker crashes around the file’s creation time as signs of a PHP exploit, and patching PHP. A full sequence is a compromise: freeze, capture memory, rebuild from known-good media and rotate credentials used on the host. The pattern catches most curl-pipe-to-sh Linux stagers, not just EasyShell.
Hunt Lead Level: 3 (Elite)
ATT&CK: Execution → T1059.004 (Command and Scripting Interpreter: Unix Shell); Command and Control → T1105 (Ingress Tool Transfer); Stealth → T1036.005 (Masquerading: Match Legitimate Resource Name or Location)
Sources: “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie, Nov. 20, 2026, https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html (source article)
Hash Appendix
EasyShell payload set served by 192.3.31[.]148
SHA256, SHA1 and MD5 all come from the source article (section 24.1); no lookup was run in OTX AlienVault or VirusTotal. The server writes random bytes into every payload it generates, so these hashes match only the copies MalwareMustDie and Joe Sandbox downloaded; other victims will have different hashes for the same builds.
MD5s
754b9d13e9fa687a5bf471423722e06c # l32 -> Linux i386 implant, dropped as polkitd
df786f29ddcd086130cb8730ce6c9612 # l64 -> Linux x86-64 implant, dropped as polkitd
64b940bc41468f51933e0bdebe23f493 # l128 -> Linux LoongArch64 implant, dropped as polkitd
d44eb9976ec3aee864f076a42b152385 # a32 -> Linux ARM implant, dropped as polkitd
4c1ef60aa2585ff3a5e38ea49babe331 # a64 -> Linux ARM64 implant, dropped as polkitd
8d25e6d0dde86738484550e3f68b2a19 # darwin_amd64 -> macOS Intel client, ~/Library/Caches/polkitd
6a9adbc92009568bae5cb2d10f24c02c # darwin_arm64 -> macOS Apple Silicon client, ~/Library/Caches/polkitd
a5bdbe6b22d381140d03ee471d955768 # l32 (Joe Sandbox copy) -> third-party download of the same build
SHA1s
1adfa421724d272d3e1a8f211bf948a55d4ad3fe # l32 -> Linux i386 implant, dropped as polkitd
547cc85bc060b6ebf220fbb82146476627150856 # l64 -> Linux x86-64 implant, dropped as polkitd
550bec09b879e0c8e07a9d58909e1fb5a4ac0c74 # l128 -> Linux LoongArch64 implant, dropped as polkitd
8b3d1d3ee8e3500c7115bba939e047450a0783ac # a32 -> Linux ARM implant, dropped as polkitd
c1e9edbdc877a9365343dc0dfad9d1660073750a # a64 -> Linux ARM64 implant, dropped as polkitd
c1762547592e298cabc0e90309180fa79247ebd3 # darwin_amd64 -> macOS Intel client, ~/Library/Caches/polkitd
7e827b3a7ba5e5064018244cbf594d47a34aefae # darwin_arm64 -> macOS Apple Silicon client, ~/Library/Caches/polkitd
c19907439a231022b8ba54bcaceb17900fd54a17 # l32 (Joe Sandbox copy) -> third-party download of the same build
SHA256s
fe1666de877da2680ebd637387d9700482425d5d93947202a48af247305e81d4 # l32 -> Linux i386 implant, dropped as polkitd
c31f7fe43c3b144a8e35533062663928ad23534db0cd86abf8ebcc3e93d95696 # l64 -> Linux x86-64 implant, dropped as polkitd
7fbed01a062c5204be53ea18acd64e2463b962f04977c4eba8e3d8481cabe6b6 # l128 -> Linux LoongArch64 implant, dropped as polkitd
12b5bbaecc618c16f2b077ab6549b9b34fbd07de409af080aac7f2a8234ab6cf # a32 -> Linux ARM implant, dropped as polkitd
d1ec7081abf4a46b6df2a988f291458b09dc24badf23738fe48ed27bc0501be4 # a64 -> Linux ARM64 implant, dropped as polkitd
fce33d2a9ff591ce02614d8e89729db074891b058762bb2a0bb2c1a7ac465f2c # darwin_amd64 -> macOS Intel client, ~/Library/Caches/polkitd
b389c22ac1268d43d9bdede5fdfb41a27cf202788917c96a80ef90c8d7cac7bf # darwin_arm64 -> macOS Apple Silicon client, ~/Library/Caches/polkitd
c2cd1e202440f94b5a8ef0651dabbdeb506fbab14c021bccd9f54b09ca07a6a2 # l32 (Joe Sandbox copy) -> third-party download of the same build
References Appendix
- “MMD-073-2026 – Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOS”, MalwareMustDie (unixfreaxjp), Nov. 20, 2026, updated Nov. 22, 2026 (v12), https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html
- MalwareMustDie EasyShell detection pack (YARA, Sigma, Snort, Suricata, osquery, STIX), GitHub, https://github.com/unixfreaxjp/malwaremustdie/tree/master/etc/easyshell-rat-signatures