Skip to main content

AutoZeekWatch

AutoZeekWatch is a real-time, modular, configurable A.I. anomaly detector for Zeek logs. AutoZeekWatch enables you to generate anomaly scores for Zeek logs im real time, and correlate them with the initial 5-tuple and Zeek UID for downstream analysis, automated mitigation, and more.

Table of Contents

  • Features
  • Installation
  • Examples

Features

AutoZeekWatch functions in two distinct phases, training and inference. Under the hood, KitNET, a ensemble of autoencoders, is used to generate anomaly scores for individual logs in a unsupervised manner.

During training, the model must learn the normal distribution from provided data. The user is expected to provide a directory where historical, normal (not malicious) logs are stored. The model then learns this distribution.

During inference, the model provides a score of how anomalous a given log is to the distribution learned from training. This score along with the 5-tuple (Source IP, Destination IP, Source Port, Destination Port, Proto) is then dumped to a file which can be used for downstream tasks or alerting.

It is possible to specify different zeek log types to train on and perform inference on. Currently, the following are available:

  • Connection
  • HTTP
  • DNS
  • SSH
  • SSL

These can be used modularly, one, many, or all can be used at once.

Installation

...

Examples

Train a Model on Connection Data

python train.py --log-dir <PATH/TO/LOGS> --modules CONN

Start Inference on Incoming Connection Data

python infer.py --log-dir <PATH/TO/LOGS> --modules CONN

Metadata

Release files for AutoZeekWatch 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AutoZeekWatch 0.1.3
File Size Uploaded
autozeekwatch-0.1.3.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AutoZeekWatch 0.1.3
File Interpreter ABI Platform
AutoZeekWatch-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / autozeekwatch-0.1.3.tar.gz

Download URL autozeekwatch-0.1.3.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1981a426bc859fc26c9d16a95c988beb6c5b7adde977ae6b32ba6213f8fd6988
BLAKE2b-256 checksum
How to use checksums
9ce152b25f41d7dad1d5edebe06746f3195448c62d37d22ec4c63b6cd690cdce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / AutoZeekWatch-0.1.3-py3-none-any.whl

Download URL AutoZeekWatch-0.1.3-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edfb8cd8ccf0e38c2d13c74bd7b261d8186c550a4dbec8975ba9563a825c2594
BLAKE2b-256 checksum
How to use checksums
dc3ad88bc8b339974f36e5975a8be32c2691d2a9ec5e2621883aeb05d265ef3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page