← Lab /Security & privacy

CenShaper cuts TLS-over-TLS detection from 85% to 3% at 1% false positives

CenShaper reduces detection rates of TLS-over-TLS fingerprinting to about 3% while keeping false positives at 1%

Security & privacy arXiv 23 Nov 2026 Defense Prototype evidence Threat model

Published as “CenShaper: Shaping Proxy Traffic for Censorship Circumvention”

Why it matters

CenShaper can be deployed as a drop-in module for existing proxies, giving operators a practical way to diversify traffic shapes and raise the bar for on-path censorship without large data collection or protocol changes.

Summary

Persona diversity limits a censor’s ability to detect proxy traffic: classifiers trained on unseen TLS servers detect only 8.5% of shaped flows, rising to 29% for same-service servers and 56% for the exact persona, while detection of all personas together reaches 77%. The approach also reduces TLS-over-TLS fingerprinting from >85% to ~3% and TLS Divergence by about sevenfold. Evidence comes from large ISP-collected TLS traces and evaluation against several prior ML classifiers, showing modest detection rates but a clear trade-off when the censor has full knowledge of personas.

What they found 10

  1. Unseen-persona detection rate is low

    “The best-performing classifier detects only 8.5% of traffic shapes generated using personas drawn from previously unseen TLS servers.”

  2. Same-service detection is higher

    “When the classifier has seen traffic shapes generated using other servers of the same TLS service, detection rises to 29%.”

  3. Exact-persona detection reaches over half

    “When it has seen traffic shapes from the evaluated persona itself, detection reaches 56%.”

  4. Full-persona training yields high detection

    “However, when the classifier has seen training examples generated using every persona, it detects 77% of proxy traffic.”

  5. TLS-over-TLS fingerprinting is dramatically reduced

    “the detection rate of the TLS-over-TLS fingerprinting attack [70] drops from over 85% to about 3%”

  6. TLS Divergence attack effectiveness drops

    “TLS Divergence [38] drops by roughly sevenfold.”

  7. TLS server traffic shapes are distinct

    “the median server’s H against the population is 14% for TLS 1.3 and 19% for TLS 1.2”

  8. Servers of the same service have similar shapes

    “the median energy coefficient between two randomly selected servers is 29%, but drops to just 0.36% for servers of the same service at different IP addresses.”

  9. Traffic shapes are stable over days

    “median H ranges from 0.12% to 0.20% for TLS 1.3 and from 0.25% to 0.39% for TLS 1.2.”

  10. 160 flows suffice to model a server

    “160 persona flows meet the 24-hour threshold for at least 50% of servers and the 48- and 72-hour thresholds for at least 90% of servers, for both TLS versions.”

Caveats 4

  • When the classifier is trained on all personas, detection jumps to 77%, showing the approach fails if the censor can collect comprehensive persona data.
  • Exact-persona detection of 56% indicates a censor can still identify a specific proxy if it has seen that proxy’s traffic.
  • Active probing of suspected proxies and detection beyond the shaped window are outside our scope.
  • This approach does not support protocols such as REALITY [67], which do not offer this configuration option.

What’s new here 3

  • Combines per-proxy persona mimicry with a shared generative decision-forest model, avoiding per-proxy training.
  • Shows that a small number (≈160) of recorded flows per TLS server reliably capture its traffic shape over days.
  • Implements a plug-and-play shaper (CenShaper) as a WATER transport module that requires no synchronization messages.

Threat model stated by the source

Adversaryon-path censor
Capabilityobserves packet sizes, directions, arrival times, and TLS record lengths; can act as a client of known proxies to learn their traffic patterns
Assumescannot decrypt TLS traffic; must maintain low false positive rate; does not perform active probing