ReliabilityOps ⚡ ExpertiseToolsField NotesContact
← Field Notes Security · Open Source

Standing up open-source endpoint detection on a budget

July 2026 · 8 min read

Not every team has CrowdStrike money. Plenty of the ones that do still want to understand what their EDR is actually doing rather than treat it as a black box. Either way, spending a few weeks building an endpoint detection stack out of open-source parts turned out to be one of the more clarifying things I have done for how I think about detection.

The commercial tools are genuinely good, and I am not here to tell anyone to rip theirs out. But assembling the open-source version teaches you the anatomy of detection in a way that a polished dashboard never will. When you have wired the pieces together yourself, an alert stops being a mysterious verdict and becomes something you can reason about.

The anatomy, in parts

The core insight is that endpoint detection is three separate jobs wearing one trench coat. There is the agent that watches the endpoint and emits events. There is the pipeline that ships and normalizes those events. And there is the brain that decides which patterns of events mean something. Commercial tools fuse all three; the open-source world lets you see each one on its own, which is exactly why it teaches you more.

The agent is what lives on the host and reports what it sees. Process launches, file changes, network connections, the raw material of behavior. The open-source options here are mature, and running one shows you just how much signal a modern endpoint produces. It is a firehose, and learning to drink from it selectively is half the skill.

The pipeline collects that firehose, normalizes it into a common shape, and routes it somewhere useful. This is the unglamorous middle that determines whether your detection is fast and reliable or slow and lossy. It is the same lesson I keep hitting everywhere: the boring plumbing in the middle decides whether the impressive parts on the ends actually work.

The detection layer is where patterns become alerts. This is where open detection content, the shared, community-maintained rules that describe known-bad behavior, turns your pile of events into something that pages a human when it should. Reading those rules is an education by itself. They are, in effect, a written record of how attackers actually behave, maintained by people who see it happen.

What building it taught me

Two things stuck. First, detection is mostly a data problem, the same way RAG is mostly a retrieval problem. The cleverness lives in getting the right events, normalized well, in front of the rules. A brilliant rule over bad data catches nothing. Second, the value of the commercial tools is not the detection itself, which is increasingly commoditized by shared community content. It is the integration, the scale, the response tooling, and the fact that someone else runs the pipeline at 3am. That is a real value, and knowing exactly what you are paying for makes you a smarter buyer.

If you run a commercial EDR, build the open-source version anyway, in a lab, once. You will read your vendor's alerts differently forever after. And if you cannot afford the commercial option, the open-source stack is a genuine, capable floor, not a toy. It just asks you to own the plumbing yourself.

The takeaway: understanding detection beats subscribing to it. The open-source stack is worth building even if you never run it in production, because it turns endpoint security from a black box into something you can actually reason about.
Same principle as everything here: understand the system, do not just trust the dashboard.
More field notes →