Research / first-hand analysis / updated as files arrive
Malware analysis: what hit our decoys and how it works
Our decoy cameras and routers let attackers in on purpose and keep every file they bring. This page lists those files as they arrive and explains, for each kind, how the attackers get in, how the file reaches the device, what it does there, where it calls home and what it is built to hit.
The short version
- Everything captured so far belongs to Mirai-family botnets: malware that takes over cameras, video recorders and routers and rents them out for flooding websites off the internet.
- Nobody exploited a software flaw. Every break-in was a Telnet login with a factory password.
- The files come in three kinds: download scripts of a few lines, tiny loaders of one to four kilobytes that are typed into the device as bytes, and the bot itself, 80 to 120 kilobytes.
- We read two control servers and four download servers out of the files and the sessions and reported them. The addresses are at the end of the page, free to use.
The analyses
One page per piece of malware we took apart. This page is the overview; the details are there.
The Hagaseca Android worm, caught while it spreads over ADB
An infected device pushed the Hagaseca Android worm to our decoy over ADB port 5555. What we recorded, what is new, and how to check your devices.
A botnet that hides its control server in a DNS record
The bot behind the port-2345 loader reads its control server from a DNS text record XORed with CA FE BA BE. How it arrives, what it does, how to spot it.
The 1 KB loader that botnets type into cameras
A 1,152-byte program typed into cameras and routers over Telnet to fetch the Mirai bot: how it arrives, what each part of the file does, the five builds and how to spot it.
Inside a Mirai botnet that hunts cameras and routers
We let a Mirai variant infect our decoy devices and took it apart: how it gets in, where it calls home (cozykoala.st), what it can do, and how to check your own devices.
A silent loader that calls home on port 2345
A 3,536-byte MIPS loader with no readable text: it connects to port 2345, sends one byte and pipes the reply into the device. Two copies, two servers, and how to spot it.
The files, live
Each card is one file, identified by its SHA-256 fingerprint. The list updates by itself when a decoy captures something new; a file we have not taken apart yet says so.
The live list needs JavaScript. The analysis below does not.
How they get in
The attacker is not a person. It is another infected device, running the same malware, that scans the internet for Telnet (ports 23 and 2323) and tries a short list of factory passwords. On our decoys the logins used most were admin/admin, default/tlJwpbo6 (built into many cheap cameras and recorders) and admin/TeleCom_1234 (a default on routers handed out by internet providers).
What follows takes one to three seconds and is fully scripted. This is a real session from one of our decoys, shortened:
login: admin > enable / system / shell / sh # /bin/busybox HISILICON # >/dev/shm/.f && chmod 777 /dev/shm/.f && /dev/shm/.f && cd /dev/shm/ # /bin/busybox cat /proc/self/exe # echo -ne '\x7f\x45\x4c\x46...' >> .d # /bin/busybox chmod +x .d; ./.d; ./.rrfxd telnet
Three checks happen before anything is installed, and each one doubles as a test for a researcher's trap:
- The made-up command. It asks busybox to run a word that does not exist (
HISILICON,PBOC, or random capitals). A real device answers that the command is unknown. A trap that answers anything else, or nothing, is dropped. - The folder test. In a dozen folders, one after another, it creates an empty file, marks it runnable and runs it. Where that works, it can install.
- The processor check. It reads the first bytes of a program already on the device to learn which processor it has, so it can bring the matching build.
How the malware arrives
We saw three delivery methods, tried in this order of preference.
1. A download script
If the device has a download tool, one line fetches a small script (wget.sh or curl.sh; TFTP and FTP are tried as well) and runs it. The script downloads the bot for four processors and tries to start each. Only the right one runs. It is crude and it works.
2. A loader typed in by hand
Many cameras have no download tool at all. For those, the attacker types a complete program into the device through the Telnet session, as echo commands that each write a few dozen bytes. One of our sessions took 298 commands. The program is a loader of 1,152 to 2,016 bytes, written to be as small as possible:
- File header, 176 bytes
- Code, 684 bytes
- Text, 60 bytes
- Tables, 232 bytes
The 684 bytes of code do exactly five things: open a connection to 103.153.68.126 on port 80, send GET /arm5 HTTP/1.0 (or /arm4, /arm7, /mips, /mpsl, depending on the build), skip the reply's headers, write the rest to a file named .rrfxd, and exit. The shell then starts .rrfxd. The server's address is not stored as text anywhere in the file: it is assembled from four separate numbers in the code, which is why searching the file for an IP address finds nothing. We read it from the processor instructions.
Full analysis of the typed-in loader
3. A silent loader
A second group, the one that tests devices with the word HISILICON, types in a different loader: 3,536 bytes, built for MIPS routers, with no readable text in it at all. It connects to a server on port 2345, sends a single byte with the value 1, and copies whatever the server sends back to its output, which the shell saves to a file and runs. There is no file name, no web request and no marker to search for. Two copies reached us, identical except for four bytes: the server's address, 176.65.139.41 in one and 101.53.134.34 in the other. The older copy has been on MalwareBazaar since October 2026 without a family name. We did not connect to those servers; the addresses and the port are read from the files.
Full analysis of the silent loader
What the bot does, and how it calls home
- Break-in and install. An infected device logs in over Telnet, runs its checks and installs the bot by one of the three methods above.
- Fetch. The device itself downloads the bot from the download server. From the outside this is one small web request from a camera, which no home router questions.
- Call home. The bot connects to
order.cozykoala.ston one of 24 ports picked at random and keeps the connection open. Every connection starts with the same eight bytes,00 00 00 02 43 00 00 00; everything after is encrypted with a key made fresh for each device. - Spread. It scans the internet for Telnet, tries factory passwords and sends every login that works to
street.cozykoala.st, which hands them to the installer. Then the cycle starts again on the next device.
While it waits, the bot protects itself: it tells the system not to stop it when memory runs low, stops programs it sees as rivals, and carries a list of names of analysis tools so it can behave differently when watched. It lives in memory only, so a restart removes it, until the device is found again a few hours later.
We keep a stand-in for an infected device asking the control server for orders, without ever taking part in an attack.
What it targets
Two different things: the devices it lives on, and the victims it is pointed at.
The devices. Every file we captured is built for a small processor, never for a PC or a phone:
- ARM v4 / v5older cameras and video recorders
- ARM v7current cameras, recorders, set-top boxes
- MIPS BEmany home and provider routers
- MIPS LEMediaTek and Ralink routers
The victims. The order format has room for one thing only: a list of target addresses, a duration and one of seven ways to flood them (three over UDP, three over TCP, one over GRE, as far as the code shows). This is an attack-for-hire service. We found no code that steals the owner's data; the owner pays with a slow connection, an address that lands on blocklists and a device that attacks other people.
Also seen, without a file yet
- A third Mirai group renames the device to
PBOCand tries to fetch its bot from185.93.89.72over wget and TFTP. The download did not complete on our decoy. - Windows remote management. Scripts guess the Administrator password on our decoy Windows server (WinRM, port 5985), from machines still named the way Windows names itself at install (such as
WIN-PHJAAKB86DE). One that got in switched off Microsoft Defender's real-time and download scanning, excludedC:\Windows\Fontsfrom scanning, tried to stop a service calledWMServicesand anywinlogon.exerunning from the Fonts folder, tried to run a script from156.240.1.142:58745/collin.txtin memory, and set remote management to listen on port 57451. Our reading: it was clearing out a rival miner hidden in the Fonts folder and settling in. The script server did not answer, so there is no file yet. - WebLogic and MongoDB. 29 addresses opened Oracle WebLogic's T3 protocol, the way WebLogic deserialization exploits begin, and a few asked an open MongoDB which databases it holds. Both now get a decoy that keeps the exploit or the commands, so a file may follow.
- Not malware. One captured file is only the error text of a download that timed out, saved by the attacker's own script. It stays on the list so the count matches our records.
How to check your own devices
- Close Telnet. If port 23 or 2323 of a camera, recorder or router answers from the internet, assume it has been tried.
- Change factory passwords, on cameras and recorders too, not only on the router.
- Look in your firewall or DNS logs for the names and addresses below, for outgoing connections to port 2345, and for a small device that opens Telnet connections to addresses all over the world.
- Restart, then fix. A restart removes this malware. Without the two steps above it is back within hours.
- Block it at the edge. Our free firewall feed carries these servers and the addresses that deliver the malware, in formats for more than 60 firewalls, with Suricata and Snort rules.
Indicators
Free to use, with or without credit. File fingerprints are on the cards above. The same data is in URLhaus, ThreatFox and MalwareBazaar under the account acidripp.
| What | Value |
|---|---|
| Control server | order.cozykoala.st |
| Server that collects working logins | street.cozykoala.st |
| Download server (scripts, loaders, bots) | 103.153.68.126:80 /wget.sh /curl.sh /arm4 /arm5 /arm7 /mips /mpsl /mipsel |
| Second-stage servers of the silent loader | 176.65.139.41:2345, 101.53.134.34:2345 |
Name that holds the DNS-steered bot's server (TXT, XOR CA FE BA BE) | manzzkontolaktolakan.my.id |
| Control server of the DNS-steered bot | 129.121.115.43:8001 |
| Control servers of cozykoala that sent orders | 103.163.214.229:16385, 172.235.196.12:8388, 192.53.123.23:5060 |
| Download server of the PBOC group | 185.93.89.72 (wget, tftp) |
| First bytes of every control connection | 00 00 00 02 43 00 00 00 |
| File the typed-in loader writes | .rrfxd |
| Request the typed-in loader sends | GET /arm5 HTTP/1.0 |
| Commands that give the installers away | /bin/busybox HISILICON, /bin/busybox hostname PBOC |
How we know, and what we do not do
Everything here is first-hand: the files were delivered to our own decoys by infected devices. We never run them on a real system and we never connect to the attackers' servers with them. Addresses, ports and behaviour are read from the files' processor instructions; for the bot, its own decryption routines were run inside an isolated processor emulator. Where something is inferred and not confirmed, the text says so. The reverse engineering was done with Claude Mythos, Anthropic's AI model, inside our own tooling: it read the processor instructions, traced what each file does and wrote these pages from the raw files and the session records. Detection results from antivirus vendors are not republished here: the VirusTotal link on each card opens them at the source.
The full write-up of the cozykoala botnet Who is attacking right now Free firewall feed