Coder Social home page Coder Social logo

5l1v3r1 / zeek-aux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeek/zeek-aux

0.0 1.0 0.0 1.45 MB

Zeek Auxiliary Programs

Home Page: https://www.zeek.org

License: Other

CMake 5.11% Makefile 3.08% C 46.16% Shell 36.63% Ruby 2.53% C++ 0.92% Roff 2.41% Perl 1.85% Zeek 1.31%

zeek-aux's Introduction

Zeek Auxiliary Programs

Version:0.44-4

Handy auxiliary programs related to the use of the Zeek Network Security Monitor (https://www.zeek.org).

Installation

Installation is simple and standard:

./configure
make
make install

adtrace

The "adtrace" utility is used to compute the network address that compose the internal and extern nets that Zeek is monitoring. This program just reads a pcap (tcpdump) file and writes out the src MAC, dst MAC, src IP, dst IP for each packet seen in the file.

zeek-cut

The "zeek-cut" utility reads ASCII Zeek logs on standard input and outputs them to standard output with only the specified columns (the column names can be found in each log file in the "#fields" header line). If no column names are specified, then "zeek-cut" simply outputs all columns.

There are several command-line options available to modify the output (run "zeek-cut -h" to see a list of all options). There are options to convert timestamps into human-readable format, and options to specify whether or not to include the format header lines in the output (by default, they're not included).

For example, the following command will output the three specified columns from conn.log with the timestamps from the "ts" column being converted to human-readable format:

cat conn.log | zeek-cut -d ts id.orig_h id.orig_p

The specified order of the column names determines the output order of the columns (i.e., "zeek-cut" can reorder the columns).

The "zeek-cut" utility can read the concatenation of one or more uncompressed ASCII log files (however, JSON format is not supported) produced by Zeek version 2.0 or newer, as long as each log file contains format header lines (these are the lines at the beginning of the file starting with "#"). In fact, "zeek-cut" can process the concatenation of multiple ASCII log files that have different column layouts.

To read a compressed log file, a tool such as "zcat" must be used to uncompress the file. For example, "zeek-cut" can read a group of compressed conn.log files with a command like this:

zcat conn.*.log.gz | zeek-cut

devel-tools

A set of scripts used commonly for Zeek development. Note that none of these scripts are installed by 'make install'.

extract-conn-by-uid
Extracts a connection from a trace file based on its UID found in Zeek's conn.log
gen-mozilla-ca-list.rb
Generates list of Mozilla SSL root certificates in a format readable by Zeek.
update-changes
A script to maintain the CHANGES and VERSION files.
git-show-fastpath
Show commits to the fastpath branch not yet merged into master.
cpu-bench-with-trace
Run a number of Zeek benchmarks on a trace file.

rst

The "rst" utility can be invoked by a Zeek script to terminate an established TCP connection by forging RST tear-down packets.

zeek-aux's People

Contributors

0xxon avatar dnthayer avatar dopheide-esnet avatar j-gras avatar jonzeolla avatar jsiwek avatar justinazoff avatar lilyinstarlight avatar neverlord avatar rsmmr avatar timwoj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.