Wiretap is a free, open source threat detection & response project written in Python and released under AGPL-3.0. It has 877 GitHub stars, 61 forks and 8 open issues, and was last pushed 2 days ago. On this registry it ranks #69 of 81 tracked projects in Threat Detection & Response, with 5 head-to-head comparisons available. It gained 38 stars over the last 6 tracked days.

What is Wiretap?

Wiretap is a free, open-source, cross-platform application firewall and real-time network monitor that shows which application opened each connection and whether a human was present when the data left, aimed at privacy-conscious desktop users and security teams working across macOS, Windows and Linux.

What it is

Wiretap is an application firewall and network monitor written primarily in Python and licensed AGPL-3.0, with a desktop interface drawing on Electron, React, D3.js and FastAPI as its topic list indicates. It displays every connection a machine makes, the remote destination and the responsible process, and it blocks through the operating system's own firewall — netsh, iptables or pf — rather than filtering packets in user space. The interface is translated into eight languages.

The gap it fills is specific: a transfer to an AI provider or a storage bucket looks identical whether a person triggered it or something acted in their name. Wiretap reads OS input-idle time with zero privileges and grades sensitive outbound flows as UNATTENDED_EXFIL when nobody was at the keyboard, then surrounds that verdict with flow-level behavioural learning, process ancestry, persistence monitoring and computed blast radius, alongside the kill-chain correlation and tamper-evident forensics named in its description. It occupies the ground held by per-app outbound monitors such as Little Snitch, Lulu and GlassWire, on machines where those tools do not run.

Key capabilities

  • Presence-correlated exfiltration: input-idle time read with zero privileges grades sensitive flows as UNATTENDED_EXFIL, so 5 MB to an AI provider while you type reads differently from the same 5 MB while you are away.
  • Flow DNA: per-process network metabolism — burst sizes, rhythm, out:in ratio and destination entropy — is learned silently and then scored, producing FLOW_DRIFT alerts that explain themselves, such as "rhythm collapsed 4.2x, destinations tunneled".
  • Process-lineage verdicts: ancestry scoring traces chains like browser -> sh -> curl -> evil.bin and reports them as plain evidence sentences.
  • Persistence watch: LaunchAgents, Run keys, systemd and cron entries are fingerprinted and diffed every five minutes, raising PERSISTENCE_NEW, PERSISTENCE_MOD and PERSISTENCE_DEL alerts.
  • Blast radius: each critical alert carries an impact assessment naming destinations reached, AI exposure, secrets in reach, whether the mechanism survives reboot, and open files.
  • Native enforcement through netsh, iptables or pf, with local-first operation: a token-protected service on 127.0.0.1, offline geolocation and no outbound calls without opt-in.

Who uses it and how

  • Individual users on macOS or Windows 10/11 who want per-app outbound visibility and blocking rules without an account or a cloud dependency.
  • Security analysts triaging critical alerts by reading the attached blast-radius assessment and the self-explaining FLOW_DRIFT or UNATTENDED_EXFIL evidence instead of raw captures.
  • Mixed-fleet IT and security teams covering macOS, Windows and Docker-based Linux, which the fleet-management and self-hosted topics point to.
  • Operators feeding endpoint findings into a SIEM, as the siem topic indicates.

Getting started

Wiretap 1.9.0 is distributed through the project's GitHub Releases page, with native builds for macOS and Windows 10/11 and a Docker-based route for Linux. The project homepage at aixisstudio.github.io/Wiretap/ is the entry point for documentation.

How it compares

Little Snitch and Lulu offer comparable per-app outbound visibility and blocking rules, but they are macOS-only commercial products, whereas Wiretap is cross-platform, free and open-source under AGPL-3.0. GlassWire provides a similar live view of network activity but requires an account and works with cloud services, while Wiretap requires no account, performs geolocation offline and makes no outbound calls without opt-in. Against Wireshark the contrast is one of altitude rather than licence: Wiretap targets a live overview a non-specialist can read, not raw packet dissection.

When to use it — and when not to

Wiretap suits hosts where the native firewall tooling (netsh, iptables or pf) can be managed and where keeping traffic data on 127.0.0.1 is a requirement rather than an irritation. It is the wrong choice for anyone who needs raw packet dissection, which remains Wireshark's territory, or for teams that want a vendor-hosted console retaining endpoint telemetry off the machine. Two limitations are worth stating plainly: Linux support is Docker-based rather than native, and AGPL-3.0 copyleft obligations apply to anyone embedding or redistributing it inside a proprietary product.

project readme (upstream, from github) — read inline

Wiretap

The firewall that knows whether YOU were there when data left. / Le pare-feu qui sait si VOUS étiez là quand les données sont parties.

English | Français | Español | Deutsch | Русский | 日本語 | Português | 中文

⭐ If Wiretap helps you, a star means a lot! / Si Wiretap vous aide, une étoile compte beaucoup ! ⭐

License: AGPL v3 Platform: macOS Platform: Windows Platform: Linux Version GitHub release Downloads GitHub stars Star History Discussions

Wiretap live graph — LAN perimeter, geolocated hosts, alerts


English

Wiretap is an open-source application firewall and real-time network monitor that asks the question no other security tool asks: were you there when the data left? See every connection your computer makes — who it talks to, where they are, which app is responsible — and whether a human was behind it.

The entire interface is available in English, Français, Español, Deutsch, Русский, 日本語, Português (BR) and 简体中文: use the language picker in the top-right toolbar.

