Skip to content
Threat Feed
high advisory

REF3364: SANSAR Linux cryptomining malware utilizes rootkit and NVML hooking

The threat actor REF3364 is leveraging exploited Ray job agents to deploy the SANSAR Linux cryptomining toolkit, which utilizes a kernel rootkit and modified NVIDIA libraries to evade detection and maintain persistence.

Triage facts

Revision 1
Applicability
Linux
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Nov 16, 11:46 UTC
Detection
1 IOC
Source quality
B2Very likely

Overview

The threat actor cluster REF3364 is deploying the SANSAR Linux cryptomining toolkit, a Rust-based orchestrator, to perform illicit GPU and CPU mining. The operation, observed in late October 2026, exploits misconfigured Ray job agents for initial access and employs advanced defense evasion techniques, including kernel-level rootkits and library hooking. The toolkit manages CPU miners (XMRig) and GPU miners (SRBMiner-MULTI) while masking system telemetry.

Attack Chain

  1. Initial access via exploited Ray job agent.
  2. Exfiltration of GPU inventory using standard nvidia-smi tools.
  3. Execution of a Python-based reverse shell for C2 connectivity.
  4. Establishment of persistence via SSH authorized_keys addition.
  5. Deployment of the acpi_thermal_mgr.ko kernel rootkit via DKMS.
  6. Installation of a modified NVML wrapper to hook monitoring calls and hide GPU load.
  7. Activation of the netns backdoor, which retrieves secondary C2 infrastructure from an Ethereum smart contract.

Impact

Cryptojacking diverts compute resources from legitimate workloads, specifically impacting infrastructure used for AI and LLM processing. The presence of a kernel rootkit and persistent backdoors indicates potential for long-term unauthorized access, credential theft, and lateral movement within the environment.

Recommendation

Audit all external-facing Ray job agents to ensure restricted access and monitor for unauthorized job submissions. Examine GPU infrastructure for tampered libraries, specifically verifying the integrity of the NVIDIA Management Library (NVML) files. Monitor for suspicious kernel modules loaded via DKMS and inspect initramfs configurations for unauthorized additions.


Immediate actions

Audit Ray job agents for internet accessibility and restrict access to authorized management networks.

Infrastructure Security 24h

Scan Linux hosts for unusual kernel modules, specifically checking for 'acpi_thermal_mgr.ko'.

SOC 24h

Threat Hunt

Hunt for unexpected modifications to the NVIDIA Management Library (NVML) on GPU-enabled servers.

T1562.001 high high confidence hunt now

Data: File integrity monitoring logs, Binary hash analysis

Investigate Ethereum-related outbound traffic or systemd services identified as 'netns'.

T1071.001 medium high confidence hunt now

Data: Network traffic logs, Systemd unit file analysis

Indicators of compromise

1

domain

TypeValue
domainefxisnqldelyr5ra25oqfrsut54b34g26e7zrsiuupsoekjof2gho2id.onion