home/toolvault/traffic analysis/zeek-bro

Zeek (Bro) //

Traffic AnalysisNSM

Zeek turns raw packets into tidy, queryable logs โ€” conn.log, dns.log, http.log. It's the difference between drowning in packets and answering questions with grep.

difficulty ยท intermediate
30 min
time to first win
5
guided steps
0
students started here*

HOW TO USE ZEEK

Follow the steps โ€” click any step card to replay the terminal demo from that point. Everything runs in a lab you control.

zeek-bro โ€” guided lab session
static view
step 01

Replay a pcap through it

zeek -r sample.pcap

Instant protocol-structured telemetry from any capture.

step 02

Who talked to whom

cat conn.log | zeek-cut id.orig_h id.resp_h ts duration

zeek-cut extracts columns โ€” your jq-for-logs.

step 03

Hunt DNS tunnels

cat dns.log | sort by qname length

Patterns pop fast in structured logs.

step 04

Which certs passed through

cat ssl.log โ†’ issuers/ja3

Encrypted โ‰  invisible: metadata fingerprints sessions.

step 05

Script your own logic

write .zeek: on dns_request โ†’ log weirdness

Zeek's event-driven scripting = programmable NSM.

THE WORKFLOW AT A GLANCE

๐Ÿฆ“
Zeek
pcap in
๐Ÿ“š
Logs
conn/dns/โ€ฆ
โœ‚๏ธ
zeek-cut
columns
๐Ÿ•ต๏ธ
Hunt
patterns
๐Ÿ“
Script
custom logic
LEARNING CURVE
intermediate โ€” 30 min to first win

FLAGS & SUPER-MOVES

-r pcapoffline analyze
zeek-cutcolumn extractor
conn/dns/httpcore logs
notice.logzeek's alerts
local.zeekyour scripts

PRO TIPS

01

Logs from Zeek feed Splunk/Elastic beautifully โ€” pipeline practice.

Logs from Zeek feed Splunk/Elastic beautifully โ€” pipeline practice.

02

PCAPs from CyberDefenders are perfect zeek-gym material.

PCAPs from CyberDefenders are perfect zeek-gym material.

03

Critical Stack/BZAR packages add ATT&CK-flavored detections free.

Critical Stack/BZAR packages add ATT&CK-flavored detections free.

04

Terminology note

Terminology note: Zeek WAS Bro โ€” old tutorials use the old name.

โš–๏ธ

Golden rule

Use Zeek (Bro) only on systems you own or have written permission to test. Your lab: Kali + Metasploitable2, DVWA, TryHackMe & HackTheBox โ€” plenty of legal targets, zero risk.

KEEP DIGGING

CYBER//ZERO ToolVault
Animated deep-dives on every tool in the guide.
โœ๏ธ Author LDM ยท ldmhub4u@gmail.com
full guide v1 ยท v2 immersive ยท latest news
Made for learners, everywhere ยท 2026
*plausibly. verify commands with official docs.