SANSAR GPU miner
SANSAR: Linux GPU Cryptomining Toolkit with a Tor Orchestrator, Rootkit and Ethereum C2
- Published
- 12 November 2026
- Added
- 13 November 2026, 03:50 UK
- Last updated
- 13 November 2026
5 to block now6 to hunt5 behaviours to hunt
Hunt3 platforms
Run the hunt before you block, to find past activity. The same hunt is published for each platform. Preview and copy the queries in the dashboard.
- Defender XDRKQLDefender portal > Hunting > Advanced hunting. Paste and run over 30 days.Download hunt.kql
- SplunkSPLSearch & Reporting, last 30 days or more. Reads the CIM data models.Download hunt.spl
- Google SecOpsYARA-L 2.0Rules Editor. Paste, Retrohunt over 30 days, then turn on live mode.Download hunt.yaral
These queries can return false positives. Know your environment and confirm a hit before acting.
Summary
Elastic Security Labs, writing on 12 November 2026, describes REF3364, a Linux cryptomining intrusion on GPU hosts th... The custom SANSAR, netns, rootkit and NVML-wrapper hashes and the onion C2 are on the block list.
Do now
- Block the 5 indicators.
- Run the hunt.
- Check for the listed behaviours.
Indicators 11
| Value | Type | Action | Copy |
|---|---|---|---|
00c9ac44291f83c72…3a99657c9e | SHA256 | block | |
675c24728f87f7aa0…04ea50a180 | SHA256 | block | |
6ba1aa275e0e2826e…32b084d7a4 | SHA256 | block | |
df8ab6fd699e6ae90…7e4f237194 | SHA256 | block | |
efxisnqldelyr5ra2…id[.]onion | Domain | block | |
96fc528ca5e7d1c2b…aa4309ad46 | SHA256 | alert | |
acc706afc9322a3ea…9beb2fb5b7 | SHA256 | alert | |
/opt/vadi_/ | File name | alert | |
acpi_thermal_mgr.ko | File name | alert | |
0x43eb291f56688c6…c997cf6349 | Ethereum/Polygon address | monitor | |
0x6ded96e7 | Function selector | monitor |
Sources Elastic
More detail
What to do
- Block the four custom hashes (sansar, the NVML wrapper, acpi_thermal_mgr.ko and netns) and the onion C2 (they are in the Defender XDR import file), and hunt 90 days of logs for /opt/vadi_/ and for eth_call to 0x43eb291f56688c63c93e8a93c4591fc997cf6349.
- Treat the XMRig (kurt) and SRBMiner (tilki) hashes as alert-only public miners; confirm the /opt/vadi_/ path or the custom implants before calling the host this intrusion.
- Hunt for an internet-exposed unauthenticated Ray job agent, nvidia-smi output leaving the host shortly before a Python reverse shell, DKMS builds of acpi_thermal_mgr, and unexpected replacement of libnvidia-ml.so.1.
- If confirmed, isolate the host, rebuild it from known-good media rather than just removing files (the rootkit hides processes and can reload from initramfs), rotate SSH keys and credentials, and close the exposed Ray job agent.
Behaviours to hunt 5
Behaviours are leads, not confirmed indicators, and can match legitimate activity. Compare any hit against your own baseline and environment before acting.
alert Files or processes under /opt/vadi_/
Look forFiles or processes under /opt/vadi_/, including sansar, kurt, tilki or netns
Why it mattersAfter obtaining root, the actor staged the toolkit under /opt/vadi_/. A kernel log later recorded /opt/vadi_/tilki starting on one GPU host. Elastic
Log sourceLinux EDR, auditd, and Defender XDR DeviceFileEvents or DeviceProcessEvents where Linux onboarding is present
QueriesKQL · SPL · YARA-L
alert acpi_thermal_mgr kernel module built or loaded
Look forThe acpi_thermal_mgr kernel module being built through DKMS or loaded at boot
Why it mattersThe actor built acpi_thermal_mgr.ko through DKMS and added an initramfs loader so the rootkit could hide processes, files and sockets and reload after reboot. Confirm the published hash; the name could collide with a plausible ACPI helper. Elastic
Log sourceLinux syslog, kernel logs, DKMS logs, and EDR file or process events
QueriesKQL · SPL · YARA-L
hunt eth_call to the netns Ethereum C2 contract
Look foreth_call requests to Ethereum contract 0x43eb291f56688c63c93e8a93c4591fc997cf6349 with selector 0x6ded96e7, followed by a TCP connection to port 8080
Why it mattersnetns sends eth_call through public Ethereum RPC services to this embedded contract, decodes an IPv4 address from the response and connects to it on TCP 8080, then can be told to open a Bash reverse shell to a different host. Elastic
Log sourceProxy, TLS-inspection and Linux process or network logs; public Ethereum RPC services must not be blocked
QueriesKQL · SPL
hunt Exposed Ray job agent or nvidia-smi then a Python shell
Look forAn internet-exposed Ray job agent accepting unauthenticated job submissions, or nvidia-smi output leaving the host shortly before a Python reverse shell
Why it mattersOn the first host the Ray dashboard listened only on loopback but the job agent remained reachable from the internet without authentication. Between 22 and 25 October 2026, probes were followed by a job that ran nvidia-smi and sent the GPU inventory out, then a Python reverse shell and an SSH key added to authorized_keys. Ray itself is legitimate software. Elastic
Log sourceRay dashboard and job-agent logs, Linux process and network telemetry
QueriesKQL · SPL
hunt Unexpected replacement of libnvidia-ml.so.1
Look forReplacement of libnvidia-ml.so.1 with a wrapper that falsifies GPU utilisation
Why it mattersThe toolkit replaces the NVIDIA Management Library with a wrapper so monitoring tools report 0% GPU utilisation while mining continues. Hunt unexpected replacement of this library; do not block the legitimate NVIDIA file name. Elastic
Log sourceLinux file integrity, package and EDR file events
QueriesKQL · SPL
Affected countries and sectors
- Targets
- Not stated
- Sectors
- Not stated
Background
Elastic Security Labs, writing on 12 November 2026, describes REF3364, a Linux cryptomining intrusion on GPU hosts that started through an exposed, unauthenticated Ray job agent between 22 and 25 October. After a job ran nvidia-smi and a Python reverse shell, the actor obtained root, staged a toolkit under /opt/vadi_/, and installed SANSAR, a Rust orchestrator that talks to the onion service efxisnqldelyr5ra25oqfrsut54b34g26e7zrsiuupsoekjof2gho2id[.]onion:9051 over Tor. The toolkit also includes an acpi_thermal_mgr kernel rootkit loaded through DKMS and initramfs, an NVML wrapper that reports 0% GPU utilisation, public XMRig and SRBMiner binaries, and a backdoor named netns that retrieves its controller IPv4 address from Ethereum contract 0x43eb291f56688c63c93e8a93c4591fc997cf6349 using selector 0x6ded96e7, then connects to that address on TCP port 8080. The custom SANSAR, netns, rootkit and NVML-wrapper hashes and the onion C2 are on the block list. The XMRig and SRBMiner hashes are alert only because those are public miners. Do not block the Tor Project's lyrebird helper, public Ethereum RPC services, or Ray itself.