A passive, open-source network traffic analyzer
open sourceBSD-3-Clauseself-hostablefree
Zeek is a passive network traffic analyzer used mainly for network security monitoring: from a sensor it writes a record of every connection plus application-layer detail (HTTP sessions, DNS requests and replies, TLS certificates, SMTP) as tab-separated or JSON logs, more than 70 log files by default. Every analysis, logging included, is a script in its own Turing-complete scripting language, so beyond signatures it does behavioural and anomaly detection, file extraction, threat intelligence matching and SSH brute-force detection, and a cluster spreads monitoring of 10 to 100 Gbps links over commodity servers. It doesn't block traffic itself and doesn't store full packet captures. Vern Paxson started it as Bro at Lawrence Berkeley National Laboratory in 1995; it was renamed Zeek in 2018, is BSD licensed, and Corelight is the project's custodian.
Ways to install
Package managers
Problems it solves
- keep a record of every connection on our network so we can investigate incidents afterwards
- log every DNS query, HTTP request and TLS certificate seen on our network into our SIEM
- write custom network detection logic in a scripting language instead of byte-matching IDS signatures
- spot behaviour and anomalies in network traffic that signature rules miss
- detect SSH brute-force attempts against our hosts by watching network traffic passively
- extract files transferred over the network and check them against malware registries
- find hosts running vulnerable software versions from what they say on the wire
- match our network traffic against threat intelligence indicators
- monitor a 100 Gbps link by spreading traffic analysis across a cluster of commodity servers
- keep compact, structured network logs instead of storing full packet captures
- network security monitoring for a university or research lab network
- have our network monitor tell a firewall or switch to block a host when it sees an attack
- add community-written analysis packages to our network monitor with a package manager
- turn raw traffic from a SPAN port or network tap into JSON logs we can query
- an open source alternative to commercial network detection and response sensors
Features
- connection logs for every flow plus application-layer logs for HTTP, DNS, SSL/TLS, SSH, SMTP and many more protocols
- logs as tab-separated or JSON files, or sent to databases and SIEMs; more than 70 log files by default
- domain-specific, Turing-complete scripting language; all default analyses are scripts
- file extraction and malware hash lookups against external registries
- SSH brute-force detection, vulnerable software version detection and SSL certificate chain validation
- frameworks for intelligence, notices, input, configuration, summary statistics, signatures, storage, telemetry and TLS decryption
- NetControl framework to act on switches and firewalls from scripts
- Zeek clusters: a front-end load balancer, back-end workers and a central manager, run with ZeekControl or the Supervisor
- Broker communication framework between Zeek instances
- more than 280 community packages and the zkg package manager
View 2 more
- official Docker images (Debian-based, with zeek, zkg and the Spicy toolchain) on Docker Hub and Amazon ECR Public
- binary packages for Linux distributions via the openSUSE Build Service; LTS release lines
Limitations
- Doesn't block or drop network traffic inline: Zeek is a passive analyzer, and its docs point to Snort or Suricata in IPS mode for in-path prevention2
- Doesn't store full packet captures at scale: Zeek writes compact logs instead of PCAP, and isn't a frame-level protocol analyzer like Wireshark2
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Zeek does.
