Cybersecurity
4 min read •

SANSAR Malware Uses Modified NVIDIA Library to Conceal GPU Mining

Elastic Security Labs reported a Linux intrusion using SANSAR, a modified NVIDIA library and a kernel rootkit to conceal cryptocurrency mining.

IH
By Ibrahim Haddad Founder & Publisher
SANSAR Malware Uses Modified NVIDIA Library to Conceal GPU Mining
Editorial Archive (Creative Commons)
Licensed Photo

A modified NVIDIA management library helped the SANSAR malware toolkit conceal GPU activity while mining cryptocurrency in a Linux intrusion attributed to threat cluster REF3364. Elastic Security Labs reported that the operation also used a kernel rootkit and other persistence methods, in an account covered by Thehackernews.

What Happened

The reported intrusion began in late October 2026 after attackers gained access through an exposed Ray job agent, which allowed them to execute commands on a victim system. They used the legitimate NVIDIA System Management Interface, nvidia-smi, to collect information about the system's GPUs and send that inventory to an external server. The report describes this as reconnaissance ahead of the mining activity. It does not identify the victim or provide a count of affected systems.

After gaining access, the attackers established persistence with a Python reverse shell job and added an SSH key to the compromised account's authorized_keys file. The toolkit's GPU concealment component was a modified NVIDIA Management Library wrapper. It intercepted calls to the library and returned GPU utilization as zero percent, while supplying randomized temperature readings of 36 to 46 degrees Celsius and power readings of 100 to 200 watts. Those values could make monitoring software display misleading telemetry rather than the underlying GPU activity.

The report also describes a kernel rootkit named acpi_thermal_mgr.ko, built with DKMS and loaded through the initramfs loader. It used the Linux Function Tracer, or ftrace, to intercept operations involving directory listings and process termination. When requests concerned concealed files or processes, it could return a deceptive "No such file or directory" message. The toolkit was staged under /opt/vadi_ after root access, and researcher Salim Bitam said the rootkit was integrated into the boot image. The malware also checked the TracerPid value and stopped if it was non-zero, a measure that can interfere with debugging.

Why It Matters

The combination of false GPU telemetry and kernel-level concealment complicates routine investigation. An administrator relying on NVIDIA library readings could see utilization reported as zero even while the toolkit uses GPU resources. At the same time, rootkit interference with file and process inspection could prevent ordinary system commands from showing relevant evidence. These are distinct layers of concealment described in the report, not proof that every monitoring product would be affected in the same way.

Unauthorized mining can divert computing capacity from the work a system is meant to perform. For organizations using GPUs for demanding workloads, including AI and large language model tasks, that diversion could reduce capacity available to legitimate jobs and increase operating costs. The report does not quantify the resource consumption, financial impact, or duration of the activity, so the scale of those consequences cannot be established from the published details. The exposed Ray job agent is a concrete access point in this incident and highlights the importance of controlling who can submit jobs to computing environments.

Key Takeaways & Industry Impact

  • Elastic Security Labs identified the activity as REF3364 and reported that its SANSAR toolkit targets Linux systems and is written in Rust.
  • The modified NVIDIA library wrapper returned zero-percent GPU utilization and randomized temperature and power readings.
  • The attackers used a Python reverse shell job and an SSH key added to authorized_keys for persistence.
  • The acpi_thermal_mgr.ko rootkit used DKMS, initramfs and ftrace to conceal files and processes, according to the report.
  • The reported command-and-control details include the onion address efxisnqldelyr5ra25oqfrsut54b34g26e7zrsiuupsoekjof2gho2id[.]onion, the Arti client, and an Ethereum smart contract at 0x43eb291f56688c63c93e8a93c4591fc997cf6349. A netns backdoor registered as a systemd service used a plain TCP connection on port 8080.

For operators, the findings support checking both access controls for job agents and the integrity of GPU monitoring components, rather than treating telemetry as conclusive on its own. The rootkit's reported integration into the boot image also makes boot integrity and kernel-level inspection relevant to an investigation. These are defensive implications of the techniques described, not evidence that a particular organization has been affected.

Sources & References

The available reporting attributes the discovery to Elastic Security Labs and includes details from researcher Salim Bitam. It notes Turkish-language comments in the rootkit source, but does not identify the perpetrators; the comments alone do not establish their origin. For the underlying report and its technical account, see Source Report.

Weekly Technology Briefing

Stay Ahead of Key Tech Developments

Join engineers and tech professionals receiving our weekly analysis on silicon, cloud infrastructure, and AI systems. No spam.

Original Source: thehackernews.com
Editorial Standards & Policy

Illustrative Imagery: Visual assets may feature conceptual photography or editorial illustrations for contextual reporting.

Editorial Corrections & Inquiries: Tech Horizon is committed to journalistic accuracy. If you believe any reporting on this page requires correction or update, please contact publisher Ibrahim Haddad at [email protected]. Submissions are reviewed and addressed promptly within 24 to 48 hours.

Related Coverage