A cybersecurity threat, identified as REF3364, is linked to a Linux-targeted cryptocurrency mining operation. This operation manipulates GPU performance data to avoid detection. The activity revolves around a toolkit named SANSAR, which is a Rust-developed orchestrator that communicates using the TOR network to manage both CPU and GPU miners. This malicious activity was detected in late October 2026.
Advanced Concealment Techniques
The attackers employ a kernel rootkit to obscure specific processes and files. They also use a modified NVIDIA Management Library (NVML) wrapper to alter GPU performance readings, alongside a backdoor called netns. According to a report by Elastic Security Labs, this backdoor obtains its command-and-control (C2) address from an Ethereum smart contract, then connects directly to the server.
Initial access is reportedly gained via an exposed Ray job agent, allowing command execution. This includes employing the NVIDIA System Management Interface (nvidia-smi) to capture and send GPU data to an external server. A Python reverse shell job was then used to connect to a remote listener, followed by adding an SSH key for persistent access.
Technical Execution and Impact
Upon acquiring root access, the malicious toolkit is deployed under /opt/vadi_, and the acpi_thermal_mgr kernel module is built using Dynamic Kernel Module Support (DKMS), with an initramfs loader added. The initramfs acts as a temporary root filesystem during the early boot process, enabling the rootkit to reload upon system restart.
This operation involves delivering a modified NVML wrapper that falsifies GPU usage data to evade detection. It hooks NVML calls used by monitoring tools like nvidia-smi, reporting GPU utilization as 0%. Additionally, it provides random temperature and power readings, masking true activity.
Payloads and Ongoing Threat
The toolkit delivers several payloads, including sansar for managing TOR C2, kurt (XMRig 6.25.0) for CPU mining, and tilki (SRBMiner-MULTI 3.6.9) for GPU mining. It also includes lyrebird, a transport proxy for TOR, and acpi_thermal_mgr.ko, a rootkit for concealing processes and directories. The netns backdoor, registered as a systemd service, retrieves an IPv4 address from an embedded contract and establishes a TCP connection to open a reverse shell.
The SANSAR tool conducts anti-debugging checks and communicates with an onion service for C2, receiving commands and gathering host and GPU data. Its main task is to oversee the mining process, launching the appropriate miner based on the C2 message.
Organizational Recommendations
Elastic Security Labs highlights the presence of Turkish language comments in the rootkit’s source code, though the responsible party remains unidentified. They advise organizations expanding GPU infrastructures for AI and other workloads to monitor job submissions and check for alterations in GPU libraries, as cryptojacking can divert resources and raise operational costs.
