Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Results Between Binary JA4 and Python JA4 #185

Open
cpmta opened this issue Nov 10, 2024 · 2 comments
Open

Inconsistent Results Between Binary JA4 and Python JA4 #185

cpmta opened this issue Nov 10, 2024 · 2 comments
Assignees

Comments

@cpmta
Copy link

cpmta commented Nov 10, 2024

Here are the results of the same pcap once executed with the latest ja4.py and then again with the latest ja4 on linux
Python only displays the JA4H

VMware-Virtual-Platform:~/tmp/ja4/python$ ~/ja4/ja4 test.pcap
- stream: 0
  transport: tcp
  src: <--redacted-->
  dst: <--redacted-->
  src_port: 1040
  dst_port: 80
  tls_server_name: secure.logmeinrescue.com
  ja4: t12d830700_4cb4e1c7a84f_4446390ac224
  ja4s: t120300_c030_bec8bdbaef8a
  tls_certs:
  - x509:
    - ja4x: 2958ffa05805_2166164053c1_000000000000
      issuerCountryName:<--redacted-->
      issuerStateOrProvinceName:<--redacted-->
      issuerOrganizationName:<--redacted-->
      issuerOrganizationalUnit:<--redacted-->
      issuerCommonName:<--redacted-->
      subjectCountryName:<--redacted-->
      subjectStateOrProvinceName:<--redacted-->
      subjectLocalityName:<--redacted-->
      subjectOrganizationName:<--redacted-->
      subjectOrganizationalUnit:<--redacted-->
      subjectCommonName:<--redacted-->
  ja4l_c: 112_128
  ja4l_s: 104_64
  http:
  - ja4h: co11nn030000_c8b241c27500_000000000000_000000000000
VMware-Virtual-Platform:~/tmp/ja4/python$ python3 ja4.py test.pcap
{'stream': 0, 'src': '<--redacted-->', 'dst': '<--redacted-->', 'srcport': '1040', 'dstport': '80', 'JA4H': 'co11nn030000_c8b241c27500_000000000000_000000000000'}
@noeltimothy noeltimothy self-assigned this Nov 12, 2024
@noeltimothy
Copy link
Collaborator

Hi, can you send us the pcap that you used.

@cpmta
Copy link
Author

cpmta commented Nov 17, 2024

Can I share it with you in private ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants