Where there's smoke, there's fire — except in security operations, where there is mostly smoke. Hundreds of millions of events a day drift through our pipeline, and nearly all of the ones that look alarming are barbecues: an admin doing weird things for good reasons, a backup job impersonating exfiltration, a developer's script behaving exactly like malware right up until you read it. The craft of detection engineering is not finding smoke. It is deciding, at scale and at 3 a.m., which smoke deserves a firefighter.
That is the job we hire machine learning to help with — and help is the operative word. After several years of running models against 400M+ daily events, we have firm views on where ML earns its seat, which features actually carry weight, and why a human still makes every consequential call.
Where ML earns its seat
The popular fantasy is a model that "detects attacks." The working reality is narrower and more valuable:
- Ranking, not verdicts. Our models score and order the queue so analysts spend their first hour on the ten items most likely to matter. A ranking mistake costs minutes; a verdict mistake costs an incident.
- Clustering and dedup. When one phishing campaign lands as 340 near-identical alerts, clustering collapses it into one investigation with 340 exhibits. This is unglamorous and may be the single largest fatigue reduction we have shipped.
- Baselining rare behavior. "Is this normal for this account, this host, this hour?" is a question rules answer badly and per-entity baselines answer well — service accounts especially, which are the most predictable actors in any environment and therefore the most betrayed by their own anomalies.
- Enrichment at machine speed. Resolving that fifteen weak signals across three data sources describe one entity, before a human ever looks.
Notice what is absent: replacing detection rules. Rules encode things we know are bad and give you an explanation for free. Models rank the enormous gray space rules cannot enumerate. The two are colleagues, not rivals.
Features that carry weight
Model architecture matters far less in this domain than feature honesty. The features that consistently earn their keep for us share a property: they encode rarity in context rather than "badness" in the abstract.
| Signal family | Example features | Known failure mode |
|---|---|---|
| Process lineage | How rare is this parent-child chain on this host class? First-seen age of the binary org-wide | Software rollouts make everything briefly "rare" — patch Tuesdays need dampening |
| Sign-in geometry | Feasibility of travel between sign-ins, device familiarity, ASN reputation for this user's history | VPNs and travel-heavy roles; needs per-cohort baselines, not one global normal |
| Mailbox behavior | Velocity of new inbox rules, first-time forwarding destinations, rule-creation hour vs. the user's rhythm | Genuine job changes; onboarding season looks like a compromise wave |
| Data movement | Archive-creation bursts, outbound volume vs. this host's 30-day norm, destination novelty | Backup restructures and cloud migrations — the SOC calendar must feed the model |
| Service-account drift | Deviation from an account's tight behavioral fingerprint: new hosts, new hours, new protocols | Fingerprints go stale; automation changes must trigger re-baselining, not alerts forever |
The third column is the one that separates production systems from conference demos. Every feature has a failure mode; the engineering is in knowing it, measuring it and building the dampener before the analysts build resentment instead.
The guardrails, because models lie confidently
A model that is wrong 2% of the time, applied to millions of events, is wrong tens of thousands of times a day. Guardrails are not optional hygiene; they are the difference between a force multiplier and a very expensive random-number generator.
- Shadow mode first. Every model runs weeks alongside production without influencing anything, scored against analyst decisions, before its output touches a queue.
- Explanations or it doesn't ship. Every score arrives with its top contributing features in plain language — "rare parent process + first outbound to this ASN + outside user's active hours." An unexplained score is an unactionable score, and analysts are right to ignore it.
- Drift monitoring with teeth. Feature distributions and precision are watched continuously; when the environment shifts — new EDR version, an acquisition's traffic, a big SaaS migration — models get re-baselined on schedule, not on complaint.
- Feedback as a first-class pipeline. Every triage verdict flows back as a label. The analysts are not just consuming the model; they are perpetually training it.
- Hard ceilings on autonomy. Models rank, cluster and enrich. Auto-containment happens only in a handful of narrow, rule-defined, reversible cases — and a model score alone is never sufficient to trigger it.
Why the human stays in the loop
Three reasons, in ascending order of importance.
First, context lives outside the telemetry. The model cannot know that finance is in audit week, that the odd host belongs to a departing employee, or that the "impossible travel" is the CEO's new sat-link habit. Analysts hold the parts of reality that never became data.
Second, the adversary adapts to the defense. A static model is a puzzle attackers get unlimited attempts to solve quietly. Humans notice the meta-game — the alerts that stopped firing, the technique that shifted one notch sideways — and that noticing is itself a detection capability no model replicates.
Third, accountability is not delegable. When we isolate a hospital's server at 3 a.m., a person with a name decided that, with a machine's help. Clients deserve that arrangement, regulators increasingly require it, and frankly the analysts insist on it — the fastest way to lose a great SOC team is to make them janitors for a black box.
Our internal shorthand: the model smells smoke; the analyst decides if it is fire; the engineer teaches the model what the analyst knew. Keep all three moving and the loop compounds — our ranking models today are meaningfully better than last year's for no reason other than thousands of honest labels from people who were shown why the machine was suspicious.
What to do this quarter
- Instrument the feedback loop before touching a model: if triage verdicts are not captured as structured labels, you have no training data, only anecdotes.
- Pick one narrow use case — alert ranking or duplicate clustering — and run it in shadow mode against your analysts for a month. Compare, honestly.
- Demand explanations in every vendor demo: ask why the tool scored an alert, and walk if the answer is a shrug wearing the word "proprietary."
- Write down the autonomy ceiling — what automation may do without a human — and have security leadership sign it before an incident tests it.
- Start a first-seen inventory (binaries, sign-in ASNs, forwarding destinations). Rarity-in-context is the cheapest high-value feature family, and you can compute it with the logs you already have.