Why Wiretap?

  • vs Little Snitch / Lulu — same idea (per-app outbound visibility + blocking rules), but Wiretap is cross-platform, free and open-source. Blocking is orchestrated through the OS-native firewall (netsh / iptables / pf) — Wiretap never filters in user-space.
  • vs GlassWire — Wiretap is free, open-source (AGPL), requires no account and makes no outbound calls without opt-in; even geolocation is offline.
  • vs Wireshark — Wiretap gives a live, high-level overview anyone can read, instead of raw packet dissection.
  • vs cloud-based monitors — everything runs on 127.0.0.1 behind a token; your traffic data never leaves the machine.

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 5 MB to an AI provider while you type is you using your IDE; the same 5 MB while you're away is something else acting in your name. OS input-idle time read with zero privileges, sensitive outbound flows graded — UNATTENDED_EXFIL. Nobody else correlates flows with human presence
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. FLOW_DRIFT alerts explain themselves ("rhythm collapsed 4.2x, destinations tunneled")
Process-lineage verdicts browser -> sh -> curl -> evil.bin tells the story a bare process name hides — ancestry scoring with plain evidence sentences
Persistence watch LaunchAgents, Run keys, systemd, cron — every auto-start mechanism fingerprinted and diffed every 5 min. Surviving reboot is what malware needs most; PERSISTENCE_NEW/MOD/DEL
Blast radius Every critical alert carries a computed impact assessment — destinations reached, AI exposure, secrets in reach, survives-reboot, open files. Triage in one sentence instead of an investigation
Time-travel state diff "What changed on this machine since Tuesday?" — hourly snapshots, 48 h retention, appeared/vanished/mutated in milliseconds
Tamper-evident forensic log Every alert hash-chained to the previous one — an attacker wiping alerts breaks the chain, so deletion itself becomes evidence. Offline verification at /forensic/verify
Kill-chain correlation 3 distinct detector families on the same entity within 15 min is not noise — it's one incident, narrated as a timeline, and it can trigger automatic lockdown
AI traffic governance Per-(provider, process) byte accounting across 21 AI providers, shadow-AI first-contact alerts, mass-export detection — metadata only, never payload content
Secrets egress watch Local DLP — API keys harvested from env vars and dotfiles (values never leave RAM, alerts carry salted shapes), flagged when they cross the wire in cleartext or flow to an AI provider
MCP governance Risk audit of every MCP server declared in Cursor / Claude / Windsurf / Zed / VS Code / Devin configs — download-and-run launchers, unscoped filesystem access, the new AI-agent attack surface
Supply-chain install watch POSTINSTALL_NET — a never-before-seen process networking within minutes of install activity is the supply-chain compromise signature
Canaries + honeyports + auto-response Ransomware tripwire files, passive LAN listeners on telnet/SMB/RDP/VNC, opt-in lockdown or process suspension on critical alerts — detection that acts, not a camera filming a burglary
DNS firewall + network profiles Filtering DNS proxy with encrypted DoH upstream and curated blocklists; firewall profiles auto-switch per Wi-Fi SSID/BSSID
Natural-language queries /ask — "did anything talk to Russia this week?" answered deterministically from SQLite, never hallucinated

Features

Feature Description
Force Graph Live node graph — your machine at the center, every connection as a node
World Map Geolocated IPs with animated arcs on an interactive globe
15/30/60-min Timeline Sliding history stored locally in SQLite (24 h retention)
Anomaly Detection Flags port scans, beaconing (regular-interval C2), potential exfiltration
Advanced Detection DNS-tunnelling heuristic, cleartext-port spotting, per-app country baseline deviation
Passive TLS Inspection Leaf-certificate metadata read off the wire (issuer, self-signed, SAN/SNI mismatch) — TLS 1.3 honestly unobservable
ICMP Tunnel Heuristic Repeated fat echo payloads flagged — the ptunnel/icmpsh exfiltration signature
ML Anomaly Scoring Pure-Python isolation forest over your own flows (zero deps) — outlier flows flagged after ~400 samples
Entropy Watch Encrypted-looking payloads on cleartext channels (covert crypto/stego hint)
Ask-on-Connect Opt-in NFQUEUE verdict mode (Linux) — new flows held until you allow/deny, like Little Snitch prompts
Actionable Alerts One-click Block IP / Kill / Suspend on every alert; custom rules can auto-firewall matched hosts (asn/country fields included)
Syslog / SIEM Opt-in RFC 3164 output to your syslog/Wazuh collector, UDP or TCP
IOC Peer Sync Opt-in salted-Merkle pack exchange with explicitly-paired Wiretap peers — hash commitments only, no central server
Memory Forensics On-demand process-hollowing check — executable pages in RAM diffed against disk (Linux)
Firewall Orchestration Block rules (IP/CIDR/domain/process/port) applied to the OS firewall — netsh/iptables/pf, persisted, per-rule blocked counters
Lockdown Mode Panic switch — flags & blocks all public outbound traffic, LAN stays up
Incident Response Kill / suspend a process, block an IP — one click from the connection detail
Threat Intelligence Opt-in reputation checks (AbuseIPDB / AlienVault OTX / VirusTotal) with your own API key — off by default, results cached
Security Audit Built-in hardening report — score, findings, plain-language recommendations
Forensics Export One-click investigation bundle — process tree + SHA-256 of the binary, history & matching alerts
Webhook Alerting Opt-in forwarding of warning/critical alerts to Discord, Slack, Telegram or any endpoint
Process Attribution Know which app generates which traffic (top 5 per connection)
LAN Scanner Passive discovery via the system ARP table (no broadcast scans)
Privacy Score Real-time score of your outgoing traffic exposure
Per-app View Per-process destinations, volumes and 60-min history
Alert Suppression Persisted "ignore host/type" rules, manageable in the UI
Settings Panel Language, retention, filters, consent-gated GeoIP download, diagnostics
Tracker Detection Suffix-matched domain lists shipped as editable data files (backend/classifier/lists/)
Bandwidth Monitor Live MB/s sparkline
8-language UI EN · FR · ES · DE · RU · JA · PT-BR · ZH-CN — one click to switch, locales live in frontend/src/locales/
Light / Dark Theme Follows your OS preference by default, manual toggle persists
Auto-Update Desktop app checks GitHub Releases (opt-out in Settings; WIRETAP_NO_UPDATE=1)
QUIC / HTTP/3 UDP/443 flows labeled honestly — QUIC SNI is encrypted and never read
Watchlist Pin IPs/domains — dedicated alert the moment traffic touches them
Upload Spike Alert Per-process MB/min ceiling with adjustable threshold
Interface Selector Pick which adapter is sniffed — no env var needed
Wi-Fi Context Current SSID shown in the toolbar
Export Graph + alerts to JSON/CSV, one click

