← Voltar ao feed
high technology

SANSAR (REF3364): Linux GPU cryptomining campaign uses exposed Ray job agents, kernel rootkit, NVML spoofing and Ethereum-based C2

2 fonte(s) · 2 atualização(ões) · publicado 12/11/2026 07:48 · coletado há 1 hora

Matéria consolidada. Reúne 2 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 2 fontes trouxeram em 13/11/2026 12:03; os links antigos trazem para cá.

Fontes: gbhackers.com ↗ elastic.co ↗

Elastic Security Labs (elastic.co, 12 Nov 2026) analyzed SANSAR, a Linux cryptomining toolkit that manages CPU and GPU miners through a Rust-based orchestrator and Tor. GBHackers (gbhackers.com, 13 Nov 2026) describes the ongoing campaign as REF3364. The attackers gained root on Linux GPU hosts, many used for AI workloads, by abusing an exposed Ray job agent that accepted unauthenticated job submissions. The toolkit hides itself with a kernel rootkit (acpi_thermal_mgr) and a wrapper around NVIDIA's Management Library (NVML) that falsifies GPU telemetry. A backdoor named netns looks up its C2 address in an Ethereum smart contract. Both sources warn that GPU telemetry alone can't be trusted to verify host hygiene, because kernel-level and user-space indicators are compromised at the same time. Neither source mentions a CVE; the entry point is an exposed, unauthenticated service.

Detalhes técnicos

  • Initial access (T1190): The Ray job agent was reachable externally even though the dashboard listened only on loopback (gbhackers.com). The attackers ran commands such as nvidia-smi to probe the host and opened a Python reverse shell. They then escalated to root (gbhackers.com) and planted SSH keys for persistence (elastic.co).
  • Staging: SANSAR components are deployed under /opt/vadi_ (elastic.co, gbhackers.com).
  • Rootkit: The ftrace/function-tracer-based kernel module acpi_thermal_mgr (acpi_thermal_mgr.ko) hides mining processes, files and network sockets (elastic.co, gbhackers.com). It is installed via DKMS, which makes it persistent (gbhackers.com).
  • NVML wrapper: libnvidia-ml.so.1 is replaced with a wrapper that intercepts NVML calls. It reports zero GPU utilization while randomizing temperature and power values (gbhackers.com, elastic.co).
  • Miners: The CPU miner is XMRig renamed kurt. The GPU miner is SRBMiner-MULTI (3.6.9 per elastic.co) renamed tilki (gbhackers.com, elastic.co).
  • C2 over Tor: SANSAR supports miner start/stop/configuration, interactive shell sessions and direct TCP traffic tasks (elastic.co). Anti-debugging techniques are implemented (elastic.co).
  • netns backdoor: It calls Ethereum JSON-RPC eth_call to read an encoded IPv4 C2 address from a smart contract. It then connects directly over TCP and receives reverse shell commands without authentication (elastic.co, gbhackers.com). The contract address is 0x43eb291f56688c63c93e8a93c4591fc997cf6349 (elastic.co).

Remediação

  • Restrict access to management APIs such as the Ray job agent, enforce authentication, and limit exposure of public-facing services (elastic.co).
  • Correlate several indicators rather than relying on GPU telemetry: Ray job submissions, unexpected SSH keys, modified NVIDIA libraries, DKMS and boot image artifacts, and unusual active services (gbhackers.com).
  • Add out-of-band monitoring and integrity checks for critical libraries and kernel modules (gbhackers.com). Watch for kernel module anomalies and GPU telemetry inconsistencies (elastic.co).
  • Monitor for Tor traffic, Ethereum smart-contract queries and suspicious direct TCP connections (elastic.co, gbhackers.com).
  • Use Elastic Security's YARA rules for SANSAR and netns (elastic.co).

Relatos divergentes

The sources do not contradict each other on the core facts, but they describe the Tor transport differently. Elastic (elastic.co, earlier) says Tor can run in direct or bridge mode using the Lyrebird pluggable transport. GBHackers (gbhackers.com, later) says SANSAR uses the Arti Rust implementation of Tor with obfs4 and WebTunnel transports. The two descriptions may be complementary; the Elastic Security Labs analysis is the primary technical source.

