Honeypot capture
mirai (dvrhelper)
The analysis recovered six command-and-control endpoints statically from a 134,644-byte MIPS ELF sample, spread across four hosts: myrepis[.]gd, seris[.]gd, slursbeback[.]ru and slursontel[.]ru. C2 is the channel an infected machine uses to reach its operator for instructions, and a loader has to carry those addresses in resolvable form, so they are named in the sample’s own strings and code. A second, independent decompiler backend resolved the same six addresses, and all six therefore carry an agreement verdict in the findings.
A honeypot sensor network captured the sample, SHA-256 3becb3d0241f52819ea7ecf63429f0f736d6c172286aea8194e6cd727b739759. It is a statically linked, stripped MIPS32 little-endian ELF, classified as mirai/dvrhelper at confidence 0.85, and it carries the string signature of that family (/bin/busybox, ncorrect).
The lineage builds for two architectures, mips and mipsel, and according to the findings that build set indicates a campaign against routers, cameras and other embedded devices rather than servers. The findings describe that hardware as permanently online and as rarely patched or monitored, and they class the sample as a worm, which copies itself to further machines with no user action, across a network, removable media or exposed services.
The C2 host seris[.]gd also appears in one other analysed capture. The findings tie the two captures to one operator’s infrastructure and read the sample as part of a wider campaign rather than a one-off.
How the analysis was produced
An automatic malware analysis pipeline built on Binary Ninja produced this analysis, and the findings are attributable to Kinryu Labs. The pipeline recovered strings and structure with strings and rabin2, anchored every indicator to a file offset and corroborated it across both tools, then disassembled and decompiled the executable sections headlessly. Endpoint, framing, transport and command claims went through a consensus round in which Ghidra and radare2 re-derived them independently.
Two corrections came out of that round. Binary Ninja did not resolve this binary’s GP-indirect call pattern and reported about 64 false zero-caller functions; the analysis recovered the graph by resolving GOT[$gp+imm] with $gp = 0x468630, and placed main at 0x40cf94 rather than at the 0x40cb30 Binary Ninja reported. Both were independently confirmed in consensus. Because the binary is stripped, every function name here is the analysis’s own label.
The RC4 config store and its decoded records
The sample holds its configuration strings RC4-encrypted in .rodata and decrypts them to the heap at startup. It uses Mirai’s table_init/add_entry config-store idiom with per-record RC4, assessed at confidence 0.95 and mapped to ATT&CK T1027 (MBC C0027, C0031), with the decryptor at file offset 0x412ec8:
add_entry RC4 decryptor (KSA 0x412db4 / PRGA 0x412ec8), 256-byte key at 0x41e5a0 — binja @
0x412cf4
The sample’s RC4 swap is an in-place three-XOR that zeroes S[i] when i == j, so an offline decrypt has to reproduce that behaviour, and the configuration extractor and the protocol dissector each do. The 256-byte key at 0x41e5a0 begins 402d81356cae1a2b3f9705f02bdf3c99.
Eleven records decode out of the store: the four C2 and loader domains, the flood payload string TSource Engine Query, five /proc enumeration paths, and an operator string, record id 4, reading The Peoples Bank of China. That record decoded to clean text, but the analysis traced no consumer for it. The domains appear in the decrypted strings directly — 'slursbeback.ru' at 0x41e500, 'seris.gd' at 0x41e510, 'slursontel.ru' at 0x41e51c, and 'myrepis.gd' (id 3, len 10) at 0x41e530.
The C2 channel
The three C2 domains form a single failover set: cnc_connect bounds the config index to < 3 at 0x40aba8 and rotates through them round-robin. cnc_connect draws the destination port fresh on each connect.
cnc_connect picks sin_port from the 121-entry table at 0x41dc8c via rand()%121 (mult by 0x0ecf56bf at 0x40bc64), byte-swaps it at 0x40bccc-0x40bcdc, then connect(fd,sa,16) — binja @
0x40bcb4
The 121-entry table spans ports 38242–46812, and the profile records that as a port range. Transport is raw TCP — socket(AF_INET, SOCK_STREAM) at 0x40bac0, mapped to ATT&CK T1571 (MBC B0030) at confidence 0.85.
The recovered endpoints Values and virtual addresses read from disassembly; confidence is the analysis’s own per-claim score; the verified column records agreement in the consensus round.
| Value | Port | Proto | Role | Kind | VA | Conf | Verified |
|---|---|---|---|---|---|---|---|
slursbeback[.]ru | 38242–46812 | tcp | primary | C2 | 0x412cf4 | 0.88 | ✅ |
seris[.]gd | 38242–46812 | tcp | fallback | C2 | 0x412cf4 | 0.88 | ✅ |
slursontel[.]ru | 38242–46812 | tcp | fallback | C2 | 0x412cf4 | 0.88 | ✅ |
myrepis[.]gd | 80 | http | — | loader | 0x41e530 | 0.85 | ✅ |
myrepis[.]gd | 4501 | tcp | — | loader | 0x41e530 | 0.80 | ✅ |
loader path on myrepis[.]gd | 80 | http | — | loader | 0x40fb94 | 0.72 | ✅ |
The wire format is a 16-byte header in big-endian order: a 4-byte session tag, the magic byte 3, type ^ key[0], flags, a sequence number, a u16 length capped at 1024 bytes at offset 12 (0x40df1c), and a 16-bit additive checksum, followed by a payload XORed with a 4-byte rolling key. That rolling key is zero in this build — cfg+0x14 is never initialised and sits zero in .data — so the payload travels as plaintext and a captured frame decodes without a key. The findings list as an open question whether a sibling build populates that key and the 4-byte session tag at cfg+0x18.
A TLS ClientHello template sits at 0x460260, with a 19-byte SNI slot at 0x4602a5. A GP-aware scan of .text found no code or data references to it, and the findings carry the template and its SNI slot as an open question.
Three test vectors replay through the recovered dissector, and the findings record the wire format as documented well enough to decode it. The session has no fixed beacon timer, because the loop blocks on recv, and the failover index advances on each connect attempt at 0x40bbd0.
Opcode 1 at 0x403348 runs the TSource Engine Query reflection flood, opcode 19 at 0x40446c emits the PRI * HTTP/2.0 preface, opcode 7 at 0x412bcc carries scanner and attack control, opcode 3 at 0x40b870 is tasking with a 4-byte ACK, and opcode 2 at 0x40b7ec is reconnect and close control.
Behaviour on an infected device
attack_init at 0x400908 registers 15 flood methods (T1498, T1499; confidence 0.85), two of them the opcode-1 and opcode-19 floods above. The sample spreads with a telnet scanner that brute-forces port 23 against a roughly 38-entry default-credential dictionary (0x41133c, T1110.001, confidence 0.9), and it pulls the next stage with a four-transport busybox loader using wget, tftp, ftpget and curl (0x412734, T1105, confidence 0.9). TFTP is a minimal file-transfer protocol over UDP with no authentication, common on embedded devices and often reachable where HTTP is not.
The sample removes competing implants as well. It reads /proc/net/tcp and /proc/[pid]/exe|cmdline to find and kill them (0x40addc, T1057, confidence 0.8). It binds 0.0.0.0:39148 and trades the 8-byte BOT\x01TAKE token, held at 0x41dc80, to kill any previous instance (0x40b56c, T1489, confidence 0.85). The findings identify that token as the single-instance handover token on tcp/39148.
The sample leaves four artifacts on a host it runs on Each row is an artifact written or referenced on the host at runtime; VA and confidence are from static reading. These sat outside the C2 claim set that went to the consensus round, so none carries a second-backend verdict.
| Kind | Value | Context | VA | Conf |
|---|---|---|---|---|
| process_name | dvrHelper | second-stage payload, re-exec’d with selfrep | 0x41e1dc | 0.90 |
| file | .d | dropped hidden second-stage filename | 0x41e1dc | 0.90 |
| file | /bin/busybox | loader invokes busybox applets | 0x41e068 | 0.85 |
| mutex | tcp/39148 single-instance lock | bind+listen on 0.0.0.0:39148 | 0x40b56c | 0.85 |
The sample runs with only user privilege. It does require network access: outbound tcp/38242–46812 for C2, outbound udp/53 for its hand-rolled DNS, outbound tcp/23 to scan, and outbound tcp/80 and tcp/4501 to reach the loader. Denying any one of them blocks the sample. The sample establishes no on-disk persistence; it runs from memory and re-infects over telnet, so a device that connected out should be treated as compromised and reflashed.
Whether the C2 host still answers
The next steps are to check which addresses the C2 host currently resolves to, whether it still answers on a port from the recovered table, and what runtime timing, retry and post-execution behaviour the sample shows.
- Family
- mirai
- First seen
- November 11, 2026
- Vector
- Runs as a ddos-bot/worm; the entry vector is not established by static analysis
- Format
- 131 KB mips ELF 32-bit LSB executable
- VirusTotal
- 36/75 engines: trojan.mirai/r002c0dj726
- Tags
- ddos-bot · elf · mips · raw_tcp · worm
- Sample
- By request. Email [email protected]
SHA-256
-
3becb3d0241f52819ea7ecf63429f0f736d6c172286aea8194e6cd727b739759as captured
Analysis performed using an automatic malware analysis pipeline using Binary Ninja