Honeypot capture
mirai
Kinryu Labs’ pipeline recovered two command-and-control endpoints, 102[.]220[.]160[.]204 and 94[.]154[.]43[.]101, from a 4,496-byte AArch64 Linux ELF without running it. Both are recorded on bare TCP port 1262. The file is an ELF 64-bit LSB executable for ARM aarch64, statically linked and stripped. The sample came from a honeypot sensor network, and config_struct recovered the two addresses from instruction immediates in the sample’s own code. The pipeline loaded the sample as data throughout and contacted or resolved no recovered endpoint.
This sample is the downloader (dlr) stage of the Mirai lineage. A loader has to name the infrastructure it fetches from in a form the device can resolve, so this file carries the operator’s delivery addresses for that wave. The sample is identified by SHA-256 90b46cd17dcd2ee4bd5b51c56dca6a6d4ca906e29514d8d3178d436b27d462ec (MD5 a666dd16c3b0449eb26a9e219bfbffe2, SHA1 afdcfe040dfdcbbcb559c2e99e62957b8bd77fd6).
Both endpoint addresses are packed into a single 64-bit immediate
The endpoints are halves of a single 64-bit constant, 0x652b9a5ecca0dc66, assembled by a mov/movk chain and spilled to the stack:
0x400350 mov x0, #0xdc66 0x400354 movk x0, #0xcca0, lsl #0x10 0x400358 movk x0, #0x9a5e, lsl #0x20 0x40035c movk x0, #0x652b, lsl #0x30 0x400374 str x0, [sp, #0x80]— binja @ 0x400350
The client then reads those stack bytes four at a time as struct in_addr — “memory bytes at sp+0x80 little-endian = 66dca0cc5e9a2b65; first in_addr (bytes 0-3) 66 dc a0 cc = 102.220.160.204” — and copies the first one into the socket address with a single four-byte memcpy:
0x400438 bl 0x400160 ; memcpy(sp+0x9c, x26, 4) -- copies 4 bytes (one struct in_addr) from the endpoint cursor into sin_addr— binja @ 0x400438
The client reaches the fallback only when the primary connect fails, advancing the cursor by one address width and making one further connection attempt:
0x400470 add x26, x26, #0x4 0x400474 cmp w25, #0x1 0x400478 b.eq 0x400694 0x40047c mov w25, #0x1 ; on connect failure advance the in_addr cursor by 4 and retry once— binja @ 0x400470
The second half of the same immediate yields 94[.]154[.]43[.]101 — “second in_addr = 94.154.43.101; reached only via the cursor advance at 0x400470” (binja @ 0x400358) — and whether the client ever reaches it is unknown, because the primary connect has to fail first.
Ghidra and radare2 re-derived the two addresses, the port and the drop path from the raw file. That independent agreement raises the confidence that both addresses are real, and the table below records it in the agreement column. The same consensus round re-derived the transport and the framing.
Endpoints, port and roles recovered from instruction immediates The table lists each address and port as the sample materialises it, the virtual address of the materialising instruction, the confidence assessed for each claim, and whether a second decompiler backend resolved the same value.
| Value | Port | Transport | Role | VA | Confidence | Second backend |
|---|---|---|---|---|---|---|
102[.]220[.]160[.]204 | 1262 | tcp | primary | 0x400350 | 0.95 | agrees |
94[.]154[.]43[.]101 | 1262 | tcp | fallback | 0x400358 | 0.90 | agrees |
Port 1262 is non-standard, and the protocol on it is bespoke binary with no HTTP or TLS layer (ATT&CK T1571, assessed at 0.9).
The kill list is competitor removal and anti-remediation at once
The sample enumerates PIDs 2 through 8191, reads each /proc/[pid]/cmdline, and sends SIGKILL to any process whose command line contains one of 41 kill-list substrings (kill site at 0x4005b8, assessed at 0.9; the /proc iteration at 0x400528 is process discovery, assessed at 0.9).
The 41 kill-list substrings are rival Mirai variant tags — sora, miori, Sakura, dvrHelper, loligang, yakuza, hotnet., la.bot, AXIS, TenTo — alongside the lineage’s own dlr. downloader naming and arch-suffix payload names (/x86, .mips, .mpsl, .arm). That mix of rival families and in-lineage naming is part of what places the file in the Mirai lineage.
The kill list also contains reboot and shutdown, so the sample sends SIGKILL to a reboot or shutdown command run on the device (assessed at 0.75, the lowest of the four capability claims).
Of the four capability claims, only the ingress tool transfer carries identifiers, T1105 and MBC B0030, at 0.95. The offline technique table used for mapping holds no confident match for arbitrary-process termination or for process discovery, so both are described at their addresses and left unmapped.
curl, wget, tftp and chmod appear in the kill list as substrings matched against other processes’ command lines, and because the ten-syscall interface holds no execve, fork or clone, the sample cannot run any of them.
The client sends six fixed bytes and reads a length-prefixed payload
After connecting, the client writes a fixed six bytes, arm64\n, at 0x4005e8. Those six bytes are the complete outbound beacon, and they select which architecture build the server returns. The findings also record them as a network signature: 61 72 6d 36 34 0a as the first client data on a 1262 session.
The server replies with a 4-byte big-endian length, byte-swapped by rev at 0x40065c and bounds-checked to 1..0x200000 at 0x400668, followed by that many raw payload bytes. The client writes the body verbatim to the file 2 in the current working directory, which it opens O_WRONLY|O_CREAT|O_TRUNC with mode 0777 at 0x40067c. The bytes pass from the socket read at 0x4006b8 to the file write at 0x400708 untouched, so a captured response decodes with a length read and a slice: the length is the first four bytes big-endian, and the body is the remaining bytes. The sample drops the payload and exits without executing it. The length is the only value the server controls, and the binary uses it only as a loop bound and a completion test.
The sample has no dispatcher anywhere, and its syscall set omits fork, clone, prctl, execve, sendto, recvfrom and nanosleep, so the analysis classifies it as the downloader stage and not the bot.
The
reproduction/tools are live-C2 code. They touch the network only when explicitly given--target/--listen. Run them only in an isolated lane.
Capa and FLOSS could not run on AArch64
Kinryu Labs’ automatic malware analysis pipeline, built on Binary Ninja, analysed the sample. The pipeline produced these findings without an individual analyst. It recovered strings and structure with strings and rabin2, anchoring every indicator to a file offset and corroborating it across both, and it disassembled and decompiled the executable sections headlessly, with a second backend re-deriving the C2 claims from raw bytes.
capa and FLOSS, which lack AArch64 backends, exited 18 and 255 respectively, so the capability list is hand-derived from disassembly at the cited addresses and the emulated-string pass is absent. All strings in the sample are plaintext and .rodata is accounted for byte-for-byte, including the 41-entry kill-list pointer table at 0x400ac0. The packer ledger reads .text entropy 6.27, 20 resolved functions and no UPX as an unpacked file, and every call is direct, so the static call graph covers the whole program.
The analysis assesses family attribution at 0.60. The kill list is strong Mirai-lineage evidence, but such lists are copied between forks, and no comparison corpus was reachable in this lane.
Blocking outbound TCP/1262 stops the download
This sample needs only user privilege to run, and its whole network footprint is outbound TCP/1262 to the two recovered addresses, so blocking that egress prevents it from fetching a payload on a given host. Two host-side indicators are available to hunt on: a world-executable file named 2 in a bot’s working directory, and unexplained SIGKILLs of reboot, shutdown or security tooling. The primary endpoint, 102[.]220[.]160[.]204, also appears in two other analysed captures. That reuse of one command-and-control host across separate captures ties them to one operator’s infrastructure and places this sample in a wider campaign.
The stage-2 payload is not in this file
This file does not name the stage-2 payload, because the sample fetches it at runtime from a live server, and one captured response on 1262 would yield the binary the operator serves for the arm64 build. The liveness, ownership and geolocation of the two endpoints are unknown. The pipeline also left open the precise family and variant attribution within the Mirai lineage and the runtime timing, retry and post-execution behaviour of the sample.
- Family
- mirai
- First seen
- November 11, 2026
- Vector
- Runs as a loader; the entry vector is not established by static analysis
- Format
- 4 KB aarch64 ELF 64-bit LSB executable
- VirusTotal
- 0/74 engines
- Tags
- aarch64 · elf · loader · raw_tcp
- Sample
- By request. Email [email protected]
SHA-256
-
90b46cd17dcd2ee4bd5b51c56dca6a6d4ca906e29514d8d3178d436b27d462ecas captured
Analysis performed using an automatic malware analysis pipeline using Binary Ninja