^...^
/ o o \ "Sub-microsecond kernel observability, zero-overhead ring buffers,
| Y | and deterministic active defense across the system call horizon."
V v V OwlEyeEngine v4.0 Enterprise Architecture
A low-level kernel telemetry and automated active defense platform intercepting syscall transitions via Linux eBPF probes and Windows ETW tracepoints, mapping threat vectors to MITRE ATT&CK, and enforcing instant packet/PID mitigation.
Traditional user-space endpoint detection agents suffer from inherent blind spots: unhookable syscall wrappers, user-space tampering, and memory latency overhead.
OwlEyeEngine operates directly at the operating system kernel boundary:
- Kernel-Space Hooking: Injects non-blocking eBPF C probes (
sys_enter_execve,sys_enter_connect,sys_enter_kill) within Linux, and Event Tracing for Windows (ETW) on NT kernels, extracting telemetry into lockless ring buffers with sub-microsecond latency. - MITRE ATT&CK Matrix Correlation: Heuristic engine continuously evaluates execution traces against tactical matrices (Execution, Discovery, C2, Privilege Escalation).
- Automated Active Mitigation: Instant bidirectional firewall injection via
nftables/iptables/netshand deterministic task eviction (SIGKILL) upon malicious signature threshold breach. - OCSF & Prometheus Integration: Direct export to modern SOC infrastructure via Open Cybersecurity Schema Framework (OCSF v1.1) and native Prometheus
/metrics.
┌────────────────────────────────────────────────────────────────────────┐
│ KERNEL SPACE OBSERVABILITY │
│ [eBPF C Probes / Tracepoints] ──► [Lockless BPF Ring Buffer] │
│ [Windows ETW Kernel Sessions] ──► [Sub-Microsecond Dispatch] │
└──────────────────────────────────┬─────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────────────────┐
│ HEURISTIC CORRELATION & THREAT TRIAGE │
│ • MITRE ATT&CK Engine (T1059, T1046, T1071, T1036, T1068) │
│ • Tokenized Behavioral Classifier: Anomaly Scoring Vector │
│ • System Call Frequency Analysis: $\Delta \tau_{\text{burst}}$ │
└──────────────────────────────────┬─────────────────────────────────────┘
│
┌─────────────────────────┴─────────────────────────┐
▼ ▼
┌──────────────────────────────────┐ ┌──────────────────────────────────┐
│ TELEMETRY EXPORT ENGINE │ │ AUTONOMOUS ACTIVE DEFENDER │
│ Prometheus `/metrics` Scraper │ │ Kernel `nftables` Drop Rules │
│ OCSF v1.1 JSON Batch Streamer │ │ Deterministic Process Eviction │
│ Server-Sent Events (SSE) Wire │ │ Quarantine Vault Isolation │
└──────────────────────────────────┘ └──────────────────────────────────┘
Probes hook into the tracepoint subsystem, eliminating context-switch penalties:
tracepoint/syscalls/sys_enter_execve: Traverses process argument vectors and environment flags.tracepoint/syscalls/sys_enter_connect: Captures target IPv4/IPv6 socket structures prior to TCP handshake completion.tracepoint/syscalls/sys_enter_kill: Audits inter-process signal terminations to prevent watchdog evasion.
Let
Where lockless atomic head/tail pointers guarantee zero packet loss under sustained burst volumes (
| Tactic | Technique ID | Behavioral Pattern Detected | Active Defense Triggered |
|---|---|---|---|
| Execution | T1059.004 | Shell spawning from non-interactive system daemons | Process group termination (SIGKILL) |
| Discovery | T1046 | Systematic TCP SYN scanning across subnet blocks | Instant IP isolation via nftables drop |
| Command & Control | T1071 | Uncorrelated outbound sockets to threat intel feeds | Socket eviction & routing sinkhole |
| Defense Evasion | T1036 | Execution of stripped binaries originating from /tmp |
File isolation to Quarantine Vault |
| Privilege Escalation | T1055 | Foreign memory injection and unapproved ptrace hooks |
Memory segment unmapping & audit alert |
OwlEyeEngine/
├── ebpf_probe.c # C source for Linux kernel eBPF tracepoint probes
├── kernel_telemetry.py # Python BPF/ETW ring buffer consumer & telemetry mapper
├── active_defender.py # nftables, iptables & netsh firewall injection engine
├── heuristic_analyzer.py # MITRE ATT&CK tactical correlation & anomaly scoring
├── sentry.py # Main daemon supervisor & event dispatcher
├── owleye_cli.py # Administrative CLI for operations & SOC analysts
├── web_dashboard.py # FastAPI async REST API & telemetry streamer
├── nids/ # Unified Client-Server NIDS (consolidated from owleye-nids & -OwlEye-NIDS-)
│ ├── agent.py # Low-level Scapy sensor (local JSONL + remote HTTP push)
│ ├── analyzer.py # Bounded sliding-window detector (Port Scan, SYN Flood, Burst)
│ ├── database.py # SQLite WAL + true alert cooldown + optional Supabase dual-write
│ ├── integrators.py # SSRF-hardened webhook dispatcher (n8n, Discord, Telegram)
│ ├── pipeline.py # NIDS orchestrator + TelemetryEngine correlation
│ └── router.py # Hardened FastAPI routes (/api/nids/*, /api/capture/agent)
├── packaging/
│ ├── systemd/ # Hardened systemd service descriptor (`owleye.service`)
│ └── install_enterprise.sh# Automated enterprise installation script
└── quarantine_vault/ # Cryptographically isolated malware containment
-
Linux Kernel:
$\ge 5.8$ (withCONFIG_BPF=y,CONFIG_BPF_SYSCALL=y,CONFIG_NETFILTER=y) or Windows 10/11 / Server 2019+ -
Python:
$\ge 3.10$ LTS
# Clone the repository
git clone https://github.com/ExeDevCentral/OwlEyeEngine.git
cd OwlEyeEngine
# Execute enterprise installer (probes, dependencies & systemd registration)
sudo bash packaging/install_enterprise.sh
# Verify operational status
sudo systemctl status owleye# Install core dependencies and package in editable mode
pip install -r requirements.txt
pip install -e .
# Launch security engine daemon
python sentry.py# Production deployment with Linux kernel capabilities
docker compose up -d owleye
# Staging demo mode
docker compose --profile demo up -d owleye-demoThe platform includes a dedicated systems CLI for SOC analysts and site reliability engineers:
# Probe agent health, kernel hooks, and memory allocation
owleye status
# Inspect host kernel capabilities (eBPF, JIT compiler, ETW, Netlink)
owleye kernel
# Stream intercepted system calls live to stdout
owleye stream
# Fetch instantaneous Prometheus metrics snapshot
owleye metrics
# Dynamically inject IP isolation rule into kernel firewall
owleye block 198.51.100.7 --reason "Brute-force attack detected"
owleye unblock 198.51.100.7
# Forcefully evict malicious process tree by PID
owleye kill 4921 --reason "Unauthorized binary execution in /tmp"| Endpoint | Protocol | Payload Type | Description |
|---|---|---|---|
/metrics |
GET |
OpenMetrics |
Direct Prometheus / Datadog scraping endpoint |
/api/kernel/status |
GET |
JSON |
Hook latency (µs), throughput, and ring buffer utilization |
/api/telemetry/stream |
GET |
SSE |
Real-time Server-Sent Events stream for live SOC terminals |
/api/telemetry/export |
GET |
JSON |
OCSF v1.1 compliance batches for SIEM ingestion |
/api/mitre/matrix |
GET |
JSON |
Live threat distribution mapped to MITRE ATT&CK |
/api/actions/kill |
POST |
JSON |
Active mitigation: Targeted process tree eviction |
/api/actions/block_ip |
POST |
JSON |
Active mitigation: Kernel firewall block injection |
/dashboard |
GET |
HTML |
Interactive low-latency Cyberpunk Operations Dashboard |
- Minimalist Mobile Bottom Dock: Provides a 4-action thumb-zone dock on the landing page (
Sondas,Motor,Stack,Dashboard) and a 5-tab tactical dock on the live EDR dashboard (Alertas,eBPF,Procesos,Red,Defensa) with compact TTY status bars and zero overlap.
Distributed under the MIT License. Engineered for defensive cybersecurity research and enterprise host observability.