{"id":"CMP-202611-jugklh","kind":"campaign","aliases":[],"related":[],"title":"SANSAR: attackers break into Linux GPU servers through exposed Ray job agents, mine crypto and fake NVIDIA readings so the GPUs look idle (Elastic)","description":null,"summary":"Elastic Security Labs (REF3364, financially motivated, Turkish-language comments in code) saw an attacker in late October 2026 get in through an exposed Ray job agent, submit jobs running nvidia-smi and a Python reverse shell, add an SSH key to authorized_keys, get root and deploy the SANSAR toolkit on three Linux GPU hosts. SANSAR is a Rust orchestrator controlled over Tor that runs XMRig 6.25.0 (kurt) and SRBMiner-MULTI 3.6.9 (tilki). A modified NVIDIA Management Library (NVML) wrapper makes nvidia-smi and other monitors show 0% GPU use with random 36-46 C temperature and 100-200 W power. A DKMS-built ftrace kernel rootkit (acpi_thermal_mgr.ko, reloaded from initramfs) hides processes, files and sockets, and a 'netns' systemd backdoor gets its C2 address from an Ethereum smart contract. Number of victims unknown.","severity":"high","cvss":null,"epss":null,"exploited":true,"exploited_at":"2026-11-16T09:55:44+00:00","products":[{"name":"Ray","note":"exposed job agent used for initial access","fixed":[],"ecosystem":"pypi"},{"name":"NVIDIA GPU drivers (NVML)","note":"NVML library replaced by attacker wrapper","fixed":[],"ecosystem":"linux"}],"ecosystems":[],"tags":["ai-infrastructure","campaign","cryptomining","early-warning","gpu","linux"],"not_affected_if":[],"how_to_check":"Ray clusters whose job agent / dashboard (job submission API) is reachable from the internet or without authentication; Ray job logs showing nvidia-smi inventory jobs or Python reverse-shell jobs; files under /opt/vadi_ (e.g. /opt/vadi_/tilki); a kernel module acpi_thermal_mgr (DKMS entry, initramfs loader); a libnvidia-ml.so.1 that differs from the driver package's copy; a systemd service named netns; processes sansar, kurt, tilki, lyrebird or Tor traffic from GPU hosts; Tor C2 efxisnqldelyr5ra25oqfrsut54b34g26e7zrsiuupsoekjof2gho2id[.]onion; queries to Ethereum contract 0x43eb291f56688c63c93e8a93c4591fc997cf6349 followed by TCP to port 8080; GPU power draw or billing that does not match the near-0% use nvidia-smi shows; unknown keys in authorized_keys.","fix":"Do not expose Ray's job submission/dashboard port to the internet; put it behind authentication and a network allowlist and limit who can submit jobs. On any host you suspect, do not trust nvidia-smi or ps: verify the NVML library against the driver package, check DKMS modules and the initramfs, and if the rootkit is found rebuild the host from a clean image (it survives reboot through initramfs). Remove unknown SSH keys and rotate credentials that were on the host.","status":"open","published_at":null,"first_seen_at":"2026-11-16T09:55:44+00:00","triaged_at":"2026-11-16T09:55:44+00:00","updated_at":"2026-11-16T09:57:15+00:00","category":"infrastructure","confidence":null,"triage":{"cause":{"at":"2026-11-16T10:37:37Z","path":"none","entry":"internal-exposed","reason":"Elastic reports the attacker got in through an exposed Ray job agent, a job submission API reachable from the internet without authentication, and the incident stayed on the victims' own GPU hosts.","history":[{"at":"2026-11-16T09:56:33Z","path":"none","entry":"internal-exposed","confidence":0.85}],"confidence":0.85}},"analyst_status":"done","analyst_note":null,"search":"'-200':145B '-202611':26A '-46':140B '0':134B '100':144B '2026':61B '3.6.9':117B '36':139B '6.25.0':111B 'acpi_thermal_mgr.ko':155B 'add':81B 'address':172B 'agent':12A,69B 'ai':34B 'ai-infrastructur':33B 'attack':2A,57B 'author':86B 'backdoor':168B 'break':3A 'built':151B 'c':141B 'c2':171B 'campaign':36B 'cmp':25A 'code':54B 'comment':52B 'contract':177B 'control':105B 'crypto':14A 'cryptomin':37B 'deploy':91B 'dkms':150B 'dkms-built':149B 'drivers':31A 'earli':39B 'early-warn':38B 'elast':24A,43B 'ethereum':175B 'expos':9A,66B 'fake':16A 'file':161B 'financi':47B 'ftrace':152B 'get':62B,88B,169B 'gpu':6A,30A,41B,98B,135B 'gpus':21A 'hide':159B 'host':99B 'idl':23A 'infrastructur':35B 'initramf':158B 'job':11A,68B,71B 'jugklh':27A 'kernel':153B 'key':84B,87B 'kurt':112B 'lab':45B 'languag':51B 'late':59B 'librari':123B 'linux':5A,42B,97B 'look':22A 'make':126B 'manag':122B 'mine':13A 'modifi':120B 'monitor':132B 'motiv':48B 'multi':116B 'netn':166B 'number':178B 'nvidia':17A,29A,74B,121B,128B 'nvidia-smi':73B,127B 'nvml':32A,124B 'octob':60B 'orchestr':104B 'power':147B 'process':160B 'python':78B 'random':138B 'ray':10A,28A,67B 'read':18A 'ref3364':46B 'reload':156B 'revers':79B 'root':89B 'rootkit':154B 'run':72B,109B 'rust':103B 'sansar':1A,93B,100B 'saw':55B 'secur':44B 'server':7A 'shell':80B 'show':133B 'smart':176B 'smi':75B,129B 'socket':163B 'srbminer':115B 'srbminer-multi':114B 'ssh':83B 'submit':70B 'systemd':167B 'temperatur':142B 'three':96B 'tilki':118B 'toolkit':94B 'tor':107B 'turkish':50B 'turkish-languag':49B 'unknown':181B 'use':136B 'victim':180B 'w':146B 'warn':40B 'wrapper':125B 'xmrig':110B","nicknames":["SANSAR","REF3364"],"mitigations":[],"who_affected":null,"tier":"A","verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["gpudriversnvml","nvidiagpudriversnvml","ray","ref3364","sansar"],"ptokens":["drivers","gpu","nvidia","nvml","ray"],"labels":["aiinfrastructure","campaign","cryptomining","earlywarning","gpu","high","infrastructure","linux"],"campaign_type":"malware","search_a":"'-202611':26A 'agent':12A 'attack':2A 'break':3A 'cmp':25A 'crypto':14A 'drivers':31A 'elast':24A 'expos':9A 'fake':16A 'gpu':6A,30A 'gpus':21A 'idl':23A 'job':11A 'jugklh':27A 'linux':5A 'look':22A 'mine':13A 'nvidia':17A,29A 'nvml':32A 'ray':10A,28A 'read':18A 'sansar':1A 'server':7A","search_b":"'-200':145B '-46':140B '0':134B '100':144B '2026':61B '3.6.9':117B '36':139B '6.25.0':111B 'acpi_thermal_mgr.ko':155B 'add':81B 'address':172B 'agent':69B 'ai':34B 'ai-infrastructur':33B 'attack':57B 'author':86B 'backdoor':168B 'built':151B 'c':141B 'c2':171B 'campaign':36B 'code':54B 'comment':52B 'contract':177B 'control':105B 'cryptomin':37B 'deploy':91B 'dkms':150B 'dkms-built':149B 'earli':39B 'early-warn':38B 'elast':43B 'ethereum':175B 'expos':66B 'file':161B 'financi':47B 'ftrace':152B 'get':62B,88B,169B 'gpu':41B,98B,135B 'hide':159B 'host':99B 'infrastructur':35B 'initramf':158B 'job':68B,71B 'kernel':153B 'key':84B,87B 'kurt':112B 'lab':45B 'languag':51B 'late':59B 'librari':123B 'linux':42B,97B 'make':126B 'manag':122B 'modifi':120B 'monitor':132B 'motiv':48B 'multi':116B 'netn':166B 'number':178B 'nvidia':74B,121B,128B 'nvidia-smi':73B,127B 'nvml':124B 'octob':60B 'orchestr':104B 'power':147B 'process':160B 'python':78B 'random':138B 'ray':67B 'ref3364':46B 'reload':156B 'revers':79B 'root':89B 'rootkit':154B 'run':72B,109B 'rust':103B 'sansar':93B,100B 'saw':55B 'secur':44B 'shell':80B 'show':133B 'smart':176B 'smi':75B,129B 'socket':163B 'srbminer':115B 'srbminer-multi':114B 'ssh':83B 'submit':70B 'systemd':167B 'temperatur':142B 'three':96B 'tilki':118B 'toolkit':94B 'tor':107B 'turkish':50B 'turkish-languag':49B 'unknown':181B 'use':136B 'victim':180B 'w':146B 'warn':40B 'wrapper':125B 'xmrig':110B","search_c":"","cause_entry":"internal-exposed","cause_path":"none","disclosures_checked_at":null,"first_public_at":"2026-11-12T00:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"analyst","external_id":"CMP-202611-jugklh","url":"https://www.elastic.co/security-labs/threat-command/sansar-linux-cryptomining-malware","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-16T09:55:44+00:00","fetched_at":"2026-11-16T09:55:44+00:00","note":null,"cites":["https://www.elastic.co/security-labs/threat-command/sansar-linux-cryptomining-malware"]}],"documents":[{"id":168753,"url":"https://x.com/TheHackersNews/status/2122263542368006193","title":"@TheHackersNews: 🚨 Hackers are hijacking Linux GPUs—and making them appear idle.\n\nNew SANSAR cryp","kind":"post","source":"x","publisher":null,"text":"🚨 Hackers are hijacking Linux GPUs—and making them appear idle.\n\nNew SANSAR cryptomining malware modifies NVIDIA's monitoring library to falsely report 0% GPU usage, while a kernel rootkit hides malicious activity.\n\nHow the attack works: https://t.co/g8u0toeGAK\n\nlikes 126 reposts 30","published_at":"2026-11-16T09:40:32+00:00","relation":"describes","confidence":null,"note":null},{"id":168774,"url":"https://www.elastic.co/security-labs/threat-command/sansar-linux-cryptomining-malware","title":"SANSAR: Linux cryptomining toolkit hides GPU use with NVML wrapper and rootkit (REF3364)","kind":"blog","source":"analyst","publisher":null,"text":null,"published_at":"2026-11-12T00:00:00+00:00","relation":"describes","confidence":null,"note":null},{"id":168880,"url":"https://x.com/TheHackersNews/status/2122270062992310393","title":"@TheHackersNews: The attack goes deeper than GPU spoofing.\n\n→ Initial access via exposed Ray job ","kind":"post","source":"x","publisher":null,"text":"The attack goes deeper than GPU spoofing.\n\n→ Initial access via exposed Ray job agent\n→ Kernel rootkit hides processes, files &amp; sockets\n→ TOR handles mining commands\n→ Ethereum smart contract supplies a backdoor C2 address\n\nFor AI infrastructure operators, GPU monitoring\n\nlikes 10 reposts 1","published_at":"2026-11-16T10:06:27+00:00","relation":"discussion","confidence":null,"note":null},{"id":168881,"url":"https://x.com/TheHackersNews/status/2122269958055071812","title":"@TheHackersNews: SANSAR doesn't just hide the miner.\n\nIt tampers with NVIDIA's NVML library so mo","kind":"post","source":"x","publisher":null,"text":"SANSAR doesn't just hide the miner.\n\nIt tampers with NVIDIA's NVML library so monitoring tools like nvidia-smi show:\n\n→ GPU usage: 0%\n→ Temperature: Fake 36–46°C\n→ Power draw: Fake 100–200W\n\nThe GPU keeps mining. The telemetry lies. https://t.co/Ugv7EIKQpA\n\nlikes 15 reposts 2","published_at":"2026-11-16T10:06:02+00:00","relation":"discussion","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}