Executive Summary
In late October 2026, a financially motivated threat cluster tracked as REF3364 deployed SANSAR, a Rust-based Linux cryptomining toolkit, against organizations running exposed Ray job agent endpoints. Attackers gained initial access through the unpatched Ray framework, escalated to root, and installed a kernel rootkit (acpi_thermal_mgr.ko), a modified NVIDIA Management Library (NVML) wrapper that falsified GPU utilization to 0%, and a secondary backdoor (netns) that retrieved its C2 address from an Ethereum smart contract. The operation silently diverted GPU compute to XMRig (CPU) and SRBMiner-MULTI (GPU) miners while evading all standard monitoring, inflating cloud infrastructure costs and degrading AI and LLM workload performance for victim organizations.
This incident marks a significant evolution in cryptojacking tradecraft: attackers are now weaponizing legitimate GPU management libraries and blockchain smart contracts for C2 resolution, making detection through conventional telemetry nearly impossible. As enterprises rapidly scale GPU infrastructure for AI workloads, the attack surface for resource-hijacking campaigns is expanding at a commensurate rate, demanding new visibility and enforcement controls.
Why This Matters Now
Organizations are aggressively expanding GPU fleets for AI and LLM workloads in 2026, creating a high-value, under-monitored attack surface. SANSAR demonstrates that cryptojackers are now subverting the very monitoring libraries enterprises rely on—NVML—while using Ethereum smart contracts for censorship-resistant C2, rendering traditional GPU telemetry and network-based C2 detection ineffective at the moment of peak GPU investment.
Attack Path Analysis
REF3364 achieved initial access by exploiting an exposed Ray job agent API, then escalated to root privileges to install a persistent kernel rootkit and modified NVIDIA management libraries to conceal GPU mining activity. The attacker established covert command-and-control via TOR onion services and an Ethereum smart contract-backed backdoor, exfiltrated GPU inventory telemetry to external servers, and ultimately hijacked GPU and CPU compute resources for sustained XMR and multi-algorithm cryptomining—diverting capacity from legitimate AI and LLM workloads.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
The attacker exploited an unauthenticated, internet-exposed Ray job agent API (CVE-class: unpatched Ray Dashboard/Job Submission endpoint) to submit arbitrary Python jobs and execute system commands, including running nvidia-smi to inventory GPU resources and exfiltrate that data to an external server.
Related CVEs
CVE-2023-48022
CVSS 9.8Anyscale Ray job submission API allows unauthenticated remote code execution via the job agent endpoint, enabling attackers to submit arbitrary jobs without authentication. This vulnerability was exploited in the SANSAR campaign to gain initial access to victim systems running exposed Ray job agents.
Affected Products:
Anyscale Ray – <= 2.6.3, <= 2.8.0
Exploit Status:
exploited in the wild
MITRE ATT&CK® Techniques
Exploit Public-Facing Application
Command and Scripting Interpreter: Python
Account Manipulation: SSH Authorized Keys
Boot or Logon Autostart Execution: Kernel Modules and Extensions
Rootkit
Proxy: Multi-hop Proxy
Debugger Evasion
Resource Hijacking
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-53 Rev 5 – Malicious Code Protection / Software and Information Integrity
Control ID: SI-3 / SI-7
PCI DSS 4.0 – Vulnerability Management and Change-Detection Mechanism
Control ID: Requirement 6.3.3 / 11.5.2
CISA Zero Trust Maturity Model 2.0 – Workload Isolation and Least-Privilege Access Enforcement
Control ID: Network Pillar - Macro/Micro Segmentation / Application Workload Pillar - Least Privilege
NIS2 Directive – Incident Handling and Supply Chain / Monitoring Controls
Control ID: Article 21(2)(b) / Article 21(2)(e)
DORA (EU 2022/2554) – ICT Security Controls and Continuous Monitoring
Control ID: Article 9(4)(c) / Article 10
ISO/IEC 27001:2022 – Management of Technical Vulnerabilities / Monitoring Activities
Control ID: Annex A 8.8 / Annex A 8.16
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
SANSAR cryptojacking via exposed Ray job agents hijacks GPU compute, falsifies NVML telemetry, and deploys kernel rootkits, threatening AI/LLM infrastructure integrity, escalating operational costs, and evading standard multicloud visibility controls.
Cloud Computing
GPU-intensive cloud environments face covert resource theft through modified NVML wrappers reporting 0% utilization, undermining egress security, east-west traffic controls, and compliance with NIST.800-53.SC-7 and PCI.4.0 segmentation requirements.
Higher Education/Acadamia
Universities operating GPU clusters for AI research are prime SANSAR targets; TOR-based C2 and Ethereum smart contract backdoors bypass perimeter controls, diverting scarce compute budgets and violating ZTMM visibility and anomaly detection mandates.
Defense/Space
Defense organizations deploying Linux GPU workloads for autonomous systems face SANSAR rootkit concealment of cryptomining processes, undermining NIST.800-53.SI-4 intrusion detection, Zero Trust segmentation policies, and classified compute resource integrity.
Sources
- SANSAR Linux Cryptomining Malware Uses Modified NVIDIA Library to Hide GPU Activityhttps://thehackernews.com/2026/11/sansar-linux-cryptomining-malware-uses.htmlVerified
- Elastic Security Labs: SANSAR Linux Cryptomining Malware Threat Researchhttps://www.elastic.co/security-labs/threat-command/sansar-linux-cryptomining-malwareVerified
- NVD Detail: CVE-2023-48022 - Anyscale Ray Unauthenticated Remote Code Executionhttps://nvd.nist.gov/vuln/detail/CVE-2023-48022Verified
- ShadowRay 2.0: Exploiting Unpatched Ray AI Frameworkhttps://thehackernews.com/2025/11/shadowray-20-exploits-unpatched-ray.htmlVerified
- CISA Known Exploited Vulnerabilities Cataloghttps://www.cisa.gov/known-exploited-vulnerabilities-catalogVerified
- MITRE ATT&CK T1622 - Debugger Evasionhttps://attack.mitre.org/techniques/T1622/Verified
- NVIDIA Management Library (NVML) Developer Documentationhttps://developer.nvidia.com/management-library-nvmlVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to this incident because REF3364 relied on an internet-exposed API endpoint, unrestricted outbound egress paths, and uncontrolled east-west workload access to establish persistence and sustain mining operations. Had Zero Trust segmentation and controlled egress been in place, the attacker's ability to reach internal workload APIs, communicate with TOR-based C2 infrastructure, and exfiltrate GPU telemetry would likely have been significantly constrained.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Internet reachability to the Ray job submission API would likely be reduced, limiting the attacker's ability to reach and exploit the unauthenticated endpoint from outside the environment.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation could reduce the scope of workload-to-workload and workload-to-infrastructure access available to the initially compromised process, limiting how far the attacker could move from initial code execution toward interactive shell access and privileged staging.
Control: East-West Traffic Security
Mitigation: East-west enforcement would likely constrain the attacker's ability to extend access across co-resident workload boundaries, reducing the unmonitored reach that kernel-level namespace traversal provided on the compromised host.
Control: Multicloud Visibility & Control
Mitigation: Centralized multicloud visibility and traffic control could likely reduce the attacker's ability to sustain covert outbound C2 channels—including TOR-obfuscated connections and smart contract-resolved endpoints—by surfacing anomalous egress patterns and enabling policy-based restriction of unapproved outbound protocols and destinations.
Control: Egress Security & Policy Enforcement
Mitigation: Egress security and policy enforcement would likely reduce the attacker's ability to push collected GPU inventory data to unauthorized external destinations, constraining outbound data flows that fall outside approved egress policy—regardless of whether internal telemetry signals were suppressed.
If earlier segmentation and egress controls had been in place, the attacker's ability to reach, persist, and communicate freely would likely have been reduced—meaning the sustained compute hijack and cost impact to legitimate AI workloads could have been constrained in scope and duration.
Impact at a Glance
Affected Business Functions
- GPU Compute Infrastructure and AI/LLM Workload Scheduling
- Cloud and On-Premise Resource Cost Management
- Security Monitoring and GPU Telemetry Observability
- Distributed Computing Job Orchestration (Ray/MLOps Pipelines)
Estimated downtime: 7 days
Estimated loss: $500,000
No direct exfiltration of regulated PII or financial records was confirmed; however, the attack exposed GPU hardware inventory details (device identifiers, utilization data) exfiltrated to an external server. The primary financial harm stems from unauthorized consumption of expensive GPU compute resources diverted to cryptocurrency mining (Monero via XMRig and SRBMiner-MULTI), resulting in inflated cloud or data center operating costs. Organizations running AI and LLM workloads may experience degraded model training performance and delayed project timelines. The kernel rootkit and modified NVML wrapper suppressed telemetry, meaning the full scope and duration of resource theft may be significantly underreported. Persistence mechanisms including SSH key implantation, DKMS-built rootkit modules, initramfs modification, and a systemd-registered backdoor (netns) communicating via Ethereum smart contracts indicate a long-term foothold with potential for future payload delivery or lateral movement.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Cloud Firewall (ACF) egress controls with FQDN and IP-based filtering to block outbound connections to TOR onion relays, unknown Ethereum RPC endpoints, and unauthorized C2 destinations—preventing both the SANSAR TOR C2 channel and the netns backdoor from establishing reverse shell connectivity.
- • Deploy Egress Security & Policy Enforcement to restrict outbound traffic from GPU workload hosts to only approved destinations, using allowlist-based policy that would have blocked the initial nvidia-smi GPU inventory exfiltration and ongoing miner pool communications.
- • Enforce Zero Trust Segmentation using identity-based microsegmentation policies to ensure Ray job agent endpoints are accessible only from authorized orchestration services and not exposed to the internet, directly preventing the initial API exploitation and limiting blast radius if any workload is compromised.
- • Leverage Multicloud Visibility & Control with centralized traffic observability to baseline normal GPU host network behavior and detect anomalous outbound patterns—such as TOR relay connections, Ethereum contract queries, and high-volume TCP SYN flood tasks—triggering automated alerting and response before cryptomining impact accumulates.
- • Implement East-West Traffic Security controls to monitor and restrict workload-to-workload communications on GPU infrastructure nodes, ensuring that reverse shell pivoting, SSH key injection, and kernel module staging operations are detected and blocked before privilege escalation completes.



