Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

Elastic Security Labs diagram of the SANSAR toolkit: the SANSAR client reaches its onion C2 through Tor directly or through lyrebird bridges, launches the Kurt XMRig and Tilki SRBMiner-MULTI miners and an NVML wrapper, and installs the acpi_thermal_mgr kernel rootkit and the netns backdoor, which retrieves its C2 address from an Ethereum contract.
Image: Elastic Security Labs, "0% GPU utilization: How SANSAR hides Linux cryptomining," Nov. 12, 2026.

Detection

Elastic Says Attackers Took Over GPU Servers Through an Exposed Ray Job Agent and Swapped In an NVIDIA Library That Tells Monitoring Tools the GPUs Are Idle While They Mine

Elastic Security Labs says the toolkit it calls SANSAR runs miners over Tor, hides them with a kernel rootkit, reports 0% GPU utilization through a modified NVML library and keeps a second backdoor that looks up its controller in an Ethereum smart contract. The way in was a Ray job agent that accepted jobs from the internet without a password.

Ava Okello, DetectionLondon6 min read

LONDON - On a GPU server that has been taken over by the toolkit Elastic Security Labs calls SANSAR, the first tool an administrator reaches for will say nothing is wrong. Run nvidia-smi and the cards report 0% utilization, a temperature somewhere between 36 and 46 degrees Celsius and a power draw of 100 to 200 watts. According to Elastic, those numbers are made up by a library the attacker put in place of NVIDIA's own, while two cryptocurrency miners run underneath, hidden by a kernel rootkit.

Elastic, which tracks the intrusion as REF3364, published its analysis on Nov. 12 and describes three Linux GPU hosts compromised in late October. The report, written by Salim Bitam, does not name an actor or say how many organizations were affected. Its value for defenders is in the detail: how the attacker got in, where the toolkit lives on disk, and which pieces of normal GPU monitoring it was built to fool.

A job queue open to the internet

The way in was Ray, the open-source framework many teams use to spread Python workloads, including AI model training and inference, across a cluster. On the first host, Elastic says, the Ray dashboard listened only on the local loopback interface, which is the kind of setting that can make a deployment look locked down. The job agent did not. "The job agent remained reachable from the internet and accepted job submissions without authentication," the report says.

Elastic's timeline from the Ray logs is short. External probes first appeared on Oct. 22. On Oct. 24, a submitted job ran nvidia-smi and sent the GPU inventory to an external server. On Oct. 25, the attacker submitted a Python reverse-shell job, then added an SSH key to the authorized_keys file of the account that owned the Ray session to keep access.

After obtaining root, the attacker staged the toolkit under /opt/vadi_, built a kernel module named acpi_thermal_mgr through Dynamic Kernel Module Support and added an initramfs loader so the rootkit loads again when the host boots. The installation also replaced the NVML library and registered a second backdoor, netns, as a systemd service.

Fake telemetry, by design

Source code of the SANSAR NVML wrapper hooking nvmlDeviceGetUtilizationRates to return zero, nvmlDeviceGetTemperature to return a random value from 36 to 46 and nvmlDeviceGetPowerUsage to return a random value from 100,000 to 200,000 milliwatts.
Image: Elastic Security Labs, NVML wrapper source recovered from /opt/vadi_/nvml-hook/, Nov. 12, 2026.

NVML is the user-space library behind nvidia-smi and many GPU dashboards. Elastic says the attacker's version of libnvidia-ml.so.1 passes each query to the genuine NVIDIA library and then rewrites the answer: utilization becomes 0%, and temperature and power are replaced with random readings in a normal-looking range. The recovered Makefile uses ldconfig to find the NVIDIA library directory, swaps in the wrapper, leaves the real versioned library in place for its own calls and creates /usr/lib/.libnvidia-ml.so.1.backup if no backup exists.

