Hi homelabbers,
Like many of you, I run AdGuard Home to protect my home network. But static blocklists have two big structural flaws:
- **They're always 24–48 hours late:** By the time a zero-day phishing link or malware C2 domain gets submitted, reviewed, and compiled into an upstream list, the damage is already done.
- **Aggressive lists break legitimate stuff:** Every time a third-party list accidentally includes a shared CDN or an apex domain, you wake up on a weekend with smart home bulbs, Discord, or Steam updates failing.
To solve both issues without running a massive enterprise SIEM, I built **AdGuard AI Hunter** — a lightweight, local-first Docker daemon that adds real-time intelligence and zero-day mining to AdGuard Home.
### How it solves the problem:
- **Catching Malware in Real Time (Shannon Entropy):** Modern malware and botnets use DGAs (Domain Generation Algorithms) to constantly generate gibberish hostnames (like `xk92lms08a.biz`). Instead of waiting for a list update, AI Hunter calculates subdomain entropy on the fly. If an infected device on your network starts beaconing to high-entropy domains, it gets caught immediately.
- **Proactive Threat Mining with 30-Day Auto-Pruning:** It continuously ingests fresh zero-day indicators (OpenPhish, URLhaus malware mirrors) into an embedded SQLite engine. Crucially, each threat has a **sliding 30-day TTL** — if a malicious domain goes dead, it's purged automatically. No bloated 2-million-line static lists consuming memory.
- **Strict "Never Break the Internet" Guardrails:**
- **Public Suffix List Enforcement:** Strict boundary checks via `tldextract` guarantee that shared multi-tenant hosts (like `raw.githubusercontent.com`, Discord assets, Google Drive, Cloudflare Workers) can *never* be sinkholed by a messy feed.
- **Canary DNS Rollback:** Before any filter update is deployed to AdGuard, it verifies resolution against live canary targets (Cloudflare/Google). If anything breaks, it rolls back instantly.
- **AI Triage (Gemini Flash) & Home Assistant:** For ambiguous border cases, it requests a sub-second contextual threat score, with 1-tap push notification buttons on your phone (`[Block Globally]`, `[Block Device]`, `[Whitelist 30d]`).
### Free Filter Subscription:
If you just want the verified threat feed for your existing AdGuard Home or uBlock Origin:
`https://raw.githubusercontent.com/umbette/adguard-ai-hunter/main/filters/threat_blacklist.txt`
👉 **GitHub Repository:** https://github.com/umbette/adguard-ai-hunter
Runs in Docker using under 25MB of RAM. Would love to hear your thoughts, feature ideas, or edge cases!