Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parse_pcap-0.2.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parse_pcap-0.2.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

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

Hashes for parse_pcap-0.2.0.tar.gz
Algorithm Hash digest
SHA256 552116d7d64056491b35970195785dc6f88eb737a1e480a6c8a5504490efd891
MD5 41ac45b0fa679ae4d5a2c23ae812bb46
BLAKE2b-256 1d1093e9e0071e2b42149f26133038f04c9dd2e14aff5f30dc4f8fed97f6707b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for parse_pcap-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3768356210f15ef104b1a1e8f3924781a95d822e7f86ab26c8a87a4b2e9e79fd
MD5 b4b46ea0f0a2da8fed10c04812762142
BLAKE2b-256 356343df115f73a743fca7f8bcd5192e275436ebc81588fd0a4bbcfae1100275

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page