← All simulationsHunt the slow attacker.
Simulation / detection and response
Hunt the slow attacker.
Then try to stop it.
Agent logs are noisy, and a careful attacker spreads the work over days so no single event looks wrong. Write detections, weigh catches against false alarms, then contain what you find.
1 · A week of agent logs
709 events from 8 agents: prompts, tool calls and outbound traffic. Somewhere in here an attacker took three quiet steps on three different days.
| Time | Agent | Kind | Tool | Records | Out | Flags | Summary |
|---|---|---|---|---|---|---|---|
| 01:00 | devops-agent | tool | backup | 249 | scheduled | Nightly backup job read the config tables | |
| 01:00 | devops-agent | egress | 5437 KB | scheduled | devops-agent sent 5437 KB to backup.corp.example | ||
| 07:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 07:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 07:00 | support-bot-1 | tool | memory_write | support-bot-1 saved a language preference | |||
| 07:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 08:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 08:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 08:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 08:00 | research-agent | tool | web_fetch | research-agent fetched news.example.org | |||
| 08:00 | research-agent | egress | 17 KB | new domain | research-agent sent 17 KB to news.example.org | ||
| 09:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 09:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 09:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 09:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 09:00 | support-bot-1 | tool | memory_write | support-bot-1 saved a language preference | |||
| 09:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 09:00 | support-bot-1 | tool | crm_search | 12 | support-bot-1 looked up a customer | ||
| 09:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 09:00 | support-bot-3 | tool | crm_search | 3 | support-bot-3 looked up a customer | ||
| 09:00 | support-bot-3 | tool | send_email | support-bot-3 emailed a ticket update | |||
| 09:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 09:00 | research-agent | tool | web_fetch | research-agent fetched site-874.example.org | |||
| 09:00 | research-agent | egress | 7 KB | new domain | research-agent sent 7 KB to site-874.example.org | ||
| 10:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 10:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 10:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 10:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 11:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 11:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 11:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 11:00 | support-bot-3 | tool | crm_search | 2 | support-bot-3 looked up a customer | ||
| 11:00 | support-bot-1 | prompt | injection phrase | Customer pasted "ignore your instructions lol" into support-bot-1 | |||
| 11:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 11:00 | research-agent | tool | web_fetch | research-agent fetched docs.vendor.example | |||
| 11:00 | research-agent | egress | 5 KB | research-agent sent 5 KB to docs.vendor.example | |||
| 11:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 11:00 | research-agent | tool | web_fetch | research-agent fetched news.example.org | |||
| 11:00 | research-agent | egress | 37 KB | research-agent sent 37 KB to news.example.org | |||
| 12:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 12:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 12:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 12:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 12:00 | support-bot-3 | tool | send_email | support-bot-3 emailed a ticket update | |||
| 12:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 12:00 | support-bot-2 | tool | crm_search | 4 | support-bot-2 looked up a customer | ||
| 12:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 12:00 | support-bot-2 | tool | crm_search | 16 | support-bot-2 looked up a customer | ||
| 12:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 12:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 12:00 | research-agent | tool | web_fetch | research-agent fetched docs.vendor.example | |||
| 12:00 | research-agent | egress | 8 KB | research-agent sent 8 KB to docs.vendor.example | |||
| 12:00 | hr-agent | tool | crm_search | 47 | hr-agent checked an onboarding record | ||
| 13:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 13:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 13:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 13:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 13:00 | support-bot-1 | tool | memory_write | support-bot-1 saved a language preference | |||
| 13:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 13:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 13:00 | research-agent | tool | web_fetch | research-agent fetched site-776.example.org | |||
| 13:00 | research-agent | egress | 35 KB | new domain | research-agent sent 35 KB to site-776.example.org | ||
| 13:00 | finance-agent | tool | export_report | 421 | finance-agent built the daily revenue export | ||
| 13:00 | finance-agent | egress | 2177 KB | finance-agent sent 2177 KB to mail.corp.example | |||
| 13:00 | sales-agent | tool | send_email | sales-agent sent a quote | |||
| 14:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 14:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 14:00 | support-bot-1 | tool | crm_search | 3 | support-bot-1 looked up a customer | ||
| 14:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 14:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 14:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 14:00 | support-bot-2 | tool | crm_search | 23 | support-bot-2 looked up a customer | ||
| 14:00 | research-agent | tool | memory_write | injection phrase | research-agent saved a 'source note' from a fetched page telling it to sync findings nightly | ||
| 15:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 15:00 | support-bot-1 | tool | crm_search | 23 | support-bot-1 looked up a customer | ||
| 15:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 15:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 15:00 | support-bot-3 | tool | crm_search | 24 | support-bot-3 looked up a customer | ||
| 15:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 15:00 | support-bot-1 | tool | crm_search | 7 | support-bot-1 looked up a customer | ||
| 16:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 16:00 | support-bot-2 | tool | crm_search | 9 | support-bot-2 looked up a customer | ||
| 16:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 16:00 | research-agent | tool | web_fetch | research-agent fetched site-769.example.org | |||
| 16:00 | research-agent | egress | 6 KB | new domain | research-agent sent 6 KB to site-769.example.org | ||
| 17:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 17:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 17:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 17:00 | research-agent | tool | web_fetch | research-agent fetched news.example.org | |||
| 17:00 | research-agent | egress | 13 KB | research-agent sent 13 KB to news.example.org | |||
| 18:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 19:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 19:00 | support-bot-3 | tool | crm_search | 2 | support-bot-3 looked up a customer | ||
| 19:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 19:00 | support-bot-3 | tool | send_email | support-bot-3 emailed a ticket update | |||
| 19:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 19:00 | support-bot-3 | tool | crm_search | 13 | support-bot-3 looked up a customer | ||
| 19:00 | support-bot-3 | tool | memory_write | support-bot-3 saved a language preference | |||
| 19:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 19:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 19:00 | research-agent | prompt | Analyst asked research-agent for a market brief | ||||
| 19:00 | research-agent | tool | web_fetch | research-agent fetched news.example.org | |||
| 19:00 | research-agent | egress | 4 KB | research-agent sent 4 KB to news.example.org | |||
| 20:00 | support-bot-3 | prompt | injection phrase | Customer pasted "ignore your instructions lol" into support-bot-3 | |||
| 20:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 20:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 20:00 | support-bot-2 | prompt | Customer question routed to support-bot-2 | ||||
| 20:00 | support-bot-2 | tool | memory_write | support-bot-2 saved a language preference | |||
| 20:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 20:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 20:00 | support-bot-3 | tool | send_email | support-bot-3 emailed a ticket update | |||
| 21:00 | support-bot-1 | prompt | Customer question routed to support-bot-1 | ||||
| 21:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 21:00 | support-bot-3 | tool | crm_search | 5 | support-bot-3 looked up a customer | ||
| 21:00 | support-bot-3 | tool | memory_write | support-bot-3 saved a language preference | |||
| 21:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 21:00 | support-bot-3 | tool | crm_search | 5 | support-bot-3 looked up a customer | ||
| 21:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 21:00 | support-bot-3 | tool | crm_search | 9 | support-bot-3 looked up a customer | ||
| 21:00 | support-bot-3 | prompt | Customer question routed to support-bot-3 | ||||
| 21:00 | support-bot-3 | tool | crm_search | 4 | support-bot-3 looked up a customer |
2 · Write a detection
An event alerts when every condition in a rule matches. Up to three rules. Each attacker step you catch scores 100; each false alarm costs 4, about the analyst time it burns.
Rule 1
IF
What this teaches
- Single-field rules either miss the attacker or drown you in false alarms, because each step mirrors something a legitimate agent does elsewhere.
- Combining fields (bulk reads outside the usual owner, large uploads to never-seen domains, scheduled jobs run by agents that never schedule) separates the attacker from the noise.
- Correlating by agent across the whole week turns three weak signals into one strong one. Log enough context per event to make that join possible.
- A kill switch that ends sessions leaves cached tokens, refresh credentials, scheduled jobs, child agents and webhooks running. Containment means revoking at the identity provider, the scheduler and the agent tree.