Download

Platform Package
macOS (Apple Silicon) brew install --cask aixisstudio/tap/wiretap — or Wiretap.app zip/dmg from latest release
Linux Wiretap AppImage / .deb / .rpm / .snap from latest release — or sudo docker compose up --build, see Docker (Linux)
Headless (any OS) brew install aixisstudio/tap/wiretap → wiretapd daemon binary (servers/VMs, no GUI)
Windows Wiretap Setup .exe — one-click NSIS installer (native app, UAC prompt at launch, Npcap check built in) from latest release. Lite alternative: Wiretap-Lite-Setup (backend + browser UI). Requires Npcap
All (1-click) Pinokio — installs deps, runs the backend, opens the UI / installe tout, lance le backend, ouvre l'UI

Or grab the latest release: github.com/aixisstudio/Wiretap/releases

macOS first run / Premier lancement macOS — Wiretap is ad-hoc signed, not notarized (no paid Apple Developer ID). The brew install --cask above removes the quarantine flag for you. For the manual zip: right-click → Open, or run xattr -dr com.apple.quarantine /Applications/Wiretap.app. On first launch Wiretap asks for your admin password once — packet capture requires it, same as tcpdump/Wireshark; the UI itself stays unprivileged.

FR — Wiretap est signé ad-hoc, pas notarisé (pas de Developer ID payant). Le brew install --cask ci-dessus retire le drapeau de quarantaine pour vous. Pour le zip manuel : clic droit → Ouvrir, ou xattr -dr com.apple.quarantine /Applications/Wiretap.app. Au premier lancement, Wiretap demande le mot de passe admin une fois — la capture de paquets l'exige, comme tcpdump/Wireshark ; l'UI reste non privilégiée.

Windows code signing / Signature Windows — Windows releases will be Authenticode-signed with a free open-source certificate kindly provided by the SignPath Foundation via SignPath.io (application submitted, pending approval). Until the first signed build ships, SmartScreen may still warn — click More info → Run anyway. / Les builds Windows seront signés Authenticode grâce à un certificat open source offert par la SignPath Foundation (candidature déposée). En attendant, SmartScreen peut encore afficher un avertissement — Informations complémentaires → Exécuter quand même.

Stack

Layer Technology
Packet capture ctypes → libpcap — Npcap (Windows) / libpcap (Linux/macOS) — own parser (IPv4/IPv6/TCP/UDP/DNS/TLS-SNI)
Backend API FastAPI — WebSockets — SQLite
Frontend React 19 — Vite — D3.js v7 — TopoJSON
Desktop wrapper Electron 44
Geolocation Offline only — DB-IP Lite (CC BY 4.0) bundled gzip'd in backend/data/geo/, decompressed on first run; MaxMind GeoLite2 .mmdb also supported

Security & privacy

  • API token — every REST endpoint and the WebSocket require a token. Electron generates it per launch; in Docker/browser it's printed once in the backend logs and stored in data/api_token.txt. Open the UI with http://localhost:8000/?token= (or enter it when prompted).
  • Loopback-only by default — the API binds 127.0.0.1 in every mode. Set WIRETAP_BIND=0.0.0.0 only if you explicitly want LAN access (token auth still applies).
  • CORS/WebSocket origin allowlist — only localhost:5173, the backend's own origin and Electron file:// pages may connect.
  • Geolocation is offline-only — there is no online lookup. DB-IP Lite (CC BY 4.0) ships gzip'd in backend/data/geo/ and is auto-extracted into /geo/ on first launch — geo works out of the box, zero network calls. You may still drop newer GeoLite2-City.mmdb/GeoLite2-ASN.mmdb (MaxMind) into /geo/, or download a fresh DB-IP Lite from the Settings panel (explicit consent; the other opt-in outbound calls — threat intel, webhooks, update checks — are listed in PRIVACY.md).
  • All data stays local — wiretap.db (24 h sliding window, configurable via retention_hours setting) and data/logs/wiretap.log never leave the machine. No telemetry. Every outbound call is opt-in — DB-IP Lite download, threat-intel lookups, webhooks and update checks are each gated by your explicit action or a switch (see PRIVACY.md).
  • Settings persist — port filters, excluded processes, the IP whitelist, firewall rules, language and retention are stored in SQLite and restored on restart.
  • Firewall rules are best-effort — the backend drives the OS firewall (netsh advfirewall, iptables, pf anchors); when privileges are missing the rule is kept and matched for visibility (BLOCKED_ATTEMPT alerts) and marked "not applied" instead of pretending enforcement. Lockdown keeps loopback + LAN alive so the UI stays reachable.
  • Threat intelligence & webhooks are opt-in — disabled by default; enabling a provider (AbuseIPDB/OTX/VirusTotal, your own API key) or a webhook adds outbound calls, documented in PRIVACY.md.
  • Alert suppression — each alert has an "Ignore this type/host" action; suppression rules are persisted (alert_suppressions table), applied before alerts are emitted or logged, and survivable across restarts via POST /alerts/ignore / DELETE /alerts/ignore / GET /alerts/ignore.
  • History — per-minute per-host and per-process byte/packet aggregates are kept in SQLite (host_history, process_history) for the retention window, powering the per-application view and GET /history/host/{ip} / GET /history/process/{name}.
  • Diagnostics — GET /diagnostics returns a JSON snapshot of the runtime (capture state, geo DB status, interface, versions, paths) with no secrets; the Settings panel can export it or open the log directory (Electron).
  • LAN devices are discovered passively from the system ARP table — no active broadcast scanning. Device names are learned from what devices broadcast themselves: mDNS *.local (Apple/Linux), LLMNR & NetBIOS names (Windows), DHCP hostname options, plus the full offline IEEE OUI vendor table, and your gateway is auto-detected as the router.
  • See docs/threat-model.md for the full threat model and docs/FIREWALL.md for the security suite (firewall orchestration, lockdown, threat intel, webhooks, audit, forensics).
  • Comparing options? docs/COMPARISON.md is an honest Wiretap vs Little Snitch vs GlassWire vs Portmaster vs LuLu breakdown — including where the others win.

