Skip to main content
UNIFIED SOC INCIDENT RESPONSE BLUEPRINT

SANSAR Malware: How to Detect NVIDIA Lib GPU Miner Rootkit

SANSAR Linux malware modifies libnvidia-ml.so and deploys kernel rootkits to conceal GPU cryptomining over TOR. Hunt LD_PRELOAD and SSH lateral movement.

Detection & Hunting Detectors (1)

[T1021.004] Automated Lateral SSH Sweeps from Compromised HostsStandalone Rule
DeviceProcessEvents
| where Timestamp >= ago(7d)
| where FileName in~ ("ssh", "scp")
| where ProcessCommandLine has_any ("BatchMode=yes", "StrictHostKeyChecking=no")
| summarize TargetCount = dcount(ProcessCommandLine) by DeviceName, InitiatingProcessFileName, bin(Timestamp, 30m)
| where TargetCount >= 3

Verified Indicators of Compromise (5)

Indicators of Compromise (IOCs)
5 Identified
FILE PATH/usr/lib64/libnvidia-ml.so
FILE PATH/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
FILE PATH/etc/ld.so.preload
THREAT ACTOR CLUSTERREF3364
MALWARE TOOLINGSANSAR Rust orchestrator, TOR SOCKS5 proxy, XMRig GPU miner