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 answer is a configuration-management run, and the real work is ruling out three red herrings with evidence.

LinuxIntermediate1 host

The brief

Marrow County is a fictional county government. Its permit portal, permits01, faces the internet and is managed by a nightly ansible-pull from the county's infrastructure repository.

On 2026-11-20 at 02:14 UTC the county's EDR raised "Suspicious download and execute: curl piped to bash by root" on permits01. The county asked for a compromise assessment: was the host compromised at any point in the logs' window? The host was imaged on 2026-11-24 at 10:00 UTC and collected with the offline triage profile plus the nginx log target.

IT has told you one thing: they created a service account for the GIS team's backups that week, under change CHG-4468.

Evidence window: 2026-11-06 00:00 to 2026-11-24 10:00 UTC.

Download

HostRoleDownloadSizeSHA-256
permits01Public permit portal: nginx and a Python app, Ubuntu 24.04permits01.arcx290 KBadb8731621014d93bd8c7c28272b0850d9b5d0f18f88a5e3d31ab2977659830c

Archive password: MarrowCA-2026

# Linux and macOS
sha256sum permits01.arcx

# Windows PowerShell
Get-FileHash .\permits01.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.

  1. What launched the curl | bash the EDR saw? Give the full parent chain.

    Show the answer

    The nightly configuration run. cron ran ansible-pull at 02:14:01 (/etc/cron.d/ansible-pull, "14 2 * * *"); ansible-pull started ansible-playbook; the playbook's command module (AnsiballZ_command.py) ran /bin/sh -c "curl -fsSL https://repo.marrow.internal/monitoring/install-mca.sh | bash" at 02:14:36. auditd's pid and ppid fields link each step, and syslog records the module call (ansible-ansible.legacy.command: Invoked with _raw_params=…).

    Where: Cron Jobs, Linux auditd (process_pid / process_parent_pid), Syslog

  2. Why did it run only once, when ansible-pull runs every night?

    Show the answer

    The task has creates=/opt/mca/bin/mca-agent, visible in the syslog line. Once the agent existed, later runs skipped it, so there is no curl | bash on the 21st to the 24th. The task first appears on the 20th, which fits a playbook change merged the day before.

    Where: Syslog (the Invoked with line), Linux auditd for the other nights

  3. What did the installer change on the host?

    Show the answer

    It downloaded mca_2.4.1_amd64.deb from the same internal repository, checked it with sha256sum, installed it with dpkg (dpkg.log, 02:14:49), created the system account mca (UID 997, no shell, 02:14:44), and enabled and started mca-agent, which reports to metrics.marrow.internal.

    Where: Linux auditd, dpkg Log, Passwd, Linux PAM (useradd lines), Syslog

  4. Is svc_gisbackup legitimate?

    Show the answer

    Everything about it fits the change IT described. itops created it with sudo on 2026-11-18 around 10:22 with the comment GIS_backup_CHG-4468, gave it read access to /srv/permits/uploads, and installed an SSH key restricted to the backup server (from="10.60.4.40") with a read-only rrsync forced command. It logs in nightly at about 01:30 from 10.60.4.40 and runs only rrsync. Confirm the change ticket with IT, but nothing in the evidence contradicts it.

    Where: Sudo Log, Linux PAM, SSH Authorized Keys, Linux auditd

  5. Did anyone log in from outside the county network?

    Show the answer

    No. About 1,400 password guesses from the internet all failed. Every accepted login is public-key: itops from the IT office address 192.0.2.34, and svc_gisbackup from the backup server.

    Where: Linux PAM, Login Records (wtmp, btmp), sessions view

  6. Did the web scan on 2026-11-12 succeed?

    Show the answer

    No. From 07:51 to 07:53 UTC 198.51.100.61 (a Nuclei user agent) requested common exploit paths; all returned 404, and a path traversal returned 400. The SQL injection and script probes against /permits/search returned the 3 KB "no results" page. Two requests carried a Log4Shell string, but the portal is a Python app behind nginx, not Java, and no process ran as the web or app user, and no unusual outbound connection followed.

    Where: NGINX, Linux auditd

  7. Is there any persistence you cannot explain?

    Show the answer

    No. The cron entries are ansible-pull, sysstat, e2scrub and the standard crontab; the systemd units are ssh, node-exporter, permits and mca-agent; authorized_keys changed only for svc_gisbackup; the audit rule watching /etc/ld.so.preload never fired.

    Where: Cron Jobs, Linux systemd Units, SSH Authorized Keys, Audit Rules

  8. What is your conclusion, and what would you recommend?

    Show the answer

    No evidence of compromise in the window, for the sources collected. The alert is explained by an authorised change. Recommend replacing curl | bash in the playbook with a pinned package and checksum, scoping the EDR exception to that, and confirming CHG-4468 and the playbook commit with IT.

    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 logs start on 2026-11-06. Nothing earlier can be ruled in or out.
  • The install script itself is not on disk. Its effects are, but its exact contents and the internal repository's integrity have to be checked at the source.
  • There is no memory capture. A purely in-memory implant that left no log, process or file trace would not show up in any triage collection.

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