Guardd: Isolation Forest Linux Anomaly Detection
💡Open-source ML + eBPF for Linux endpoint anomaly detection; fix false positives.
⚡ 30-Second TL;DR
What Changed
Uses Isolation Forest for unsupervised anomaly detection on Linux endpoints.
Why It Matters
This open-source project democratizes ML-based endpoint security for Linux, potentially reducing reliance on commercial EDR tools. Community feedback could enhance robustness against noisy normal behaviors.
What To Do Next
Clone https://github.com/benny-e/guardd.git and train on your Linux host's baseline events.
Key Points
- •Uses Isolation Forest for unsupervised anomaly detection on Linux endpoints.
- •Aggregates eBPF exec/network events into 60s windows with features like counts, unique entities, parent-child patterns.
- •Tracks new vs baseline behaviors; threshold from training score percentile.
- •Challenges include browser-induced false positives; plans time-based features and better normalization.
🧠 Deep Insight
AI-generated analysis for this event — not the original article.
🔑 Enhanced Key Takeaways
- •Guardd leverages the libbpf-go library to interface with eBPF programs, allowing for low-overhead kernel-level event capture without requiring custom kernel modules.
- •The system utilizes a sliding window approach for feature engineering, specifically targeting high-cardinality categorical data by hashing process names and network ports into fixed-size feature vectors.
- •The project architecture separates the data collection agent from the inference engine, enabling the potential for centralized anomaly scoring across multiple Linux nodes.
📊 Competitor Analysis▸ Show
| Feature | Guardd | Falco | Osquery + ML |
|---|---|---|---|
| Detection Method | Unsupervised (Isolation Forest) | Rule-based (eBPF) | Query-based (SQL) |
| Pricing | Open Source (MIT) | Open Source (Apache 2.0) | Open Source (Apache 2.0) |
| Benchmarks | Low latency, high false positive rate | Deterministic, zero false positives | High latency, manual analysis |
🛠️ Technical Deep Dive
- •Model Architecture: Implements an Isolation Forest algorithm using the scikit-learn framework for offline training, with serialized model weights loaded into the Go-based inference engine.
- •eBPF Integration: Uses kprobes and tracepoints to hook into sys_execve and network socket syscalls, streaming data via perf buffers to user-space.
- •Feature Engineering: Converts raw event streams into 60-second temporal buckets, calculating entropy-based features for process execution frequency and network connection diversity.
- •Normalization: Employs Z-score normalization on numerical features (e.g., packet counts) to mitigate the impact of outliers during the training phase.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/MachineLearning ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
The weekly digest
One email a week. Unsubscribe anytime.