JA3 Network Fingerprinting
Table of Contents
A method of fingerprinting TLS clients by hashing specific fields from the TLS ClientHello message. Because different applications (browsers, malware families, tools) negotiate TLS differently, the resulting hash acts as a signature — the same client produces the same JA3 hash regardless of destination server. Widely used for malware detection and threat hunting in network traffic.
Largely superseded by JA4+ which is more robust and evasion- resistant, but JA3 remains common in existing detection rules and SIEMs.
Related: JA4+ Network Fingerprinting Wireshark Network Traffic Analysis Zeek
How the Hash is Built
JA3 extracts five fields from the TLS ClientHello and concatenates them before hashing:
Fields extracted: 1. TLS Version 2. Cipher Suites (list of all offered, excluding GREASE values) 3. Extensions (list of extension types) 4. Elliptic Curves (supported groups) 5. Elliptic Curve Point Formats Format: TLSVersion,CipherSuites,Extensions,EllipticCurves,EllipticCurvePointFormats Example: 771,4866-4867-4865-255,0-11-10-35-22-23-13-43-45-51-21,29-23-24-25-256-257,0 Final step: MD5 hash of the concatenated string Result: 772a34cbf875ef9d1b4a8cfd86e5b1be
The same application on the same OS produces the same JA3 hash — it is the TLS negotiation behaviour, not the traffic content, that is fingerprinted.
Blue Team Use Cases
Malware Detection
Known malware families have consistent JA3 hashes because their TLS implementation does not change between infections. A JA3 blocklist flags known-bad clients before any payload is inspected.
# Published JA3 databases and threat intel feeds: # — https://sslbl.abuse.ch/ja3-fingerprints/ (abuse.ch blocklist) # — Recorded Future, Mandiant, and other threat intel vendors # publish JA3 hashes for known malware families
Threat Hunting in Wireshark
# Wireshark JA3 display (requires ja3 plugin or recent version) # Filter for a specific hash tls.handshake.ja3 == "772a34cbf875ef9d1b4a8cfd86e5b1be" # View JA3 column: right-click column header → Column Preferences # → Add → Field: tls.handshake.ja3
Zeek Detection
Zeek extracts JA3 hashes automatically into SSL logs:
# ssl.log contains ja3 and ja3s fields # Zeek Intel framework — block known-bad hashes cat /opt/zeek/share/zeek/intel/ja3_blocklist.dat # Query ssl.log for a specific hash cat ssl.log | zeek-cut id.orig_h id.resp_h ja3 ja3s \ | grep "772a34cbf875ef9d1b4a8cfd86e5b1be"
Detection Rule Integration
JA3 hashes appear in Suricata and Snort rules:
# Suricata rule matching on JA3 hash alert tls any any -> any any ( msg:"Known malware JA3 hash"; ja3.hash; content:"772a34cbf875ef9d1b4a8cfd86e5b1be"; sid:1000001; )
Red Team Considerations
Because JA3 is derived from TLS negotiation parameters, defenders may flag specific tool hashes:
Common tool JA3 hashes that may be blocked or logged: # Metasploit, Cobalt Strike, curl, Python requests all have # characteristic JA3 hashes that appear in threat intel feeds # Evasion approaches: # — Modify TLS cipher suite order in the tool (if configurable) # — Route through a legitimate proxy (browser TLS = browser JA3) # — Use a framework that randomises TLS negotiation
JA3 evasion is relatively easy — changing cipher order changes the hash. JA4+ was developed specifically to address this. On real engagements, assume mature blue teams are alerting on known offensive tool JA3 hashes.
JA3S — Server Fingerprinting
The server-side counterpart — hashes fields from the TLS ServerHello. Useful for fingerprinting C2 infrastructure from the server side:
JA3S fields: 1. TLS Version 2. Cipher Suite (single value, the chosen suite) 3. Extensions Same MD5 process as JA3. Combining JA3 + JA3S fingerprints both ends of a TLS connection — useful for detecting C2 channels where both the implant and the server have consistent TLS behaviour.
Limitations
- Easy to evade — changing cipher order produces a different hash
- Requires TLS traffic — no visibility into encrypted-but-not-TLS or non-TLS connections
- High false positive potential on shared infrastructure where many clients produce the same hash (e.g. all Chrome browsers on the same OS version share a JA3)
- MD5 hash collisions are theoretically possible (practically negligible for this use case)
- JA4+ addresses most of these limitations and should be preferred for new detection rules
Tips
- JA3 is most valuable as part of a detection stack alongside other signals — a matching JA3 hash alone is weak evidence but combined with unusual destination IP, beaconing pattern, or process lineage it is much stronger
- The abuse.ch JA3 blocklist is a practical starting point for known-malicious hashes and is updated regularly
- When hunting, focus on JA3 hashes that appear infrequently in your environment — a rare hash from a single endpoint warrants investigation regardless of blocklist status
- For new detection rule authoring, use JA4+ instead of JA3