Many budget-conscious internet users install a free VPN under a comforting assumption: even if the provider is untrustworthy, HTTPS encryption will keep browsing activity safe from prying eyes. The padlock icon in the browser feels absolute. We tell ourselves that because the transport layer encrypts usernames, passwords, session tokens, and specific URLs, a shady tunnel operator sees nothing more than indecipherable gibberish.
At 365Finds, we look at network telemetry daily, and that comforting assumption is dangerously incomplete. A free VPN provider does not need to break TLS encryption, crack cryptographic algorithms, or force malicious root certificates onto your operating system to know exactly what you are doing online.
Instead, the provider sits right at the network convergence point where two historic design artifacts of the modern web remain unencrypted: Domain Name System (DNS) queries and the Server Name Indication (SNI) extension sent during TLS handshakes. By pairing these plain-text indicators with embedded mobile tracking libraries, free VPN services build commercial dossiers on user behavior with minimal effort.
The Illusion of the Encrypted Pipe
A Virtual Private Network creates an encrypted wrapper between your client device and the provider's gateway server. When you browse the web on your home Wi-Fi or a public hotspot, your local internet service provider (ISP) or local eavesdropper can only observe encrypted tunnel packets heading to the VPN server's public IP address.
The critical catch lies at the exit node.
The VPN server is not an intermediary that passes encrypted tunnel packets to websites; it is the terminating endpoint of that tunnel. Inside the VPN server's operating system kernel, the outer encryption layer (whether WireGuard, OpenVPN, or IPsec) is stripped away. The underlying IP packets must be routed across the open internet to their destinations.
At that exact moment of decapsulation, every single packet passing through the tunnel is laid bare to the provider's routing table, firewall rules, and internal monitoring daemons. HTTPS protects the application payload inside TCP packets, but the gateway still handles the addressing, DNS resolution, and connection handshakes necessary to direct traffic.
Vector One: The Plaintext DNS Harvest
When you type a domain name into an address bar, your operating system must resolve that human-readable name into a destination IP address. By default, when a VPN tunnel activates, the client software alters the host system's network configuration, assigning the VPN provider's internal DNS server as the primary resolver (typically a private address like 10.8.0.1 or 10.2.0.1).
Even if a user manually specifies a public resolver such as Google (8.8.8.8) or Cloudflare (1.1.1.1), unscrupulous free VPN clients routinely execute silent firewall redirection. Any outbound packet destined for UDP or TCP port 53 is captured at the virtual network adapter and redirected straight to the VPN's internal resolver.
Under standard DNS (RFC 1035):
- Resolution requests travel in completely unencrypted clear text.
- The query explicitly names the requested host (e.g.,
webmd.com,kraken.com,divorce-attorney-chicago.com). - The resolver logs the precise microsecond timestamp, the source device's internal tunnel IP, and the query record.
For a free VPN operator, running a recursive DNS resolver with query logging enabled is the cheapest, lowest-overhead profiling mechanism available. It requires zero deep packet inspection hardware. A standard logging configuration on unbound or bind9 creates an itemized, chronological record of every digital service you interact with throughout the day.
Vector Two: The Unencrypted SNI in TLS ClientHello
Some users attempt to outsmart DNS logging by turning on DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) configured to third-party privacy resolvers. While that does blind the VPN's local port 53 interceptor, it does not prevent the provider from identifying the websites you visit.
The reason is the Server Name Indication (SNI) extension defined in RFC 6066.
Modern web infrastructure relies heavily on shared hosting, content delivery networks (CDNs), and cloud providers. A single public IP address owned by Cloudflare, Fastly, or AWS might host tens of thousands of distinct web domains. When your browser opens a TCP connection to that IP address on port 443, the web server needs to know which SSL/TLS certificate to present to complete the handshake.
To solve this, the TLS protocol specifies that the client must declare the target hostname during the very first step of the negotiation: the ClientHello packet.
Client Server
| |
| -------- ClientHello (Contains Plaintext SNI) ----> |
| "Host: medical-records-archive.org" |
| |
| <------- ServerHello + Certificate ---------------- |
| |
| [Session Keys Established: HTTP Payload Encrypted] |
In standard TLS 1.2 and default TLS 1.3 implementations without Encrypted Client Hello (ECH), this ClientHello is broadcast in unencrypted plain text. Because the VPN gateway decrypts the outer tunnel before routing the packet to the public web, the operator's packet capture engines read the SNI field directly off the network interface.
What does the free VPN see without breaking HTTPS?
- Domain and Subdomain Visibility: They see
mail.proton.me,app.wealthfront.com, orsubdomain.fetlife.com. - Exact Connection Timestamps: They know when you arrived and when packets stopped flowing.
- Traffic Volume and Flow Dynamics: Packet sizes and stream duration reveal whether you are reading text, downloading large binary files, or streaming high-definition video.
What does HTTPS still protect?
- The specific URL subpath (e.g.,
/user/account/balanceor/article-name). - HTTP request headers and browser cookies.
- Form inputs, passwords, credit card numbers, and search query parameters submitted via POST.
HTTPS protects the contents of the letter, but the SNI and DNS queries print the recipient's name and return address in bold ink across the envelope. For behavioral profiling, that envelope metadata is more than enough.
Turning Metadata into Commercial Behavioral Dossiers
A raw list of domains and timestamps on a Linux server is valuable, but it becomes immensely lucrative when anchored to a real-world digital identity. Free VPN providers, especially on mobile operating systems like Android and iOS, achieve this by bridging two distinct layers of telemetry.
+-------------------------------------------------------------+
| User Mobile Device |
| |
| +---------------------------+ +------------------------+ |
| | Free VPN Client | | Embedded Tracker SDKs | |
| | (Tunnel Credentials / IP) | | (GAID / IDFA / BSSID) | |
| +-------------+-------------+ +-----------+------------+ |
+----------------|----------------------------|---------------+
| Encrypted Tunnel Traffic | Telemetry API Call
v v
+-------------------------------------------------------------+
| VPN Operator Cloud |
| |
| [Gateway / Decapsulation] [Ad / Analytics Collector] |
| - Internal IP 10.8.0.42 - Linked to GAID: 8f9b... |
| - Plaintext DNS: crypto.com - Device: Samsung S23 |
| - Plaintext SNI: oncology.org - Location: Dallas, TX |
| |
| Unified User Profile |
| "User 8f9b... browses oncology research at 02:14" |
+-------------------------------------------------------------+
The SDK Telemetry Bridge
When you download a free VPN application from an app store, the client binary rarely contains just VPN connection code. Academic audits—most notably the landmark study by Muhammad Ikram and researchers at CSIRO and UC Berkeley—revealed that a vast majority of free Android VPN applications embed third-party tracking libraries and advertising frameworks.
These SDKs collect:
- Persistent Hardware Identifiers: Google Advertising ID (GAID), Apple Identifier for Advertisers (IDFA), Android ID, or MAC addresses.
- Environmental Context: Connected Wi-Fi SSID and BSSID, cellular carrier metadata, battery status, and installed application lists.
- Geolocation Data: Precise GPS coordinates or cellular tower triangulation.
When your device launches the VPN connection, the app transmits your unique advertising identifier to the provider's analytics backend alongside your assigned tunnel IP. At that moment, the anonymous IP stream on the VPN gateway is married to your persistent advertising profile.
The Profiling Pipeline
Once the correlation is established, data aggregation scripts generate categorical interest tags:
- Financial Profile: Frequents cryptocurrency trading platforms, payday loan applications, or high-net-worth investment management subdomains.
- Health and Medical Inferences: Visits specialized clinical trials, oncology forums, mental health helplines, or pharmaceutical discount sites.
- Political and Social Affiliations: Tracks news outlets, partisan activist forums, and community organization portals.
- Daily Living Patterns: Awake times, commuting periods, and media consumption windows deduced from session traffic bursts.
These packaged audience segments are sold to data brokers, ad networks, and behavioral market research firms. The free VPN does not need your banking password; your categorized attention is the product that finances their server infrastructure.
Why Encrypted Client Hello (ECH) Does Not Fully Solve This Yet
The internet engineering community recognized the privacy flaw of plaintext SNI years ago, leading to the development of Encrypted Client Hello (ECH), standardized under RFC 9849.
ECH splits the initial TLS handshake into two structures:
- An Outer ClientHello, which contains a generic, unrevealing placeholder domain name (such as
cloudflare-ech.com). - An Inner ClientHello, which contains the real destination hostname, encrypted using a public key retrieved from the target site's DNS records.
When ECH functions properly, an on-path eavesdropper—including a VPN gateway—only sees the generic placeholder domain.
Client VPN Gateway / Server
| |
| ----- Outer ClientHello (SNI: cloudflare-ech.com) --> | (Gateway sees generic CDN)
| Inner ClientHello (ENCRYPTED: target.com) | (Cannot read true SNI)
However, relying on ECH to protect your browsing metadata on a free VPN faces significant technical roadblocks:
- Dual Adoption Dependency: ECH requires mutual support. Both the user's browser and the destination server must support ECH. While major CDNs like Cloudflare have deployed ECH, millions of standalone web servers across the internet have not implemented it.
- DNS Record Stripping: ECH keys are distributed via DNS HTTPS/SVCB resource records (RFC 9848). If the free VPN controls your DNS resolution via port 53 interception, the provider's resolver can simply drop or modify HTTPS resource records in transit. Deprived of the public key, the browser automatically falls back to standard TLS 1.3 with a cleartext SNI header.
- Destination IP Mapping: Even when ECH obscures the domain name, websites hosted on dedicated or narrow IP ranges can still be identified by destination IP address lookup.
Concrete Countermeasures for Everyday Browsing
At 365Finds, our testing leads us to a blunt rule: if an operational model relies on giving away unmetered infrastructure for free without a transparent software subscription backing it, your telemetry is underwriting the servers.
If you must operate on budget constraints or require secure network tunneling, apply these practical mitigations:
| Protection Layer | Vulnerability Addressed | Implementation Action | Limitation |
|---|---|---|---|
| Encrypted DNS (DoH/DoT) | Port 53 plaintext DNS query logging | Configure strict DNS-over-HTTPS in browser or OS using third-party resolvers (Quad9, Cloudflare) | Does not hide the SNI in subsequent TLS handshakes |
| Encrypted Client Hello (ECH) | Plaintext SNI sniffing in TLS handshakes | Enable ECH in browser flags (about:config in Firefox or experimental flags in Chrome) | Only works on websites that advertise ECH records via HTTPS DNS |
| Freemium Audited Providers | Wholesale logging and SDK telemetry | Use limited free tiers from audited zero-logs providers (e.g., Proton VPN, Windscribe) | Strict speed, device, or monthly bandwidth caps |
| Tor Network | Gateway decapsulation and single-entity profiling | Route sensitive traffic through the Tor Browser for multi-hop onion routing | Noticeably slower connection latency; incompatible with streaming |
To verify whether your current connection is leaking DNS queries outside your intended path, run an extended query check at dnsleaktest.com. If the results reveal DNS servers belonging to unknown hosting providers or your local ISP rather than your designated secure resolver, your tunnel is not isolating your metadata.
References
- RFC 6066: Transport Layer Security (TLS) Extensions: Extension Definitions
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
- RFC 9849: TLS Encrypted Client Hello
- Cloudflare: Encrypted Client Hello (ECH)
- An Analysis of the Privacy and Security Risks of Android VPN Permission-enabled Apps (ACM IMC)
- EFF: ESNI: A Privacy-Protecting Upgrade to HTTPS
- EFF: A Wider View on TunnelVision and VPN Advice
- EFF: Surveillance Self-Defense: Why Communication Metadata Matters