Skip to content

7-POD Stack

HookProbe uses a modular POD architecture where each POD handles a specific function. This separation enables scaling, isolation, and maintainability.

POD Function Key Services
POD-001 Web UI / API Gateway / DMZ Nginx, API Gateway
POD-002 IAM / Identity / RBAC Keycloak, SSO
POD-003 Persistent Database PostgreSQL
POD-004 Transient Data / Cache Redis/Valkey
POD-005 Metrics / Dashboards Prometheus, Grafana
POD-006 Kernel Packet Intake Aegis (Zig + eBPF/XDP)
POD-007 AI Detection + Response Napse (Mojo AI), AEGIS Orchestrator
POD-008 Workflow Automation n8n, Playbooks
POD-009 Notifications Email, Cloudflare Tunnel
POD-010 DSM Ledger Consensus Engine

Purpose: Entry point for all web and API traffic.

Service Port Function
Nginx Proxy 80, 443 TLS termination, routing
API Gateway 8080 Request routing, rate limiting
Static Assets - Dashboard UI
pod-001:
proxy:
ssl_enabled: true
rate_limit: "100r/s"
upstream:
- dashboard: 172.30.0.11:3000
- api: 172.30.0.20:8080

Purpose: Authentication, authorization, and user management.

Service Port Function
Keycloak 8080 OIDC provider
LDAP Sync - Directory integration
Role Permissions
master_admin Full platform access
admin Tenant administration
soc_analyst Security analysis
editor Content management
customer Standard user

Purpose: Durable data storage.

Service Port Function
PostgreSQL 5432 Primary database
Backup Agent - Automated backups
-- Device registry
CREATE TABLE devices (
device_id TEXT PRIMARY KEY,
device_type TEXT NOT NULL,
hardware_fingerprint TEXT NOT NULL,
status TEXT NOT NULL,
first_seen TIMESTAMP,
last_seen TIMESTAMP
);
-- DSM checkpoints
CREATE TABLE dsm_checkpoints (
epoch INTEGER PRIMARY KEY,
merkle_root TEXT NOT NULL,
validator_id TEXT NOT NULL,
timestamp TIMESTAMP,
agg_signature TEXT
);

Purpose: Fast transient data and message queuing.

Service Port Function
Valkey/Redis 6379 Cache, sessions
Message Queue - Event distribution
Data Type TTL Purpose
Sessions 24h User authentication
Rate limits 1min Request throttling
Pending intents 5min Intent aggregation
Model cache 1h ML inference cache

Purpose: Observability and visualization.

Service Port Function
Prometheus 9090 Metrics collection
Grafana 3000 Dashboards
VictoriaMetrics 8428 Long-term storage
Metric Type Description
qsecbit_score Gauge Current security score
aegis_packets_dropped Counter Aegis XDP DDoS mitigation
napse_intents_total Counter Napse intent classifications
dns_blocks_total Counter dnsXai blocks

Purpose: Kernel-level packet intake, feature extraction, and early filtering.

Service Function
Aegis XDP Zig + eBPF kernel-level packet processing
Ring Buffer Manager BPF ring buffer for zero-copy Aegis-to-Napse communication
Packet arrives at NIC
|
v
Aegis XDP (kernel) -- Drop DDoS, rate limit
|
v
Feature extraction (entropy, protocol class, 32-byte vector)
|
v
BPF Ring Buffer (16 MB shared memory, zero-copy)
|
v
Napse consumer (POD-007)

POD-007: AI Detection + Response (Napse + AEGIS)

Section titled “POD-007: AI Detection + Response (Napse + AEGIS)”

Purpose: AI-powered intent classification and autonomous threat response.

Napse (Mojo AI) consumes observations from the Aegis ring buffer and performs Bayesian intent classification. AEGIS (Adaptive Endpoint Guardian with Intelligent Security) is HookProbe’s AI orchestrator that bridges all detection systems into unified reasoning with plain-English explanations.