Docker (Linux)

The Docker deployment is for Linux users who want to run Wiretap without installing anything beyond Docker. Packet capture works via network_mode: host — the container sees real host traffic.

Prebuilt image — no clone or build needed:

sudo docker run --network host --cap-add NET_ADMIN --cap-add NET_RAW \
  -v wiretap-data:/app/data ghcr.io/aixisstudio/wiretap

Or build from source with the compose file:

Note: Docker Desktop on Mac/Windows runs inside a VM and cannot capture traffic from the host. Use the Electron app on those platforms.

# Clone and enter the repo / Cloner puis entrer dans le dépôt
git clone <your-repo-url> wiretap
cd wiretap

# Optional: place your MaxMind GeoLite2-City.mmdb in data/ for offline geolocation
# Optionnel : placez votre GeoLite2-City.mmdb dans data/ pour la géolocalisation hors ligne
mkdir -p data

# Build and run (requires Docker + root/sudo for raw socket capture)
# Construire et lancer (Docker + root/sudo requis pour la capture)
sudo docker compose up --build

Get the API token (printed once at startup, or cat data/api_token.txt), then open http://localhost:8000/?token=TOKEN in your browser.

To run in the background: sudo docker compose up -d --build

Docker limitations:

  • Process attribution is limited to container processes (host PIDs are not shared by default)
  • LAN scanner may be unavailable on some network configurations

Development

Requirements:

  • Python 3.11+
  • Node.js 18+
  • Npcap installed (Windows only)
  • Administrator/root terminal for the backend (raw packet capture)

Demo mode / Mode démo — run the backend with WIRETAP_DEMO=1 to feed synthetic traffic through the real pipeline: no root, no libpcap, no real packets touched. Ideal for screenshots, tests and previews. Lancez le backend avec WIRETAP_DEMO=1 pour injecter un trafic synthétique dans le pipeline réel — ni root ni libpcap ni paquets réels.

# Backend (admin terminal) — API at http://127.0.0.1:8000
cd backend
pip install -r requirements.txt
python run_backend.py   # prints the API token once

# Frontend (separate terminal) — UI at http://localhost:5173/?token=TOKEN
cd frontend
npm install
npm run dev

# Electron (optional, admin terminal) — token is injected automatically
cd electron
npm install
set VITE_DEV=1   # Windows
# VITE_DEV=1     # macOS/Linux shell
npx electron .

Tests:

cd backend && pip install -r requirements-dev.txt && python -m pytest tests/ -v
cd frontend && npm test

Build the installer

# 1 — Compile backend (PyInstaller)
cd backend
pip install -r requirements.txt pyinstaller
pyinstaller backend.spec --distpath ../dist/backend

# 2 — Build frontend
cd ../frontend
npm ci
npm run build

# 3 — Build Electron installer
cd ../electron
npm ci
npm run build       # NSIS installer -> dist/installer/Wiretap Setup <version>.exe
# npm run build:dir # unpacked app only -> dist/installer/win-unpacked/

# 4 — Optional: lightweight Inno Setup installer (backend + browser UI)
iscc /DMyAppVersion=<version> ../installer/wiretap.iss
# -> dist/installer/Wiretap-Lite-Setup-<version>-windows-x64.exe

Both Windows installers are produced by CI on every tag (.github/workflows/ci.yml → package job, windows-latest).

Project structure

wiretap/
├── backend/       Python FastAPI + libpcap capture engine (ctypes, own parser)
├── frontend/      React + D3.js UI (EN/FR)
├── electron/      Electron wrapper (main, splash, preload)
├── data/          Runtime data (SQLite DB, .mmdb geo DBs in geo/)
└── dist/          Compiled output (backend exe, installer)

Enterprise & fleet

