Extracts JA3 fingerprints from a PCAP and adds them to an event in MISP as objects
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Extracts JA3 fingerprints from a PCAP and adds them to an event in MISP as objects

Read more on eCrimeLabs Blog post: https://www.ecrimelabs.com/blog/2018/12/30/ja3-to-misp-tool-released

This is a further development of https://github.com/salesforce/ja3/tree/master/python "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."

However on top is added the integration into MISP for automatically creating the JA3 objects either to a new event or to an existing based on UUID.

When an PCAP file is parsed and the JA3 signatures are imported, ensure to add the description text for what type of signature it is related to.

Each Signature is created as a MISP object with the following Information:

  • Ja3-fingerprint-md5
  • IP source
  • IP destination
  • First-Seen

Remember to create the file "keys.py":

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

misp_url = 'https://misp_instance'
misp_key = 'auth_key_value'
misp_verifycert = True
proxies = {

Sample Usage:

~# python3 ja3toMISP.py -h

JA3 fingerprint to MISP Objects
(c)2018 eCrimeLabs

usage: ja3toMISP.py [-h] -f FILE [-a] [-j] [-c CREATE] [-u UUID] [-i]

Extracting JA3 fingerprints from PCAP files, and importing into MISP as

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  The pcap file to process
  -a, --any_port        Look for client hellos on any port instead of just 443
  -j, --json            Print out as JSON records for downstream parsing or
                        for debug reasons
  -c CREATE, --create CREATE
                        Create a new MISP event with the specified name
  -u UUID, --uuid UUID  Add to an allready existing event (input has to be
  -i, --ids             Adds the to_ids to the source and destination IP's
  -s, --sightings       Adds sighting to the JA3-fingerprint-md5