Skip to main content

Generate JA3 fingerprints from PCAPs using Python.

Project description

https://readthedocs.org/projects/pyja3/badge/?version=latest https://badge.fury.io/py/pyja3.svg

JA3 provides fingerprinting services on SSL packets. This is a python wrapper around JA3 logic in order to produce valid JA3 fingerprints from an input PCAP file.

Getting Started

  1. Install the pyja3 module:

    pip install pyja3 or python setup.py install

  2. Test with a PCAP file or download a sample:

    $(venv) ja3 –json /your/file.pcap

Example

Output from sample PCAP:

[
    {
        "destination_ip": "192.168.1.3",
        "destination_port": 443,
        "ja3": "769,255-49162-49172-136-135-57-56-49167-49157-132-53-49159-49161-49169-49171-69-68-51-50-49164-49166-49154-49156-150-65-4-5-47-49160-49170-22-19-49165-49155-65279-10,0-10-11-35,23-24-25,0",
        "ja3_digest": "2aef69b4ba1938c3a400de4188743185",
        "source_ip": "192.168.1.4",
        "source_port": 2061,
        "timestamp": 1350802591.754299
    },
    {
        "destination_ip": "192.168.1.3",
        "destination_port": 443,
        "ja3": "769,255-49162-49172-136-135-57-56-49167-49157-132-53-49159-49161-49169-49171-69-68-51-50-49164-49166-49154-49156-150-65-4-5-47-49160-49170-22-19-49165-49155-65279-10,0-10-11-35,23-24-25,0",
        "ja3_digest": "2aef69b4ba1938c3a400de4188743185",
        "source_ip": "192.168.1.4",
        "source_port": 2068,
        "timestamp": 1350802597.517011
    }
]

Changelog

2018-02-05

  • Change: Ported single script to valid Python Package

  • Change: Re-factored code to be cleaner and PEP8 compliant

  • Change: Supported Python2 and Python3

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

pyja3-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

pyja3-1.0.0-py2-none-any.whl (7.0 kB view details)

Uploaded Python 2

File details

Details for the file pyja3-1.0.0.tar.gz.

File metadata

  • Download URL: pyja3-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyja3-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cd1782dc0f6be5f665c4a72b54d0ef8e9b8fd4c9ef301a783911df6f0f2be89f
MD5 595409525c3d9dcb5964a8fe060048d2
BLAKE2b-256 8cec19ccb4f363381fb162c9fd145a5648150554a24bbabecbadd4522d227264

See more details on using hashes here.

File details

Details for the file pyja3-1.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for pyja3-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6340ad453cbf8326cc07ce2f09acb5b1d76fa6d4494b5ec76ba2e465d05e8251
MD5 818f00e8f6d394bb9f62621329e78db1
BLAKE2b-256 ae5f043f39ea0e6ff12079f58ad6131d5ca1e2cf92eaee17a52da805d709e789

See more details on using hashes here.

Supported by

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