Honeypot capture
mirai (dlr)
The pipeline recovered two command-and-control endpoints, 102[.]220[.]160[.]204 and 94[.]154[.]43[.]101, both on tcp/1262, from a 4,416-byte ARM ELF sample that a honeypot sensor network captured. The pipeline loaded the sample as data and never ran it.
A loader names the infrastructure it fetches from in a form the device can resolve, so recovering a loader gives a defender the operator’s delivery infrastructure for that wave. This sample is a loader, a small first-stage program whose only job is to fetch and start the real payload, and the second stage it downloads carries the capability the operator wants. Both entries in the endpoint table are IPv4 literals, and the binary contains no DNS resolution.
The sample is built for ARM. The findings bundle describes an ARM-led build as the signature of a campaign aimed at routers, cameras and other embedded devices rather than at servers; the bundle characterises that hardware as rarely patched, rarely monitored and permanently online. One of the two hosts, 94[.]154[.]43[.]101, appears in two other analysed captures, tying this loader to one operator’s infrastructure across a wider campaign.
Inside the 1,024-byte main
The loader’s 1,024-byte main at 0x8218 holds both the process sweep and the download client; the image runs to 24 functions in all. Every OS interaction goes through a single hand-written svc 0 gateway at 0x88ac behind ten syscall-number stubs. Because the binary is statically linked and stripped, it exposes no import table for a defender or a tool to key on.
The sweep enumerates pids 2 through 0x1fff and reads /proc/[pid]/cmdline with a 256-byte cap, then SIGKILLs any process whose command line contains one of 41 hardcoded substrings, excluding its own pid and its parent’s. The list quoted from iocs.csv:
curl, wget, tftp, ftp, reboot, shutdown, r4boot, powerdick, TenTo, bot., skid, sora, boat, miori, TRC, jew, Sakura, hotnet., AXIS, loligang, dlr., yakuza, selfrep, .nn, la[.]bot, dvrHelper, dvrLocker, /x86, .x86, /mips, .mips, /mpsl, .mpsl, /mipsel, .mipsel, /arm, .arm, /bruh, chmod, bash, sh
The table matches ordinary administrative tools — curl, wget, ftp, chmod, bash, sh, reboot, shutdown — alongside rival-implant names and per-architecture payload filename fragments, so an infected host loses legitimate utilities as well as rival implants. Five entries (ftp, TRC, jew, .nn, sh) are shorter than four characters, so a plain strings sweep missed them; dereferencing the pointer table at 0x8fb4 recovered them. Execution needs only user privilege, and as an unprivileged user kill(2) against processes owned by other users silently fails, so the competitor-kill reach scales with the privilege the loader is given.
Table 1 lists the five capabilities the pipeline recorded for this loader.
The pipeline mapped each capability to an ATT&CK technique where one applied, cited a file offset for the claim, and scored confidence between 0.85 and 0.95 across these five rows; the rows inherit the evidence verified in the consensus round rather than carrying separate agreement verdicts of their own.
| Capability | ATT&CK | Offset | Confidence |
|---|---|---|---|
| Outbound raw TCP client to a 2-entry endpoint table on port 1262 | T1571 | 0x848c | 0.95 |
| Ingress tool transfer: second stage written to disk | T1105 | 0x8550 | 0.95 |
Process enumeration via /proc/[pid]/cmdline | T1082 | 0x8358 | 0.90 |
| Competitor-process kill on substring match | — | 0x8610 | 0.90 |
Direct-syscall OS access through one svc 0 gateway | — | 0x88ac | 0.85 |
The cleartext download exchange
The download half is one exchange per endpoint: connect, send the bare architecture tag arm\n, read a 4-byte big-endian length (validated 1 ≤ L ≤ 0x200000, assembled at 0x8524), read that many bytes, write them to the file 2 with O_WRONLY|O_CREAT|O_TRUNC and mode 0777, exit. Nothing transforms the body between the socket read at 0x8584 and the file write at 0x859c. The binary holds no opcode, no parser and no dispatcher for the response, so it consumes the response as a length and that many opaque bytes, and a single captured server response gives the recovered second stage. protocol_spec.md documents two messages, and three test vectors replay through the recovered dissector, so a defender can decode live traffic in this format. This build sends arm as a fixed literal.
The endpoint table is 10 bytes at 0x8fa8: a shared big-endian port 0x04EE (1262), then two network-order IPv4 addresses, tried in order. The loop bound at 0x8650 holds the number of endpoints at two. The disassembly shows the cursor initialisation and the two address literals:
0x00008430 f4919fe5 ldr sb, [0x0000862c] ; [0x862c:4]=0x8faa
(0x8faa = 66 dc a0 cc -> 102.220.160.204)
(0x8fae = 5e 9a 2b 65 -> 94.154.43.101)
The loader then copies the four bytes at the cursor into the sockaddr and points the socket at it:
0x845c mov r1, r9
0x8460 mov r2, #0x4
0x8464 bl 0x80a0 ; memcpy(&sin_addr, cursor, 4)
0x8484 add r1, sp, #0x26c
0x8488 mov r2, #0x10
0x848c bl 0x8130 ; connect(fd, &sin, 16)
Table 2 lists both endpoints with their consensus verdicts.
The pipeline read address, port and role from the endpoint table at 0x8fa8; VA gives the address of each 4-byte literal, and agreement marks a claim that an independent decompiler backend resolved to the same value in the consensus round.
| Endpoint | Port | Role | VA | Confidence | Agreement |
|---|---|---|---|---|---|
102[.]220[.]160[.]204 | 1262 | primary | 0x8faa | 0.95 | yes |
94[.]154[.]43[.]101 | 1262 | fallback | 0x8fae | 0.95 | yes |
The transport claim describes an outbound raw TCP client on non-standard port 1262 carrying a bespoke binary protocol. Both verified endpoint claims cite the 0x848c connect site. The standalone transport claim cited 0x8474, the socket() call, as its offset, and the consensus check caught that mismatch. The loader tries the fallback only if the primary connection or download fails.
The family label is an inference
The pipeline classified the loader as Mirai lineage on structure alone. The architecture-tag request followed by a length-prefixed payload is the canonical Mirai dlr wire protocol, and the kill list carries known Mirai variant names: sora, miori, dvrHelper, loligang, yakuza. The pipeline recorded a classification confidence of 0.80 for the label on the basis of that structural fit. capa cannot analyse ARM, since it “currently only supports analyzing x86”, and the image ships no YARA rule set, so no tool-backed attribution exists for this case.
Host and network indicators
The loader’s only network requirement is outbound tcp/1262, and blocking that egress blocks the fetch. The kill sweep runs before the download, so on a host where the loader has executed the legitimate tooling it terminated is already gone.
The loader writes the dropped file relative to the current working directory, so its location depends on the cwd of whatever launched it. It writes the markers AAA\n at start and BBB\n on a successful download to file descriptor 1 rather than to the socket, a behavioural signature in any captured console or log output of the parent process. The hashes that identify the image in other repositories and sandboxes are SHA256 0dfd5942c350eb40a513869eff0fe805c0f3cdf363f0de6a90899c2a3192a8e2, MD5 b68da3c3997b6fc0b227cc66fefc0bc8 and SHA1 c608c6ac2aaf1abe8f2f86561bef3994bf4f27c2.
Every caller of the svc gateway is a known syscall stub, so this image contains no execution path for the file it downloads.
What the endpoints serve
The pipeline did not recover the second-stage payload that 102[.]220[.]160[.]204:1262 and 94[.]154[.]43[.]101:1262 serve, nor what executes the dropped file 2 on a live host. Also open: whether the arm tag is per-build or negotiated, which addresses the C2 host currently resolves to and whether it still answers on the recovered port, and what runtime timing, retry and post-execution behaviour the loader shows.
- Family
- mirai
- First seen
- November 11, 2026
- Vector
- Runs as a loader/dropper; the entry vector is not established by static analysis
- Format
- 4 KB arm ELF 32-bit LSB executable
- VirusTotal
- 26/75 engines: trojan.mirai/usblja26
- Tags
- arm · dropper · elf · loader · raw_tcp
- Sample
- By request. Email [email protected]
SHA-256
-
0dfd5942c350eb40a513869eff0fe805c0f3cdf363f0de6a90899c2a3192a8e2as captured
Analysis performed using an automatic malware analysis pipeline using Binary Ninja