Honeypot capture
Arc ELF 32-bit LSB executable ddos-bot (f56f3ffde847)
Executive summary
A honeypot sensor network captured an 83,476-byte ELF executable built for Synopsys ARCompact ARC700, a processor family found in routers, cameras and other embedded devices rather than servers. Kinryu Labs notes that such devices are permanently online and rarely patched or monitored. Static analysis of the file recovered one command-and-control endpoint, 5[.]39[.]10[.]241 on TCP port 4444, and six ASCII commands the operator can send over that socket. The bot enrols the machine into a fleet that floods an operator-named target on command, and the flood traffic leaves over the victim’s own network connection. No finding below is cross-tool verified.
This analysis is a static read of the file. No recovered address was contacted, and the sample’s runtime timing, retry and post-execution behaviour were not recorded. The dissector tooling touches the network only when pointed at an explicit --target.
Kinryu Labs leaves the family field null because the registration line HWID %s ARCH %s and the command grammar [method] [target] [port] [duration] match neither the Mirai handshake, which is 4-byte length-prefixed binary with a 0x00 0x00 0x00 0x01 ident, nor Gafgyt/Bashlite’s !*-prefixed command set, and no name, version or campaign string exists anywhere in the image. The binary is statically linked against uClibc and stripped, and its entropy of 6.38 is low enough that Kinryu Labs records the image as not packed.
Kinryu Labs assesses the sample as a DDoS bot with no other function. The bot’s own code occupies the range 0x00010160–0x0001087e and consists of a daemoniser, an HWID builder, a C2 client, a six-way strcmp dispatcher and four flood handlers. That range contains no shell execution, no file exfiltration, no scanner, no credential table, no persistence writer and no self-propagation path.
Sample at a glance
| Property | Observed value |
|---|---|
| Family | unclassified |
| Type | DDoS bot |
| File type | ELF 32-bit LSB executable, Synopsys ARCompact ARC700 cores, version 1 (SYSV), statically linked, for GNU/Linux 4.8.0, stripped |
| Platform | linux / arc, 32-bit, little-endian |
| Size | 83,476 bytes |
| SHA-256 | f56f3ffde847171835def165b3c7752455aeea3e6401d3cd1f2dcb606fe8d1b2 |
| SHA-1 | b5706d1482b975852d75b8eb2700274988f6f224 |
| MD5 | c67e4e926852d4b9873baa0ceb2ca1a2 |
| Packing | none |
| Privilege needed | user |
| Command and control | raw TCP, no operator address stored in the file |
The command channel
The data section holds the C2 address as a string at 0x0001bcc0, and a static read of the file shows it there:
0x0001bcc0 352e 3339 2e31 302e 3234 3100 6172 6300 5.39.10.241.arc.
The code at 0x0001018c builds the socket:
0x0001018c 01d9 mov_s r1, 1
0x0001018e 7e0d2001 bl.d fcn.00012708 ; socket(AF_INET=2, SOCK_STREAM=1, 0)
0x00010192 02d8 mov_s r0, 2
The port is not a separate string. It arrives as part of a single sockaddr immediate stored at 0x000101ae:
st 0x5c110002,[sp, 8] (sin_family=0x0002 AF_INET, sin_port=0x115c = 4444 network order)
connect(fd, sp+8, 16) at 0x000101c0 consumes that sockaddr. The image names one endpoint and no fallback, and the port it carries, 4444, is non-standard for any registered protocol.
The bot drives a register-then-block loop over one channel that is plaintext US-ASCII in both directions. Captured traffic can be read without decryption. It sends one registration line (send(..., MSG_NOSIGNAL) at 0x000101fa), then blocks in recv(fd, buf, 511, 0) at 0x00010208 with no timed beacon; on connection failure it closes, sleeps five seconds at 0x000102d2 and reconnects. Inbound commands are parsed straight off the receive buffer by sscanf at 0x000102a6 against the literal format %15s %31s %hu %u stored at 0x0001bcfc, with an optional len=[n] field. Radare2 mis-splits the long-immediate window at 0x0001029a–0x0001029f and did not resolve which stack slots receive the %31s target and %u duration from that sscanf. No DNS resolver is linked into the image: the C2 host and every attack target must arrive as a dotted-quad IPv4 literal. protocol_spec.md records three message directions and seven test vectors, and those vectors replay through the recovered dissector.
The dispatcher accepts only the six keywords listed below.
Kinryu Labs read the handlers and behaviour below from the strcmp cascade at 0x00010798; udp, tcp and pps each loop with no rate limit until a wall-clock deadline.
| Keyword | Handler | Behaviour |
|---|---|---|
udp | 0x00010414 | UDP datagrams of a random repeated byte, default 512 B |
tcp | 0x000104e0 | connect+send+close storm, default 1024 B |
pps | 0x000105d4 | zero-filled 64-byte UDP datagrams for packet rate, the smallest default payload of the three direct floods |
http | 0x00010694 | HTTP GET flood, fresh TCP connection per request |
kill | 0x00010b30 | exit_group(0) — terminate the bot |
stop | 0x00010200 | accepted and silently ignored; there is no concurrent attack to cancel |
The four flood methods each take [target] [port] [duration], while kill and stop are exact strcmp matches against the whole receive buffer and fire only on a NUL-terminated token. A kill sent with a trailing newline does not match. udp, tcp and pps map to T1498 and T1498.001. The http method sends a fixed five-header GET built from the template at 0x0001bd10 with a rand() hex cache-buster in the path, aimed at exhausting a web server’s connection and request budget rather than link capacity, and is recorded as T1499. Every socket in the image is SOCK_STREAM or SOCK_DGRAM and none is SOCK_RAW; execution requires only user privilege, with no CAP_NET_RAW and no root.
The HWID
Before registering, the sample builds the HWID from two files it reads with fopen+fgets: the primary NIC MAC from /sys/class/net/eth0/address, and the hostname from /etc/hostname, which defaults to the stack-initialised literal unknown at 0x00010962 when the open fails. The two are formatted as "%s-%s", MAC first, into a 64-byte buffer at 0x00010a00. When the eth0 open returns NULL, a beq_s at 0x00010998 falls through to 0x00010a24 and tries /sys/class/net/enp0s3/address instead. enp0s3 is a systemd predictable interface name typical of a VirtualBox guest, and probably an artefact of the author’s build-and-test VM; the sample performs no VM detection of its own.
The architecture half of the registration is the hardcoded literal arc, held in the same data region as the C2 address. The image contains no uname syscall, and the token is fixed at compile time.
Daemonising before the first connect
Before any network activity, the routine at 0x00010884 calls setsid, chdir("/") and redirects file descriptors 0, 1 and 2 to /dev/null. The process leaves no console trace. Kinryu Labs asserts no ATT&CK technique for that step, because daemonising is ordinary Unix service behaviour and the offline table has no technique it maps to with confidence.
Indicators
The file has SHA-256 f56f3ffde847171835def165b3c7752455aeea3e6401d3cd1f2dcb606fe8d1b2, MD5 c67e4e926852d4b9873baa0ceb2ca1a2 and SHA-1 b5706d1482b975852d75b8eb2700274988f6f224. On the wire, the registration token HWID immediately followed by ARCH arc appears on a bare TCP stream. The http flood emits Mozilla/5.0 as its complete User-Agent, a version-less token a real browser never sends, alongside Accept: */*, with Accept-Encoding, Accept-Language and Referer absent.
On disk, the artefacts are files the bot opens: the two interface-address paths and /etc/hostname for the HWID, and /dev/null for the descriptor redirect. A getdents64 syscall stub at 0x0001a7f4 was left unexplained; the bot’s own code range contains no file exfiltration and no scanner. A reboot clears the process because the bot’s code range contains no persistence writer, and for a host known to have reached the endpoint a clean reflash plus an egress block on that endpoint removes the binary and its only channel.
Tool coverage for ARCompact
The tools that produce capability and family labels do not support ARCompact. capa exited 17 on the sample, so there is no capa-matched capability table and no MBC lookup; FLOSS and telfhash were unavailable for the same reason, and the impact of losing FLOSS is low given that no string in the image is encoded. Ghidra has no ARCompact module, and Binary Ninja mis-loads ARC as RISC-V. Every address quoted above rests on radare2 alone.
Whether the C2 host still answers
Which addresses 5[.]39[.]10[.]241 currently resolves to, and whether it still answers on TCP port 4444, were not established; the host was not contacted as a matter of policy.
Message formats
registration (client to server)
| Offset | Size | Field | Description |
|---|---|---|---|
0 | 5 | prefix | the literal “HWID “ |
5 | var | hwid | ” |
| - | 6 | separator | the literal ” ARCH “ |
| - | 3 | arch | the hardcoded literal “arc” — not a uname() result, so it is a fixed string in every sample built from this source |
| - | 1 | terminator | a single 0x0a; no CR |
command (server to client)
| Offset | Size | Field | Description |
|---|---|---|---|
0 | var | method | %15s: one of udp, tcp, pps, http (dispatcher 0x00010798); or the whole buffer equals “kill\0” or “stop\0” |
| - | var | target | %31s: must be a dotted-quad IPv4 literal — it goes straight to inet_addr and no resolver is linked |
| - | 2 | port | %hu: byte-swapped into sin_port by the handler |
| - | 4 | duration | %u: seconds, compared against time(NULL) each loop iteration |
| - | var | len | optional; located by strstr(buf, “len=”) at 0x00010282 anywhere in the line and parsed by strtol(p+4) at 0x0001028a |
http flood request (client to server)
| Offset | Size | Field | Description |
|---|---|---|---|
0 | var | request_line | ”GET /%x HTTP/1.1\r\n” where %x is rand() in lowercase hex (no 0x prefix, no padding) — a per-request cache-buster |
| - | var | host | ”Host: |
| - | var | user_agent | ”User-Agent: Mozilla/5.0\r\n” — version-less and therefore distinctive |
| - | var | accept | ”Accept: /\r\n” |
| - | var | connection | ”Connection: keep-alive\r\n” — claimed but not honoured: the socket is closed after one request |
| - | 2 | end_of_headers | the final \r\n; no body |
Command-and-control parameters
| Parameter | Value |
|---|---|
| Transport | raw TCP † |
| Embedded cipher | NONE (none) † |
| Reconnect | 5 s, none backoff † |
| Kill switch | kill † |
† Read from the primary disassembly only; not independently confirmed.
Indicators of compromise
Host indicators
| Indicator | Type | Description |
|---|---|---|
/sys/class/net/eth0/address | file | read with fopen(path,“r”)+fgets to harvest the primary NIC MAC for the HWID; first choice † |
/sys/class/net/enp0s3/address | file | fallback MAC source, tried only when the eth0 fopen returns NULL (beq_s at 0x00010998 -> 0x00010a24) † |
/etc/hostname | file | read with fopen+fgets(64) for the second half of the HWID; defaults to the literal “unknown” (stack-initialised at 0x00010962) when the file cannot … † |
/dev/null | file | opened and duplicated onto fds 0, 1 and 2 by the daemonise routine at 0x00010884 before the first connect † |
Mozilla/5.0 | user agent | the complete, version-less User-Agent emitted by the http flood method; a real browser never sends this bare token, and the request also omits … † |
/ | directory | the chdir target in the daemonise routine (string at 0x0001bd84) † |
† Read from the primary disassembly only; not independently confirmed.
File indicators
| Indicator | Type | Description |
|---|---|---|
f56f3ffde847171835def165b3c7752455aeea3e6401d3cd1f2dcb606fe8d1b2 | SHA-256 | unclassified sample as captured |
b5706d1482b975852d75b8eb2700274988f6f224 | SHA-1 | same file |
c67e4e926852d4b9873baa0ceb2ca1a2 | MD5 | same file |
Appendix: MITRE ATT&CK
| ID | Technique | Observed behaviour |
|---|---|---|
| T1082 | System Information Discovery | Builds a victim identifier before registering: reads the NIC MAC from /sys/class/net/eth0/address, falling back to /sys/class/net/enp0s3/address, and the … |
| T1498 | Network Denial of Service | Three direct network flood methods against an operator-named target: udp (0x00010414, UDP datagrams of a random repeated byte, default 512 B), tcp (0x000104e0 … |
| T1498.001 | - | Three direct network flood methods against an operator-named target: udp (0x00010414, UDP datagrams of a random repeated byte, default 512 B), tcp (0x000104e0 … |
| T1499 | Endpoint Denial of Service | HTTP GET flood (handler 0x00010694) that opens a fresh TCP connection per request and sends a fixed 5-header GET built from the template at 0x0001bd10, with a … |
| T1571 | Non-Standard Port | Persistent plaintext raw-TCP command channel to 5[.]39[.]10[.]241:4444. socket(AF_INET, SOCK_STREAM, 0) at 0x0001018e, connect at 0x000101c0, blocking recv of up to … |
- Family
- unclassified
- First seen
- November 27, 2026
- Vector
- Runs as a ddos-bot; the entry vector is not established by static analysis
- Format
- 82 KB arc ELF 32-bit LSB executable
- VirusTotal
- Not on VirusTotal
- Tags
- arc · ddos-bot · elf · raw_tcp
- Sample
- By request. Email [email protected]
SHA-256
-
f56f3ffde847171835def165b3c7752455aeea3e6401d3cd1f2dcb606fe8d1b2as captured
Analysis performed using an automatic malware analysis pipeline using Binary Ninja