Commit 88cb77c
committed
feat: implement eBPF heuristics engine for Linux
- Add heuristic maps (heu_configs, heu_state, heu_binary_to_slots, etc.) to bpf_hooks.c
- Implement execve argv matching + sliding window for rate-based heuristics
- Add unlinkat, fchmodat, symlinkat tracepoints; fork bomb heuristic (HEU-SYS-001)
- Add _apply_heuristics() in monitor.py with HEURISTIC_DEFINITIONS for 35 rules
- Extend event_t with heu_slot; handle heuristic_alert/heuristic_block (action 4/5)
- Comment out 15 deferred heuristics (path-based openat, write, connect, complex)
- Add docs/ebpf_heuristics_implementation_plan.md
Made-with: Cursor1 parent 74c5eae commit 88cb77c
File tree
11 files changed
+2939
-407
lines changed- builder
- deploy
- dashboard
- templates
- linux
- docs
11 files changed
+2939
-407
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
0 commit comments