Service Function
Napse (Mojo AI) SIMD-vectorized Bayesian intent classification
Napse HMM Kill chain state tracking (Viterbi decoding)
dnsXai AI DNS protection
Layer Detector L2-L7 analysis
AEGIS Orchestrator 9-agent AI coordination
ML Inference Threat classification
Response Engine Automated actions
Agent Domain Function
GUARDIAN Network Defense DDoS, port scans, L3-L4 attacks
WATCHDOG DNS Protection DGA detection, DNS tunneling
SHIELD Endpoint Protection Device classification, policy
VIGIL Authorization TLS downgrade, cert issues
SCOUT Reconnaissance Port scans, enumeration
FORGE Hardening Proactive audits, configuration
MEDIC Incident Response Cross-layer correlation, forensics
ORACLE Forecasting Trend analysis, recommendations
Aegis Ring Buffer (from POD-006)
|
v
Napse Bayesian Classifier -- Intent classification
|
v
Napse HMM -- Kill chain state tracking
|
v
dnsXai -- DNS classification
|
v
QSecBit -- Unified score
|
v
AEGIS -- Autonomous response
Trigger Action
QSecBit AMBER Increase logging
QSecBit RED Enable full mitigation
High-confidence C2 intent Block source via Aegis XDP
C2 detected Quarantine device

Purpose: Security orchestration.

Service Port Function
n8n 5678 Workflow automation
Playbook Engine - Defensive playbooks
  • Threat -> Slack notification -> Ticket creation
  • Alert -> Email -> Escalation
  • Detection -> Block -> Forensic capture

Purpose: External communication.

Service Function
Email Service Alert notifications
Cloudflare Tunnel Secure external access
Webhook Delivery Integration events

Purpose: Decentralized consensus.

Service Function
DSM Node Microblock creation
DSM Validator Checkpoint aggregation
Consensus Engine BLS signature aggregation
DSM API Query interface

Microblock:

{
"type": "M",
"node_id": "edge-uuid-12345",
"seq": 1847,
"prev": "hash-of-previous",
"timestamp": "2025-12-07T18:35:00Z",
"payload_hash": "sha256-of-event",
"signature": "tpm-signed"
}

Checkpoint:

{
"type": "C",
"epoch": 147,
"merkle_root": "root-hash",
"included_ranges": {
"edge-12345": [1840, 1850]
},
"agg_signature": "bls-aggregated"
}
+---------------------------------------------------------------+
| POD Network (172.30.0.0/24) |
+---------------------------------------------------------------+
| |
| +---------+ +---------+ +---------+ |
| | POD-001 | | POD-002 | | POD-003 | |
| | Proxy | | IAM | | DB | |
| | .2 | | .40 | | .30 | |
| +----+----+ +----+----+ +----+----+ |
| | | | |
| -----+--------------+--------------+---------- |
| | |
| -----+--------------+--------------+---------- |
| | | |
| +----+----+ +---------+ +----+----+ |
| | POD-004 | | POD-005 | | POD-006 | |
| | Cache | | Metrics | | Aegis | |
| | .31 | | .50 | | .60 | |
| +---------+ +---------+ +----+----+ |
| | |
| +----+----+ |
| | POD-007 | |
| | Napse | |
| | .61 | |
| +---------+ |
| |
+---------------------------------------------------------------+
Terminal window
podman-compose up -d
Terminal window
podman-compose up -d pod-006
Terminal window
podman ps -a | grep hookprobe
Terminal window
podman logs hookprobe-<pod-name> --tail 50
POD CPU RAM Storage
POD-001 0.5 256MB 100MB
POD-002 1.0 512MB 100MB
POD-003 1.0 1GB 10GB
POD-004 0.5 256MB 1GB
POD-005 1.0 512MB 5GB
POD-006 (Aegis) 1.0 1GB 500MB
POD-007 (Napse + AEGIS) 2.0 2GB 1GB