Wiretap also ships as a headless agent for SOC/SOC-adjacent deployments — everything is file-driven and free:

  • Security-as-Code — one wiretap.toml (or $WIRETAP_CONFIG) overrides every setting at startup; provision a whole fleet with Ansible (deploy/ansible/), Puppet, Salt or GPO.
  • SIEM-native — CEF or RFC 3164 syslog, generic webhooks, and GET /forensics/export?format=ecs (Elastic Common Schema NDJSON) feed Wazuh, Splunk, Graylog, Loki and Elastic out of the box.
  • Sigma import — POST /alerts/rules/sigma compiles a documented Sigma subset into Wiretap rules (skipped reasons for anything unmappable, never silent).
  • Fleet view — GET /remote/fleet merges every configured peer's hardening audit into one dashboard; a Helm chart (deploy/helm/wiretap) runs the collector in-cluster.
  • Rust agent — a zero-dependency daemon (agent/) streams socket events to POST /ingest/events with Linux /proc→PID attribution; POST /ingest/enroll issues one-shot sagt_… tokens (hashed at rest, revocable via /ingest/revoke) so a compromised agent can never impersonate a peer.
  • Headless — hardened systemd unit (deploy/systemd/), nfpm .deb/.rpm packaging (packaging/), Docker image — no GUI needed.
  • Free threat feeds — POST /firewall/blocklist imports domain (StevenBlack) and IP (Blocklist.de, URLhaus/Feodo) lists, locally or via explicit opt-in fetch; the ti_feeds setting schedules automatic refreshes with a hot firewall reload.

Step-by-step recipes live in docs/INTEGRATIONS.md.

Contribute

Bug reports and PRs are welcome — see CONTRIBUTING.md. Everything community lives on GitHub: issues for bugs, Discussions for ideas, questions and feedback — indexed and searchable, no chat server to moderate.

Translations — the UI is fully localized in 8 languages and every string lives in a single plain file per locale under frontend/src/locales/ (en.js, fr.js, de.js, es.js, ru.js, ja.js, pt-BR.js, zh-CN.js). Adding Polish, Korean, Italian or any other language is a one-file, zero-code-change pull request: copy en.js, translate the values, then register the import, LANGS entry and display name in frontend/src/i18n.jsx. Docs (PRIVACY, FIREWALL, CHANGELOG…) follow the same per-language file pattern.


Français

Wiretap est un pare-feu applicatif open-source et un moniteur réseau temps réel qui pose la question qu'aucun autre outil de sécurité ne pose : étiez-vous là quand les données sont parties ? Voyez chaque connexion que votre ordinateur établit — à qui il parle, où se trouvent les serveurs, quelle application est responsable — et si un humain était derrière.

Toute l'interface est disponible en English, Français, Español, Deutsch, Русский, 日本語, Português (BR) et 简体中文 : utilisez le sélecteur de langue dans la barre d'outils en haut à droite.

Pourquoi Wiretap ?

  • vs Little Snitch / Lulu — même idée (visibilité par app + règles de blocage sortantes), mais Wiretap est multiplateforme, gratuit et open-source. Le blocage est orchestré via le pare-feu natif de l'OS (netsh / iptables / pf) — Wiretap ne filtre jamais en user-space.
  • vs GlassWire — Wiretap est gratuit, open-source (AGPL), sans compte et n'effectue aucun appel sortant sans opt-in ; même la géolocalisation est hors ligne.
  • vs Wireshark — Wiretap offre une vue d'ensemble en direct lisible par tous, plutôt qu'une dissection brute de paquets.
  • vs les moniteurs cloud — tout tourne sur 127.0.0.1 derrière un jeton ; vos données de trafic ne quittent jamais la machine.

Les signaux profonds — v1.9

Tout ce qu'un outil réseau classique peut voir, plus tout ce qu'il ne peut pas voir. Le cycle d'intrusion fermé de bout en bout :

Signal Ce que ça fait
Exfiltration corrélée à la présence 5 Mo vers un provider IA pendant que vous tapez, c'est vous avec votre IDE ; les mêmes 5 Mo pendant votre absence, c'est autre chose qui agit en votre nom. Temps d'inactivité clavier lu sans privilèges, flux sensibles notés — UNATTENDED_EXFIL. Personne d'autre ne croise les flux avec la présence humaine
Flow DNA Métabolisme réseau par processus — tailles de rafales, rythme, ratio sortant:entrant, entropie des destinations — appris silencieusement puis scoré. Une app compromise garde son nom mais change de métabolisme. Les alertes FLOW_DRIFT s'expliquent (« rythme effondré 4,2x, destinations tunnelisées »)
Verdicts par lignée navigateur -> sh -> curl -> evil.bin raconte l'histoire qu'un nom de processus cache — scoring d'ascendance avec phrases de preuve
Surveillance de persistance LaunchAgents, clés Run, systemd, cron — chaque mécanisme d'auto-démarrage empreinté et comparé toutes les 5 min. Survivre au reboot est ce dont le malware a le plus besoin ; PERSISTENCE_NEW/MOD/DEL
Rayon de blast Chaque alerte critique porte une évaluation d'impact calculée — destinations atteintes, exposition IA, secrets à portée, survie au reboot, fichiers ouverts. Le triage en une phrase au lieu d'une enquête
Diff temporel « Qu'est-ce qui a changé sur cette machine depuis mardi ? » — snapshots horaires, rétention 48 h, apparu/disparu/muté en millisecondes
Journal forensique inviolable Chaque alerte hash-chainée à la précédente — un attaquant qui efface des alertes casse la chaîne : la suppression elle-même devient la preuve. Vérification offline sur /forensic/verify
Corrélation kill-chain 3 familles de détecteurs distinctes sur la même entité en 15 min, ce n'est pas du bruit — c'est un incident unique, narré en timeline, qui peut déclencher le lockdown automatique
Gouvernance du trafic IA Comptage d'octets par (provider, processus) sur 21 providers IA, alertes shadow-AI au premier contact, détection d'export massif — métadonnées uniquement, jamais le contenu
Veille d'exfiltration de secrets DLP local — vos clés API récoltées depuis env/dotfiles (les valeurs ne quittent jamais la RAM), alertées quand elles traversent le réseau en clair ou partent vers un provider IA
Gouvernance MCP Audit de risque de chaque serveur MCP déclaré dans Cursor / Claude / Windsurf / Zed / VS Code / Devin — lanceurs download-and-run, accès filesystem non scopé : la nouvelle surface d'attaque des agents IA
Veille supply-chain POSTINSTALL_NET — un processus jamais vu qui se connecte dans les minutes suivant une installation, c'est la signature de la compromission supply-chain
Canaris + honeyports + réponse auto Fichiers pièges anti-ransomware, listeners passifs LAN sur telnet/SMB/RDP/VNC, lockdown ou suspension de processus opt-in sur alerte critique — une détection qui agit
Pare-feu DNS + profils réseau Proxy DNS filtrant avec upstream DoH chiffré et blocklists curées ; profils pare-feu commutés automatiquement par SSID/BSSID Wi-Fi
Requêtes en langage naturel /ask — « est-ce que quelque chose a parlé à la Russie cette semaine ? » répondu de façon déterministe depuis SQLite, jamais halluciné

