Linux Cryptomining Operation Uses Rootkit and Modified NVIDIA Library to Hide GPU Activity

Summary
Elastic Security Labs described REF3364, a Linux cryptomining operation observed in late October 2026. Its SANSAR toolkit, kernel rootkit, modified NVML wrapper and netns backdoor conceal mining activity and maintain access.
Key points
- Elastic Security Labs reported that REF3364 used an exposed Ray job agent for initial access, then ran a Python reverse shell job and added an SSH key for persistence.
- SANSAR, a Rust-based toolkit, communicates through TOR using Arti, collects host and GPU information, and manages CPU or GPU miners.
- The acpi_thermal_mgr kernel rootkit uses ftrace to hide selected processes, files and socket entries; a DKMS-built module and initramfs loader support loading at boot.
- A modified NVIDIA Management Library wrapper reportedly filters process information and falsifies telemetry, including reporting GPU utilization as 0%.
- The netns backdoor retrieves a controller address from an Ethereum smart contract and opens a reverse-shell connection over TCP port 8080.
- The operator is unidentified. Elastic found Turkish-language comments in the rootkit source and advised checking job-submission access and GPU monitoring libraries.
Article Details
- Attack Vectors
- Initial access was reportedly achieved through an exposed Ray job agent, which allowed command execution.
- The attacker submitted a Python reverse-shell job that connected to a remote listener, then added an SSH key to the account's authorized_keys file for persistent access.
- After obtaining root access, the attacker staged the toolkit under /opt/vadi_, built the acpi_thermal_mgr kernel module using DKMS, and added an initramfs loader.
- A modified NVML wrapper altered GPU telemetry and filtered process information to conceal cryptomining activity.
- The netns backdoor retrieved a controller IPv4 address using an embedded Ethereum contract, then connected over TCP port 8080 to open a reverse shell.
- SANSAR communicated with an onion service over Tor to receive commands, collect host and GPU information, and manage CPU or GPU miners.
- Defensive Notes
- Review which users and services can submit jobs to Ray job agents.
- Check whether GPU monitoring libraries, including NVML, have been modified.
- Monitor GPU utilization, temperature, and power readings for inconsistencies that could indicate falsified telemetry.
MITRE ATT&CK
T1014 · RootkitThe acpi_thermal_mgr kernel rootkit used ftrace to hide processes, files, and socket entries.T1059.004 · Unix ShellThe exposed Ray job agent allowed the attacker to execute commands.T1059.006 · PythonThe attacker submitted a Python reverse-shell job through the Ray job agent.T1082 · System Information DiscoverySANSAR collected host and GPU information, and the attacker used nvidia-smi to capture GPU inventory.T1090.003 · Multi-hop ProxySANSAR used the Tor anonymity network to communicate with an onion service for command-and-control.T1095 · Non-Application Layer ProtocolThe netns backdoor opened a plain TCP connection to the controller address on port 8080 for a reverse shell.T1098.004 · SSH Authorized KeysThe attacker added an SSH key to the account's authorized_keys file to establish persistent access.T1496 · Resource HijackingSANSAR supervised CPU and GPU miners in a cryptocurrency-mining operation.T1543.002 · Systemd ServiceThe netns backdoor was registered as a systemd service.T1547.006 · Kernel Modules and ExtensionsThe attacker built a kernel module and added an initramfs loader so the rootkit could load again when the host booted.T1562.001 · Disable or Modify ToolsA modified NVML wrapper changed GPU telemetry and filtered process information to evade monitoring.
People
Threat Actors
Malware
acpi_thermal_mgr.koThe "acpi_thermal_mgr.ko" kernel rootkit, on the other hand, uses Function Tracer (ftrace) to conceal cryptomining activity on Linux systems by hiding processes, files, and socket entries.netnsfiles, an NVIDIA Management Library (NVML) wrapper to falsify GPU readings, and a separate backdoor named netns," Elastic Security Labs said in a report published last week.SANSARCentral to the intrusion is a toolkit called SANSAR, a Rust-based orchestrator that receives commands over the TOR anonymity network to manage CPU and GPU miners. The activity was observed in late October 2026.
Vendors
Products
NVIDIA Management Library"The threat actor also deployed a kernel rootkit to hide selected processes and files, an NVIDIA Management Library (NVML) wrapper to falsify GPU readings, and a separate backdoor named netns," Elastic Security LabsNVIDIA System Management Interfacejob agent, allowing the threat actor to execute commands. This includes jobs running the NVIDIA System Management Interface (nvidia-smi) to capture and exfiltrate the GPU inventory to an external server.RayIn the attack chain documented by the company, initial access is said to have been achieved via an exposed Ray job agent, allowing the threat actor to execute commands. This includes jobs running the NVIDIA System
Tools
Artiservice ("efxisnqldelyr5ra25oqfrsut54b34g26e7zrsiuupsoekjof2gho2id[.]onion") for C2 communication via Arti, receiving commands, collecting host and GPU information, and fetching the miner status. The mainDKMStoolkit under /opt/vadi_, built the acpi_thermal_mgr kernel module through Dynamic Kernel Module Support (DKMS) and added an initramfs loader," security researcher Salim Bitam said.nvidia-smithreat actor to execute commands. This includes jobs running the NVIDIA System Management Interface (nvidia-smi) to capture and exfiltrate the GPU inventory to an external server.
