[Paper Review] Active TLS Stack Fingerprinting: Characterizing TLS Server Deployments at Scale
This paper proposes an active TLS stack fingerprinting methodology that uses optimized Client Hello probes to classify TLS servers at scale, achieving over 99% precision in identifying Command and Control (C2) servers and Content Delivery Network (CDN) infrastructure across 28 million servers. The approach leverages empirical optimization of 10 general-purpose probes to maximize information gain while minimizing measurement cost and ethical impact.
Active measurements can be used to collect server characteristics on a large scale. This kind of metadata can help discovering hidden relations and commonalities among server deployments offering new possibilities to cluster and classify them. As an example, identifying a previously-unknown cybercriminal infrastructures can be a valuable source for cyber-threat intelligence. We propose herein an active measurement-based methodology for acquiring Transport Layer Security (TLS) metadata from servers and leverage it for their fingerprinting. Our fingerprints capture the characteristic behavior of the TLS stack primarily caused by the implementation, configuration, and hardware support of the underlying server. Using an empirical optimization strategy that maximizes information gain from every handshake to minimize measurement costs, we generated 10 general-purpose Client Hellos used as scanning probes to create a large database of TLS configurations used for classifying servers. We fingerprinted 28 million servers from the Alexa and Majestic toplists and two Command and Control (C2) blocklists over a period of 30 weeks with weekly snapshots as foundation for two long-term case studies: classification of Content Delivery Network and C2 servers. The proposed methodology shows a precision of more than 99 % and enables a stable identification of new servers over time. This study describes a new opportunity for active measurements to provide valuable insights into the Internet that can be used in security-relevant use cases.
Motivation & Objective
- To develop a scalable, active measurement methodology for collecting TLS metadata to fingerprint server deployments.
- To identify and optimize a set of Client Hello configurations that maximize information gain while minimizing measurement overhead.
- To evaluate the effectiveness of active TLS fingerprinting in classifying real-world server infrastructures, particularly C2 and CDN servers.
- To provide a reproducible, open-source framework for TLS fingerprinting to support cyber-threat intelligence and infrastructure monitoring.
Proposed method
- The authors selected 10 general-purpose Client Hello (CH) probes through empirical optimization to maximize information gain and minimize measurement cost.
- They extracted 15 TLS handshake features—such as supported cipher suites, extensions, and elliptic curves—to represent TLS stack behavior.
- A similarity-based fingerprinting model was built using these features, enabling classification of servers based on their TLS stack characteristics.
- The methodology was applied across weekly snapshots of the Alexa and Majestic toplists and two C2 blocklists over 30 weeks.
- An adaptive scanning strategy was proposed to improve precision by sending additional probes only when needed.
- The approach relies on active probing from a single vantage point, enabling consistent and repeatable measurements across time.
Experimental results
Research questions
- RQ1How can active TLS fingerprinting be optimized to extract maximum information from minimal probing while minimizing ethical impact?
- RQ2What set of Client Hello configurations provides the most complementary information for distinguishing TLS server implementations?
- RQ3Can active TLS fingerprinting achieve high precision and recall in classifying large-scale server deployments, such as C2 and CDN servers?
- RQ4How stable are TLS fingerprints over time, and what factors cause inconsistencies in fingerprinting results?
Key findings
- The methodology achieved a precision of over 99% in identifying newly added Command and Control (C2) servers in blocklists.
- CDN detection precision ranged from 85% (Akamai, Alibaba) to over 99% (Cloudflare, Fastly), demonstrating high accuracy across major providers.
- The use of 10 optimized Client Hello probes enabled classification of 28 million servers with minimal measurement cost and high information gain.
- 351 IP addresses were identified as serving CDN content outside their native Autonomous System (AS), indicating widespread use of third-party or foreign AS caches.
- Load balancer indicators in HTTP Server headers were observed in 1.5% of cases, suggesting potential fingerprint instability due to dynamic routing.
- The study revealed that 80% of domains resolving to foreign-AS CDN caches were hosted in ASs operated by VTC Digicom, Amazon, or Render, with some operated via Meta-CDN-like setups.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.