Fonctionnalités

Fonctionnalité Description
Graphe de force Graphe de nœuds en direct — votre machine au centre, chaque connexion comme nœud
Carte du monde IPs géolocalisées avec arcs animés sur un globe interactif
Timeline 15/30/60 min Historique glissant stocké localement dans SQLite (rétention 24 h)
Détection d'anomalies Signale scans de ports, beaconing (C2 à intervalle régulier), exfiltration potentielle
Détection avancée Heuristique de tunnel DNS, repérage de trafic en clair, déviation de baseline pays par application
Inspection TLS passive Métadonnées du certificat feuille lues sur le réseau (émetteur, auto-signé, mismatch SAN/SNI) — TLS 1.3 honnêtement inobservable
Heuristique tunnel ICMP Échos ICMP au payload répété et volumineux signalés — signature d'exfiltration ptunnel/icmpsh
Score d'anomalie ML Forêt d'isolation pur Python sur vos propres flux (zéro dépendance) — flux aberrants signalés après ~400 échantillons
Veille d'entropie Payloads d'apparence chiffrée sur canaux en clair (indice de crypto couverte/stégo)
Ask-on-Connect Verdict NFQUEUE opt-in (Linux) — les nouveaux flux sont suspendus jusqu'à votre allow/deny, façon Little Snitch
Alertes actionnables Bloquer IP / Tuer / Suspendre en un clic sur chaque alerte ; les règles custom peuvent pare-feu automatiquement (champs asn/country inclus)
Syslog / SIEM Sortie RFC 3164 opt-in vers votre collecteur syslog/Wazuh, UDP ou TCP
Sync IOC entre pairs Échange de packs Merkle salés opt-in avec des pairs Wiretap explicitement appairés — engagements de hash uniquement, pas de serveur central
Forensique mémoire Vérification de process hollowing à la demande — pages exécutables en RAM comparées au disque (Linux)
Orchestration pare-feu Règles de blocage (IP/CIDR/domaine/processus/port) appliquées au pare-feu OS — netsh/iptables/pf, persistées, compteurs de blocages
Mode lockdown Bouton panique — signale & bloque tout le trafic sortant public, le LAN reste actif
Réponse à incident Tuer / suspendre un processus, bloquer une IP — en un clic depuis le détail d'une connexion
Threat intelligence Vérifs de réputation opt-in (AbuseIPDB / AlienVault OTX / VirusTotal) avec votre propre clé API — désactivé par défaut, résultats cachés
Audit de sécurité Rapport de durcissement intégré — score, constats, recommandations en langage clair
Export forensique Paquet d'investigation en un clic — arbre de processus + SHA-256 du binaire, historique & alertes associées
Webhook d'alertes Relais opt-in des alertes warning/critiques vers Discord, Slack, Telegram ou tout endpoint
Attribution processus Sachez quelle app génère quel trafic (top 5 par connexion)
Scanner LAN Découverte passive via la table ARP système (aucun scan broadcast)
Score de confidentialité Score en temps réel de l'exposition de votre trafic sortant
Vue par application Destinations, volumes et historique 60 min par processus
Suppression d'alertes Règles « ignorer hôte/type » persistées, gérables dans l'UI
Panneau Réglages Langue, rétention, filtres, téléchargement GeoIP sous consentement, diagnostic
Détection de trackers Listes de domaines par suffixe, livrées en fichiers de données éditables (backend/classifier/lists/)
Moniteur de débit Sparkline MB/s en direct
UI 8 langues EN · FR · ES · DE · RU · JA · PT-BR · ZH-CN — bascule en un clic, locales dans frontend/src/locales/
Thème clair / sombre Suit la préférence système par défaut, bascule manuelle persistée
Mise à jour auto L'app bureau vérifie les releases GitHub (désactivable dans Réglages ; WIRETAP_NO_UPDATE=1)
QUIC / HTTP/3 Flux UDP/443 étiquetés honnêtement — le SNI QUIC est chiffré, jamais lu
Watchlist Épinglez IP/domaines — alerte dédiée dès qu'un trafic les touche
Alerte pic d'envoi Plafond Mo/min par processus, seuil réglable
Sélecteur d'interface Choisissez la carte écoutée — plus besoin de variable d'env
Contexte Wi-Fi SSID courant affiché dans la barre d'outils
Export Graphe + alertes en JSON/CSV, en un clic

Téléchargement

