跳至正文

Zeek (Bro) Network Monitor Integration

Overview

Zeek (formerly Bro) is a powerful network analysis framework that generates detailed logs of network activity. KYRA MDR collects Zeek logs for comprehensive network visibility and threat hunting. Supports Zeek 5.x and 6.x.

Prerequisites

  • A KYRA MDR Collector installed and running
  • Zeek installed and configured on a network tap or span port
  • Network connectivity from the Zeek sensor to the collector
  • Sufficient storage for Zeek log output

Configuration

Configure Zeek to forward logs to KYRA MDR:

  1. Configure JSON logging in local.zeek:
@load policy/tuning/json-logs.zeek
redef LogAscii::use_json = T;
  1. Use Filebeat to forward Zeek logs:
filebeat.yml
filebeat.inputs:
- type: log
paths:
- /opt/zeek/logs/current/*.log
json.keys_under_root: true
output.logstash:
hosts: ["<collector-ip>:5044"]
  1. Restart Zeek and the log shipper:
Terminal window
zeekctl deploy
sudo systemctl restart filebeat

Collected Log Types

Log TypeDescriptionSecurity Use
conn.logTCP/UDP/ICMP connection recordsNetwork baseline, anomaly detection
dns.logDNS queries and responsesDNS tunneling, C2 detection
http.logHTTP requests and responsesWeb attack detection
ssl.logTLS/SSL handshake dataCertificate monitoring
files.logFile transfer metadataMalware transfer detection
notice.logZeek-generated notices and alertsAnomaly detection

Troubleshooting

No Zeek logs: Verify Zeek is capturing traffic with zeekctl status.

JSON format not working: Ensure @load policy/tuning/json-logs.zeek is included in local.zeek.

Missing protocol logs: Zeek only generates logs for observed traffic. Verify the network tap is configured correctly.

Contact kyra@seekerslab.com for support.