SANSAR Malware Hides GPU Mining Behind Fake Zero Utilization
Elastic reported that attackers abused internet-exposed Ray Job proxies without authentication to gain host and root access, then deployed the SANSAR cryptomining toolkit on three Linux GPU hosts. Written in Rust, SANSAR receives commands through Tor and manages CPU and GPU mining processes, while a modified NVIDIA Management Library can report 0% GPU utilization and randomize temperature and power readings. The toolkit also includes a Linux kernel rootkit, the netns backdoor, and the tilki and kurt mining components.
Elastic advised organizations running AI and LLM workloads to review job-submission permissions and possible tampering with GPU monitoring libraries, because unauthorized mining can divert compute resources and increase operating costs.
圖片來源:
Elastic
資安廠商Elastic揭露針對Linux系統的惡意挖礦活動REF3364,攻擊者利用暴露於網際網路、缺乏身分驗證的Ray Job代理程式取得主機存取權及Root權限,將挖礦工具套件部署到3臺Linux GPU主機。這套工具以Rust撰寫的SANSAR為核心,可透過Tor匿名網路接收指令,管理CPU及GPU挖礦程序。研究人員尚未確認攻擊者身分,但在核心Rootkit原始碼中發現土耳其語註解。
SANSAR最特別之處是結合修改過的Nvidia管理程式庫(NVML),攔截nvidia-smi等監控工具的查詢結果,將GPU使用率偽裝成0%,並以隨機數值取代溫度及耗電量。攻擊者另外還透過部署Linux核心Rootkit,隱藏指定程序、檔案及網路連線資訊,進一步掩蓋挖礦活動。
這套挖礦工具還包含後門程式netns,可透過以太坊智慧合約取得C2伺服器的IPv4位址,再建立TCP連線;其他元件則包括負責GPU挖礦的tilki,以及負責CPU挖礦的kurt。Elastic提醒,部署AI及大型語言模型工作負載的企業,應檢查哪些使用者具有提交運算任務的權限,以及GPU監控程式庫是否遭到竄改,避免運算資源遭到挪用並增加營運成本。
#Elastic#SANSAR#Ray Job#NVIDIA Management Library#NVIDIA#Tor#Ethereum#netns#tilki#kurt