Questions tagged [bro]

Bro is the former name of Zeek. Zeek is a network analysis framework - implemented as a domain specific programming language to enable users to create powerful network security monitoring (NSM) capabilities while also providing a comprehensive platform for general network traffic analysis.

From the Zeek website:

Adaptable

Zeek's domain-specific scripting language enables site-specific monitoring policies.

Efficient

Zeek targets high-performance networks and is used operationally at a variety of large sites.

Flexible

Zeek is not restricted to any particular detection approach and does not rely on traditional signatures.

Forensics

Zeek comprehensively logs what it sees and provides a high-level archive of a network's activity.

In-depth Analysis

Zeek comes with analyzers for many protocols, enabling high-level semantic analysis at the application layer.

Highly Stateful

Zeek keeps extensive application-layer state about the network it monitors.

Open Interfaces

Zeek interfaces with other applications for real-time exchange of information.

Open Source

Zeek comes with a BSD license, allowing for free use with virtually no restrictions.

References:

69 questions
1
vote
1 answer

Bro - broctl status Peers 0 (?)

Can someone help me to understand the meaning of Peers (0) under broctl status? root@raspberrypi:~# broctl status Getting process status ... Getting peer status ... Name Type Host Status Pid Peers Started bro …
user5418726
1
vote
1 answer

Bro - write two filters for database

I'm trying to push my bro data to a database. The example with the conn table works. Now I want to add the http log as well. I've created a new filter in the misc folder, added it to my bro-default and restarted my bro but it doesn't add the new…
Gert Kommer
  • 1,163
  • 2
  • 22
  • 49
0
votes
1 answer

Zeek is not storing files, even after script was loaded. What am I missing?

I'm trying to configure Zeek in order to store files (every file) on disc, but without any success. OS I'm using: Debian 10. What I did so far: I've installed this module: https://github.com/hosom/file-extraction (even after following this site…
Paulo
  • 1,458
  • 2
  • 12
  • 26
0
votes
1 answer

Zeek/Bro IDS - Sumstats - qty similarly sized TCP segments?

I'm trying to write my first script in Zeek which would allow to make statistics out of TLS packet segments sent and received by client in local network (quantity of packets with same size, list of dest ip by packets sent). Unfortunately, I'm unable…
Vitalijus
  • 1
  • 1
0
votes
1 answer

How to set mmdb_dir in Zeek/Bro

I try to use GeoIp functionality in Bro/Zeek. From the official Zeek Documentation: If you see an error message similar to “Failed to open GeoIP location database”, then you may need to either rename or move your GeoIP location database file. If…
smilee89
  • 533
  • 5
  • 9
0
votes
2 answers

Zeek cluster fails with pcap_error: socket: Operation not permitted (pcap_activate)

I'm trying to setting up a Zeek IDS cluster (v.3.2.0-dev.271) on 3 Ubuntu 18.04 LTS hosts to no avail - running zeek deploy command fails with the following output: fatal error: problem with interface ens3 (pcap_error: socket: Operation not…
piscesgeek
  • 200
  • 1
  • 6
0
votes
1 answer

How to configure bro to ignore traffic from certain subnets?

Situation: I have set up a Zeek/Bro IDS and have it listen on one interface (with iptables forwarding traffic. client1 === iptables === client2 || zeek_ids Problem: Zeek is getting triggered by 127.0.0.1/8 traffic and I…
Timothy Wong
  • 689
  • 3
  • 9
  • 28
0
votes
1 answer

Zeek Scripting "Error field missing value"

I'm trying to write a Zeek script to divide the dns traffic into two log files (query and reply) The error is "Field missing value" for the code $TTL=c$dns$TTLs in dns_query_reply event. I don't understand the reason for this error since the dns.log…
Flank
  • 53
  • 7
0
votes
0 answers

Zeek missing loaded_scripts.log file

I am using Zeek standalone for the learning purpose and I am facing the following issues in the log file: I am missing the "loaded_scripts.log" file from the current folder. I have followed the installation guide from the rapid7 and Zeek manual so I…
Rut
  • 1
  • 2
0
votes
1 answer

Zeek (Bro) rename log according to input file

I'm running zeek/bro on individual pcap files with the command line parameter -r inputfile.pcap. How can I access the file name of this input file in a bro script? I would like to rename the conn.log to inputfile_conn.log.
0
votes
1 answer

Bro script for reading a list of Ips and domains

I am trying to read a file with a list of IP addresses and another one with domains, as a proof of concept of the Input Framework defined in https://docs.zeek.org/en/stable/frameworks/input.html I´ve prepared the following bro…
0
votes
1 answer

Where are built in scripts for identifying popular web applications?

I am investigating bro as a DPI solution to identify popular web applications (something like nDPI). I can identify that conn.log is analogous to netflow. In the official documentation, it has been said that In addition to the logs, Bro comes…
Sachin Giri
  • 189
  • 11
0
votes
1 answer

Security Onion (Ubuntu 16.04) syslog-ng to multiple sources

I'm setting up Security Onion to play with Bro, but I want to send the logs to an additional SIEM in addition to ELK (which is installed on Security Onion by default). The wiki sends you here, which redirects you here. That page just says that if I…
0
votes
1 answer

Grok filter isn't matching to the bro httplog data

I am trying to use ELK to visualize the BRO log data. I found multiple grok filters online and it keeps failing to match the pattern to the data. One of the filters I tried using is: grok { match => [ "message",…
jpsil
  • 3
  • 1
0
votes
0 answers

BRO doesn't log ssh when user is found by PAM

Hydra's output using hydra -L ~/Documents/wordlists/Aliases.txt -P ~/Documents/wordlists/shortlist.txt -M servers.txt ssh -t 4 -V sharp67 is a user in PAM and aaron1 is not. [ATTEMPT] target 172.xx.x.12 - login "sharp67" - pass "aaaaaaaz" - 26 of…