net_bot: an earlier and a later build
An earlier and a later build of the bot were collected from the same server in late November 2026. Comparing them shows what the operator worked on, and what they left broken.
The bot in brief
The loader script kla.sh is delivered over Telnet. It fetches net.<arch> for 14 CPU architectures from 160.119.66[.]206/bins/ and runs it as net_bot. One address is loader source, payload host, control server and update server.
The bot is built on Mirai source but has no scanner, no credential list and no exploits. Spreading is done from outside. What it adds:
- Twelve flood methods, including a game-query flood with named modes for FiveM, Source-engine games, TeamSpeak 3 and Discord.
- A reverse proxy carried inside the control connection, TCP and UDP, up to 256 sessions.
- A self-updater, and boot persistence through cron, SysV init and systemd.
What changed between the builds
| Area | Earlier build | Later build |
|---|---|---|
| Control server, port, cipher key | 160.119.66[.]206:25565, ChaCha20 | same |
| String table, flood methods | 53 entries, 12 methods | same |
| Version constant | 10 | 10 |
| Proxy debug log | writes /tmp/proxy_err.log | strings and log removed |
| Single instance | a TCP listener | abstract Unix socket \0netkceqwmor, then .nctl.lock files |
| Install directory | always moves to /var/tmp | stays in /var/tmp, /dev/shm or /tmp |
| Old watchdog scripts | left in place | killed and removed |
| Process killer | does nothing | does nothing |
Every build was checked for the server address, key and table. The behaviour behind the changes was read in the x86_64 build and partly in the MIPS little-endian build.
Reading the changes
The log went first. The earlier build appended a line to /tmp/proxy_err.log for every proxy event and never deleted it. On an infected device that file was evidence that the proxy had been used. It is gone in the later build. The proxy itself is untouched.
The version number did not move. The updater asks the server for one byte and downloads a new binary only if that byte is greater than its own constant, 10. Both builds carry 10. We never saw the server's answer, so we cannot say whether devices running the earlier build were moved to the later one.
The killer is still dead. Stock Mirai kills rival bots by walking /proc. Here the table strings that should hold /proc/, /exe and /proc/net/tcp decode to random-looking text, so every open fails and the loop exits at once. The rebuild carried the same table. Either the operator does not know, or does not care.
What does work against rivals is a file watcher. It deletes any new ELF file written to /tmp, /var/tmp, /dev/shm, /mnt or /data/local/tmp within about a second.
Encryption that identifies the bot
After a four-byte plaintext hello, XOR\n, all control traffic is ChaCha20. The key is one static 32-byte value in the binary and the nonces are fixed, with no key exchange and no authentication. Every session from every bot therefore starts with the same keystream.
The first encrypted message is the bot's build tag, so the opening bytes on the wire are constant: 58 4f 52 0a, then d2 ?? 1c 1a 61 89. That signature does not depend on the server address and holds until the operator changes the key. Across both builds they did not.
The key is not printed here. It can be recovered from any sample.
The proxy is the part to worry about
The control server can ask the bot to open a TCP or UDP connection to any address and relay it. There is no destination filter. An infected router or camera gives the operator a path to every host that device can reach, including management interfaces on its own LAN. Name lookups for proxied connections go straight to 8.8.8.8, bypassing the device's resolver.
Lineage
The bot shares three things with the V3G4-style Mirai in note 004: the string-table key bc 69 3a e6, the same 36 rival names and 4 generic markers, and port 63841, which V3G4 binds as its instance lock and the later net_bot build opens on loopback. That points to a shared source tree. It does not show a shared operator; the control scheme, features and delivery are different.
The loader name kla.sh, the /bins/ directory and the set of 14 architectures also appear in ELLIO's March 2026 report on a Mirai variant its operator calls "boatnet". That bot is described with a different control protocol, different persistence and a different disguise. Whether the two share an operator or only a loader kit is not established.
Hosting
The control address was listed on ThreatFox from 2026-10-01, and a hosting complaint was recorded on URLhaus on 2026-09-13. It was still serving builds in late November 2026.
Detection
- Outbound tcp/25565 from a router, camera or DVR, or the wire signature above on any port.
- Files:
/var/tmp/.sys_recovery.sh,/etc/cron.d/netupd,/etc/init.d/sys_daemon,/etc/systemd/system/netd.service,.nctl.lockin/var/tmp,/dev/shmor/tmp./tmp/proxy_err.logmarks the earlier build. - A process named
arunning from a hidden eight-character file name. - Symptom: new ELF files in
/tmpvanish within a second.
When cleaning a device, remove the three boot entries and kill the watchdog shell before the bot processes. The supervisor and worker restart each other within three seconds, and the watchdog script restarts both within twenty.
Sources
- ELLIO, [watchdog]: Inside a Mirai variant with six-layer persistence (2026)
- ThreatFox and URLhaus (abuse.ch), for the earlier listings of the control address.