Plateforme Paquet
macOS (Apple Silicon) brew install --cask aixisstudio/tap/wiretap — ou Wiretap.app zip/dmg depuis la dernière release
Linux Wiretap AppImage / .deb / .rpm / .snap depuis la dernière release — ou sudo docker compose up --build, voir Docker (Linux)
Headless (tout OS) brew install aixisstudio/tap/wiretap → binaire daemon wiretapd (serveurs/VM, sans GUI)
Windows Wiretap Setup .exe — installeur NSIS en un clic (app native, prompt UAC au lancement, détection Npcap intégrée) depuis la dernière release. Alternative lite : Wiretap-Lite-Setup (backend + UI navigateur). Nécessite Npcap

Ou récupérez la dernière release : github.com/aixisstudio/Wiretap/releases

Premier lancement macOS — Wiretap est signé ad-hoc, pas notarisé. Le brew install --cask retire la quarantaine pour vous. Pour le zip manuel : clic droit → Ouvrir, ou xattr -dr com.apple.quarantine /Applications/Wiretap.app. Premier lancement : mot de passe admin demandé une fois (la capture de paquets l'exige, comme tcpdump/Wireshark).

Stack technique

Couche Technologie
Capture de paquets ctypes → libpcap — Npcap (Windows) / libpcap (Linux/macOS) — parseur maison (IPv4/IPv6/TCP/UDP/DNS/SNI-TLS)
API backend FastAPI — WebSockets — SQLite
Frontend React 19 — Vite — D3.js v7 — TopoJSON
Conteneur bureau Electron 44
Géolocalisation Hors ligne uniquement — DB-IP Lite (CC BY 4.0) embarquée gzipée dans backend/data/geo/, décompressée au premier lancement ; MaxMind GeoLite2 .mmdb aussi pris en charge

Sécurité & confidentialité

  • Jeton API — chaque endpoint REST et le WebSocket exigent un jeton. Electron le génère à chaque lancement ; sous Docker/navigateur il est affiché une fois dans les logs du backend et stocké dans data/api_token.txt. Ouvrez l'UI via http://localhost:8000/?token= (ou saisissez-le à l'invite).
  • Loopback uniquement par défaut — l'API écoute sur 127.0.0.1 dans tous les modes. Ne mettez WIRETAP_BIND=0.0.0.0 que pour un accès LAN explicite (le jeton reste exigé).
  • Liste blanche CORS/Origin WebSocket — seuls localhost:5173, l'origine propre du backend et les pages file:// d'Electron peuvent se connecter.
  • Géolocalisation 100 % hors ligne — aucune recherche en ligne. DB-IP Lite (CC BY 4.0) est embarquée gzipée dans backend/data/geo/ et auto-extraite vers /geo/ au premier lancement — la géo fonctionne d'emblée, zéro appel réseau. Vous pouvez toujours déposer des GeoLite2-City.mmdb/GeoLite2-ASN.mmdb (MaxMind) plus récents dans /geo/, ou télécharger une DB-IP Lite fraîche depuis Réglages (consentement explicite ; les autres appels sortants opt-in — threat intel, webhooks, mises à jour — sont listés dans PRIVACY.md).
  • Toutes les données restent locales — wiretap.db (fenêtre glissante de 24 h, configurable via le réglage retention_hours) et data/logs/wiretap.log ne quittent jamais la machine. Pas de télémétrie. Chaque appel sortant est opt-in — téléchargement DB-IP Lite, vérifications threat-intel, webhooks et mises à jour sont chacun conditionnés à une action explicite ou un interrupteur (voir PRIVACY.md).
  • Réglages persistés — filtres de ports, processus exclus, whitelist IP, règles pare-feu, langue et rétention sont stockés dans SQLite et restaurés au redémarrage.
  • Règles pare-feu best-effort — le backend pilote le pare-feu OS (netsh advfirewall, iptables, ancres pf) ; sans privilèges, la règle est conservée et évaluée pour la visibilité (alertes BLOCKED_ATTEMPT) et marquée « non appliquée » au lieu de simuler. Le lockdown conserve loopback + LAN pour garder l'UI joignable.
  • Threat intel & webhooks opt-in — désactivés par défaut ; activer un fournisseur (AbuseIPDB/OTX/VirusTotal, votre propre clé) ou un webhook ajoute des appels sortants, documentés dans PRIVACY.md.
  • Suppression d'alertes — chaque alerte offre « Ignorer ce type/cet hôte » ; les règles sont persistées (alert_suppressions), appliquées avant émission, et gérables via POST /alerts/ignore, DELETE /alerts/ignore, GET /alerts/ignore.
  • Historique — les agrégats octets/paquets par minute, par hôte et par processus sont conservés dans SQLite (host_history, process_history) sur la fenêtre de rétention, et alimentent la vue par application ainsi que GET /history/host/{ip} et GET /history/process/{nom}.
  • Diagnostic — GET /diagnostics renvoie un instantané JSON du runtime (état de capture, géo, interface, versions, chemins) sans secrets ; le panneau Réglages peut l'exporter ou ouvrir le dossier des logs (Electron).
  • Appareils LAN découverts passivement via la table ARP système — aucun scan broadcast actif. Les noms sont appris de ce que les appareils diffusent eux-mêmes : mDNS *.local (Apple/Linux), LLMNR et noms NetBIOS (Windows), option hostname DHCP, plus la table de fabricants IEEE OUI complète hors ligne ; votre passerelle est détectée automatiquement comme routeur.
  • Voir docs/threat-model.md pour le modèle de menace complet et docs/FIREWALL.md pour la suite sécurité (orchestration pare-feu, lockdown, threat intel, webhooks, audit, forensique).
  • Vous comparez ? docs/COMPARISON.md détaille honnêtement Wiretap vs Little Snitch vs GlassWire vs Portmaster vs LuLu — y compris là où les autres gagnent.

