Skip to main content

A Python package for extracting indicators of compromise (IOCs) from PCAP files.

Project description

IOC Detector

IOC Detector 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

Currently, IOC Detector is available on TestPyPI. To install, run:

pip install -i https://test.pypi.org/simple/ \
    --extra-index-url https://pypi.org/simple \
    parse_pcap==0.1.5

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 -o /path/to/results.json

Capture live network traffic:

parse_pcap capture -o /path/to/capture.pcapng -i capture_interface -t 2

Python Library

You can also use IOC Detector as a Python library:

from parse_pcap.utils import load_pcap, analyze

cap = load_pcap(in_file)
results = analyze(cap, out_file=out_file)

Refer to the documentation for more advanced usage and options.

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.1.5.tar.gz (21.2 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.1.5-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file parse_pcap-0.1.5.tar.gz.

File metadata

  • Download URL: parse_pcap-0.1.5.tar.gz
  • Upload date:
  • Size: 21.2 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.1.5.tar.gz
Algorithm Hash digest
SHA256 ca9de9b42d0d63c4d658d825572bd6435ceafb33539910339ba8457a643d3224
MD5 1c5422b33f0b9196bf02c578c3d6f8e7
BLAKE2b-256 51324d9108b1fd9b7732304f3a6d5c9b0f76f43ba413b8592a05b08cce96e142

See more details on using hashes here.

Provenance

The following attestation bundles were made for parse_pcap-0.1.5.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.1.5-py3-none-any.whl.

File metadata

  • Download URL: parse_pcap-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 19.8 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4b1a435cd5f0ce24e139065218272246b14cdce7ee2edb49ac06e050a61be1
MD5 cc0772cbd8867db73a6dcbfc418b9705
BLAKE2b-256 71019a543a02d573c4efccffeae6c071b6edd6ad08d052e282d61ac794a165d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for parse_pcap-0.1.5-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