Back to library
Defensive Advanced Premium

Run a custom Zeek script against a capture.

Run a custom Zeek script against a capture.

Zeek / Network Monitoring

Log in to save

Premium content locked

You can preview the command metadata. Full explanation, examples, and lab-style details are available to premium subscribers.

View premium options

Command

zeek -Cr traffic.pcap scripts/detect-suspicious-dns.zeek

Syntax

zeek -Cr traffic.pcap scripts/detect-suspicious-dns.zeek

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

Run a custom Zeek script against a capture. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

linux zeek network-monitoring expanded-library

Related

Defensive Intermediate Free

Capture packets on eth0, rotating files, excluding SSH traffic

Capture packets on eth0, rotating files, excluding SSH traffic

tcpdump -i eth0 -w /tmp/capture.pcap -C 100 -W 10 port not 22
tcpdump packet-capture pcap network monitoring
Tcpdump / Network Monitoring Open
Defensive Advanced Premium

Process a packet capture with Zeek local policy.

Process a packet capture with Zeek local policy.

zeek -r sample.pcap local
zeek network-monitoring expanded-library
Zeek / Network Monitoring Open
Defensive Advanced Premium

Summarize network services from Zeek connection logs.

Summarize network services from Zeek connection logs.

zeek-cut id.orig_h id.resp_h service < conn.log | sort | uniq -c
zeek network-monitoring expanded-library
Zeek / Network Monitoring Open