From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Technique:TLS client fingerprinting" |
|---|
| claim | "JA4 = a_b_c. a is 10 characters: t (TCP), q (QUIC) or d (DTLS); 2-character TLS version (highest supported_versions value, GREASE ignored, else the record Protocol Version, not the handshake version: 0304 = 13, 0303 = 12, 0302 = 11, 0301 = 10, 0300 = s3, 0002 = s2, DTLS feff/fefd/fefc = d1/d2/d3, unknown 00); d if an SNI extension exists, else i; 2-digit cipher count (GREASE not counted, SCSV and reserved values counted, capped at 99); 2-digit extension count (GREASE ignored, SNI and ALPN counted); first and last character of the first ALPN value (00 if there is no ALPN, no value or an empty first value; a single character counts as both). If the first or last byte of that value is not ASCII alphanumeric, the first and last characters of the hex string of the whole value are used instead (0xAB 0xCD gives ad, 0x30 0xAB gives 3b, 0x61 0x20 gives 60). b = first 12 hex characters of the sha256 of the comma-joined sorted 4-hex-digit cipher codes (GREASE removed, SCSV kept); c = first 12 of the sha256 of the sorted extension codes without 0000 (SNI) and 0010 (ALPN), then _, then the signature algorithms in their original order (no underscore if there are none). An empty cipher list gives b = 000000000000 and an empty extension list gives c = 000000000000 instead of a hash. sha256 hex is lower case." |
|---|
| scope | | level | "technique" |
|---|
| applies_to | "Technique:TLS client fingerprinting" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "a TLS Client Hello is hashed" |
|---|
| effect | "t13d1516h2_8daaf6152771_e5627efa2ab1 is the worked example of the same document (its intro line shows c as b186095e22b6)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "JA4 Algorithm and Details sections" |
|---|
| repo | "https://github.com/FoxIO-LLC/ja4" |
|---|
| commit | "c6469a7" |
|---|
| path | "technical_details/JA4.md" |
|---|
|
| type | "documentation" |
|---|
| detail | "JA4 Algorithm, ALPN, Cipher hash and Extension hash sections: empty-list zeros, 99 cap, ALPN 00 and hex rule, extension count includes SNI and ALPN, worked example hash e5627efa2ab1" |
|---|
| repo | "https://github.com/FoxIO-LLC/ja4" |
|---|
| commit | "c6469a7" |
|---|
| path | "technical_details/JA4.md" |
|---|
| lines | "20-195" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "JA4 string construction" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T17:20:15.419Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:48:13.182Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read the whole technical_details/JA4.md at FoxIO-LLC/ja4 c6469a7 and compared every rule in the claim (version table, SNI, counts with SCSV counted and 99 cap, ALPN 00 and hex rule examples, empty-list zeros, no-sigalg underscore, example hashes)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:51:52.329Z" |
|---|
| summary | "Added the branches the cited JA4.md specifies and the summary dropped (counts include SNI/ALPN and cap at 99, ALPN 00/hex rule, empty lists give 000000000000, no sigalgs means no underscore); the…" |
|---|
| changed | | "claim" |
| "data" |
| "evidence" |
|
|---|
|
| by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:37:58.258Z" |
|---|
| summary | "ALPN fallback was misdescribed: JA4.md says that if the first OR last byte of the first ALPN value is not ASCII alphanumeric, the first and last characters of the hex string of the WHOLE value are…" |
|---|
| changed | |
|---|
|
| by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:38:06.680Z" |
|---|
| summary | "Tidy my last edit: JA4.md states the all-zero rule for both lists (empty cipher list gives b = 000000000000, empty extension list gives c = 000000000000); read lines 138-166." |
|---|
| changed | |
|---|
|
|
|---|