A Python package for extracting indicators of compromise (IOCs) from PCAP files.
Project description
Parse_pcap
Parse_pcap is a security tool designed to analyze packet capture files (pcap) for indicators of compromise (IOCs). It helps security professionals quickly identify suspicious activity within network traffic.
Features
- Analyze existing pcap files for IOCs
- Capture live network traffic for analysis
- Output results in JSON format
- Usable as both a command-line tool and a Python library
Installation
This is published on PyPi, so you can run the following to install:
pip install parse-pcap
Note: The package will be available on PyPI soon.
Usage
Command-Line Interface
Analyze an existing pcap file:
parse_pcap analyze -p /path/to/packet_capture.pcap -r /path/to/results.json
Capture live network traffic:
parse_pcap capture -o /path/to/capture.pcapng -i capture_interface -t 2
Visualize an existing report:
parse_pcap visualize --report_file /path/to/results.json
Python Library
You can also use Parse_pcap as a Python library:
from parse_pcap.utils import load_pcap, analyze
cap = load_pcap(in_file)
results = analyze(cap, out_file=out_file)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parse_pcap-0.2.0.tar.gz.
File metadata
- Download URL: parse_pcap-0.2.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
552116d7d64056491b35970195785dc6f88eb737a1e480a6c8a5504490efd891
|
|
| MD5 |
41ac45b0fa679ae4d5a2c23ae812bb46
|
|
| BLAKE2b-256 |
1d1093e9e0071e2b42149f26133038f04c9dd2e14aff5f30dc4f8fed97f6707b
|
Provenance
The following attestation bundles were made for parse_pcap-0.2.0.tar.gz:
Publisher:
python-publish.yml on josh-bone/Network-Threat-Detection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parse_pcap-0.2.0.tar.gz -
Subject digest:
552116d7d64056491b35970195785dc6f88eb737a1e480a6c8a5504490efd891 - Sigstore transparency entry: 567095955
- Sigstore integration time:
-
Permalink:
josh-bone/Network-Threat-Detection@5d1eb1439b1546235b97a9a1ea8894d2f971e9e0 -
Branch / Tag:
refs/tags/v0.2.0-alpha - Owner: https://github.com/josh-bone
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5d1eb1439b1546235b97a9a1ea8894d2f971e9e0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file parse_pcap-0.2.0-py3-none-any.whl.
File metadata
- Download URL: parse_pcap-0.2.0-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3768356210f15ef104b1a1e8f3924781a95d822e7f86ab26c8a87a4b2e9e79fd
|
|
| MD5 |
b4b46ea0f0a2da8fed10c04812762142
|
|
| BLAKE2b-256 |
356343df115f73a743fca7f8bcd5192e275436ebc81588fd0a4bbcfae1100275
|
Provenance
The following attestation bundles were made for parse_pcap-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on josh-bone/Network-Threat-Detection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parse_pcap-0.2.0-py3-none-any.whl -
Subject digest:
3768356210f15ef104b1a1e8f3924781a95d822e7f86ab26c8a87a4b2e9e79fd - Sigstore transparency entry: 567095962
- Sigstore integration time:
-
Permalink:
josh-bone/Network-Threat-Detection@5d1eb1439b1546235b97a9a1ea8894d2f971e9e0 -
Branch / Tag:
refs/tags/v0.2.0-alpha - Owner: https://github.com/josh-bone
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5d1eb1439b1546235b97a9a1ea8894d2f971e9e0 -
Trigger Event:
release
-
Statement type: