At a glance
ADEFTOR, a defense from Krishan Pal Singh and co-authors at LNM Institute of Information Technology and MNIT Jaipur, drops a 98 per cent Tor website fingerprinting attack to 29–39 per cent accuracy using adaptive adversarial traffic traces.
Open a page in the Tor Browser and the content is scrambled many times over. The shape of the traffic is not. Packet sizes, their timing and whether each one travels out or comes back still form a pattern, and a trained neural network can read that pattern well enough to name the site you opened with roughly 98 per cent accuracy. That figure has been the uncomfortable benchmark in anonymity research for years, and it is the number a new defense is measured against.
A paper in IEEE Transactions on Networking goes after it from an unusual angle. ADEFTOR, built by Krishan Pal Singh and four co-authors, doesn't try to flatten traffic into a uniform blur. It nudges each trace toward a decoy website and reuses one prepared distortion per site across sessions, cutting the strongest attack's top-1 accuracy from 98 per cent to somewhere between 29 and 39 per cent. Top-2 accuracy falls to 47 per cent. The bandwidth bill is 45 per cent in the full-duplex setting and 60 per cent in half-duplex, well below what the oldest defenses charge.
The timing matters because the attack side has been winning on cost. Blocking a deep-learning fingerprinter used to require padding every connection to a fixed rate, which doubled or tripled traffic and slowed pages badly enough that few people would keep the setting on. Defenses that were cheap enough to use, such as WTF-PAD, were later broken by the same class of classifier they were designed to stop. ADEFTOR is an attempt to sit in the middle: serious protection, a tax a volunteer-run network could plausibly absorb.
The attack that made this necessary
To understand what the Jaipur team built, start with the adversary. Tor routes a connection through three relays, peeling off a layer of encryption at each hop, so no single relay knows both who you are and what you asked for. But an eavesdropper sitting between your laptop and the first relay sees every packet go by, and encryption doesn't hide the metadata.
Website fingerprinting turns that metadata into a classification problem. A page load generates a distinctive sequence of outgoing requests and incoming responses, and the sequence differs from site to site in ways that survive encryption. The classic 2018 Deep Fingerprinting attack, known as DF, feeds nothing but the direction of each packet into a convolutional neural network and reaches about 98 per cent accuracy against undefended Tor traffic. Var-CNN, a later and more data-efficient attack, pushed similar numbers with less training material.
Defenses have mostly tried to blur the sequence by injecting dummy packets or forcing fixed transmission rates. The constant-rate approach works, up to a point, and costs more than most users will pay. The cheap randomized approach leaves enough structure for a modern classifier to find.
Two mechanisms, one defense
ADEFTOR borrows an idea from image recognition research. An adversarial example is an input that looks ordinary to a person but has been tweaked so a classifier misreads it: a few altered pixels, and the model says panda instead of gibbon. Traffic traces can be tweaked the same way. Insert dummy packets in the right places and the classifier's picture of the site shifts.
The paper's first mechanism is what the authors call universal distortion. Rather than computing a fresh perturbation for every visit, the system generates one reusable distortion for each monitored website. That distortion applies across different user sessions and across traffic that flows mostly one way or both. Reusing it matters for engineering reasons as much as for accuracy: the perturbation can be prepared once and blended into live traffic without a per-visit optimisation step.
The second mechanism, incremental distance reduction, controls how the distortion is aimed. ADEFTOR picks random target traces and then progressively shrinks the distance between the modified example and those targets over successive rounds. Building the perturbation in small steps toward a moving target keeps it from overfitting to the quirks of one attack model, which is the failure mode that has sunk many adversarial defenses in this field.
There is a good analogy in a corridor. Most defenses try to disguise your walk by adding random extra footsteps, which just makes you sound like a person in heavy boots. ADEFTOR instead pushes your gait toward somebody else's — and picks a different somebody each time, so a listener can't learn the trick.
Photo by MARIOLA GROBELSKA on Unsplash
What the numbers show
The evaluation pits ADEFTOR against deep-learning attacks on a public Tor traffic dataset. Two results stand out, and they answer different questions. Top-1 accuracy tells you how often an attacker lands on the correct site; top-2 asks whether the correct site is even in the attacker's shortlist of two guesses. The second number matters more for some threat models than the first, because a stalker or a censor who gets the right site in a shortlist can investigate further.
| Metric | Undefended baseline | With ADEFTOR |
| Top-1 attack accuracy | 98% | 29%–39% |
| Top-2 attack accuracy | Not reported in the abstract | 47% |
| Bandwidth overhead, full-duplex traffic | 0% | 45% |
| Bandwidth overhead, half-duplex traffic | 0% | 60% |
A drop from 98 per cent to the thirties puts the attacker close to guessing. With 95 monitored sites, random guessing tops out near 1 per cent, so the defense hasn't made the attack meaningless, only dramatically worse. The authors describe the result as a promising route to better privacy on Tor, and the full article in IEEE Xplore sets out the method and the evaluation in detail across pages 843 to 856 of volume 34.
The bill arrives in bandwidth, and in trust
Forty-five per cent extra traffic is not free. It is, however, a real improvement on the alternative. BuFLO and its derivatives, which pad to a constant rate, routinely add more than 100 per cent overhead. Mockingbird, the best-known adversarial-trace defense, reported drops from 98 per cent to as low as 29 per cent for about 56 per cent bandwidth overhead, according to its own 2019 preprint. ADEFTOR's full-duplex figure undercuts that slightly and its half-duplex figure lands just above it.
The half-duplex case is the awkward one. Sixty per cent extra traffic is paid by Tor's volunteer relays, not by an advertising budget. Tor carries somewhere around two million direct connections on a typical day, according to the network's public metrics, and the operators of the roughly seven thousand relays that move that traffic are donating bandwidth they already pay for. A defense that asks them for 60 per cent more will be judged on whether users actually enable it, which is a deployment question the paper doesn't settle.
Then there is the adversarial-training problem, which is the standing suspicion hanging over every defense of this type. An adversary who knows how ADEFTOR works can train a classifier on defended traffic and try to recover accuracy. The authors designed against this: universal distortion is applied across sessions and traffic types, and incremental distance reduction adds randomness to where the perturbation lands, both intended to blunt a classifier that retrains. Whether that holds up against an attacker who has the defense's code and unlimited time is the test the field will run next, and the abstract doesn't claim to have already run it.
A second caveat is scope. The results come from a public dataset with top-1 and top-2 accuracy as the yardsticks, and the open-world setting — where an attacker must also decide whether a trace belongs to any monitored site at all — is the harder version of the problem. Latency also goes unmentioned in the paper's headline figures, and page-load delay is what has killed well-defended schemes in the past.
Who did the work, and where it landed
Singh is an assistant professor in the Department of Computer Science and Engineering at LNM Institute of Information Technology in Jaipur, India, with a research background in Tor traffic analysis, dark web forensics and anonymous communication networks. His co-authors are Emmanuel S. Pilli and Vijay Laxmi of Malaviya National Institute of Technology Jaipur, along with Kashish Yusuf and Meenal Yadav.
The venue is worth a note for anyone outside networking. IEEE Transactions on Networking is the title the long-running IEEE/ACM Transactions on Networking took in 2025, so a paper appearing in volume 34 sits in a lineage that runs back to 1993. The work was authored by researchers in India, with the evaluation built on a public Tor dataset rather than a national or institutional testbed.
Photo by Resource Database on Unsplash
What to watch over the next five years
The realistic path for a defense like this is the pluggable transport layer of Tor, where client-side and bridge-side code can be updated without rebuilding the network's routing. A client-side implementation that precomputes distortions per site, as ADEFTOR does, fits that architecture better than schemes requiring relay cooperation on every circuit.
The harder question is whether the arms race stabilises. Each round of fingerprinting research trains on the previous round's defenses, and a defense that holds at 29 per cent against today's classifier may sit at 60 per cent against one retrained on its output. That is why the randomness in incremental distance reduction deserves more scrutiny than the headline accuracy drop: it is the part of the design aimed at the next attacker, not this one.
Outside Tor, the same machinery applies to VPN traffic, censorship circumvention tools and any tunnel where an observer can watch packet directions. If the technique survives adversarial retraining, it becomes a reusable building block rather than a single defense for a single network. If it doesn't, the field will have learned something useful anyway about how far adversarial perturbations can carry in the discrete, timing-sensitive world of network traffic.
- website fingerprinting
- Tor anonymity
- adversarial examples
- network security
- traffic analysis

