mirror of https://github.com/vee1e/PcapMonkey - PcapMonkey will provide an easy way to analyze pcap using th
Find a file
2026-03-25 12:05:50 +01:00
.github/workflows Modified Workflow, and prepare.sh 2021-08-06 19:03:35 +05:30
config Added packages.txt 2021-08-10 16:54:28 +05:30
images Merge branch 'master' of github.com:certego/snowcrash 2021-03-30 08:53:56 +02:00
import_event_logs Upgraded ELK to 7.13.2 and Configured the Filebeat Suricata module 2021-06-24 14:38:06 +05:30
logs Upgraded ELK to 7.13.2 and Configured the Filebeat Suricata module 2021-06-24 14:38:06 +05:30
pcap Removed useless gitkeep files, updated evtxtoelk to version 1.1.0 2021-06-22 09:28:10 +02:00
test Modified workflow, and test scripts 2021-08-06 16:09:25 +05:30
clean_logs.sh Initial commit 2020-12-28 11:23:21 +01:00
CONTRIBUTING.md Adding CONTRIBUTING.md and CLA (#39) 2026-03-25 12:05:50 +01:00
docker-compose-live.yaml Updated README and minor changes 2021-08-16 17:59:37 +05:30
docker-compose.yaml Updated README and minor changes 2021-08-16 17:59:37 +05:30
filebeat.ndjson Added winevent searches and removed kibana.ndjson 2021-07-13 17:55:38 +05:30
import_event_logs.sh Initial commit 2020-12-28 11:23:21 +01:00
LICENSE.txt Added License.txt 2021-02-22 09:38:13 +01:00
pcapmonkey.yml Change Sigma rules template 2020-12-29 08:51:27 +01:00
prepare.sh Modified prepare.sh 2021-08-06 19:05:45 +05:30
README.md Updated README and minor changes 2021-08-16 17:59:37 +05:30

PcapMonkey

Pcapmonkey is a project that will provide an easy way to analyze pcap using the latest version of Suricata and Zeek. It can also save Suricata and Zeek logs in Elasticsearch using the new Elasticsearch Common Schema or the original field names.

Pcapmonkey uses the default docker container for most images and aims to be easy and straightforward to use.

Video tutorial: Startup, Pcap Analysis

PcapMonkey is participating in GSoC 2021 thanks to Honeynet project!

The Honeynet Project

Honeynet.org logo

Google Summer Of Code

Since its birth, this project has been participating in the GSoC under the Honeynet Project!

Stay tuned for the upcoming GSoC! Join the Honeynet Slack chat for more info.

Install & uninstall

Install Docker-CE and docker-compose:

Then just clone this repo to your local machine, and you're ready to go. All the commands listed in this tutorial should be launched from whithin the root folder of this project.

Uninstall

To uninstall and remove all files, delete all containers with

sudo docker-compose down -v

Then you can safely delete this repository.

Basic Usage

To analyze a Packet Capture file, put it to the ./pcap/ and run:

sudo docker-compose up -d elasticsearch filebeat kibana

Then download the Open-ET Rules for suricata.

sudo docker-compose run --entrypoint='suricata-update -f' suricata

Finally, start the Suricata and Zeek containers to analyze the pcap.

sudo docker-compose up suricata zeek

Analyzing Windows Event Logs

Put the .evtx file to be analyzed to import_event_logs/ and start evtxtoelk.

sudo docker-compose up evtxtoelk

Check this wiki for detailed instructions.

Live Traffic Analysis

PcapMonkey now supports live traffic analysis! Check wiki for instructions.

Advanced Usage

Lightweight usage: ditching elasticsearch (the hacker way)

If you prefer using the command line, you can find suricata and zeek logs in the ./logs directory.

If you don't want to waste time starting filebeat/elasticsearch/kibana go to ./zeek/site/local.zeek and comment out the first line (@load policy/tuning/json-logs.zeek). Then start analyzing a new pcap and enjoy plaintext, tab-separated zeek logs. awk all the way, baby!

Even if you'd like to use directly the log file I suggest keeping them in .json format and use jq utility to query them. You can read a pretty good jq primer here

PcapMonkey Architecture

Architecture

For more information, check PcapMonkey wiki: https://github.com/certego/PcapMonkey/wiki