Stack Notes

A root account appeared on our decoy server. An AI responder had a verdict 112 seconds later

On 21 November we put a small decoy server on the internet, watched by Stack Snack in a workspace of its own. Within two hours it had logged more than a thousand events, almost all of them from botnets. Then we planted something worse than a bot login: a second root account, the kind of back door an intruder leaves behind. An AI responder that had been idle all afternoon woke up, worked out where the account came from using only what Stack Snack had collected, and wrote its verdict on the alert. It also left the last word to a person. Here is what it saw, what it did, and the three things it told us Stack Snack should collect next.

Stack Snack Crew

November 21, 2026 · 8 min read

A decoy that answers the door

The decoy is a one-core Linux server with nothing real on it. It answers on the usual SSH and Telnet ports with a decoy shell that accepts logins on purpose, so we can see what visitors try. It may receive anything from the internet, while its outbound traffic is held to a short allow list. It reports to its own Stack Snack workspace, kept apart from our production hosts, so the decoy never holds a credential that matters anywhere else.

In the first hour and three quarters, the decoy shell logged:

  • 1,004 events in 140 sessions, from 24 addresses. The busiest single address accounted for 195 of those events.
  • 50 login attempts, many with factory passwords for cameras and video recorders, such as root / xc3511 and root / vizxv. Both are in the built-in password list of Mirai, the 2016 IoT botnet whose published code is still copied today.
  • 304 commands, and they read like a script: enable, system, shell, sh, then /bin/busybox followed by a made-up word. That last one is how Mirai-style bots check they reached a real BusyBox shell before they send a payload.
  • 0 downloads. In that window, none of the bots got as far as fetching a file.

That is ordinary background noise for an internet-facing box. The bots only ever talked to the decoy shell, so nothing on the server itself changed, and when the responder started watching that afternoon the workspace had no open critical alerts.

A responder that sleeps until it is needed

Beside our own deployment we run an AI responder: a small program, plus an AI model that only starts when there is work. It is a prototype, not yet a Stack Snack feature, and this was its first real test.

  • Waiting costs nothing. Every 30 seconds a plain script asks Stack Snack's API for new critical alerts. No model runs while it waits, so a quiet day spends no model credits.
  • A new critical wakes the model. Criticals that arrive within 60 seconds of each other share one run.
  • There is a daily cap. At most 20 runs a day. Past the cap, alerts wait for a person, and the daily digest says so.
  • It only reaches out. The responder polls outward over HTTPS. Nothing listens for it, so it works behind NAT with no port open and nothing exposed.

To investigate, the responder reads the same data a person would: alerts, hosts, logins, the programs that ran, and file and account history. It gets them through Stack Snack's MCP server and API, with an API token of its own.

The test: a root account nobody asked for

A bot that fails a login teaches you little about a responder. So at 19:57:53 UTC we ran a controlled test on the decoy: from an admin login, through sudo, we created a second account with user ID 0. That is root's ID, so whoever holds it is root. We gave it a harmless "maintenance" style name and locked its password, so nobody could log in with it. Even so, it has the exact shape of a classic back door, which MITRE ATT&CK lists as T1136.001, creating a local account to keep access.

Stack Snack watches for new UID-0 accounts, and SEC-003 ("New local UID-0 account appeared") raised a critical alert. Here is the timeline, from Stack Snack's alert and the responder's own run log:

Time (UTC)What happenedSince the account appeared
19:57:53The UID-0 account is created; SEC-003 fires as critical0 s
19:59:11The watcher sees the new critical and starts the responder78 s
19:59:45The responder posts its verdict note and acknowledges the alert112 s
19:59:47The run ends, 36 seconds after it started114 s
20:03:39We remove the test accountabout 6 min

Most of the 78 seconds is waiting: the agent has to report the change and the watcher has to poll. The investigation itself took 36 seconds.

What it found, using only Stack Snack's data

We told the responder to work only from Stack Snack's data: no logging in to the decoy and no running commands on it. Everything below comes from what the Stack Snack agent had already collected, mostly login events, exec capture (Stack Snack's record of each program as it starts, off by default and easy to turn on), and the history of files and accounts.

  • Who made the account. useradd -o ran under sudo from an ordinary admin account. The -o flag is what allows a second account with an ID that is already taken.
  • Where that admin came from. The admin had logged in with an SSH key, from the same address and user that had enrolled the Stack Snack agent on this server about an hour earlier. That one detail is what pointed to us.
  • What else the session did. It made dated copies of the four account files (passwd, shadow, group and gshadow) before changing them, locked the new account's password, and set a systemd timer to delete the account an hour later. Then it read the agent's own log, to see whether the change had been reported.
  • What did not happen. It found no connection out to a command server and no movement to other hosts.
  • How much one command sets off. That one account creation raised six alerts in all, among them a duplicate UID, a new root-equivalent group, a change to a persistence path and account administration in the auth log. The responder triaged the critical and left the other five alone.

Its note on the alert looked like this. The address and names below are synthetic; the layout and findings are the real note's:

