SANSAR, a Rust cryptomining orchestrator, uses Tor C2, a kernel rootkit, and a falsified NVML library to hide XMRig and SRBMiner mining on compromised Linux GPU hosts. Attackers gained root on three Linux GPU hosts through an unauthenticated Ray job agent, then deployed SANSAR, the acpithermalmgr ftrace rootkit, and a netns backdoor that resolves its controller IP from an Ethereum smart contract.
Linux malware
3 posts
0% GPU utilization: How SANSAR hides Linux cryptomining The global socket: how threat actors are weaponizing GSocket for stealthy C2 | Microsoft Security Blog Threat actors deploy GSocket on compromised Linux web servers, maintaining access through shared relays after application patching. GSocket uses a shared secret rather than an IP or hostname, leaving no attacker-owned address to block. Microsoft Defender telemetry shows detections rose 356.2% from March to August 2026, concentrated on PHP and cPanel hosting.
Case Study: Distribution of a CoinMiner Targeting Linux SSH Servers via Malware Distribution via Network Transmission ASEC identified a multi-component Linux malware campaign targeting poorly managed SSH servers. The attack chain uses Go-based propagation malware to worm-like spread XMRig CoinMiner across SSH-accessible servers. The XMRig variant implements robust persistence via systemd services, cron jobs, and a /dev/shm watchdog, while XHide and Shc-compiled obfuscation scripts disguise mining activity by spoofing process names and hijacking common administrative commands through .bashrc aliases.