All Projects → brimdata → brimcap

brimdata / brimcap

Licence: BSD-3-Clause License
Convert pcap files into richly-typed ZNG summary logs (Zeek, Suricata, and more)

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to brimcap

zeek-docs
Documentation for Zeek
Stars: ✭ 41 (+86.36%)
Mutual labels:  pcap, zeek
Zeek-Network-Security-Monitor
A Zeek Network Security Monitor tutorial that will cover the basics of creating a Zeek instance on your network in addition to all of the necessary hardware and setup and finally provide some examples of how you can use the power of Zeek to have absolute control over your network.
Stars: ✭ 38 (+72.73%)
Mutual labels:  pcap, zeek
pcapdj
pcapdj - dispatch pcap files
Stars: ✭ 41 (+86.36%)
Mutual labels:  pcap, suricata
Zeek
Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.
Stars: ✭ 4,180 (+18900%)
Mutual labels:  pcap, zeek
S1EM
This project is a SIEM with SIRP and Threat Intel, all in one.
Stars: ✭ 270 (+1127.27%)
Mutual labels:  suricata, zeek
Werk
High-throughput / low-latency C++ application framework
Stars: ✭ 30 (+36.36%)
Mutual labels:  pcap
graylog-zeek-content-pack
BRO/Zeek IDS content pack contains pipeline rules, a stream, a dashboard displaying interesting activity, and a syslog tcp input to capture and index BRO/Zeek logs coming from a remote sensor.
Stars: ✭ 18 (-18.18%)
Mutual labels:  zeek
network-tools
Network Tools
Stars: ✭ 27 (+22.73%)
Mutual labels:  pcap
balboa
server for indexing and querying passive DNS observations
Stars: ✭ 42 (+90.91%)
Mutual labels:  suricata
vagrant-ids
An Ubuntu 16.04 build containing Suricata, PulledPork, Bro, and Splunk
Stars: ✭ 21 (-4.55%)
Mutual labels:  suricata
docker-zeek
Zeek IDS Dockerfile
Stars: ✭ 82 (+272.73%)
Mutual labels:  zeek
packiffer
lightweight cross-platform networking toolkit
Stars: ✭ 52 (+136.36%)
Mutual labels:  pcap
packet cafe
A platform built for easy-to-use automated network traffic analysis
Stars: ✭ 40 (+81.82%)
Mutual labels:  pcap
altprobe
collector for XDR and security posture service
Stars: ✭ 62 (+181.82%)
Mutual labels:  suricata
S2AN
S2AN - Mapper of Sigma/Suricata Rules/Signatures ➡️ MITRE ATT&CK Navigator
Stars: ✭ 70 (+218.18%)
Mutual labels:  suricata
zeek2es
A Python application to filter and transfer Zeek logs to Elastic/OpenSearch. This app can also output pure JSON logs to stdout for further processing!
Stars: ✭ 16 (-27.27%)
Mutual labels:  zeek
pcap-file
Crate to read and write pcap and pcapng files in RUST.
Stars: ✭ 25 (+13.64%)
Mutual labels:  pcap
sip3-captain-ce
SIP3 Captain (Community Edition)
Stars: ✭ 73 (+231.82%)
Mutual labels:  pcap
go-netflow
go netflow, capture process in/out traffic, similar to c Nethogs.
Stars: ✭ 145 (+559.09%)
Mutual labels:  pcap
flow-indexer
Flow-Indexer indexes flows found in chunked log files from bro,nfdump,syslog, or pcap files
Stars: ✭ 43 (+95.45%)
Mutual labels:  pcap

brimcap CI

Image of brimcap analyze

A command line utility for converting pcaps into the flexible, searchable Zed data formats as seen in the Brim desktop app and the zq command line utility.

Quickstart

  1. Install brimcap

  2. Have a pcap handy (or download a sample pcap)

  3. Run brimcap analyze

    brimcap analyze sample.pcap > sample.zng
    
  4. Explore with zq

    zq -z 'zeek:=count(has(_path)), alerts:=count(has(event_type=="alert"))' sample.zng
    

Usage with Brim desktop app

brimcap is bundled with the Brim desktop app. Whenever a pcap is imported into Brim, the app takes the following steps:

  1. brimcap analyze is invoked to generate logs from the pcap.

  2. The logs are imported into a newly-created Pool in the Zed Lake behind Brim, similar to how zed create and zed load are used.

  3. brimcap index is invoked to populate a local pcap index that allows for quick extraction of flows via Brim's Packets button, which the app performs by invoking brimcap search.

If Brim is running, you can perform these same operations from your shell, which may prove useful for automation or batch import of many pcaps to the same Pool. The Custom Brimcap Config article shows example command lines along with other advanced configuration options. When used with Brim, you should typically use the brimcap binary found in Brim's zdeps directory (as described in the article), since this version should be API-compatible with that version of Brim and its Zed backend.

Standalone Install

If you're working with brimcap separate from the Brim app, prebuilt packages can be found in the releases section of the brimcap GitHub repo.

Unzip the artifact and add the brimcap directory to your $PATH environment variable.

export PATH="$PATH:/Path/To/brimcap"

Included Analyzers

brimcap includes special builds of Zeek and Suricata that were created by the core development team at Brim Data. These builds are preconfigured to provide a good experience out-of-the-box for generating logs from pcaps using brimcap. If you wish to use your own customized Zeek/Suricata or introduce other pcap analysis tools, this is described in the Custom Brimcap Config article.

Build From Source

To build from source, Go version 1.16 or later is required.

To build the brimcap package, clone this repo and run make build:

git clone https://github.com/brimdata/brimcap
cd brimcap
make build

make build will download the prebuilt/preconfigured Zeek and Suricata artifacts, compile the brimcap binary and package them into build/dist.

The executables will be located here:

./build/dist/brimcap
./build/dist/zeek/zeekrunner
./build/dist/suricata/suricatarunner

Having a problem?

Please browse the wiki to review common problems and helpful tips before opening an issue.

Join the Community

Join our Public Slack workspace for announcements, Q&A, and to trade tips!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].