ENGINEERING GUIDANCE / DETECTION ENGINEERING
Zeek connection and protocol log analysis
Editorial guidance based on the linked official references. Verification steps describe an authorized review or test; no execution or production result is claimed.
Foundation
Zeek produces structured network observations such as connection and protocol logs from traffic visible to its sensor; a log entry is not itself an alert or proof of compromise.
Architecture
Map observation points, mirrored traffic, capture loss, Zeek log streams, shipper, schema handling and retention. Note traffic excluded by routing, encryption or sensor placement.
Implementation
Begin with timestamp, connection identifier and endpoint tuple, then correlate relevant protocol logs where the identifier and timing support it. Preserve raw records and distinguish observations from analyst hypotheses.
Configuration
Document enabled scripts, log format, rotation, time synchronization, file permissions and version-specific fields. Avoid deploying unreviewed scripts directly to a production sensor.
Monitoring
Track sensor and capture health, log generation, rotation, delivery lag and parser errors; review unexpected changes in protocol visibility.
Troubleshooting
Check packet visibility and loss, protocol analyzer support, script configuration, timestamps and whether related records were actually generated before treating a missing log as absence of activity.
Verification
Replay a permitted representative capture with a known connection and compare source packet timing and endpoints to raw and ingested logs; include a case outside the sensor's visibility.
Limitations
Zeek version, scripts and network placement affect fields and coverage; encrypted payloads limit interpretation. No capture replay was performed for this guide.
Official sources
Apply the current publisher guidance and product-specific documentation to the actual environment.
