Threat feed

easyshell-rust-rat-live-staging-c2

Linux EasyShell Rust RAT served by live staging C2 with red-team lineage

Posted · Spectrum Delta Research Team

Summary

An unknown operator is staging a previously undocumented Rust remote-access implant, tracked as Linux EasyShell, from a live command-and-control server that rebuilds its payloads for seven Linux and macOS architectures, according to MalwareMustDie. A shell-script stager probes writable system directories, picks a build with uname, disables TLS verification in curl, wget or Python and saves the payload under a random daemon name such as rsyslogd, sshd or crond, hiding it on macOS with chflags and clearing quarantine attributes. The implant masquerades as kernel threads including kworker and migration names, beacons over HTTPS to /api/v2/sync with a Windows Chrome user agent and provides an interactive shell, SOCKS5 tunnels, file transfer, screenshots and self-deletion, suppressing shell history as it works. MalwareMustDie publishes YARA, Sigma, Snort, Suricata and osquery detection content; hunt for kernel-thread names with a real executable, beacon headers to the published address and the stager writeablex probe.

Breakdown

Technical exposure

  • Linux x86, x86-64, ARM, ARM64, LoongArch hosts and macOS Intel and Apple Silicon
  • Shell access used by the stager, which needs curl, wget or Python for download
  • Egress permitted to a raw IP address on TCP port 8443 for beaconing

Adversary

Unknown operator of 192.3.31.148:8443 deploying the EasyShell red-team framework's Rust implant (no actor attribution)

Procedures (4)

  1. Multi-platform stager downloads architecture-matched payload

    • T1059.004Command and Scripting Interpreter: Unix Shell
    • T1105Ingress Tool Transfer

    Logs

    • Shell command and process audit logs · Shell-script stager creating and deleting a writeablex probe in system binary directories, selecting payloads with uname and downloading from 192.3.31.148:8443/file/<arch> with TLS verification disabled via curl, wget or Python
    • File system events · Payloads dropped under random daemon names rsyslogd, dbus-daemon, systemd-logind, crond, agetty, sshd, polkitd or udevd outside their expected paths; on macOS, hidden files in ~/Library/Caches with cleared quarantine attributes and ad-hoc codesign

    Detectors

    • MMD YARA rule MMD_Sh_EasyShell_VShellTemplate_Stager · Matches the stager writeablex probe plus /file/<arch> routes and macOS hiding stepsNot built-in
  2. Implant masquerades as kernel threads

    • T1036.004Masquerading: Masquerade Task or Service

    Logs

    • Process events with executable links · Kernel-thread-style process names such as [kworker/0:0], [kworker/u8:0], [migration/0], [rcu_sched] or [rcu_bh] that have a valid /proc/<pid>/exe, which a real kernel thread never has

    Detectors

    • MMD YARA rule MMD_Linux_EasyShell_Rust_Implant · Matches EasyShell implant family markers across ELF and Mach-O buildsNot built-in
  3. Rust implant beacons to HTTPS sync endpoint

    • T1071.001Application Layer Protocol: Web Protocols

    Logs

    • Proxy and netflow logs · POST requests to /api/v2/sync on 192.3.31.148:8443 carrying an X-Client-Id header, a Windows Chrome 131 user agent and zh-CN Accept-Language from a Linux or macOS host, plus 200 ms fast-poll bursts
    • Network socket audit · Outbound TLS connections to raw IP 192.3.31.148 on TCP 8443 and downloads from /file/ routes with X-EasyShell-Embed-Rev, X-EasyShell-Stage-Cache or X-EasyShell-Upx response headers

    Detectors

    • MMD Snort and Suricata rule sets · C2 host, payload routes, beacon header set and stager in HTTP responseNot built-in
  4. Hands-on operations, tunnels and history suppression

    • T1090.002Proxy: External Proxy
    • T1070.003Indicator Removal: Clear Command History

    Logs

    • Shell command and process audit logs · Interactive PTY shells, chunked file transfers, SOCKS5 and relay tunnels marked es-hop-wire-v1, screenshots, process listing and termination, self-deletion, and shell history suppression with HISTFILE=/dev/null and set +H

    Detectors

    • MalwareBazaar signature EasyShell Alert · Flags uploaded EasyShell Rust payload samples served by the live C2Not built-in

Indicators of compromise

IPs (1)

  • 192.3.31.148C2 and staging host, AS36352 ColoCrossing, TCP 8443; default framework console on TCP 58090

URLs (2)

  • https://192.3.31.148:8443/file/l64Linux x86-64 payload route; equivalent routes serve l32, a32, a64, l128, darwin_amd64 and darwin_arm64
  • https://192.3.31.148:8443/api/v2/syncImplant HTTPS beacon endpoint accepting X-Client-Id

Hashes (7)

  • fe1666de877da2680ebd637387d9700482425d5d93947202a48af247305e81d4Linux i386 l32 payload; per-download sample, server randomizes each build
  • c31f7fe43c3b144a8e35533062663928ad23534db0cd86abf8ebcc3e93d95696Linux x86-64 l64 payload; per-download sample
  • 7fbed01a062c5204be53ea18acd64e2463b962f04477c4eba8e3d8481cabe6b6Linux LoongArch l128 payload; per-download sample
  • 12b5bbaecc618c16f2b077ab6549b9b34fbd07de409af080aac7f2a8234ab6cfLinux ARM a32 payload; per-download sample
  • d1ec7081abf4a46b6df2a988f291458b09dc24badf23738fe48ed27bc0501be4Linux ARM64 a64 payload; per-download sample
  • fce33d2a9ff591ce02614d8e89729db074891b058762bb2a0bb2c1a7ac465f2cmacOS Intel darwin_amd64 payload; per-download sample
  • b389c22ac1268d43d9bdede5fdfb41a27cf202788917c96a80ef90c8d7cac7bfmacOS Apple Silicon darwin_arm64 payload; per-download sample

Sources

Grades are source reliability (A–F) and information credibility (1–6).

Questions, detections or sightings of easyshell-rust-rat-live-staging-c2? Bring them to the community.