Skip to content

JA3-CAT: A toolset for categorizing TLS traffic based on JA3 pre-hash values

License

Notifications You must be signed in to change notification settings

ExtremeEmpress/ja3_cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JA3-CAT - Categorize TLS traffic based on JA3 pre-hash values

The intention of the tools in this repository is to demonstrate how two different ML methods (LDA and K-Means) can be used for categorizing JA3 pre-hash values. The JA3 algorithm is specified here: https://github.com/salesforce/ja3

Different TLS libraries will produce different JA3 values. One TLS library can produce several JA3 values, depending on various conditions. With the original JA3 fingerprint it is not possible to see that two values are close to each other. However, using the JA3 pre-hash string, which lists the different parameters used in the TLS Client Hello message, we are able to see that two different values have been generated by the same TLS library. We use two unsupervised classification algorithms to find clusters or topics in a set of different JA3 pre-hash values.

These scripts and the example data provided here are used in the article "Categorizing TLS traffic based on JA3 pre-hash values" by Jenny Heino, Antti Hakkala and Seppo Virtanen, presented at the 14th International Conference on Ambient Systems, Networks and Technologies (ANT), March 15 - 17, 2023, Leuven, Belgium, and published in Procedia Computer Science 220C (2023) pp. 94-101.

The repository structure is as follows:

data

This folder contains the example data used in the publication, and for creating the example models.

graphs

This folder will contain the graphs generated by scripts.

models

This folder contains the example models, and is the default location for new models when training them.

scripts

This folder contains the relevant scripts.

About

JA3-CAT: A toolset for categorizing TLS traffic based on JA3 pre-hash values

Resources

License

Stars

Watchers

Forks

Packages

No packages published