Wiretap # Wiretap **The firewall that knows whether *you* were there when data left.** Your machine talks while you sleep. Wiretap knows the difference between sync and theft. [![Release](https://img.shields.io/github/v/release/aixisstudio/Wiretap?style=for-the-badge&color=3ea97c)](https://github.com/aixisstudio/Wiretap/releases/latest) [![License: AGPL v3](https://img.shields.io/badge/license-AGPL--3.0-0f172a?style=for-the-badge)](LICENSE) [![Platform](https://img.shields.io/badge/platform-macOS%20%C2%B7%20Windows%20%C2%B7%20Linux-0f172a?style=for-the-badge)](https://github.com/aixisstudio/Wiretap/releases/latest) [![Tests](https://img.shields.io/github/actions/workflow/status/aixisstudio/Wiretap/ci.yml?style=for-the-badge&label=423%20tests)](https://github.com/aixisstudio/Wiretap/actions) [![Downloads](https://img.shields.io/github/downloads/aixisstudio/Wiretap/total?style=for-the-badge&color=8b5cf6)](https://github.com/aixisstudio/Wiretap/releases/latest) [![Stars](https://img.shields.io/github/stars/aixisstudio/Wiretap?style=for-the-badge&color=gold)](https://github.com/aixisstudio/Wiretap/stargazers) [Download](https://github.com/aixisstudio/Wiretap/releases/latest) · [Website](https://aixisstudio.github.io/Wiretap/) · [Wiki](https://github.com/aixisstudio/Wiretap/wiki) · [Discussions](https://github.com/aixisstudio/Wiretap/discussions) · [Français](README.fr.md) · [Español](README.es.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [日本語](README.ja.md) · [Português](README.pt-BR.md) · [中文](README.zh-CN.md) Wiretap live demo — LAN perimeter, geolocated hosts, Metasploit alerts (click for the mp4)
## The one question your firewall never asks Every firewall asks **what left the machine**. Ours asks whether **you were there when it did**. ``` 5 MB sent to an AI provider at 2:14 PM, keys moving — you, in your IDE. 5 MB sent to the same provider at 3:47 AM, idle for six hours — someone else, in your name. ``` Wiretap reads the OS input-idle time (zero privileges needed), grades sensitive outbound flows against it, and fires `UNATTENDED_EXFIL` when the data leaves without a human behind it. **Nobody else correlates network flows with physical presence.** That single signal — plus fourteen more deep ones — turns a network monitor into an intrusion detector. ![Live graph — your machine at the center, LAN inside the perimeter, the world outside](docs/assets/screenshot-graph.png) ## English **Wiretap** is an open-source application firewall and real-time network monitor: it shows every connection your computer makes — who it talks to, where they are, which app is responsible — and whether a human was behind it. **Local-first. Zero telemetry. AGPL-3.0.** The full interface ships in 8 languages. ## Install in 30 seconds | Platform | Command or package | |---|---| | **macOS (Apple Silicon)** | `brew install --cask aixisstudio/tap/wiretap` — or the zip/dmg from the [latest release](https://github.com/aixisstudio/Wiretap/releases/latest) | | **Windows** | **Wiretap Setup** `.exe` from the [latest release](https://github.com/aixisstudio/Wiretap/releases/latest) — one click, UAC prompt, [Npcap](https://npcap.com/) required. Lite alternative: `Wiretap-Lite-Setup` | | **Linux** | AppImage / .deb / .rpm / .snap from the [latest release](https://github.com/aixisstudio/Wiretap/releases/latest) — or `sudo docker compose up --build` (see [Docker](#docker-linux)) | | **Headless** | `brew install aixisstudio/tap/wiretap` → `wiretapd` daemon | | **Try without installing** | `WIRETAP_DEMO=1` — synthetic traffic through the real pipeline, no root needed | > **macOS first run** — Wiretap is ad-hoc signed, not notarized. The brew cask removes quarantine for you; for the manual zip: right-click → **Open**. It asks your admin password **once** (packet capture requires it, same as tcpdump/Wireshark). > > **Windows signing** — Authenticode signing via the SignPath Foundation is in progress (application submitted). Until then, SmartScreen may warn: **More info → Run anyway**. ## The deep signals — v1.9 Everything a network-first tool can see, plus everything it can't. The intrusion cycle, closed end to end: | Signal | What it does | |---|---| | **Presence-correlated exfiltration** | Idle-time × sensitive-outbound correlation — the signature feature. `UNATTENDED_EXFIL` | | **Flow DNA** | Per-process network metabolism — burst sizes, rhythm, out:in ratio, destination entropy — learned silently, then scored. A compromised app keeps its name but changes its metabolism | | **Process-lineage verdicts** | `browser → sh → curl → evil.bin` tells the story a bare process name hides | | **Persistence watch** | LaunchAgents, Run keys, systemd, cron — every auto-start mechanism fingerprinted and diffed every 5 min | | **Blast radius** | Every critical alert carries a computed impact assessment — triage in one sentence instead of an investigation | | **Time-travel state diff** | "What changed on this machine since Tuesday?" — hourly snapshots, answered in milliseconds | | **Tamper-evident forensic log** | Every alert hash-chained — an attacker wiping alerts breaks the chain, so deletion itself becomes evidence | | **Kill-chain correlation** | 3 distinct detector families on the same entity within 15 min is one incident, narrated as a timeline, and can trigger automatic lockdown | | **AI traffic governance** | Byte accounting across 21 AI providers per (provider, process), shadow-AI first-contact alerts — metadata only, never payload | | **Secrets egress watch** | Local DLP — your API keys flagged when they cross the wire in cleartext or flow to an AI provider (values never leave RAM) | | **MCP governance** | Risk audit of every MCP server declared in Cursor / Claude / Windsurf / VS Code configs — the new AI-agent attack surface | | **Supply-chain install watch** | `POSTINSTALL_NET` — a never-seen process networking within minutes of install activity is the compromise signature | | **Canaries + honeyports + auto-response** | Ransomware tripwire files, passive LAN listeners, opt-in lockdown or process suspension — detection that acts | | **DNS firewall + network profiles** | Filtering DNS proxy with encrypted DoH upstream; firewall profiles auto-switch per Wi-Fi network | | **Natural-language queries** | `/ask` — "did anything talk to Russia this week?" answered deterministically from SQLite, never hallucinated |
Full feature list (30+ more) Live force graph and geolocated world map · 15/30/60-min timeline · anomaly detection (port scans, beaconing, exfiltration) · DNS-tunneling heuristic · passive TLS certificate metadata · ICMP tunnel detection · ML anomaly scoring (pure-Python isolation forest) · entropy watch · ask-on-connect NFQUEUE verdict mode (Linux) · one-click Block IP / Kill / Suspend · syslog/CEF SIEM output · IOC peer sync · memory forensics (process-hollowing check) · firewall orchestration via OS-native firewall (`netsh`/`iptables`/`pf`) · lockdown panic mode · threat intel (opt-in, your keys) · security audit scorecard · forensics export bundle · webhook alerting (Discord/Slack/Telegram) · per-process attribution and per-app view · passive LAN discovery · privacy score · alert suppression rules · settings panel · tracker detection lists · bandwidth monitor · light/dark theme · auto-update (opt-out) · QUIC/HTTP-3 honest labeling · watchlist · upload spike alerts · interface selector · Wi-Fi context · JSON/CSV export
![World map — geolocated connections with animated arcs](docs/assets/screenshot-map.png) ## Privacy by architecture, not by promise - **Loopback-only API** — binds `127.0.0.1`, token-authenticated, CORS/WebSocket origin allowlist - **Offline geolocation** — DB-IP Lite bundled; geo works with zero network calls - **Zero telemetry** — every outbound call (threat intel, webhooks, updates) is opt-in and documented in [PRIVACY.md](PRIVACY.md) - **Your data never leaves** — SQLite on your disk, nothing else. Verify it yourself: Wiretap's own graph will show you. ## Documentation map | Doc | Content | |---|---| | [docs/COMPARISON.md](docs/COMPARISON.md) | Honest Wiretap vs Little Snitch vs GlassWire vs Portmaster — including where the others win | | [docs/threat-model.md](docs/threat-model.md) | The full threat model | | [docs/FIREWALL.md](docs/FIREWALL.md) | Firewall orchestration, lockdown, threat intel, audit, forensics | | [docs/INTEGRATIONS.md](docs/INTEGRATIONS.md) | SIEM, syslog, Sigma import, Ansible fleet, Rust agent, Helm | | [docs/deep-signals.md](docs/deep-signals.md) | The deep-signal detection families in detail | | [ROADMAP.md](ROADMAP.md) · [CHANGELOG.md](CHANGELOG.md) · [SECURITY.md](SECURITY.md) | Where it goes, what changed, how to report | ## Docker (Linux) Linux-only because capture needs `network_mode: host` — Docker Desktop on Mac/Windows runs in a VM and cannot see host traffic (use the native app there). ```bash sudo docker run --network host --cap-add NET_ADMIN --cap-add NET_RAW \ -v wiretap-data:/app/data ghcr.io/aixisstudio/wiretap ``` Or `sudo docker compose up --build` from a clone. Token printed once at startup (`cat data/api_token.txt`), then open `http://localhost:8000/?token=TOKEN`. ## Development Python 3.11+ · Node 18+ · Npcap on Windows · admin terminal for capture. ```bash cd backend && pip install -r requirements.txt && python run_backend.py # API :8000 cd frontend && npm install && npm run dev # UI :5173 ``` Tests: `cd backend && python -m pytest tests/` · `cd frontend && npm test` — **423 tests green on Ubuntu, macOS and Windows CI**. Demo mode for development: `WIRETAP_DEMO=1`. ## Enterprise & fleet Security-as-Code (`wiretap.toml` overrides every setting, Ansible-ready in `deploy/ansible/`) · SIEM-native CEF/syslog/webhooks/ECS export · Sigma rule import · fleet dashboard · hardened Rust agent with revocable one-shot enrollment tokens · hardened systemd unit, `.deb`/`.rpm`, Helm chart · free threat-feed imports. Recipes in [docs/INTEGRATIONS.md](docs/INTEGRATIONS.md). ## Contribute Issues for bugs, [Discussions](https://github.com/aixisstudio/Wiretap/discussions) for ideas — see [CONTRIBUTING.md](CONTRIBUTING.md). Translations are one-file PRs: copy `frontend/src/locales/en.js`, translate, register.
**If Wiretap helps you, a star means a lot.** [![Star History](https://api.star-history.com/svg?repos=aixisstudio/Wiretap&type=Date)](https://star-history.com/#aixisstudio/Wiretap&Date) Built by [aiXis Studio](https://github.com/aixisstudio) — privacy-first, local-first software.