Skip to content

docs(roadmap): Epic B slice B1 — host-wide Linux detection implementation plan#120

Draft
gnanirahulnutakki wants to merge 1 commit into
devfrom
docs/epic-b-b1-linux-detection
Draft

docs(roadmap): Epic B slice B1 — host-wide Linux detection implementation plan#120
gnanirahulnutakki wants to merge 1 commit into
devfrom
docs/epic-b-b1-linux-detection

Conversation

@gnanirahulnutakki

Copy link
Copy Markdown
Member

Planning document only — no code changed, no work authorized. Adds docs/roadmap/epic-b-b1-linux-detection-plan.md, the file-level build plan for the first Epic B build slice.

Grounded in the merged Epic B docs — slice plan (#114), cost/reliability SLOs (#117 "the CrowdStrike tax"), policy-selection (#116) — and the current code (go/pkg/kernelcapture/process_exec.bpf.c, which today gates on cgroup_allowed() and captures only comm[16]). No separate Linux-detection/fingerprinting research PR is open, so this is built from the two merged research docs + the code.

What B1 is

A second, parallel, host-wide detection path that leaves the scoped correlator feed byte-for-byte intact. It runs on every exec (no cgroup gate), captures resolved binary path + leading argv + uid, prefilters in-kernel against a known-agent basename set, emits survivors to a new 256 KB detection ring, and maintains per-CPU counters for the #39 observability-gap metric. It stops there — no classify (B2), attest (B3), adopt (B4), or enforce (B5). The detection stream never reaches the Correlator or apply_policy.

Key decisions in the plan

Gated by SLO-1..SLO-4 (from #117)

p50 ≤ 2 µs / p99 ≤ 10 µs added miss-path latency; ≤ 1% core @ 1k execs/s (Tetragon-side, not Falco-side); ≤ 16 MB fixed maps; drops counted not silent. SLO-5/6/7 (classifier) are B2/B5; SLO-8 (macOS) is B6. Full acceptance gate ("what B1 must prove") in §6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant