Threat reportMalwareTL-2026-6940
Linux/EasyShell: Rust HTTPS Beacon RAT (Linux, macOS, LoongArch64) from the EasyShell C2 Framework, Stager at 192.3.31.148:8443
MalwareMustDie (MMD-073-2026) documented Linux/EasyShell, a Rust HTTPS beacon implant from the Chinese-developed EasyShell red-team C2 framework, with builds for Linux (x86, x86-64, ARM, AArch64, LoongArch64) and macOS (x86-64, arm64). A shell stager on 192.3.31.148:8443 drops a payload named polkitd that provides remote shell, file transfer, SOCKS5/relay tunnelling, screenshots and sandbox checks.
Key facts
| Identifiers | TL-2026-6940 |
|---|---|
| Also known as | EasyShell, Linux/EasyShell, MMD-073-2026 |
| Severity | HIGH |
| First disclosed | |
| Affected products | Linux (multiple distributions) Linux x86, x86-64, ARM, AArch64 and LoongArch64 hosts; Apple macOS |
| Malware | Cobalt Strike, Linux/EasyShell |
| Tools | EasyShell |
| MITRE ATT&CK techniques | T1027 Obfuscated Files or Information, T1036.004 Masquerade Task or Service, T1036.005 Match Legitimate Resource Name or Location, T1057 Process Discovery, T1059.004 Unix Shell, T1070.004 File Deletion, T1071.001 Web Protocols, T1082 System Information Discovery, T1090.001 Internal Proxy, T1113 Screen Capture, T1497.001 System Checks, T1553.001 Gatekeeper Bypass and 4 more in the attack flow |
| Motivation | UNKNOWN |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-11-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6940 across Splunk SPL, Microsoft KQL and Sigma, covering 22 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: EasyShell Stager Payload Download With TLS Verification Disabled (192.3.31.148:8443 /file/<arch>)
Detects the Linux/EasyShell shell stager (MMD-073-2026) fetching its payload with curl -k, wget --no-check-certificate or a Python unverified SSL context from the C2/stager host 192.3.31.148:8443 or from a /file/<arch> route (l32, l64, l128, a32, a64, darwin_amd64, darwin_arm64). Behaviour-first: the insecure-TLS download plus the EasyShell route pattern fires even if the stager moves to a new IP. Also flags HISTFILE=/dev/null history suppression used by the stager.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1105, T1059.004, T1562.003
- Data sources: sysmon_for_linux, auditd, defender_for_endpoint_linux
- Severity: high
- Confidence: high
Splunk SPL
index=linux sourcetype="sysmon:linux" EventCode=1 (Image="*/curl" OR Image="*/wget" OR Image="*/python*" OR Image="*/sh" OR Image="*/bash")
| eval cmd=lower(CommandLine)
| where (match(cmd,"curl\\s.*(\\s-[a-z]*k[a-z]*(\\s|$)|--insecure)") OR match(cmd,"wget\\s.*--no-check-certificate") OR match(cmd,"_create_unverified_context")) AND (match(cmd,"192\\.3\\.31\\.148") OR match(cmd,"/file/(l32|l64|l128|a32|a64|darwin_amd64|darwin_arm64)(\\s|$|\\?|\")"))
| eval history_suppression=if(match(cmd,"histfile=/dev/null"),"yes","no")
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as commands values(history_suppression) as history_suppression by host, User, ParentImage
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName in~ ("curl","wget","python","python3","sh","bash","dash")
| where ProcessCommandLine matches regex @"(?i)(curl\s.*(\s-[a-z]*k[a-z]*(\s|$)|--insecure)|wget\s.*--no-check-certificate|_create_unverified_context)"
| where ProcessCommandLine has "192.3.31.148" or ProcessCommandLine matches regex @"(?i)/file/(l32|l64|l128|a32|a64|darwin_amd64|darwin_arm64)(\s|$|\?|"")"
| extend HistorySuppression = ProcessCommandLine has "HISTFILE=/dev/null"
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, HistorySuppressionSigma
title: EasyShell Stager Payload Download With TLS Verification Disabled
id: 3f6a1c52-8b7e-4d19-9a3c-5e2d7b814a01
status: experimental
description: Detects the Linux/EasyShell stager downloading a payload with curl -k or wget --no-check-certificate from 192.3.31.148 or a /file/<arch> route.
references:
- https://blog.malwaremustdie.org/2026/11/mmd-073-2026-linuxeasyshell-new-rust.html
- https://securityaffairs.com/204067/malware/linux-easyshell-malwaremustdie-identifies-one-of-the-earliest-publicly-documented-rats-built-for-loongarch-linux.html
author: Threadlinqs Team
date: 2026-11-26
tags:
- attack.command_and_control
- attack.t1105
- attack.execution
- attack.t1059.004
- attack.defense_evasion
- attack.t1562.003
logsource:
category: process_creation
product: linux
detection:
selection_curl_insecure:
Image|endswith: '/curl'
CommandLine|re: '\s-[a-zA-Z]*k[a-zA-Z]*(\s|$)|--insecure'
selection_wget_insecure:
Image|endswith: '/wget'
CommandLine|contains: '--no-check-certificate'
selection_c2_ip:
CommandLine|contains: '192.3.31.148'
selection_route:
CommandLine|re: '/file/(l32|l64|l128|a32|a64|darwin_amd64|darwin_arm64)(\s|$|\?)'
condition: (selection_curl_insecure or selection_wget_insecure) and (selection_c2_ip or selection_route)
falsepositives:
- Administrators fetching internal artefacts from self-signed servers that happen to use a /file/<arch> route
- Lab or CI hosts using curl -k against test servers
level: high
Known false positives:
- Administrators using curl -k against internal self-signed artefact servers with a /file/<arch> style route
- CI/CD or lab hosts that routinely disable TLS verification
Tuning notes: Add the 192.3.31.148 IOC list from research as a lookup. Exclude known internal artefact servers and build accounts. Alert at high priority when the destination is a raw IP on 8443, and enrich with history_suppression=yes.
- EasyShell Stager History Suppression (HISTFILE=/dev/null) With Download Or C2 Context · unlock with TL Creds
- EasyShell Service-Named Payload (polkitd, sshd, crond ...) Executing From Non-Standard Path · unlock with TL Creds
- EasyShell C2 Connection [indicator]:8443 Or Service-Named Process Beaconing To Port 8443 · unlock with TL Creds
- EasyShell Writable-Directory Probe ([indicator]) And Service-Named Payload Drop · unlock with TL Creds
- EasyShell macOS Payload Hidden And Quarantine Cleared In ~/Library/Caches (polkitd) · unlock with TL Creds
- EasyShell C2 Firewall Flow To [indicator] Port 8443 (Stager And Beacon Channel) · unlock with TL Creds
- EasyShell Kernel-Thread Masquerade ([kworker/0:0], [rcu_sched]) On A Real Executable · unlock with TL Creds
- EasyShell HTTPS Beacon POST [indicator] With X-Client-Id To Raw IP On TCP/8443 · unlock with TL Creds
Indicators of compromise
As of 2026-11-26, Threadlinqs Intelligence tracks 22 indicators of compromise for TL-2026-6940.
Sample indicators (3 of 22)
- IP address:
192.3.31[.]148 - File hash:
fe1666de877da2680ebd637387d9700482425d5d93947202a48af247305e81d4 - IP address:
119.45.243[.]154
Defanged, TLP:CLEAR. Full set of 22 indicators: unlock with TL Creds.
Technical analysis
Linux/EasyShell is the name MalwareMustDie gave to a Rust-based HTTPS beacon implant, taken from build-path strings such as easyshell-http-beacon-implant and impl-core. The case began with a stager shell script found on a victim node. The script lives on a C2/stager host, 192.3.31.148 on TCP/8443 (ColoCrossing, AS36352, US). It selects a payload by uname -s / uname -m and downloads it from /file/<arch> (l32, l64, a32, a64, l128, darwin_amd64, darwin_arm64) with TLS verification disabled (curl -k, wget --no-check-certificate, or Python with an unverified SSL context). The payload is saved as polkitd, one of eight service-like names (rsyslogd, dbus-daemon, systemd-logind, crond, agetty, sshd, polkitd, udevd) that the server picks at random. On Linux the stager probes for a writable directory among /usr/local/bin, /usr/libexec and /usr/bin using a short-lived writeablex file, and falls back to /tmp. On macOS the payload lands in ~/Library/Caches/polkitd, is hidden with chflags hidden, has its quarantine attribute cleared with xattr -c, and is ad-hoc code-signed.
The implant is a Rust HTTPS beacon with its libraries built in. It beacons with HTTPS POST /api/v2/sync, an X-Client-Id header and a Windows Chrome 131 user agent, with a JSON envelope. Configuration lives in builder-patched slots (!ES/<n>/<TAG>/) holding the C2 URL, beacon URI, user agent, content type, sandbox thresholds and a TeamServer X25519 public key. The server writes random bytes into one slot (!ES/6/ENTR/) of every payload it generates, so each download has a different hash and hash-based detection fails for other victims. Capabilities are a PTY remote shell, plugin and script execution, chunked file upload and download, folder zipping, SOCKS5 and relay-hop tunnelling, an outbound proxy, screenshots, process listing and killing, and self-deletion. Credential dumping, token elevation and browser password theft are not built in. They come from a separate Extensions plugin set that MMD did not have. The l32 build has no persistence routine, so persistence would come from operator actions or plugins. Sandbox checks cover DMI product/vendor strings, hypervisor names, /proc/xen, mouse activity (/dev/input/mice), DISPLAY/WAYLAND_DISPLAY, CPU, RAM and uptime. The process masquerades as a kernel thread (for example [kworker/0:0] or [rcu_sched]) using prctl while keeping a real /proc/<pid>/exe. The stager disables shell history (HISTFILE=/dev/null). Sensitive strings are XOR-protected with 0x5A.
The LoongArch64 build (l128, rustc 1.96.0) is described by MMD as one of the earliest publicly documented RATs for that architecture, meaning only that MMD found no earlier public analysis as of 2026-11-21. MMD assesses with medium confidence that it is dynamically linked against glibc-style names that do not match real LoongArch glibc, so it may not load on stock loong64 hosts and may never have been tested on real hardware. The macOS and LoongArch builds are framework defaults offered by every EasyShell stager, not a choice of this operator. A Joe Sandbox run of an l32 copy on 2026-11-21 (Ubuntu 20.04) showed three TCP connections to the C2, a forked child calling prctl and uname, and an empty hidden file, scoring 2/100 with no YARA or Suricata match.
Attribution: MMD identifies EasyShell as a Chinese red-team C2 framework distributed to trial and paying users. The public repository (doki-byte/EasyShell) matches the samples. It is not VShell and has no Kinsing or SystemTen link, although the stager reuses a public VShell template. No operator is named, operator intent is unknown, and no monetisation code was found. MMD describes a separate forensic case in which an intruder's shell history on a Chinese mobile-malware hosting server re-ran the same EasyShell stager from this C2. MMD rates the link between that intruder and the C2 operator as medium confidence. No CVE or CVSS is assigned. The report states no vulnerability exploitation tied to this campaign.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1027 Obfuscated Files or Information; T1036.004 Masquerade Task or Service; T1036.005 Match Legitimate Resource Name or Location; T1070.004 File Deletion; T1497.001 System Checks; T1564.001 Hidden Files and Directories
Discovery
T1057 Process Discovery; T1082 System Information Discovery
Execution
Command and Control
T1071.001 Web Protocols; T1090.001 Internal Proxy; T1572 Protocol Tunneling; T1573.002 Asymmetric Cryptography
Collection
defense-impairment
T1553.001 Gatekeeper Bypass; T1690 Prevent Command History Logging
Remediation
Immediate actions
- Block egress to 192.3.31.148 (TCP/8443) and alert on any internal host connecting to it
- Hunt for processes with kernel-thread-style names ([kworker/0:0], [rcu_sched], [migration/0]) that have a real /proc/<pid>/exe
- Hunt for HTTPS POST /api/v2/sync with an X-Client-Id header and a Windows Chrome 131 user agent sent from Linux/macOS servers to a raw IP on tcp/8443
- Hunt for /usr/bin/polkitd, /usr/local/bin/polkitd, /usr/libexec/polkitd or /tmp/polkitd not owned by the polkit package, and ~/Library/Caches/polkitd on macOS
- Do not kill a suspected fake kernel thread first: capture process state and memory, freeze it, cut its network, then clean up (MMD guidance)
Workarounds
- Restrict outbound HTTPS from servers to approved destinations
- On macOS, alert on executables in ~/Library/Caches with no quarantine attribute, no Team ID, or TCC prompts that name polkitd
Longer-term hardening
- Alert on curl -k or wget --no-check-certificate spawned by web server users or other service accounts
- Alert on HISTFILE=/dev/null and set +H in remote shell sessions
- Retro-hunt proxy, DNS and EDR logs back to April 2026 for the C2 IP and the /file/<arch> download pattern
- Deploy MMD's YARA, Sigma and osquery rules in detect-only mode first, since they were tested only against known malware strings
- Do not rely on file hashes: the server randomises a slot in every download
Affected and fixed versions
- Linux (multiple distributions) — Linux x86, x86-64, ARM, AArch64 and LoongArch64 hosts
Vulnerable versions: Hosts where the stager is run or the payload is executed - Apple — macOS
Vulnerable versions: macOS 10.15+ (x86-64); macOS 11.0+ (arm64)
Timeline
- Release date of rustc 1.95.0, used to build six of the seven EasyShell payloads. The l32 build is dated after this day.
- EasyShell repository tag v2.5 committed, according to MMD's addendum. MMD marks the 2026-08-08 release date as unverified.
- History of the EasyShell repository's main branch starts, per MMD's addendum.
- MalwareMustDie v1 first review draft of MMD-073-2026.
- MMD publishes MMD-073-2026 Linux/EasyShell, with YARA, Sigma and osquery rules. It describes the LoongArch64 build as one of the earliest publicly documented RATs for that architecture.
- Joe Sandbox run of an l32 copy (03:47 UTC, Ubuntu 20.04) shows three TCP connections to the C2, prctl and uname calls, and a hidden empty file. Score 2/100.
- MMD v12 adds an addendum on per-download hash randomisation and the public developer repository.
- Security Affairs publishes coverage of the MMD report.
Sources cited
- MMD-073-2026 Linux/EasyShell new Rust implant (MalwareMustDie primary report) blog.malwaremustdie.org · Research · 2026-11-20
- Trellix: The Silent Fileless Threat of VShell (related stager template) trellix.com · Vendor report
- EasyShell tool author GitHub profile (doki-byte) GitHub · Code repository
- EasyShell framework v1.9 note (gm7.org) gm7.org · Blog
- EasyShell framework note (cn-sec.com mirror) cn-sec.com · Blog
- EasyShell trial note (gm7.org) gm7.org · Blog
- Linux/EasyShell: MalwareMustDie Identifies One of the Earliest Publicly Documented RATs Built for LoongArch Linux (Security Affairs) securityaffairs.com · News · 2026-11-26
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.