A lightweight Go daemon that runs on every server. Tails SSH, Apache, NGINX, Postfix, and HAProxy logs. Detects brute force, reconnaissance, and multi-vector attacks using configurable sliding-window analysis. Enforces blocks in the kernel with nftables — no cloud dependency, no external bouncer.
────────────────── Vespid Shield ────────────────── node_id web-01 version 1.1.0 nft table inet shield available shield_local 47 entries (dynamic, TTL-based) shield_subscribed 15,432 (feed-driven) Last 24h Observed 128 | Blocks 94 | Escalated 12 Detection Packs ▸ apache-attacks (14 rules) ▸ nginx-attacks (10 rules) ▸ openssh-attacks (9 rules) ▸ postfix-attacks (9 rules) ▸ haproxy-attacks (14 rules) ▸ sigma-web-attacks (37 rules) ▸ sigma-ssh-attacks (1 rule) ▸ sigma-host-threats (70+ rules) Auditd mode detecting sigma rules 28 | alerts today 7
Vespid tracks every source IP across configurable time windows. Fast brute force, medium-paced attacks, and slow-and-low reconnaissance — all caught by the same engine.
5 attempts in 60 seconds
Catches rapid-fire SSH brute force and HTTP credential stuffing. The most common attack pattern — thousands of attempts in minutes from a single IP.
ssh_fast_brute
5 / 60s
4 attempts in 10 minutes
Designed for distributed brute-force tools that slow down to evade rate limits. Catches attackers pacing their attempts at ~2-minute intervals.
ssh_medium_brute
4 / 10m
5 attempts in 6 hours
Catches the stealthiest attacks — one password attempt every hour or two. Most tools and attackers don't have the patience, but Vespid does.
ssh_slow_brute
5 / 6h
Vespid's correlation detector identifies attackers who spread their activity across multiple services — an SSH banner grab, an HTTP path probe, and an SMTP check — each below any single rule's threshold. When three or more distinct threat types originate from the same IP within the correlation window, a combined detection event fires. This catches sophisticated reconnaissance that single-service detectors miss entirely.
No configuration needed. Plus 8 curated rule packs for the services you actually run — including Sigma community detection rules.
ssh_fast_bruteSSHRapid-fire SSH brute force
ssh_medium_bruteSSHMedium-speed brute force
ssh_slow_bruteSSHLow-and-slow over hours
ssh_negotiate_failSSHDeprecated algorithm probes
ssh_recon_strongSSHBanner grabbing & port scanning
ssh_recon_weakSSHGeneric connection resets
http_auth_bruteHTTPHTTP 401/403 brute force
haproxy_auth_bruteHAProxyHAProxy auth brute force
Enable entire packs with one click from the Nest dashboard. Per-node filtering ensures relevant rules only.
RCE attempts, path traversal, credential scanning, IoT exploits, PHP attacks, WordPress scanning, Docker API probes, Spring Actuator probes
Auth brute force, SQLi, XSS, shellshock, scanner UAs, request smuggling, sensitive file probing
Root brute force, user enumeration, pubkey probing, password spraying, PAM failures, bad protocol versions
SASL brute force, relay abuse, recipient enumeration, VRFY probing, command pipelining, sender rejection
Auth brute force, path probes, RCE, SQLi, TLS probes, script injection, Docker probes, WordPress scanning
SQL injection, XSS, path traversal, Log4Shell, SSTI, webshells, scanner tools, source code enumeration
Suspicious SSHD errors, crypto exploits, and SSH protocol anomalies
Reverse shells, privilege escalation, persistence, credential dumping, C2, lateral movement, defense evasion
No cron jobs. No polling. No stale rules. The kernel handles expiry natively.
shield_local — Dynamic Block SetReal-time detection results are added to this nftables set with per-element time-to-live. The kernel automatically removes expired entries — no userspace reaper needed. Each block carries its own TTL based on the offense history of the IP.
shield_subscribed — Feed-Driven SetExternal IP blocklists (FireHOL, Spamhaus, abuse.ch) are synced into this set atomically. The entire set is replaced on refresh — no partial updates, no race conditions. Deduplication against the local allowlist happens automatically.
IPs that get blocked repeatedly receive progressively longer bans through configurable tiers. Default: 24 hours → 3 days → 7 days → 30 days. Strike counts decay after a configurable clean period (default 30 days), so a past offender that stays clean eventually resets to the first tier. The escalation state persists across daemon restarts via /var/lib/vespid/recidive.json.
Subscribe to the industry's best IP blocklists. Auto-refresh, deduplication, atomic sync to nftables.
15,000+ IPs from attackers with a proven track record of malicious activity. Updated every 6 hours. Blocklist format with CIDR support.
Don't Route Or Peer lists — IPs verified as hijacked or involved in spam operations. Enterprise-grade threat intelligence.
SSL Blacklist, URLhaus, Zeus Tracker, and other specialized feeds. Updated in real time as new threats are confirmed.
HTTP GET with ETag support — only downloads when content changes.
Filter against allowlist and live shield_local set. No double-blocking.
Entire set replaced atomically in nftables. No partial state.
When one node sees an attacker, the entire fleet knows in seconds.
When a node detects and blocks an IP, it sends a report to the Nest server with the source IP, event type, block TTL, and timestamp via the telemetry bus.
The server correlates incoming reports from multiple nodes. If the same IP is reported by two or more nodes, the block is corroborated and distributed fleet-wide.
Corroborated blocks are pushed to all subscribed nodes via SSE streams. Each node applies the block to its local shield_local set with a configurable fleet TTL.
When the server is unreachable, block reports are queued to disk as individual JSON files in /var/lib/vespid/fleet_queue/. Reports survive daemon restarts and are replayed in FIFO order when connectivity is restored, with exponential backoff retry (30s → 300s max). The queue is capped at 1,000 entries — oldest evicted first under continuous outage.
Kernel-level process monitoring with Sigma rule matching, anomaly scoring, and three-mode operation.
Vespid integrates directly with Linux auditd to monitor system calls, process executions, file access, and privilege escalation at the kernel level. Auditing events are parsed from /var/log/audit/audit.log and matched against Sigma rules — the industry-standard format for describing log detection behavior.
When first enabled, Vespid observes system behavior without alerting. It builds a baseline of normal process execution patterns, user behavior, and network connections specific to each node. No false positives during calibration.
Active monitoring with Sigma rule matching. Each event is scored for severity and confidence. When a rule matches, an alert is generated with the full audit trail — process tree, parent PID, command line, file paths, and user context.
When suspicious activity exceeds configurable thresholds, alerts are raised and shipped to the Nest server. Alerts include the Sigma rule ID, match context, anomaly score, and process tree analysis for incident response.
Monitoring execve, fork, and clone system calls. Detects unusual process launches, script interpreters invoked from unexpected parents, and binary execution from writable paths.
Tracks login, sudo, su, and privilege escalation events. Detects lateral movement, unauthorized privilege use, and anomalous user behavior patterns.
Watches open, unlink, rename on sensitive paths (/etc/shadow, /etc/ssh, /root). Detects credential theft, config tampering, and data exfiltration attempts.
Detects cron job creation, systemd unit modifications, SSH authorized_keys changes, and other common persistence techniques used by adversaries.
Tracks connect, bind, and accept syscalls. Detects reverse shells, beaconing, and connections to known-bad destinations.
Detects attempts to load kernel modules, modify security policies, or exploit known kernel vulnerabilities via syscall anomaly patterns.
Each audit event is scored by Vespid's risk engine on two axes: severity (how dangerous the event type is) and confidence (how certain the match is). Events are correlated across categories — a process execution anomaly combined with a sensitive file access and a network connection to an external host produces a higher aggregate score than any single event alone. Scores are shipped to Nest for alert routing and historical analysis.
Write your own detection rules in YAML. Deploy via config file or push from the Nest server. Zero code changes.
# Custom detection rule example custom_rules: - name: myapp_auth_brute description: Detects brute force against MyApp login parser: syslog event_type: MYAPP_AUTH_BRUTE max_attempts: 10 window_seconds: 300 pattern: 'Failed login for user.*from <remote>' source_ip_group: 1 # regex capture group for IP exclude_patterns: - '127.0.0.1' - '10\.0\.0\.' - name: custom_api_scan description: Detect API endpoint probing parser: apache event_type: CUSTOM_API_SCAN max_attempts: 5 window_seconds: 600 pattern: 'GET /api/v[12]/.*(?:admin|config|debug).*HTTP/1\.[01]" 404'
Full regex support with named capture groups for source IP extraction. Works with any log format your services produce.
Configurable capture group index for IP extraction. Handle non-standard log formats where the IP isn't in the default position.
Define patterns to exclude — whitelist internal IPs, monitoring services, or known benign traffic from triggering detection.
Push rules from Nest dashboard with ETag-based conditional polling, per-node filtering, and hot-reload without restarting the daemon.
A single daemon handles everything — log tailing, parsing, detection, correlation, blocking, feed sync, and fleet communication.
Single runtime dependency: nftables. auditd is optional.
# Add the Vespid package repository once: # https://www.vespid.app/#get-started # RHEL / AlmaLinux / Rocky sudo dnf install vespid-shield # Debian / Ubuntu sudo apt update sudo apt install vespid-shield # Start the daemon sudo systemctl enable --now vespid-shield sudo vespid-cli status