SANSAR Hides Linux Cryptomining Using Kernel Rootkits
Score: 9/10

SANSAR Hides Linux Cryptomining Using Kernel Rootkits

Threat actor REF3364 targets Linux GPU infrastructure using the SANSAR Rust orchestrator, kernel rootkits, and a backdoor that resolves C2 via Ethereum smart contracts.

Executive Summary

Elastic Security Labs is tracking REF3364, a campaign targeting Linux-based GPU and AI infrastructure to deploy a sophisticated cryptomining toolkit. The intrusion begins by exploiting unauthenticated Ray job agents to gain initial access and escalate privileges to root. The attackers deploy a comprehensive suite of malware, centered around the SANSAR Rust orchestrator, which manages CPU and GPU miners (XMRig and SRBMiner-MULTI) over the Tor network.

Technical analysis reveals advanced stealth mechanisms designed to evade detection and monitoring. The toolkit includes a custom NVIDIA Management Library (NVML) wrapper that falsifies GPU telemetry to report 0% utilization, and the 'acpi_thermal_mgr' kernel rootkit which uses ftrace to hide processes, files, and socket entries. Furthermore, the 'netns' backdoor employs a 'dead drop resolver' technique by querying an Ethereum smart contract to retrieve its command-and-control (C2) address.

This campaign represents a significant threat to organizations scaling AI workloads, as it not only steals expensive compute resources but also demonstrates high levels of persistence and evasion. The diversion of GPU capacity can lead to increased operating costs and performance degradation while remaining largely invisible to standard monitoring tools.

Key Details

Report Score

9out of 10
Quality Score
Excellent
IOC Quality9
TTP Details9
Detection Guidance8
Enterprise Relevance9
Clarity & Structure9
Technical Depth10

Sources