Linha do tempo

  1. gbhackers.com ↗ · pub. 13/11/2026 10:03 · coletado 13/11 12:00

    Advanced Linux Cryptomining Campaign Uses NVIDIA GPU Telemetry Manipulation and Kernel Rootkit for Stealth

    ler a análise desta fonte

    An ongoing Linux cryptomining campaign, tracked as REF3364, leverages a sophisticated toolkit that manipulates NVIDIA GPU monitoring to conceal mining activities across compromised GPU hosts. Attackers exploited an exposed Ray job agent API, which accepted unauthenticated submissions, to deploy malicious workloads. The intrusion chain includes privilege escalation to root, installation of a Rust-based orchestrator named SANSAR, and deployment of a kernel rootkit (acpi_thermal_mgr.ko) to hide mining processes, files, and sockets. The operation subverts NVIDIA's Management Library by replacing libnvidia-ml.so.1 with a wrapper that filters telemetry data, reporting zero GPU utilization while randomizing temperature and power metrics. Communication with the operators is maintained through encrypted Tor channels and Ethereum smart-contracts for controller discovery, complicating detection and remediation. This campaign highlights the risk of relying solely on GPU telemetry for host hygiene verification, as both kernel and user-space indicators are compromised concurrently.

    Technical Details

    The initial access vector was unauthenticated job submissions via the Ray distributed computing framework's job agent, which was reachable externally despite the dashboard listening only on loopback. The attackers executed commands (e.g., nvidia-smi) to probe the environment and established a Python reverse shell before escalating privileges and planting their toolkit under /opt/vadi_. The focal evasion technique is the replacement of libnvidia-ml.so.1 with a wrapper intercepting NVIDIA Management Library calls, effectively hiding GPU mining activity from tools relying on NVML. The ftrace-based rootkit installed via DKMS (acpi_thermal_mgr.ko) ensures persistent hiding of processes and kernel artifacts. SANSAR orchestrates CPU (XMRig renamed kurt) and GPU (SRBMiner-MULTI renamed tilki) miners, communicating over the Tor network utilizing the Arti Rust implementation with multiple pluggable transports (obfs4, WebTunnel). A backdoor named netns uses Ethereum smart-contract calls to retrieve the controller's IPv4 address, then initiates direct TCP connections for command-and-control.

    Remediation

    Detection efforts must include correlation of multiple indicators such as Ray job submissions, unexpected SSH keys, modifications to NVIDIA libraries, DKMS and boot image artifacts, and unusual active services. Reliance on GPU telemetry alone is insufficient given the manipulation of core monitoring components. Establishing out-of-band monitoring and integrity checks for critical libraries and kernel modules is essential for identifying such sophisticated concealment. Network monitoring should focus on Tor traffic and suspicious TCP connections possibly involving blockchain-based controller discovery.

  2. elastic.co ↗ · pub. 12/11/2026 07:48 · coletado 12/11 11:01 primeiro registro

    SANSAR Linux cryptomining toolkit uses kernel rootkit, Tor C2, and Ethereum-based backdoor

    ler a análise desta fonte

    Elastic Security Labs analyzed the SANSAR Linux cryptomining malware, a sophisticated toolkit managing CPU and GPU miners via Tor with a Rust-based orchestrator. The attacker exploited an exposed Ray job agent without authentication to gain root access on Linux GPU hosts. The malware includes a kernel rootkit to hide processes/files, an NVML wrapper to falsify GPU telemetry, and a backdoor named netns that retrieves its command-and-control (C2) address from an Ethereum smart contract. SANSAR communicates over Tor, supporting interactive shell access and miner management. The use of Ethereum for C2 discovery exemplifies novel threat actor techniques complicating detection. GPU infrastructure used for AI workloads may be vulnerable to such cryptojacking, impacting operational costs and capacity.

    Technical Details

    The intrusion began with exploiting an exposed Ray job agent API (MITRE T1190), allowing command execution without authentication. The attacker established persistence by planting SSH keys and deploying SANSAR components under /opt/vadi_. The kernel rootkit module acpi_thermal_mgr hides mining-related processes and network sockets using function tracer hooks. The NVML wrapper intercepts GPU monitoring calls, returning falsified utilization and temperature to evade detection. The netns backdoor uses Ethereum JSON-RPC eth_call to fetch an encoded IPv4 C2 address from a smart contract, connecting directly over TCP to receive reverse shell commands without authentication.

    SANSAR's Tor-based C2 channel supports miners start/stop/configuration, shell sessions, and direct TCP traffic tasks. The miner binaries include an SRBMiner-MULTI 3.6.9 GPU miner (tilki) clone. Tor connection can run in direct or bridge mode using Lyrebird pluggable transport to evade network filters. Anti-debugging techniques are implemented. The Ethereum contract address is 0x43eb291f56688c63c93e8a93c4591fc997cf6349.

    Remediation

    Organizations running GPU clusters, especially for AI, should restrict access to management APIs like Ray job agents, enforce authentication, monitor for kernel module anomalies and GPU telemetry inconsistencies. Detection can leverage Elastic Security's YARA rules for SANSAR and netns. Network monitoring for Tor traffic and Ethereum smart contract queries may aid detection. Regular patching and limiting exposure of public-facing services are critical.