Verdict: benign, likely an operator test (medium confidence)
Why: UID-0 account "maint" (nologin, password locked) created by
  sudo useradd -o from user "ops", who logged in by key from
  203.0.113.24, the same address and user that enrolled the agent
  one hour earlier. The session backed up passwd, shadow, group and
  gshadow, then set a timer to delete the account after one hour.
  No outbound command channel or lateral movement seen.
ATT&CK: T1136.001, T1078
Action: note + acknowledge. Left open: a person confirms the
  account was theirs.
Undo: reopen the alert from its page in the console.

The two ATT&CK techniques are the local account itself, T1136.001, and T1078, valid accounts, because the session came in through a real admin key. Medium confidence is the right call. The trail fits an admin running a test, and it would look much the same if someone had stolen that admin's key.

What it did, and what it left for us

It posted the verdict note above and acknowledged the alert, so anyone looking at the console could see it had been looked at. It did not resolve the alert, change any baseline or touch the account. The alert stayed open with one question for a person: was this you? It was. We confirmed it and removed the account a few minutes later.

Our view is that this is how a responder should behave on something this serious. A UID-0 account it can't fully explain is worth a person's thirty seconds, even when the evidence leans benign.

An analyst with a paper trail

We want the responder to act the way an incident responder does every day: acknowledge, resolve, take note, quiet a noisy rule on one host. Acting needs accountability, so it works under the same rules we would give a new analyst on the team.

  • Its own identity. It uses its own Stack Snack API token, with only the permissions it needs. Stack Snack records every action with the token as the actor, and the alert's history shows the token's name. Revoking the token stops it at once.
  • Reasons on every action. Each action it takes comes with a note on the alert that says why.
  • Narrow, expiring baselines. If it decides a rule is noisy on one host, it may add a baseline (an exception) for that exact host and value only, with a reason, expiring after 30 days. It made none in this test.
  • A daily digest with undo. Each evening it emails a digest of every alert it touched, its verdict, and the undo step for each action. For this test the undo was a single line: reopen the alert from its page in the console.
  • Evidence is data. Alert evidence can contain text an attacker wrote, such as a command line or a file name. The responder reads it as evidence to weigh and never takes it as an instruction.

What it told us Stack Snack is missing

We asked the responder to work only from Stack Snack's data, and to say what it had to dig for. If a responder has to dig, a person on call at 3 a.m. has to dig too. Its digest listed three gaps:

  1. Session context on account alerts. An account-creation alert should say whether the session that made the account came from the same address and user as the agent's enrolment, or a known admin login. The responder had to piece that together from login events.
  2. One incident per account creation. The six alerts from a single useradd should arrive grouped as one incident, so whoever triages one sees the rest.
  3. Self-cleaning persistence. A timer or scheduled job that deletes an account or file soon after it was created should be flagged on its own. An admin's tidy test does this, and so does an intruder covering their tracks.

We agreed with all three and are building them now. They are not live yet.

What's coming

None of the items below is live yet. The first three are in the release we are building now, together with the three gaps above:

  • Investigations in the console. A responder, whether an AI or a person, will write a structured record for an alert: verdict, confidence, what it checked, the actions it took with their undo steps, and the gaps it hit. The record will show on the alert page and on an Investigations page with an Agree or Disagree review.
  • A notification when an investigation completes. Marking an investigation complete will send exactly one message through the channels the workspace already uses. The AI writes plain Markdown, and Stack Snack renders it and strips anything unsafe before it goes out. By default it notifies only when the verdict needs a person.
  • Set severity. An audited, reversible action to raise or lower an alert's severity, with a note.
  • Bring your own model and playbooks. Later, a responder you switch on in your own workspace, running the AI model you choose with your own playbooks for your hosts and alert types. You can already connect your own AI agent through the MCP endpoint today; the watching, waking and accountability around it are what is coming.

What you can use today

The building blocks the responder used are in Stack Snack now. The MCP endpoint lets an AI agent you choose read your alerts, hosts and events with a normal API token. Tokens carry narrow permissions, and every action is audited with the token as the actor. A token can be limited to proposing baselines for a person to approve, or given an admin's right to create them directly, and either way each baseline needs a reason and an expiry date. Resolving a critical alert through the API needs an extra permission and a note.

Where it stops

  • This was one test on one alert. We set it up ourselves, so we knew the answer. The responder did not, but one clean run doesn't measure accuracy.
  • The responder is a prototype. It runs beside our own deployment, and today it lives outside the product. You can't switch it on in your workspace yet.
  • It can be wrong. That is why it explains every action, why every action can be undone, and why we left the open question on this alert to a person.
  • It sees only what Stack Snack collects. With exec capture off, it would have lost the record of each command the session ran, and "likely operator test" would have been a much weaker guess.

Sources

Want this watching your stack?

The UID-0 rule, exec capture, scoped API tokens and the MCP endpoint ship in Stack Snack today. Install the agent on a Linux host and see what it sees.