Threat Response at Machine Speed
Attack tools are agents now too. The answer is playbooks written in advance, levers that don't wait for a meeting, bait that fires on first touch, and a rule that we never hit back.
- Category
- Security & Response
- Role
- Designed, built, and operate
- Stack
- Cloudflare WAFWazuhSuricataauditdnmapnucleigitleaksSemgrepOSV-ScannerPrometheus
- One command puts every zone under attack mode and restores each zone's previous level afterwards. Tested end to end in about half a minute, and checked weekly against every zone.
- Fake credentials planted where an attacker would look first. The first test fired a top-severity alert.
- A machine outside the fleet scans our own hosts every night, the way an attacker's recon would.
- Every repository is scanned nightly for leaked secrets, risky code and vulnerable dependencies.
The problem
An attacker with an AI agent doesn't get tired, doesn't sleep and moves from scan to exploit to lateral step in minutes. A response that starts with paging a person and holding a call has already lost the first hour. So the decisions that can be made in advance are made in advance, and written down.
There's one decision that's already made and never revisited: we hold our side of the line. Everything we do faces inward, defending the nodes we run. We wall them off, we watch them, and in the event of a breach we contain it and preserve every trace, all on our own ground and never on anyone else's. But if you try to compromise one of my hosts, let me tell you what happens next.
I don't know who you are, and I don't need to. What I have is a very particular set of skills, built over thirty years of SRE, security and network engineering, and a fleet of agents that doesn't sleep. Bait you'll trip before you know it's there. Sensors on the wire. A machine outside my network that sees exactly what you see. The first thing that happens, before anything else, is that your traces get preserved: every file you touch, every process you start, copied read-only and hashed, so nothing you do later can erase where you've been. If you leave now, that's the end of it. If you don't, I will find you. I'll lock you out at the edge in seconds and put the whole file in front of your provider and the people whose job it is to come knocking.
Make no mistake about what's on the other side of that decision. This fleet is racks of GPUs, headless browsers by the dozen, code that runs in nine languages, a pool of models that never tires. The whole armory is standing right here, and it would not be hard to turn it around and come down the wire after you. We don't. That's not a limit I ran into, it's a line I drew. We never scan, probe, exploit or flood anyone else's infrastructure, even an attacker's, even when we plainly could. The arms are loaded and pointed at one thing only: watching our own ground and writing down everything you did. I don't need to break the law to ruin your week.
A team and a playbook per attack
A standing threat response team is drawn from the org chart: the Executor, the incident commander, the security chief and both guardians, detection, vulnerability management, the NOC, AppSec, compliance and mail and DNS. Nobody has to assemble it when something starts.
Each class of attack has a written playbook: reconnaissance and scanning, web app exploits, credential stuffing, floods, host compromise, lateral movement over our own keys, data leaving a regulated host, abuse of the secrets vault, supply chain, and compromise of the control plane itself. Every one says how it's detected, who owns it, the first fifteen minutes step by step, what "contained" means, how to roll it back, and what that playbook can't see.
Two rules sit above all of them. Preserve before you change: evidence is copied read-only first, and a webshell is quarantined where it can be restored, never deleted on sight. And if there's any sign a regulated client's data was read or left the box, the compliance seat records the discovery time in the first fifteen minutes, because that's when the notification clocks start.
Levers that don't wait
Every live-host action in a response is bracketed by a change window, and a declared incident freezes its hosts against everyone else's automation, so the response isn't fighting a routine job.
Edge containment
The detection-and-response pipeline can challenge a source at Cloudflare on its own, with a time limit on every action and a storm cap so a flood can't turn into thousands of rules. Actions expire by themselves, and one command undoes any of them.
Host firewall
Blocking a source on a host's own firewall runs only on hosts that carry a consent file, refuses mail and web ports without a separate consent, and refuses addresses on a never-block list.
The lockdown
One command puts every zone into Cloudflare's under-attack mode and records each zone's previous level, so turning it off puts every zone back exactly where it was. The Executor or the incident commander can pull it without waiting for me.
Kill switches
Each automated lane has its own off switch: edge containment, the response engine, and the whole agent org. A lever you can't turn off quickly is one nobody dares to arm.
Bait that fires on first touch
The first thing an automated tool does after it gets a shell is search for credentials. So there are fake ones where it will look, along with a path in the secrets vault that nothing legitimate ever reads. Touching any of them raises a top-severity alert. Bait has almost no false positives, and it catches the lateral step even when an attacker is using real stolen keys that every other control would accept.
Seeing what the attacker sees
A box outside the fleet scans our own hosts every night with nmap, nuclei, TLS and SSH audits, the way an attacker's recon would, and the results are diffed against what's expected to be open. An outside view catches what the inside can't: a port that shouldn't answer, or an origin that responds without going through Cloudflare.
Inside, outbound traffic from the regulated hosts is compared with its own seven-day pattern, because a database dump leaving over TLS to a clean cloud address doesn't trip a network signature. Cloudflare's per-event security data, attack notifications and account audit log all land in the SIEM, and every zone has rate-limiting and custom firewall rules.
Testing our own apps
Every repository we build or host is scanned every night for leaked secrets, risky code patterns and vulnerable dependencies, and the findings go into the same vulnerability queue as everything else, under the same deadlines. Apps on hosted databases get a weekly probe that tries to read and write every table as an anonymous user and as the wrong logged-in user.
Cross-user access gets its own test. The standard web scanner couldn't find one app's data endpoints at all, because the framework calls them as server functions the scanner's crawler never sees. So we wrote our own replayer: it builds the list of endpoints from the source code, then calls each one as one test patient using another test patient's ids, and again with no session. It runs weekly against demo data only, and a finding has to repeat before it pages.
What it doesn't catch yet
Each playbook ends with its blind spots, and here are the honest ones. A slow, distributed scan from proxies stays under every burst threshold. Outbound allowlisting on the regulated hosts runs in log-only mode while the list is proven, so today it reports and doesn't block. The decoy account inside a portal is still being built. I'd rather list those than have someone find them.
The calls I made, and what each one cost.
- D01
Never hack back.
It's illegal in most places, it's usually someone else's compromised machine, and it turns a defender into a participant. Containing on our own edge is fast enough.
- D02
Every automated action expires.
A block that lives forever becomes an outage someone finds months later. A time limit means a wrong call heals itself.
- D03
Decide the first fifteen minutes in advance.
Nobody writes good steps under pressure. The playbook is written on a calm day and executed on a bad one.
- D04
Test the apps the way the framework actually works.
A scanner that can't see the endpoints reports clean. Building the route list from the source is the only way the test covers what's really there.