A name for a pattern
A fingerprint is a compact representation of selected observations. In this course, network fingerprints group characteristics of a TCP stack, a TLS greeting or an HTTP implementation. Many devices running similar software can share one result.
The word identity sometimes names the resulting key. Here it means a class of observed behaviour. It does not mean a person’s identity, an account, or the visitor identifier stored by a browser.
To interpret a match, follow how the key was produced:
Observed bytes
→ parse fields
→ normalise selected fields
→ encode the result unambiguously
→ calculate a hash
→ store a key with its layer and rule version
Each step limits what the final key can establish. Hashing cannot restore information removed earlier or decide whether the behaviour came from a browser, an imitation or an intermediary.
Decide which differences to preserve
Canonicalisation transforms observations into one agreed representation. It makes a deliberate choice about when two inputs should count as equivalent.
For example, a TLS greeting contains random bytes that should not make a software fingerprint change on every connection. GREASE placeholders can be normalised. A list deliberately shuffled by the client can be sorted if its original order is irrelevant to the comparison.
Other orderings can carry information. HTTP header order can reflect how an implementation constructs requests, so sorting that list may erase a useful difference. There is no single rule that “all lists should be sorted”. The TLS and HTTP/2 articles explain why their useful inputs differ.
| Normalisation decision | Benefit | Information it gives up |
|---|---|---|
| Replace random placeholders with a canonical value | Groups equivalent variations | The original random choice |
| Exclude request-dependent header names | Reduces changes caused by the action | Some differences between requests |
| Replace a raw network value with a class | Groups values judged equivalent | Differences within the class |
| Exclude private contents | Limits retained sensitive data | The ability to reconstruct those contents |
These choices can be imperfect. A field thought to describe software may also change with configuration or the network path. The key is an implementation of the chosen rules, rather than a guarantee that every matching client is equivalent in every respect.
Stable and strict comparisons
A stable fingerprint aims to group observations despite selected variation between visits. A strict fingerprint preserves more detail for diagnosis. These are roles a format assigns, rather than standard names for one universal algorithm.
One browser can produce several strict results while retaining the same stable result. That does not show that several visitors or devices were involved. Conversely, two distinct programs can share a stable result because the rule discarded their differences.
This second case is different from a hash collision. If two observations become the same canonical input, the fingerprint deliberately groups them. A hash collision occurs when different encoded inputs produce the same hash. Keeping these cases separate helps explain why an apparently strong hash cannot make the underlying classification unique.
Encoding comes before hashing
A serialisation converts the canonical fields into bytes. It needs a fixed field order, explicit list and string lengths, and a clear representation of missing values.
Without lengths, joining the strings ab and c would produce the same bytes as joining a and bc. Without a missing-value marker, omitting one field could make later fields ambiguous. These are encoding errors that a hash would faithfully preserve.
A format can also include a domain tag, identifying the layer and rule version. This keeps a TLS description separate from an HTTP description that happens to encode similar values. The example below illustrates the idea; it is not an API format:
rule version + layer + fingerprint kind + encoded fields
A hash such as SHA-256 can then give the encoded input a fixed-size result. SHA-256 belongs to the algorithms defined by NIST’s Secure Hash Standard. A system may store a shorter prefix as a convenient key while retaining the full digest to detect collisions between those shorter keys. Truncation makes collisions more likely, so the short key should not be treated as inherently unique.
The version belongs to the result
Changing an exclusion list, a sorting rule, a class boundary or field order can change which observations receive the same key. The rules therefore need a version. An unannounced change can make a historical comparison misleading even if every component still runs successfully.
Keys from different versions have no automatic relationship. A system can calculate an explicit mapping when sufficient evidence remains, or keep the histories separate. A familiar-looking hexadecimal value alone does not establish which rule produced it.
Combining several layer keys introduces further choices. The combined representation needs to mark missing layers and preserve their origins. Including a load balancer’s TCP fingerprint as if it belonged to the visitor would describe the load balancer across many otherwise different visits.
What can be reproduced later
Recalculating a fingerprint from saved source evidence checks more of the pipeline than recalculating it from an already normalised record. The latter can verify encoding and hashing, but cannot repeat decisions made during the original parsing and normalisation.
Retention also limits future comparisons. Removing request values may be appropriate for privacy, but a later rule cannot recover a field that was never kept. Masking sensitive bytes works only when the remaining evidence still supports the comparison being reproduced.
The consensus and labels article follows that next step: how observations acquire an interpretation, and why the origin and quality of those observations matter.