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 >= 3Verified Indicators of Compromise (5)
Indicators of Compromise (IOCs)
5 Identified
FILE PATH
/usr/lib64/libnvidia-ml.soFILE PATH
/usr/lib/x86_64-linux-gnu/libnvidia-ml.soFILE PATH
/etc/ld.so.preloadTHREAT ACTOR CLUSTER
REF3364MALWARE TOOLING
SANSAR Rust orchestrator, TOR SOCKS5 proxy, XMRig GPU miner