Description

REF3364 is a sophisticated cyber intrusion campaign that combines cryptocurrency mining, kernel-level concealment, and encrypted command-and-control communication to compromise Linux-based GPU infrastructure. The operation targets systems running AI and distributed computing workloads, exploiting exposed Ray job submission interfaces to gain unauthorized access. The attack reportedly began when threat actors discovered an internet-accessible Ray job agent that accepted job submissions without authentication. After identifying the vulnerable entry point, they submitted malicious tasks to collect GPU information and eventually established remote access through a Python reverse shell. The attackers then created SSH persistence, gained root privileges, and deployed their malicious toolkit in the compromised environment. The central component of the operation is SANSAR, a Rust-based framework designed to manage cryptocurrency mining activities and provide remote system control. It coordinates CPU and GPU mining processes while using multiple techniques to avoid detection. CPU mining is performed through a modified XMRig executable, while SRBMiner-MULTI handles GPU mining. One of the campaign's most notable features is its manipulation of NVIDIA monitoring. By replacing the original NVIDIA Management Library interface with a malicious wrapper, the attackers alter GPU statistics, making utilization appear inactive and changing temperature and power readings. Consequently, administrators may receive misleading information from commonly used monitoring utilities. The attackers also deploy a kernel rootkit that hides selected processes, files, threads, and network connections. Its integration with DKMS and the system's boot process helps maintain persistence across reboots. For communication, SANSAR uses Tor-based infrastructure to connect with its command-and-control server. Additionally, a separate systemd backdoor retrieves controller information through Ethereum smart contracts before establishing a direct TCP connection. This campaign highlights the growing sophistication of Linux-focused threats. Organizations should monitor exposed Ray services, investigate unexpected SSH keys, inspect NVIDIA library modifications, review kernel modules, and verify system telemetry through independent monitoring solutions. Relying exclusively on standard GPU monitoring tools may allow malicious workloads to remain undetected.