██╗ ██╗ █████╗ ██████╗██╗ ██╗ ████████╗██╗ ██╗██╗
██║ ██║██╔══██╗██╔════╝██║ ██╔╝ ╚══██╔══╝██║ ██║██║
███████║███████║██║ █████╔╝ ██║ ██║ ██║██║
██╔══██║██╔══██║██║ ██╔═██╗ ██║ ██║ ██║██║
██║ ██║██║ ██║╚██████╗██║ ██╗ ██║ ╚██████╔╝██║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝
HackTUI is a unified SIEM and NDR platform built on Elixir/OTP.
It transforms raw telemetry into actionable security intelligence.
- Stateful Correlation Engine\
- Asynchronous Threat Enrichment\
- PostgreSQL-backed Historical Storage\
- Interactive Forensic Search (press s)\
- OTP Fault-Tolerant Architecture
HackTUI features a custom Risk Engine that classifies network connections based on ISP reputation, domain TLD, and resolution status:
| Indicator | Status | Context |
|---|---|---|
| 🟢 [TRUSTED] | Verified | Known-safe corporate infrastructure (Google, Amazon, Cloudflare). |
| 🟡 [ANOMALY] | Warning | Suspicious TLDs (.xyz, .cloud) utilizing reputable CDNs to mask origin. |
| 🔴 [CRITICAL] | High Risk | High-risk TLDs on unknown or non-reputable infrastructure. |
| 🔴 [DEAD] | NXDOMAIN | Unresolved domains, often indicative of DGA (Domain Generation Algorithms). |
- NetScout -- Packet capture via tcpdump\
- Enricher -- GeoIP & threat metadata\
- Repo -- PostgreSQL interface\
- State -- Correlation engine\
- Dashboard -- ExRatatui rendering
sudo setcap 'cap_net_raw,cap_net_admin=eip' $(which tcpdump)sudo usermod -a -G systemd-journal $USERLog out and back in after modifying group permissions.
macOS does not support setcap. To capture traffic:
brew install tcpdumpsudo mix run --no-haltNote: The journal sentinel is disabled on macOS.
Create a .env file:
export HACKTUI_DB_PASS="your_secure_password"Initialize:
source .env
mix deps.get
mix ecto.setupsource .env
mix run --no-haltKey Action
q Graceful Shutdown c Clear Alerts h Fetch Historical Alerts s Search
- Elixir 1.19+ (OTP 28)
- PostgreSQL 16+ (Ecto)
- Req, Port-based TCPDump
- ExRatatui 0.4.1
- ML-based anomaly detection (Nx)
- Distributed ingestion agents
- IPS auto-mitigation
- GeoIP visual map
MIT License
Copyright (c) 2026 aylac
