Marrow County: a compromise assessment that finds no breach
An EDR alert for curl piped to bash by root on a public web server. The evidence traces it to a configuration-management run and rules out three red herrings, each with the record that explains it.
Marrow County is a demonstration organisation we built. Its server, its logs and everything that happens in them are ours: we generated the host’s file system and logs in real formats, built a disk image and collected it with Arcsentry Collector. Nothing here comes from a real county, and outside addresses are documentation ranges.
Most investigations do not end in a breach. A compromise assessment that finds nothing is only worth something if it shows what was checked and why each suspicious thing is explained. That is what this case tests.
The situation
The county’s permit portal, permits01, faces the internet. It is managed by a nightly ansible-pull from the county’s infrastructure repository. On 20 November at 02:14 UTC the county’s EDR raised “Suspicious download and execute: curl piped to bash by root” on it. The county asked a simple question: was the server compromised?
IT added one detail: that week they had created a service account for the GIS team’s backups.
How we checked it
We collected the server’s disk image with Arcsentry Collector’s Linux triage profile plus the nginx logs and loaded it into a new case. The walkthrough video above records the whole investigation as it happened: the alert explained with one plain-English question in Hunt, then the AI investigator given the full question:
Was permits01 compromised at any point in the evidence? Explain the alert, and confirm or rule out each suspicious finding with evidence. Cite event times and IDs. Set verdicts with summaries, add indicators only for what you confirm as malicious, say clearly what the evidence cannot show, and write your findings to a case note.
It planned seventeen to-dos, one per evidence source, ran sub-agents four at a time and reported back after about fifteen minutes and 8.5 million tokens. It ruled 21 events legitimate and kept 6 suspicious, the web scan and the password guessing, each with an ATT&CK technique. It confirmed nothing as malicious, so it added no indicators. Every finding below was also checked by hand against the evidence.
The alert, explained
auditd records every process with its parent, so the chain behind the alert can be read directly:
| Time (UTC, 20 Nov) | Process | Started by |
|---|---|---|
| 02:14:01 | /bin/sh -c /usr/bin/ansible-pull -U …/infra/site.git … |
cron, from /etc/cron.d/ansible-pull (14 2 * * *) |
| 02:14:08 | ansible-playbook local.yml |
ansible-pull |
| 02:14:36 | AnsiballZ_command.py |
ansible-playbook |
| 02:14:36 | /bin/sh -c "curl -fsSL https://repo.marrow.internal/monitoring/install-mca.sh | bash" |
Ansible’s command module |
| 02:14:42 | dpkg -i /tmp/mca_2.4.1_amd64.deb |
the installer |
| 02:14:44 | useradd --system … mca |
the installer |
syslog records the module call with creates=/opt/mca/bin/mca-agent, so Ansible runs the task only until the agent exists. That is why the curl | bash appears on one night out of nineteen. The installer fetched a package from the county’s own repository, checked it with sha256sum, installed it, created the system account mca and started the monitoring agent.
The red herrings, ruled out
| Looks suspicious | What the evidence shows | Source |
|---|---|---|
| About 1,400 SSH password guesses from the internet | None succeeded. Every accepted logon is a key logon by itops from the IT office or by svc_gisbackup from the backup server |
auth.log, wtmp and btmp |
| A web scan from 198.51.100.61 on 12 November | 42 requests drew errors (404 or 400) in under two minutes; its search-box probes got the ordinary empty results page; no process ran as the web or app user afterwards | nginx, auditd |
A new account, svc_gisbackup, on 18 November |
Created by itops with sudo, comment GIS_backup_CHG-4468; its key is restricted to the backup server and a read-only rrsync; it logs in nightly at about 01:30 and runs only that |
sudo log, PAM, SSH authorized keys, auditd |
A new account, mca, at 02:14:44 |
Created by the agent installer above | auditd, passwd |
Persistence was reviewed too: the cron entries (ansible-pull, sysstat, e2scrub and the standard crontab), the systemd units (ssh, node-exporter, the portal and mca-agent) and the authorized keys are all accounted for, and the audit rule watching /etc/ld.so.preload never fired.
What the AI investigator added
Its case note went further than our own answer key in three places:
- A hardening gap.
sshd_configstill allows password logins (PasswordAuthentication yes). None of the roughly 2,800 attempts succeeded, but the recommendation is to turn password logins off. - A gap in the audit log. syslog shows the root
sysstatjob running every ten minutes, yet the audit log has no record of those runs. So the absence of a process in the audit log is weaker evidence than it looks, and the note says so. - Next steps for the county: confirm the monitoring-agent rollout and change CHG-4468 with IT, confirm whether the scan was authorised (and block the address if not), and turn off SSH password logins.
What the assessment cannot show
- Anything before 6 November. The logs start there, so earlier activity can be neither confirmed nor ruled out.
- The install script’s exact contents. It is no longer on disk. Its effects are, but the script and the repository’s integrity have to be checked at the source.
- Anything that lived only in memory. There is no memory capture, so an implant that left no log, process or file trace would not show up in any triage collection.
- Network connections. The audit rules record program launches, not connections, and there are no flow or DNS logs, so a callback from the scan’s Log4Shell probe can’t be ruled out from this host alone.
What it shows
- A “no” can be as specific as a “yes”. Each suspicious finding has the record that explains it, and the limits are written down.
- Process lineage settles alerts. The alert that looked like an attack is explained by one parent chain in auditd.
- Red herrings take most of the work. Ruling out the scan, the password guessing and the new accounts took more queries than explaining the alert.
The evidence is free to download as a practice set, with the same questions and an answer key.
The evidence is free to download, with a brief, questions and an answer key: Marrow County: a compromise assessment that finds no breach.
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