Honeypot capture
I386 ELF 32-bit LSB executable ddos-bot (575eba4fffff)
A honeypot sensor network captured an i386 ELF of 5787832 bytes; this pass recovered two command-and-control endpoints from it without ever running the file. Both endpoints name the host 185[.]226[.]93[.]242: a plaintext TCP channel on port 9111 that carries operator commands, and an HTTP URL on port 80. The second stage that URL serves is bins.sh, fetched at runtime from the same host — the payload a loader fetches, which holds the capability the operator is after. Both endpoints carry an agreement verdict from the second decompiler backend, which resolved the same addresses independently.
The sample’s Go module is Botnet/Bot (devel), and a Botnet/Methods package exposes 19 named DDoS methods driven from that TCP channel. Alongside them it carries an IoT router worm. The worm half spreads with no user action, generating random public IPv4 addresses, probing each for a Boa web server, and on a hit injecting a command that makes the device fetch and run a second stage. The analysis classifies the sample as a functional, operator-controlled DDoS bot and network worm that matches no published commodity family, reported as an unnamed family at confidence 0.85.
The 154 attacker-authored functions, 2.5% of the binary’s Go functions, are confined to one contiguous span from 0x8262e20 to 0x827c8c0, in the two packages main and Botnet/Methods. The binary is statically linked with CGO_ENABLED=0, -tags=netgo and -trimpath under Go 1.25.0, with no shared libraries and pure-Go DNS. Sample hashes: SHA-256 575eba4fffff7419985e4eef8e010c6c0a7dae00b23db45de895547faf2cc398, SHA-1 4f9e05b22c39294abc432e2210d3ef4f7dd15ef6, MD5 619da8b7924c14616c7346b87ab36711.
Where the address lives
The host and port sit in .data as two adjacent plaintext Go string headers, at 0x85c6508 and 0x85c6510, and the decompiler reads them out as text:
'185.226.93.242'— binja @0x85c6508'9111'(bytes 39313131) — binja @0x85c6510main.main HLIL: char const (* eax_1)[0xf] = data_85c6508 ; loads C2 host header— binja @0x8275995lea eax, [0x83f53c4] ; ':' separator, then runtime.concatstring3(0, data_85c6508, data_85c650c, ':' , 1, data_85c6510, data_85c6514)— binja @0x8275a39net.Dial("tcp", [host:port]) - lea edx, [0x837a829] with len 3 selecting 'tcp'— binja @0x8275a60
main.main loads the host header, joins it to the port with a colon, and hands the result to net.Dial. The same string also stands in the file as an isolated literal with its own header (memory.read 0x83f7470 len 14 = '185.226.93.242'), and the second-stage URL reuses the host, substituted into http://%s/bins.sh (0x837e4e4).
The host 185[.]226[.]93[.]242 also appears in four other analysed captures, which ties those captures to the infrastructure of a single operator.
Nineteen commands in cleartext ASCII
The control channel carries no encryption, and the AES tables in the binary belong to the Go standard library. Those tables, at 0x85ae430, 0x85ae520 and 0x85aeba0, have zero references from the attacker code region; every reference resolves to Go’s crypto/internal/fips140/aes, and crypto/tls.Dial is called only by the TLS attack methods. The receive path runs net.Dial → bufio.Scanner → strings.Fields, with no transform between socket and dispatcher, so recorded traffic to port 9111 is readable as-is.
Command lines are newline-delimited ASCII with no magic, no length field and no compression; the scanner sits at 0x8275c7c, and strings.Fields splits each line on whitespace.
The bot’s connection handling is separate from the line format. On connecting it prints Connecting to CNC... and then Connected to CNC!; on disconnect it sleeps 5 s and reconnects, and a 120 s watchdog forces reconnection. Every 2 s, at 0% jitter (0x827c8d9), it sends STATS|%d|%d|%d|%d|%s\n: two CPU-derived and two memory-derived integers from /proc/stat and /proc/meminfo plus a trailing host identifier. Which integer is which, their units, and the source of the %s were not resolved, because the four values are boxed through runtime.convT32/64 into an interface slice at 0x827c8c0.
All 19 dispatcher opcodes resolve to named handlers. The Go string-switch in the command loop yields the opcode names through 16 inline integer compares and 3 runtime.memequal calls. Handler addresses are the dispatch targets, verified in the consensus round; the packet construction inside each handler was left unreversed, so whether all 19 methods are individually functional is open.
| Opcodes | Handler addresses | Layer |
|---|---|---|
udp tcp std hex ovh pps | 0x82733f0, with the five other handler addresses in this group not listed here | L4 floods |
ntp | 0x826ce00 | NTP reflection (raw socket, root) |
ping game fort | 0x826e250, 0x82699e0, 0x8269220 | ICMP / game floods |
ppsraw handshake voult | 0x826fda0, 0x826c350, 0x82753f0 | raw-socket spoofed (root) |
tls tlsplus tlsplusbypass priv7 | 0x8270ac0, with the three other handler addresses in this group not listed here | L7 HTTP/TLS floods |
browser cloudflare | 0x8266dd0, 0x8268fa0 | L7 browser-impersonation |
The command loop parses an optional len=[n] token among a command’s fields at six runtime.memequal sites, but this pass did not trace its consumer, so the parameter it controls, likely packet or payload size, and its default are unresolved.
Root is needed only for the four raw-socket methods — ntp, ppsraw, handshake and voult — which set IP_HDRINCL. The binary prints Failed to create raw socket: %v (need root/admin) when that socket cannot be created. The C2 loop, telemetry, scanning, file-append persistence and the socket-based floods all run unprivileged. The L7 methods impersonate a browser with a rotated User-Agent pool, a 15-locale Accept-Language table, Chrome Sec-Fetch metadata, Referers and a forged X-Forwarded-For, and tlsplusbypass reads a proxy list through Botnet/Methods.loadTLSProxies from proxy/tlsplusbypass.txt, relative to its working directory.
The curated profile leaves two groups of addresses in the sample out of the indicator set. The NTP reflectors 132[.]163[.]4[.]101/.102/.103 and 129[.]6[.]15[.]28/.29/.30 are legitimate NIST time servers abused by the ntp method, and the Referer values google[.]com, reddit[.]com, facebook[.]com, bing[.]com, twitter[.]com and fbi[.]gov are decoys inside the L7 floods. Neither group is C2 infrastructure.
This pass documented the wire format to the byte, and three test vectors replay through the recovered dissector. All three are synthesised from the recovered grammar, so the dissector has not yet been run against live traffic.
The worm half scans for and exploits Boa routers
The worm half runs concurrently with the command loop and scans for Boa routers. It continuously generates random public IPv4 addresses, excluding private and loopback ranges, probes each for a Boa web server (0x82793c0), and on a hit attempts command injection against the diagnostic “Run Command” endpoint exposed by Boa-based SOHO routers of the Totolink and D-Link class, in two firmware-variant request shapes: GET /syscmd.htm and POST /boafrm/formSysCmd (0x8391c1e). It fetches the router’s /config.dat over unauthenticated HTTP and LZSS-decompresses it to recover administrative credentials. It then reuses those credentials to log in. Because the login form can carry a CAPTCHA, it retrieves and submits the CAPTCHA through the Totolink getSanvas topicurl RPC (0x8385648).
The decompressor, main.Decode at 0x8279600, is classic LZSS — 4096-byte ring buffer prefilled with 0x20, initial index 0xFEE, (offset,length) back-references. It is the sample’s one first-party codec.
The injected command executes on the exploited router. This pass scanned the first-party range for int 0x80/sysenter with eax=11 and for syscall.Syscall callers, and found no os/exec and no execve in the attacker code region, so the wget … chmod … ./bins.sh string is payload for a remote device, fetched from the operator’s own host over HTTP (0x8279233). Locally, the bot’s effects are file writes, /proc reads and network I/O.
What the host shows after infection
main.AutoStart at 0x8278250 copies the binary as sysd — a name that mimics a systemd-like daemon — into the first writable of four directories, marks it executable, and appends a launch line to up to six boot and shell-profile files.
The rows below are from iocs.csv. They rest on the single decompiler pass, and this pass did not confirm which of the six persistence files are written rather than merely referenced.
| Kind | Value | Context | VA |
|---|---|---|---|
| filepath | /usr/bin/sysd, also under /var/run/, /tmp/, /data/local/tmp/ | self-copy install, first writable candidate tried | 0x82782b3 |
| filepath | /etc/rc.local, /etc/rc.d/rc.local, /etc/init.d/boot.local | boot persistence, launch line appended | 0x82785c7 |
| filepath | /etc/profile, /root/.bashrc, one user profile (redacted) | profile persistence, launch line appended | 0x8278806 |
| process_name | sysd | installed process name | 0x837a974 |
| filepath | bins[.]sh | second stage written on each exploited device | 0x8279233 |
| filepath | proxy/tlsplusbypass.txt | local proxy list, working directory | 0x8272160 |
| user_agent | Hello World | UA on GET /syscmd.htm, POST /boafrm/formSysCmd and GET /config.dat | 0x827becf |
Anti-analysis checks
The anti-analysis array came back empty. The packing check evaluated five of seven signals and none of them held; the endpoint is stored without string obfuscation, and the attacker code region carries no VM or sandbox check, ptrace call, /proc/self/status tracer probe or control-flow flattening. Two tooling failures bound that result: capa’s missing capability table left its anti-analysis rule namespace unevaluated, and FLOSS’s missing output means a string assembled at runtime would not have been recovered by this pass.
The 21 swept indicators
A byte sweep turned up 21 network indicators the curated profile does not list, of which this section names seven and leaves the other fourteen unlisted. Of those seven, 1[.]2[.]1[.]1, 1[.]2[.]2[.]1, 1[.]3[.]1[.]1, 119[.]0[.]0[.]0, 120[.]0[.]0[.]0 and 2[.]5[.]4[.]102 are routable and unconfirmed, while 1[.]1[.]1[.]1 falls in a well-known test range that malware commonly carries as a scan or flood-test placeholder.
Confidence across the claim set
| Capability | ATT&CK | Confidence (pipeline per-claim assessment from c2_profile.json) |
|---|---|---|
| Plaintext TCP C2, port 9111 | T1071.001, T1571 | 0.95 |
| Network-layer DDoS incl. NTP reflection | T1498, T1498.002 | 0.90 |
| Application-layer DDoS, browser impersonation | T1499, T1499.002 | 0.90 |
| Router command-injection worm | T1190, T1210 | 0.90 |
| Random-IPv4 scanning | T1046 | 0.90 |
| Host telemetry beacon | T1082 | 0.90 |
Credential access via config.dat | T1078.001 | 0.85 |
| Boot/profile persistence | T1037.004, T1547.001 | 0.85 |
| Second-stage retrieval | T1105 | 0.85 |
CAPTCHA bypass via getSanvas | T1078.001 | 0.80 |
The second stage not yet analysed
This pass did not carve the candidate embedded payload, a gzip stream at offset 0x1f514c; it warrants separate analysis. The second stage bins.sh is fetched at runtime from the C2, so it was never in hand to analyse.
- Family
- unclassified
- First seen
- October 26, 2026
- Vector
- Runs as a ddos-bot/worm; the entry vector is not established by static analysis
- Format
- 5652 KB i386 ELF 32-bit LSB executable
- VirusTotal
- 36/75 engines: trojan.flooder/ddos
- Tags
- ddos-bot · elf · i386 · raw_tcp · scanner · worm
- Sample
- By request. Email [email protected]
SHA-256
-
575eba4fffff7419985e4eef8e010c6c0a7dae00b23db45de895547faf2cc398as captured
Analysis performed using an automatic malware analysis pipeline using Binary Ninja