The miners themselves are public tools. Elastic identifies kurt as XMRig 6.25.0 and tilki as SRBMiner-MULTI 3.6.9, and says the collected tilki has the same SHA-256 hash as the official SRBMiner-MULTI Linux release. SANSAR, a Rust client that reports itself as version 0.1.3, supervises both. It talks to an onion service on port 9051 using Arti, the Tor Project's Rust implementation of Tor, and can also connect through a bridges file with seven WebTunnel and three obfs4 entries using the lyrebird transport helper.

Elastic counts 16 command types in SANSAR's protocol. They cover registration and heartbeats, interactive Bash shells in a pseudo-terminal with shell history switched off, miner start, stop and configuration changes, and a "StressStart" command that sends raw TCP SYN traffic at an address and port chosen by the controller. Before connecting, the client checks /proc/self/status for a debugger and exits if one is attached.

Hiding what the dashboards miss

Source code of the acpi_thermal_mgr kernel rootkit module parameters, with hide_name3 set to kurt and hide_name4 set to lyrebird, plus hide_prefix and hide_module options.
Image: Elastic Security Labs, acpi_thermal_mgr module parameters, Nov. 12, 2026.

The rootkit uses the kernel's Function Tracer, ftrace, to intercept getdents64, openat and kill, along with the routines that produce TCP and UDP socket listings. Elastic says it removes hidden process IDs from /proc listings, returns "No such file or directory" for their /proc paths and "No such process" for signals, and hides their sockets. The XMRig miner and the Tor helper, kurt and lyrebird, are compiled in as default hidden names. Module self-hiding exists but is off by default. The collected files included the module's C source under /usr/src/acpi_thermal_mgr-1.0/, with Turkish comments, which Elastic notes without drawing an attribution from them.

The second backdoor is the piece most likely to outlive a cleanup. Elastic says netns sends eth_call requests over HTTPS through public Ethereum RPC services to the contract 0x43eb291f56688c63c93e8a93c4591fc997cf6349, decodes an IPv4 address from the response and connects to it over plain TCP on port 8080. The controller can then order it to fork Bash to any host and port. "The command loop has no application authentication or integrity check," the report says.

Decompiled netns function get_ip_from_contract building a JSON-RPC eth_call request to the Ethereum contract 0x43eb291f56688c63c93e8a93c4591fc997cf6349 with data selector 0x6ded96e7 and sending it with libcurl.
Image: Elastic Security Labs, netns pseudocode for C2 lookup through an Ethereum contract, Nov. 12, 2026.

What to hunt for

Elastic published YARA rules for SANSAR and netns, MITRE ATT&CK mappings and SHA-256 hashes for each component. Its closing advice is aimed at the teams now building GPU clusters for AI work: "Organizations expanding GPU infrastructure for AI and LLM workloads should check who can submit jobs and whether GPU monitoring libraries have been modified, as cryptojacking can divert compute capacity from legitimate workloads and increase operating costs."

For a SOC, the report translates into a short list of checks that do not depend on the attacker reusing the same names.

  • Exposure: inventory Ray clusters and confirm the job agent and Jobs API are not reachable from the internet, not only the dashboard. Review Ray job logs for submissions that run nvidia-smi, open sockets or write to authorized_keys.
  • Integrity: verify libnvidia-ml.so.1 against the driver package with the distribution's package manager, and treat a /usr/lib/.libnvidia-ml.so.1.backup file as a red flag.
  • Ground truth: compare GPU utilization reported on the host with power and billing data from the hypervisor, cloud provider or facility. A busy card cannot be idle on both sides.
  • Kernel: alert on new DKMS modules and initramfs changes on GPU hosts, and look for /opt/vadi_ and /usr/src/acpi_thermal_mgr-1.0/.
  • Network: look for Tor and WebTunnel or obfs4 traffic from compute nodes, outbound HTTPS to public Ethereum RPC endpoints from servers that have no reason to call them, and plain TCP to port 8080 that follows.

Because the rootkit hides processes and sockets from the host's own tools, Elastic's findings argue for checking from outside the box: network flow records, cloud power and usage metrics, and memory or disk images taken off the host.

About the Author

Ava Okello

Ava Okello covers detection engineering, EDR telemetry, and SOC hunting for SOCtember from London.

Related stories

Detection desk