Docker (Linux)

Le déploiement Docker est destiné aux utilisateurs Linux qui veulent lancer Wiretap sans rien installer d'autre que Docker. La capture fonctionne via network_mode: host — le conteneur voit le vrai trafic de l'hôte.

Remarque : Docker Desktop sur Mac/Windows tourne dans une VM et ne peut pas capturer le trafic de l'hôte. Utilisez l'application Electron sur ces plateformes.

git clone <url-de-votre-depot> wiretap
cd wiretap
mkdir -p data
sudo docker compose up --build

Récupérez le jeton API (affiché une fois au démarrage, ou cat data/api_token.txt), puis ouvrez http://localhost:8000/?token=JETON dans votre navigateur. En arrière-plan : sudo docker compose up -d --build

Limites Docker :

  • L'attribution de processus est limitée aux processus du conteneur
  • Le scanner LAN peut être indisponible selon la configuration réseau

Développement

Prérequis : Python 3.11+, Node.js 18+, Npcap (Windows), terminal administrateur pour le backend.

# Backend (terminal admin)
cd backend
pip install -r requirements.txt
python run_backend.py

# Frontend (autre terminal)
cd frontend
npm install
npm run dev

# Electron (optionnel) — le jeton est injecté automatiquement
cd electron
npm install
VITE_DEV=1 npx electron .

Tests :

cd backend && pip install -r requirements-dev.txt && python -m pytest tests/ -v
cd frontend && npm test

Structure du projet

wiretap/
├── backend/       Moteur de capture Python FastAPI + libpcap (ctypes, parseur maison)
├── frontend/      Interface React + D3.js (FR/EN)
├── electron/      Conteneur Electron (main, splash, preload)
├── data/          Données d'exécution (SQLite, bases .mmdb dans geo/)
└── dist/          Sortie compilée (exe backend, installateur)

Entreprise & flotte

Wiretap fonctionne aussi en agent headless pour déploiements SOC — tout est piloté par fichiers et gratuit :

  • Security-as-Code — un wiretap.toml (ou $WIRETAP_CONFIG) écrase chaque réglage au démarrage ; provisionnez toute une flotte via Ansible (deploy/ansible/), Puppet, Salt ou GPO.
  • Natif SIEM — syslog CEF ou RFC 3164, webhooks génériques et GET /forensics/export?format=ecs (NDJSON Elastic Common Schema) alimentent Wazuh, Splunk, Graylog, Loki et Elastic.
  • Import Sigma — POST /alerts/rules/sigma compile un sous-ensemble Sigma documenté en règles Wiretap (motifs skipped pour l'inmappable).
  • Vue de flotte — GET /remote/fleet fusionne l'audit de durcissement de chaque pair ; un chart Helm (deploy/helm/wiretap) fait tourner le collecteur en cluster.
  • Agent Rust — un daemon zéro-dépendance (agent/) envoie les sockets à POST /ingest/events avec attribution /proc→PID sous Linux ; POST /ingest/enroll émet des jetons sagt_… à usage unique (hashés, révocables via /ingest/revoke) — un agent compromis ne peut pas usurper ses pairs.
  • Headless — unité systemd durcie (deploy/systemd/), packaging .deb/.rpm via nfpm (packaging/), image Docker — sans GUI.
  • Flux TI gratuits — POST /firewall/blocklist importe les listes de domaines (StevenBlack) et d'IP (Blocklist.de, URLhaus/Feodo), localement ou via fetch opt-in explicite ; le réglage ti_feeds planifie les rafraîchissements automatiques avec rechargement pare-feu à chaud.

Recettes pas-à-pas dans docs/INTEGRATIONS.md.

Contribuer

Rapports de bugs et PR bienvenus — voir CONTRIBUTING.md. Toute la communauté vit sur GitHub : les issues pour les bugs, les Discussions pour les idées, questions et retours — indexé et recherchable, sans serveur de chat à modérer.

Traductions — l'UI est entièrement localisée en 8 langues et chaque chaîne vit dans un seul fichier par locale sous frontend/src/locales/ (en.js, fr.js, de.js, es.js, ru.js, ja.js, pt-BR.js, zh-CN.js). Ajouter le polonais, le coréen, l'italien ou toute autre langue est une PR d'un seul fichier, sans toucher au code : copier en.js, traduire les valeurs, puis enregistrer l'import, l'entrée LANGS et le nom d'affichage dans frontend/src/i18n.jsx. Les docs (PRIVACY, FIREWALL, CHANGELOG…) suivent le même schéma de fichier par langue.


License / Licence

AGPL v3 — see / voir LICENSE.

EN: Free to use, study, and modify. Derivative works must remain open source under AGPL v3. FR: Libre d'utilisation, d'étude et de modification. Les œuvres dérivées doivent rester open source sous AGPL v3.

EN: Wiretap is derived from PCYBOX Orbis by Ibrahima Khalilou Lahi Samb (AGPL-3.0). Modifications © 2026 Wiretap contributors. FR: Wiretap est dérivé de PCYBOX Orbis par Ibrahima Khalilou Lahi Samb (AGPL-3.0). Modifications © 2026 Wiretap contributors.

Star History / Historique des étoiles

Star History Chart

Frequently asked questions

Is Wiretap free to use?

Wiretap is open source under the AGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does Wiretap do?

The firewall that knows whether YOU were there when data left. Presence-correlated exfiltration detection, flow DNA, kill-chain correlation, tamper-evident fore

What is Wiretap written in?

Wiretap is primarily written in Python. Its source is publicly available at https://github.com/aixisstudio/Wiretap, and it has 877 GitHub stars.