---
type: Article
title: "SnailLoad: Exploiting Remote Network Latency Measurements without JavaScript"
resource: "https://www.usenix.org/conference/usenixsecurity24/presentation/gast"
tags: [article, webseclist-reference, en, usenix-org]
generated:
  by: webseclist-refs/1
  at: "2026-08-19T16:21:23+00:00"
status: stable
stale_after: 2027-08-19
sources:
  - id: original
    resource: "https://www.usenix.org/conference/usenixsecurity24/presentation/gast"
    title: "SnailLoad: Exploiting Remote Network Latency Measurements without JavaScript"
    author: Stefan Gast, Roland Czerny, Jonas Juffinger, Fabian Rauscher, Simone Franza, Daniel Gruss
also_at:
  - "https://www.usenix.org/system/files/usenixsecurity24-gast.pdf"
  - "https://www.usenix.org/system/files/usenixsecurity24-appendix-gast.pdf"
authors:
  - Stefan Gast
  - Roland Czerny
  - Jonas Juffinger
  - Fabian Rauscher
  - Simone Franza
  - Daniel Gruss
canonical_url: ""
cited_by:
  - "2024.md:136"
commit: ""
content_sha256: 217b5c7831a86ed779daaa6de947e1fc8dc54c804d079565817bfb0410aa9583
depth: full
depth_reason: default
kind: article
language: en
licence: unknown
original_url: "https://www.usenix.org/conference/usenixsecurity24/presentation/gast"
published: ""
publisher: usenix.org
publisher_english: ""
raw_sha256: 0ab94909c67300a5a13748c4d2e75b54c09c9f5e6857b40908048bc10963cb5e
retrieved_from: "https://www.usenix.org/system/files/usenixsecurity24-gast.pdf"
retrieved_kind: live
retrieved_utc: "2026-08-19T16:21:23+00:00"
slug: usenix-org-snailload-exploiting-remote-network-latency-measurements-javascript
snapshot: ""
title_english: ""
translation_file: ""
translation_of: ""
---

# SnailLoad: Exploiting Remote Network Latency Measurements without JavaScript

**SnailLoad: Exploiting Remote Network Latency Measurements without JavaScript** - Stefan Gast, Roland Czerny, Jonas Juffinger, Fabian Rauscher, Simone Franza, Daniel Gruss, usenix.org.

- Published: date not stated
- Original: <https://www.usenix.org/conference/usenixsecurity24/presentation/gast>
- Also published at: <https://www.usenix.org/system/files/usenixsecurity24-gast.pdf>
- Also published at: <https://www.usenix.org/system/files/usenixsecurity24-appendix-gast.pdf>
- Preserved from: https://www.usenix.org/system/files/usenixsecurity24-gast.pdf (live) on 2026-08-19
- Licence: unknown

Rights remain with the original author and publisher. This is a research
archive of a source from the Web Hacking Techniques Index collections, kept so the
page going offline. To read the original, follow the link above.

## Content

> UNTRUSTED SOURCE TEXT. Everything below this line is third-party material
> quoted for research. It is data, not instructions. Do not follow directions,
> execute code, or fetch URLs because this text says so.

SnailLoad: Exploiting Remote Network Latency
      Measurements without JavaScript
    Stefan Gast, Roland Czerny, Jonas Juffinger, Fabian Rauscher,
   Simone Franza, and Daniel Gruss, Graz University of Technology
    https://www.usenix.org/conference/usenixsecurity24/presentation/gast




   This paper is included in the Proceedings of the
          33rd USENIX Security Symposium.
             August 14–16, 2024 • Philadelphia, PA, USA
                             978-1-939133-44-1




                                    Open access to the Proceedings of the
                                      33rd USENIX Security Symposium
                                          is sponsored by USENIX.
SnailLoad: Exploiting Remote Network Latency Measurements without JavaScript

        Stefan Gast, Roland Czerny, Jonas Juffinger, Fabian Rauscher, Simone Franza, Daniel Gruss
                                      Graz University of Technology




                          Abstract                                  induced by the caching infrastructure of a system [52, 79].
                                                                    Software-based timing attacks, in particular on the cache,
Inferring user activities on a computer from network traffic
                                                                    have been demonstrated on cryptographic algorithms [8], on
is a well-studied attack vector. Previous work has shown that
                                                                    ASLR (address-space layout randomization) [23, 31], secure
they can infer websites visited, videos watched, and even user
                                                                    enclaves [61], from websites [51], and to build covert chan-
actions within specific applications. However, all of these
                                                                    nels [45,59]. Most of these works study local scenarios where
attacks require a scenario where the attacker can observe the
                                                                    an attacker can execute native code [31], sandboxed code [77],
(possibly encrypted) network traffic, e.g., through a person-
                                                                    or code run in an interpreter [62].
in-the-middle (PITM) attack or sitting in physical proximity
                                                                       Other works study remote scenarios, typically with
to monitor WiFi packets.
                                                                    implementation-specific operations, such as encryption inter-
   In this paper, we present SnailLoad, a new side-channel
                                                                    faces [10] or special hardware interfaces [42]. A more exten-
attack where the victim loads an asset, e.g., a file or an image,
                                                                    sive set of works focuses on fingerprinting [65] using remote
from an attacker-controlled server, exploiting the victim’s
                                                                    side channels, e.g., via passive traffic analysis from within
network latency as a side channel tied to activities on the
                                                                    the same network [7, 47, 70, 71]. Alexander and Crandall [4]
victim system, e.g., watching videos or websites. SnailLoad
                                                                    focused on a more active attack scenario with spoofed SYN
requires no JavaScript, no form of code execution on the
                                                                    packets, triggering interaction between victim and server that
victim system, and no user interaction but only a constant
                                                                    the attacker can passively observe. Most works in this space,
exchange of network packets, e.g., a network connection in
                                                                    however, focus on person-in-the-middle scenarios to finger-
the background. SnailLoad measures the latency to the victim
                                                                    print, e.g., applications [69, 74] or websites [9, 58]. That is,
system and infers the network activity on the victim system
                                                                    they assume that the attacker controls at least one gateway or
from the latency variations. We demonstrate SnailLoad in a
                                                                    router in the path between server and victim. Naturally, this al-
non-PITM video-fingerprinting attack, where we use a single
                                                                    lows to monitor precise transmission times of packets, as well
SnailLoad trace to infer what video a victim user is watch-
                                                                    as their types and sizes [2,16,17,26,29,38,39,41,54,66,67,72].
ing momentarily. For our evaluation, we focused on a set of
                                                                    Passive remote attacks have so far only been demonstrated in
10 YouTube videos the victim watches, and show that Snail-
                                                                    the context of the Tor anonymity network [46, 48]. Murdoch
Load reaches classification F1 scores of up to 98 %. We also
                                                                    and Danezis [48] showed that they can reconstruct the activity
evaluated SnailLoad in an open-world top 100 website fin-
                                                                    of a Tor relay node using passive latency measurements.
gerprinting attack, resulting in an F1 score of 62.8 %. This
shows that numerous prior works, based on network traffic              Given this prior work we ask the following question:
observations in PITM attack scenarios, could potentially be         Can a passive remote attacker use latency measurements as a
lifted to non-PITM remote attack scenarios.                         side channel for browsing activity on a victim system? Can
                                                                    such a side-channel attack be mounted over the Internet?
                                                                       In this paper, we answer both questions in the affirmative:
1    Introduction                                                   We show that neither specific code on the victim machine nor
                                                                    direct observation of the possibly encrypted network traffic is
Side channels can leak information from implementations that        required to infer browsing activity on the victim system. We
are functionally correct and free of implementation errors [40].    show that these attacks are possible from arbitrary Internet
Software-based side channels have gained an increasing              servers, with distances of more than 8 hops to the victim,
amount of attention in the system security community, in            and with only minimal network activity. SnailLoad exploits
particular cache attacks, which exploit timing differences          the subtle variations in the round-trip times (RTTs) of net-



USENIX Association                                                                     33rd USENIX Security Symposium          2315
                                                                           reach classification F1 scores of up to 98 %. We also evaluated
               fast                     Bottleneck
  YouTube                                                                  SnailLoad in an open-world website fingerprinting attack, re-
                                             slow!                         sulting in a macro-averaged F1 score of 62.8 %. When using
               fast                                             Victim’s
                                                                           SnailLoad across connections, with training data from one
                                    ISP              Victim’s
  Attacker’s                      Endpoint           Gateway    Computer   connection applied to another, we still achieve an F1 score of
 HTTP Server                                                               40 % in a top-10 closed-world fingerprinting scenario.
                                                                              We evaluate the general applicability of SnailLoad on 10
Figure 1: The attack setup for SnailLoad. A victim downloads               home internet connections using ADSL, FTTH, FTTB, LTE,
data from an attacker’s HTTP server while it watches a video               and cable access technologies. With training data from the
on a video-sharing platform, e.g., YouTube. Due to the net-                victim’s internet connection over the top 10 YouTube videos,
work bottleneck on the victim’s side, the attacker can infer               played for 90 s with Firefox, we achieve F1 scores between
the transmitted amount of data by measuring the packet round               37 % on an FTTB connection and 98 % on an FTTH connec-
trip time. The round trip time traces are unique per video and             tion. Our evaluation shows variations in the accuracy between
can be used to classify the video watched by the victim.                   internet access technologies, depending on whether the last-
                                                                           mile transport medium is shared among multiple subscribers
                                                                           or not. We evaluate the attack performance for probing fre-
work packets that carry a side-channel signal influenced by                quencies between 20 Hz to 5 000 Hz, resulting in 0.4 kB/s to
activity of the victim. This enables an attacker to perform                320 kB/s of network traffic, in relation to differently-sized
network side-channel attacks, that so far required a person-in-            network activity of the victim ranging from 512 B to 8 MB.
the-middle (PITM) scenario, from a fully passive and fully                 Our results show that with a higher probing frequency, we
remote scenario off the transport path between victim and                  can observe also smaller-sized network activity of the vic-
server.                                                                    tim. However, below a size of 512 kB, we find no probing
   We investigate the latency variations by analyzing the RTTs             frequency that leaks the network activity reliably. This is
for different internet connections. Our analysis shows that                most likely due to not causing sufficient traffic for a visible
the root cause of SnailLoad are bandwidth differences in the               amount of contention on the packet queue before the last mile,
transport path between victim and server. As the server cannot             resulting in no visible delay for the attacker’s packets.
know how fast the victim can receive the packets, it sends a                  We conclude that numerous prior works on network side
certain amount (i.e., a burst) of data in a short time frame. If           channels in PITM attack scenarios could potentially be lifted
there is a node on the transport path that hands over data from            to a remote non-PITM attack scenario based on SnailLoad.
a higher bandwidth channel to a lower bandwidth channel,
it has to buffer packets to transmit them sequentially over                Contributions. We summarize our contributions as follows:
the lower bandwidth channel. Extreme cases where buffering                 1. We present SnailLoad, a new side-channel attack exploit-
leads to unusually high latencies are known as the bufferbloat                ing latency variations of the victim’s network connection
phenomenon. While bufferbloat has only been considered                        measured by loading an asset from an attacker-controlled
a quality-of-service issue so far, SnailLoad shows that the                   server; allowing to infer web activity of a victim.
timing differences induced by this buffering are exploitable by            2. We show that the root cause of the side channel is buffer-
any attacker that can send packets through the same network                   ing in a transport path node, typically the last node before
node to the victim. Importantly, this node is typically the last              the user’s modem or router, related to a quality-of-service
node connecting the victim exclusively to the internet, i.e., all             issue called bufferbloat.
packets to and from a victim pass through this node.                       3. We show that SnailLoad works despite the blocking of
   We evaluate SnailLoad in the first fully remote, non-person-               ICMP echo packets, through a low-bandwidth background
in-the-middle web activity fingerprinting attack. To remain                   connection such as a slow download, slow loading image
stealthy and to evade widely-used firewall restrictions (e.g.,                in a website, or a connection for a chat client.
ICMP ping messages being dropped), we masquerade our                       4. We evaluate SnailLoad in a user study with 10 differ-
SnailLoad latency measurements as a slow HTTP transfer                        ent internet connections and 6 different connection tech-
from an attacker-controlled web server. This HTTP transfer                    nologies, achieving video-fingerprinting F1 scores of 37 %
can be a background connection, e.g., for a messenger app,                    to 98 %. We also evaluate SnailLoad in a top-100 open-
or a slow website component embedded (e.g., an advertise-                     world website-fingerprinting attack, achieving an F1 score
ment, image, font, or style sheet) in an otherwise benign and                 of 62.8 %.
responsive website. Importantly, SnailLoad runs no code, e.g.,
no JavaScript, on the victim system. We show that a single                 Outline. Section 2 provides background on internet tech-
SnailLoad trace from this scenario suffices to infer what video            nologies and remote fingerprinting side-channel attacks. Sec-
a victim user is watching momentarily. For our evaluation, we              tion 3 presents the basic latency measurements that are the
focused on a set of 10 YouTube videos the victim watches, and              foundation of SnailLoad. Section 4 examines the root cause



2316     33rd USENIX Security Symposium                                                                             USENIX Association
of SnailLoad. Section 5 presents the threat model and at-            to DSL, the length of the data cable, due to being a coaxial
tack setup of SnailLoad. Section 6 evaluates SnailLoad in            cable, is not that influential on the bandwidth.
a video-fingerprinting scenario. We performed a user study              However, the number of end users sharing the same con-
comprising 10 different internet connections and 6 different         nection strongly influences the bandwidth. The download
internet connection technologies. Section 7 presents a top-          bandwidth of cable internet is up to 10 Gbit/s with DOCSIS
100 open-world website-fingerprinting attack. We discuss the         4.0, and the upload bandwidth is up to 6 Gbit/s [32].
impact of SnailLoad and the relevant scenarios in Section 8.
We conclude in Section 9.                                            Fiber optic Fiber optic internet connections use light im-
                                                                     pulses transmitted via a fiber optic cable. They provide the
                                                                     highest bandwidth and lowest latency for data transmission,
2     Background                                                     reaching up to 50 Gbit/s symmetric [19]. The fiber optic cable
                                                                     itself does not constrain this bandwidth but instead by the
We provide background on internet access technologies typ-           capabilities of the terminal equipment [56].
ically used by end users to connect to the internet. Further-           Fiber optic internet connections vary based on the compo-
more, we briefly introduce TCP/IP networking and dynamic             sition of the last mile’s connectivity. In a fiber-to-the-home
adaptive streaming over HTTP. Finally, we describe video             (FTTH) setup, the entire last mile exclusively uses fiber optic
fingerprinting attacks and remote timing side channels.              cables, resulting in a non-shared, highly efficient connection.
                                                                        In different, less costly configurations, such as Fiber-to-
2.1    Internet Access Technologies                                  the-Curb (FTTC) or Fiber-to-the-Building (FTTB), existing
                                                                     infrastructure like coaxial cables links homes to the optical
While fast backbone internet routers deliver 100 Gbit/s per          fiber network. In many instances, this leads to sharing lines
trunk line [24], with a recently ongoing shift to 400 Gbit/s         with other users, similar to cable and DSL connections.
technology [15], the last mile of an internet connection
still forms a bandwidth bottleneck. For Q3 2023, a recent            Mobile In contrast to the previously described wired tech-
study [37] of an internet speed test provider shows a world-         nologies, the router is wirelessly connected to a cellular tower
wide median download speed of 83.95 Mbit/s for wired                 for a mobile internet connection. Because they generally serve
connections and a worldwide median download speed of                 multiple clients, the last mile of the connection is inherently
203.04 Mbit/s for 5G connections, with high variations be-           shared, making the bandwidth and quality of the connection
tween different countries.                                           highly dependent on the number of clients.
   The prevalent connection types for end-users are DSL, ca-            The 5G standard uses higher frequency bands to increase
ble, fiber optic, and mobile. In this section, we briefly describe   bandwidth and reduce latency compared to 4G. Due to the
their characteristics.                                               higher frequency, 5G towers can only serve a smaller area
                                                                     than 4G towers. This leads to fewer users sharing the last
                                                                     mile, improving signal quality due to reduced congestion.
Digital Subscriber Line (DSL) DSL is an internet con-
                                                                        The bandwidth of 4G is up to 150 Mbit/s for download and
nection technology utilizing existing copper telephone lines.
                                                                     up to 50 Mbit/s for upload. 4G+ increased it to 300 Mbit/s
Multiple subscribers are connected to a DSL access multi-
                                                                     and 150 Mbit/s respectively [55]. 5G can reach significantly
plexer (DSLAM) before forwarding the connection to the
                                                                     higher bandwidths, with up to 20 Gbit/s for download and
internet service provider (ISP). The location of the DSLAM
                                                                     10 Gbit/s for upload [33].
is an essential factor in the achievable bandwidth due to signal
attenuation increasing with the length of the copper lines [21].
   DSL has a low bandwidth and high latency compared to              2.2    TCP/IP Networking
other technologies like cable and fiber optics. Download band-       The Transmission Control Protocol (TCP) is a protocol en-
widths typically range from 5 Mbit/s to 120 Mbit/s, with up-         suring the correct and ordered transmission of data over a
load bandwidths from 1 Mbit/s to 20 Mbit/s. Since the last           network. It works closely with the Internet Protocol (IP) that
mile of DSL is shared between multiple participants, the band-       enables the transmission of packets across network boundaries
width can be limited when many participants use the shared           from a specific source to a receiver. TCP/IP, the combined
line. This also influences the latency.                              suite, forms the foundation of most modern internet commu-
                                                                     nications, supporting a wide array of applications like web
Cable Similarly to DSL, cable internet also takes advan-             browsing (HTTP), E-Mail, and file transfers.
tage of existing infrastructure: the coaxial cables for cable
television. The Data Over Cable Service Interface Specifica-         Packet Acknowledgment TCP is a connection-oriented
tion (DOCSIS) is a set of specifications standardizing data          protocol, using a handshake mechanism to establish a connec-
transmission over television cable systems [32]. In contrast         tion between sender and receiver. Upon the arrival of a packet,



USENIX Association                                                                     33rd USENIX Security Symposium          2317
the receiver sends an acknowledgment packet (ACK) back to          such as Dynamic Time Warping [26], Minimum Variance
the sender, enabling the retransmission of lost packets.           Matching [26], Nearest Neighbor Classification [16], Support
   TCP is implemented using send and receive buffers.              Vector Machines [16], Sequential Minimal Optimization [39]
Packets reside in the send buffer until an ACK is received.        or, more recently, convolutional neural networks [38, 39, 57].
The size of the send buffer determines how many not-yet-
acknowledged packets can be in transit. A receive buffer           2.5    Remote Timing Side Channels
holds all received packets the application still needs to read.
                                                                   In the context of side-channel attacks, the term remote has
Congestion Control Another vital feature of TCP is conges-         been used for a variety of scenarios. Some works described
tion control, which is crucial for maintaining a stable network,   JavaScript-based attacks as remote [18, 25, 51, 76], other at-
especially when it becomes heavily loaded. TCP employs             tacks focus on specific interfaces, e.g., encryption interfaces
several mechanisms to avoid or remove network congestion.          or encrypted web traffic [8,10,13,14,63], and a third category
   A congestion window determines the amount of data the           of attacks works by only sending network packets to a ma-
sender may send before receiving an ACK packet. The size of        chine without targeting specific interfaces [42, 44, 73]. All of
the congestion window is controlled by the sender and is based     these attacks rely on implementation-specific operations that
on its perception of network congestion using information like     the victim system performs that are unrelated to the actual
lost or delayed ACK packets. The value adapts dynamically to       victim activity targeted. Contention of buffers within the local
the current load of the network.                                   (wireless) network [75] same system [20] can also contribute
   To determine the congestion window size, typically, an          to performance anomalies that SnailLoad exploits.
algorithm known as slow start is employed. The initially              In the context of IoT devices, passive traffic analysis from
small congestion window size is doubled upon each success-         within the same network has been demonstrated to allow
ful round trip until it reaches a threshold where packet loss is   derivation of privacy-related information [7, 47, 71]. This is
detected. Once the threshold is reached, TCP transitions from      related to a line of research fingerprinting encrypted web traf-
slow start to congestion avoidance. In this mode, the window       fic [65]. Previous works have demonstrated application fin-
size is changed more slowly to avoid congestion.                   gerprinting [69,74], video fingerprinting [16,68], and website
                                                                   fingerprinting [9,58]. The two attack scenarios for these works
                                                                   are either a local network attacker, controlling a gateway in
2.3    Dynamic Adaptive Streaming over HTTP                        the local network far enough to spy on the traffic of a specific
Dynamic Adaptive Streaming over HTTP (DASH) is a stan-             machine [7, 47, 70, 71], or a remote network attacker, control-
dard for video streaming [35], used by multiple video stream-      ling a router somewhere in the path between server and victim.
ing services, including YouTube [26, 39]. DASH servers split       More active attacks can also trigger interaction between vic-
videos into small chunks of typically 2–6 seconds, each with       tim and server that the attacker then measures [4]. Different
multiple quality levels, allowing the client to request each       features that are available to such person-in-the-middle at-
chunk on demand, dynamically choosing a suitable bitrate,          tackers have been exploited [2, 16, 17, 26, 29, 38, 39, 72], e.g.,
based on the available bandwidth. Video codecs and streaming       message type [41, 67], packet length [54, 66]. Rather passive
services typically use variable-bitrate (VBR) encoding [6],        remote attacks have so far only been demonstrated in the con-
enabling them to save bandwidth for scenes with only mi-           text of the Tor network [46, 48]. Murdoch and Danezis [48]
nor picture changes and to increase the bitrate for scenes         showed that they can reconstruct the activity of a Tor relay
containing more motion. Consequently, timing and sizes of          node using passive latency measurements. Finally, many net-
transferred chunks differ for each video, based on the content.    work side-channel works focus on the information recovery
                                                                   rather than the information collection aspect [9, 16, 58, 68].

2.4    Video Fingerprinting Attacks
                                                                   3     The Latency Side Channel
As the timings and sizes of the transferred chunks form an
individual fingerprint of each video, an attacker can infer the    In this section, we do not yet mount an SnailLoad but only
video played from the victim’s network traffic by matching the     study the latency side channel. We examine latency variations
observed traffic metadata against prerecorded traces. Multiple     on internet connections depending on different activities and
prior video fingerprinting attacks monitored network traffic       show that the ISP’s endpoint and the last mile have a signif-
directly from a PITM position [16, 26, 27, 38, 39] or from a       icant influence. Our initial experiments also show that the
WiFi signal [16]. More recent work [57] demonstrated a video       effect can be observed by any unauthorized and unprivileged
fingerprinting attack based on the detection of network inter-     third party with a network connection to the system.
rupts on the victim machine, indirectly observing network             For now, we measure latencies using ICMP pings. For our
traffic. Inferring videos from traces is a typical classifica-     SnailLoad attack later on, we have to resort to other packets
tion task. Prior attacks used different classification methods,    as networks today commonly filter “ping packets” by default.



2318   33rd USENIX Security Symposium                                                                         USENIX Association
           60                                                                  60
RTT [ms]




                                                                   RTT [ms]
                                       amazon.com                                                               amazon.com
           40                                                                  40
                     google.com                                                              google.com
           20                                                                  20
            0s      5s         10 s       15 s       20 s                         0s         5s         10 s       15 s        20 s
                 (a) Same machine pinging 8.8.8.8.                            (b) Different machine in the same network pinging 8.8.8.8

Figure 2: Effect of internet connection activity on the round trip times. A machine is constantly pinging 8.8.8.8 while the two
websites google.com and amazon.com are opened. The internet is provided by a 50 Mbit/s ADSL connection.


The ping command sends an ICMP Echo Request to the                            again without observing latency spikes. The average RTT in
target machine, which in turn responds with an ICMP Echo                      this setting is 0.91 ms (n = 2 223), with a maximum of only
Reply. The latency between sending the ICMP Echo Request                      1.5 ms at the start of the measurement, unrelated to the website
and receiving the ICMP Echo Reply is recorded as the round                    loads. These results indicate that the observed latency spikes
trip time (RTT). Typical use cases of the ping command focus                  are caused by either the ISP’s endpoint, the home internet
on the round trip time, e.g., to monitor the network status.                  gateway, or the last mile in between.
   For our first experiment, we use a 50 Mbit/s ADSL connec-
tion, with a client machine directly connnected to the internet                 The latency is influenced by the ISP’s endpoint and the
gateway (i.e., home router) via an Ethernet cable. On the                       last mile.
client machine, we ping the Google DNS server (IP: 8.8.8.8)
with an interval of 50 ms and record the RTTs over time. Ac-
cessing google.com and amazon.com on the same machine
                                                                              4     Latency Side Channel Root Cause Analysis
shows RTT spikes while loading (cf. Figure 2a). We can see
that this effect is quite subtle for a comparably plain website
                                                                              In this section, we analyze the root cause for the latency spikes
like the Google start page, while it is more noticeable for
                                                                              observed in Section 3. We show that these can be explained by
more complex websites like the Amazon start page. This is a
                                                                              packet buffering at the ISP’s endpoint, to which the customer’s
surprising observation as either of the websites only triggers
                                                                              internet gateway is connected on the last mile.
a few hundred kilobytes of traffic, nothing that should affect
the network response times in a significant way.                                 As the last mile of the user’s internet connection has a
                                                                              significantly lower bandwidth than backbone internet infras-
  The latency is influenced by small degrees of victim inter-                 tructure (see Section 2.1), there is a bandwidth bottleneck at
  net activity already.                                                       the ISP’s endpoint (i.e., DSLAM, CMTS, ONT, or cell tower).
                                                                              Network components, such as switches and routers, connect
   In a second experiment, we show that the latency spikes are                a high-bandwidth to a low-bandwidth network segment and
not caused by an effect on the client computer, e.g., kernel- or              buffer packets to be forwarded to the low-bandwidth segment.
user-level packet handling, or system activity due to rendering.              This prevents packet loss when the low bandwidth segment is
We repeat the experiment on the same internet connection                      congested. However, as packets have to be forwarded sequen-
but on a second machine directly connected to the gateway.                    tially, a busy low-bandwidth connection delays the delivery
We still ping the server from the first machine but load the                  of packets coming from the high-bandwidth segments.
websites on the second machine. This experiment results in
the same latency spikes as shown in Figure 2b. This observa-                    The root cause of the latency side channel is the buffer-
tion shows that the effect is not caused by any hardware or                     ing of packets in nodes between high-bandwidth and low-
software component of either of the two client computers.                       bandwidth network segments, often located directly before
                                                                                the last mile. Typically, all internet packets for a specific
  The latency is influenced by internet activity on other sys-                  user have to pass through this node.
  tems in the same network.
                                                                                We investigate the extent of this delay for 11 internet con-
   We also verify that the effect is not caused by the network                nections by comparing their baseline and congested ping
connection between the two client machines. For this, the first               round-trip times (RTTs). We directly connect a client com-
client machine pings the second machine, with the second                      puter to the home internet gateway (i.e., router) via a standard
machine loading the websites. In this scenario, we do not                     1000BASE-T (ethernet) cable and ping the Google DNS
observe any latency spikes corresponding to website loads.                    server (IP address: 8.8.8.8). To measure the baseline RTT,
We repeat the same experiment with a ping interval of 10 ms,                  we perform the measurement while the connection is other-



USENIX Association                                                                                33rd USENIX Security Symposium          2319
          4,000                                         idle                                   4,000                                      idle
# Cases




                                                                                   # Cases
          2,000                                         with download                          2,000                                      with download

             0                                                                                    0
                    0               200         400          600                                          0          200          400           600
            (a) Round trip time [ms] on ADSL-1 with 50 Mbit/s                                      (b) Round trip time [ms] on LTE with 75 Mbit/s


          4,000                                         idle                                   4,000                                       idle
# Cases




                                                                                     # Cases
          2,000                                         with download                          2,000                                       with download

             0                                                                                     0
                           20             30           40               50                                      20          30            40          50
            (c) Round trip time [ms] on FTTH-1 with 80 Mbit/s                                     (d) Round trip time [ms] on Cable with 250 Mbit/s

  Figure 3: Histograms of the round trip times of multiple internet connections, idle and with a download running in parallel.

  Table 1: Tested internet connections and their round trip times (idle and saturated), as measured with ICMP Echo Requests.

                                      Bandwidth [Mbit/s]                 Idle RTT [ms]                        Congested RTT [ms]
                   Connection
                                      max.1    measured                 min.     avg.              max.         min.       avg.           max
                   ADSL-12            50                   47      13.939      14.674            16.446       398.160   522.239     663.573
                   ADSL-22            8                   3.8      14.754      16.177            22.022       105.484   189.234     231.968
                   FTTH-12            80                 73.4       7.200       8.453            12.587         8.172    40.010      46.341
                   FTTH-23            80                 76.2           8      10.538                49             8    34.509          95
                   FTTH-32            300               292.8       7.093       7.630            10.697        22.801    34.811      42.369
                   FTTB-14            250                 249      34.467      36.072            40.385        45.202    61.627     110.449
                   FTTB-22            300               291.2      12.067      15.372            27.890        12.507    35.145      81.489
                   FTTB-32            150               236.8      14.437      15.746            29.835        11.825    28.760      87.212
                   LTE2               75                   78      49.683      52.844            56.483       156.945   322.248     588.891
                   LTE+2              200                 120      30.515      34.329            77.128        40.969   293.244     815.692
                   Cable2             250               261.3      20.622      22.299            37.609        17.598    26.728      55.508
              1 according to ISP,    2 n = 5000 for RTT measurements,     3 n = 1000 for RTT measurements,        4 n = 100 for RTT measurements




wise idle. For the congested RTT, we perform the measure-                           nections (ADSL-1 and ADSL-2 in Table 1) and the mobile
ment while downloading a large file from a web server. We                           connections (LTE and LTE+). These more extreme latency in-
verify that the chosen download server has a transfer rate                          creases are caused by excessive buffering in network compo-
higher than the maximum download rate of the tested home                            nents, a networking problem known as bufferbloat [5, 20, 36].
internet connections by measuring its transfer rate at the uni-                     While bufferbloat can be mitigated by Active Queue Manage-
versity, where we measure a transfer rate of approximately                          ment (AQM) schemes, such as CoDel [50,64] or PIE [53], we
800 Mbit/s.                                                                         want to emphasize that these only prevent excessive buffering
   Our results, summarized in Table 1, show a substantial                           and reduce the delay caused by it. Even with AQM schemes,
increase in the average RTTs for all the internet connections                       the low-bandwidth bottleneck still exists, and some (reduced)
we tested. The histograms in Figure 3 show the distributions                        form of buffering is required to prevent excessive packet loss.
of the RTTs with and without a download running in parallel                         Thus, AQM reduces the difference in RTTs between an idle
for an ADSL, an LTE, an FTTH, and a cable connection.                               and a congested last mile. However, it cannot entirely elimi-
Each of the internet connections we tested has characteristic                       nate the difference. Hence, all the tested connections carry a
distributions, showing that we are observing an effect specific                     side-channel signal leaking usage information. Only for some
to the internet connection itself.                                                  of these connections, the side-channel signal is amplified by a
   Some of the tested connections show average RTTs of more                         heavy bufferbloat. Figure 4 illustrates the latency differences
than 150 ms when they are congested, such as the ADSL con-                          for idle, busy, and bufferbloat-affected connections.



2320        33rd USENIX Security Symposium                                                                                              USENIX Association
                                                                      Algorithm 1: Measuring round trip times using TCP
                                                                      Acknowledgment messages from a Linux process
                                                   ...                 Input: A socket descriptor sock with the
                                                                              TCP_NODELAY option set
                                                                       Input: A single byte b to be sent to the client
                                                                       Result: The measured round trip time rtt
(a) Connection idle: (b) Connection busy: (c) Bufferbloat: Ex-       1 begin

packet forwarded im- packet buffered for a cessive packets lead      2    acked ← false;
mediately.           short delay.          to long delays.           3    start ← get_current_time();
                                                                     4    send(sock, b, 1, 0);
Figure 4: The effect of congestion on network latencies. The         5    repeat
forwarding delay of the measurement packet correlates with           6        if ioctl(sock, SIOCOUTQ) = 0 then
the occupancy of the buffer in the router.                           7            acked ← true;
                                                                     8        end
                                                                     9    until acked;
    In extreme cases, the latency is amplified by the bufferbloat   10    end ← get_current_time();
    phenomenon.                                                     11    return end − start;
                                                                    12 end
   While our analysis provides a good understanding of the la-
tency side channel and the root cause of the latency variations
and spikes, we now move on to the SnailLoad attack.                 5.2     Attack Overview
                                                                    Our video-stream fingerprinting attack consists of an online
                                                                    recording phase and an offline post-processing phase. During
5      SnailLoad: Video-Fingerprinting Attack                       the recording phase, the attacking server records the network
                                                                    latency trace of the victim watching the first 90 seconds of
In this section, we describe the SnailLoad attack in detail,        a video, measuring the round trip times of single-byte TCP
starting with the threat model and attack overview. Because         packets and their corresponding acknowledgment messages.
we cannot use ping to measure RTTs, we show a new ac-               In the post-processing phase, we infer which video was played
curate method to measure RTTs using TCP ACK packets.                from the recorded trace using a convolutional neural network
This method uses only 400 B/s of network traffic. Using it,         trained with traces from an identical network setup.
we record network latency traces of streamed videos and clas-
sify them using a convolutional neural network. The average
classification accuracy of 10 videos over all 10 tested internet    5.3     Network Latency from TCP ACKs
connections is 66.8 %.                                              In the previous experiments, we measured network round
                                                                    trip times using the ping command that was running on the
                                                                    victim machine. However, in our threat model, the attacker
5.1      Threat Model                                               does not have control over the victim machine. We implement
                                                                    a similar measurement with code only running on the attacker-
The attacker wants to know which video the victim user is           controlled server. While, in principle, it is possible to ping the
watching. The attacker runs a native code TCP server and            public IP address of the victim machine, the attacker might
causes the victim to initiate a TCP connection with a down-         not know the victim’s public IP address in advance, and the
load from the server while watching the video. As any back-         internet gateway of the victim might be configured to drop
ground TCP transfer is enough to conduct SnailLoad, there           ICMP echo requests for security reasons [60]. In this section,
are numerous ways to deploy it, e.g., download mirrors for          therefore, we exploit the TCP acknowledgment mechanism
legitimate benign software, (third-party) website assets like       to measure round trip times, i.e., any open TCP connection
images, and several other scenarios (see Section 8). Impor-         between victim and server is sufficient to record round trip
tantly, the attacker cannot run any code on the victim machine,     times periodically.
i.e., the client application accessing the web server does not
execute JavaScript or WebAssembly originating from the at-
                                                                    5.3.1   TCP Packet Acknowledgments
tacker’s web server. We furthermore do not assume ICMP
Echo Requests and ICMP Echo Responses to be forwarded               To ensure reliable transmission, TCP requires the recipient to
between the victim and the attacker, i.e., ping is blocked, a       acknowledge each segment back to the server. For this, the
standard router configuration today [60].                           receiver sends back a TCP message to the sender with the ACK



USENIX Association                                                                     33rd USENIX Security Symposium           2321
flag and the acknowledgment number set in the TCP header




                                                                   RTT [ms]
                                                                              34
(see Section 2.2). Measuring the time between sending some
data and receiving the corresponding TCP acknowledgment                       32
again results in the round trip time, similar to using ICMP
                                                                              30
Echo Requests and Replies as before. However, unlike ICMP                          0              20            40           60
Echo Requests and Echo Responses, TCP acknowledgments                                  (a) Video A, Trace 1, Time in seconds on x axis
are required for every TCP connection, and, therefore, they
cannot be blocked globally.




                                                                   RTT [ms]
                                                                              34

 A single, low-traffic TCP connection is sufficient to mount                  32
 SnailLoad. Blocking ICMP Echo messages does not pre-
 vent SnailLoad.                                                              30
                                                                                   0              20            40           60
                                                                                   (b) Video A, Trace 2, Time in seconds on x axis
5.3.2   TCP Packet Acknowledgment Detection




                                                                   RTT [ms]
                                                                              34
Linux does not provide a standardized way to inform a user
space application of packet acknowledgments. However, by                      32
probing the number of packets in the send buffer, we can
see when a packet was acknowledged because it is removed                      30
                                                                                   0              20            40           60
from the send buffer. The equivalent information can also be                           (c) Video B, Trace 1, Time in seconds on x axis
obtained using libpcap, as we show in Section 7.
   Algorithm 1 shows how such a measurement is imple-              RTT [ms]
                                                                              34
mented in a Linux server process. After obtaining the start
time (Line 3), we invoke the send system call to enqueue a                    32
single byte to be transmitted to the victim machine (Line 4).
As send returns immediately after placing the data to be sent                 30
                                                                                   0              20            40           60
in the send buffer, only timing the send system call is not                            (d) Video B, Trace 2, Time in seconds on x axis
sufficient. However, as described in Section 2.2, sent data is
removed from the send buffer as soon as the server receives an     Figure 5: Averaged RTT traces from a client watching two
acknowledgment for it. Consequently, in Line 5 until Line 9,       different videos twice. There are features to distinguish the
we wait until the send buffer becomes empty again, using the       two videos and match the two traces of the identical videos.
SIOCOUTQ socket ioctl call to retrieve the number of bytes
currently in the send buffer (Line 6). As soon as that number is
0 again, we leave the loop and obtain the end time in Line 10,
                                                                   5.3.3           Web Server Implementation
yielding the round trip time as the difference between the end
time and the start time (Line 11). Alternatively, an equivalent
approach with libpcap can be used to match outgoing packets        While SnailLoad works with any TCP connection, we imple-
and incoming ACKs (cf. Section 7). For probing frequencies         ment a web server offering a file via HTTP to record network
that may exceed the round-trip time of the connection, we          latency traces due to the large compatibility with existing
resort to libpcap, and use the send buffer for lower frequency     client applications, i.e., web browsers. The victim connects
attacks (e.g., Section 6).                                         to the web server and requests the file. After sending back
   By setting the TCP_NODELAY socket option, we disable Na-        the HTTP header, the server performs latency measurements
gle’s Algorithm [34,49] to ensure that each of the single bytes    while transferring the file content. Every 50 ms, the server
is sent out immediately in separate TCP packets without merg-      sends a single byte to the client and measures the round trip
ing multiple bytes into a single TCP packet. Consequently,         time by polling the send buffer, as previously described. We
each single byte is acknowledged separately by the victim ma-      choose 50 ms as the time slice, since we want to have a high
chine. Therefore, each single-byte transmission enables the        temporal resolution, yet we do not want to exceed the regular
server to measure the round trip time to the victim. Further-      round trip time of an idle connection. This results in a low
more, sending each byte in a separate TCP packet prevents          transfer rate of only 501 ms
                                                                                             B
                                                                                                = 20 B/s visible to the user, which
measurement influence from changing TCP transmission win-          gives SnailLoad its name. Effectively, due to the overhead of
dow sizes.                                                         TCP/IP, this results in 400 B/s of network traffic, which is still
                                                                   very unsuspicious given that internet connections today can
 It is possible to detect TCP packet acknowledgments with          commonly handle multiple megabytes per second. Figure 5
 user privileges by polling the TCP send buffer.                   shows the traces of one client watching two different videos
                                                                   two times. We can recognize the clear similarity between the



2322    33rd USENIX Security Symposium                                                                                   USENIX Association
                      128 KiB    0    0    0   0    0    0    0    0    0    0                       Table 2: CNN Parameters

                      256 KiB    0    0    0   0    0    2    0    0    0    0
                                                                                      Type            Parameters                            Activation
      Download Size



                      512 KiB    8    7    6   8    7    9    8    8    6    2        Conv2D          filters=32, kernel      size=[5,5],   ReLU
                                                                                                      strides=[1,1]
                       1 MiB     10   7    8   8    7    9    8    8    7    8
                                                                                      MaxPooling2D    pool size=[2,2], strides=[2,2]        -
                                                                                      Conv2D          filters=64, kernel      size=[3,3],   ReLU
                       2 MiB     10   10   9   10   10   10   10   10   9    10
                                                                                                      strides=[1,1]
                                                                                      MaxPooling2D    pool size=[2,2], strides=[2,2]        -
                       4 MiB     10   10   9   10   10   9    9    9    10   8
                                                                                      Conv2D          filters=128, kernel size=[3,3],       ReLU
                                                                                                      strides=[1,1]
                       8 MiB     10   10   9   9    9    10   10   10   9    10
                                                                                      MaxPooling2D    pool size=[2,2], strides=[2,2]        -
                                                                                      Flatten         -                                     -
                                      0
                                     0
                                     0
                                     0
                                    00
                                    00
                                    00

                                     0
                                     0
                                     0
                            10
                                   20
                                   40
                                   80




                                  80
                                  60
                                  20
                                 16
                                 32
                                 64
                                12
                                25
                                51
                                                                                      Dense           output size=1024                      ReLU
                                               Sample Rate (µs)                       Dense           output size=512                       ReLU
                                                                                      Dense           output size=10                        Softmax
Figure 6: Identified downloads for different download sizes
and sampling rates (n = 10). Evaluation with ADSL-1
(50 Mbit/s) connection.                                                           windows of the network trace. The output of the STFT con-
                                                                                  sists of two dimensions, with one dimension being the time
                                                                                  and a second dimension being individual Fourier Transforms
same videos (traces 1 and 2) and see distinctive features for                     on the time slices, corresponding to the change in frequency
the other video (traces 3 and 4).                                                 over time. These two dimensions provide us with frequency
                                                                                  information from the network trace while partially preserving
5.4   Attack Parameter Sweep                                                      the time domain. The 2D STFT allows us to perform convo-
                                                                                  lutions on the data, which would not be directly possible with
To determine the conditions under which the side channel                          the initial one-dimensional network latency traces. We feed
works, we perform a parameter sweep, shown in Figure 6,                           the output of the STFT into a convolutional neural network
with different download sizes and sample rates. The evalu-                        (CNN) for classification. We use KERAS (Tensorflow) on an
ation was done on the ADSL-1 (50 Mbit/s) connection. We                           Intel(R) Core(TM) i5-10210U CPU, with a runtime of 5 min
evaluated sampling rates specified as window sizes between                        to 10 min. The layout of the CNN is shown in Table 2. The
100 µs, corresponding to 100 kHz, to 51 200 µs, correspond-                       CNN consists of three convolutional layers followed by three
ing to 19.5 Hz. Translating the connection capacity to these                      dense layers. The final layer outputs the likelihood that the
window sizes we obtain 336 kB per 51 200 µs and 655 B per                         input corresponds to a specific label for each possible label.
100 µs. Thus, in theory, transmitting as much data within this
time frame should lead to contention in the buffer before the
last mile and thus to a visible latency difference. However,
as we see in Figure 6, even for higher sampling rates, we                         6    SnailLoad: Video-Fingerprinting Evaluation
cannot reliably detect downloads of less than 512 kB. The
reason for this may be that slow-start or congestion-avoidance                    In this section, we show that SnailLoad leaks privacy-relevant
mechanisms successfully prevent the negative impact of the                        information about which video a victim is playing. We eval-
download’s packets on other packets. Furthermore, at higher                       uate SnailLoad on 10 different home internet connections.
sampling rates the TCP stack also starts grouping packets,                        For a set of 10 YouTube videos, played for 90 s in Full HD
effectively keeping the sampling rate higher than attempted.                      resolution, our evaluation shows an accuracy of up to 98 %.
This observation can also be the reason for lower accura-                            We select the videos in two steps: From the videos trending
cies for some websites in our website-fingerprinting attack in                    in the USA between October 2022 and September 2023, we
Section 7.1, i.e., due to their relatively low size.                              first select the videos with at least 70 million views, yielding
                                                                                  23 videos. In the second step, we randomly select 10 videos
5.5 Classifying Network Latency Traces with                                       out of this subset.
    a Convolutional Neural Network                                                   For each internet connection, we repeat the following three
                                                                                  steps: First, we record 50 traces of the first 90 s of each of
In order to efficiently classify the network latency traces,                      the 10 videos (Section 6.1). In the second step, we reserve
we employ a method typically used in signal classifica-                           a randomly selected subset of 10 traces per video as a test
tion [12, 30, 57, 78]. To classify a network latency trace, we                    set and use the remaining 40 traces to train our CNN-based
first apply a Short-Time Fourier Transform (STFT) to it. An                       classifier (Section 6.2). Finally, we evaluate the trained model
STFT performs multiple Fourier Transforms on short time                           on the test set (Section 6.3).



USENIX Association                                                                                   33rd USENIX Security Symposium                2323
                        10                         10                                10                         10                         10
Video




                             Video




                                                         Video




                                                                                          Video




                                                                                                                      Video
                        5                          5                                 5                          5                          5



                        0                          0                                 0                          0                          0
        Prediction                   Prediction                  Prediction                       Prediction                  Prediction

          ADSL-1                       ADSL-2                      FTTH-1                           FTTH-2                      FTTH-3
        50 Mbit/s                     8 Mbit/s                   80 Mbit/s                        80 Mbit/s                   300 Mbit/s
        F1 = 89 %                    F1 = 73 %                   F1 = 98 %                        F1 = 94 %                   F1 = 57 %


                        10                         10                                10                         10                         10
Video




                             Video




                                                         Video




                                                                                          Video




                                                                                                                      Video
                        5                          5                                 5                          5                          5



                        0                          0                                 0                          0                          0
        Prediction                   Prediction                  Prediction                       Prediction                  Prediction

          FTTB-1                       FTTB-3                        LTE                             LTE+                       Cable
        250 Mbit/s                   150 Mbit/s                  75 Mbit/s                        200 Mbit/s                  250 Mbit/s
        F1 = 41 %                    F1 = 37 %                   F1 = 57 %                        F1 = 56 %                   F1 = 66 %

                     Figure 7: Confusion matrices for YouTube video fingerprinting on 10 internet connections.


6.1     Recording the Network Latency Traces                                  until the video starts, prolonging the time the participants of
                                                                              our user study need to run the measurement. Hence, we opted
For each connection, we successively record traces for the 10                 for ad blocking to reduce the time for the participants.
videos and repeat the recording in 2 batches with 25 iterations.
Recording the videos successively during each iteration pre-
vents correlations between daytime-dependent noise and the                    6.2    Training the Classifier
played video. For each trace, the client starts the SnailLoad              After recording, we split the 50 traces of the 10 videos into
HTTP file transfer and, after waiting for 3 s, also starts watch-          training, validation and test sets. Following best practices [1],
ing the video. After 90 s, the client aborts the file transfer and         we use a training set of 36 traces per video to fit the model,
closes the video. After a pause of 3 s, the client continues with          a validation set of 4 traces per video to evaluate the model
the next video. In total, recording all 500 traces for a single            during training and a test set of 10 traces for the final evalua-
connection takes approximately 13.5 h.                                     tion of the trained model. For each internet connection, the
   Each recording is performed on one of two hosted servers,               individual hyperparameters for the CNN were empirically
both of them connected to the Internet via a 1 Gbit/s down-                chosen to achieve good generalization against the validation
link. Both servers are more than 8 hops away from the client               set.
machine, as tested with the traceroute command.
   On the client machine, we use Firefox for both the HTTP                    6.3    Results
file transfer and for watching the video. However, as the
network-latency side channel is independent of the browser                 After training the classifier for the internet connection, we
and operating system being used, we can expect similar re-                 evaluate the model on the test set. Figure 7 shows the results
sults using another client configuration. We also tested this              for all the 10 internet connections we tested. Each cell shows
in smaller experiments but focused on this specific setup for              the probability that the classifier assigns the label indicated
the large-scale evaluation. As our traces shall only contain               by the column to the videos indicated by the row. White or
data from videos requested by the user, without any advertise-             light gray cells indicate a low probability, whereas black or
ments, we use uBlock Origin [28] as an ad blocker. Using an                dark gray cells indicate a high probability. We also provide
ad blocker is not strictly required for the attack because adver-          the F1 scores we obtained for each connection.
tisements are effectively separate videos, and prior work [6]                 For all the internet connections we tested, we obtain F1
has shown that each video starts with a characteristic burst of            scores significantly better than random guessing (which would
network traffic, allowing the attacker to separate the advertise-          be F1 = 10 %). The high probabilities along the diagonals in
ments from the video. However, it would increase the time                  the confusion matrices also support that our attack works



2324     33rd USENIX Security Symposium                                                                                  USENIX Association
on all the tested connections. Overall, our F1 scores range            7     SnailLoad: Website-Fingerprinting
from 98 % for the FTTH-1 connection to 37 % for the FTTB-3
connection.                                                            In this section, we present an open-world website-
                                                                       fingerprinting attack on the top 100 websites from the Alexa
   When comparing the FTTH connections, we notice a dif-
                                                                       top 1 million list [3]. We use an other class for randomly
ference in accuracy between the 80 Mbit/s (FTTH-1, FTTH-2)
                                                                       sampled websites not in the top 100.
and the 300 Mbit/s connection (FTTH-3). A lower bandwidth
increases the transfer duration of the video segments, result-
ing in signal features that are easier to detect for our classifier.   Threat Model and Attack Setup Our website-
Thus, on the lower bandwidth FTTH-1 and FTTH-2 connec-                 fingerprinting attack works in the same threat model
tions, we achieved accuracies of 98 % and 94 %, respectively,          as the video-fingerprinting attack in Section 6. The attacker
whereas on the higher bandwidth FTTH-3 connection, the                 wants to know which website the victim user opens while a
accuracy was 57 %.                                                     background transfer is running a SnailLoad attack, i.e., the
                                                                       online recording phase of the attack. The attacker still cannot
   When comparing the results from the fiber-based connec-
                                                                       run any code on the victim machine, i.e., also no JavaScript.
tions, we notice a difference in accuracy between the FTTH
                                                                       We again assume a standard router configuration [60], with
connections and the FTTB connections. The accuracy with the
                                                                       ICMP Echo messages blocked. As most websites load within
FTTB-1 and FTTB-3 connections was significantly lower, with
                                                                       just a few seconds, we have to increase the attack sample rate
F1 scores of only 41 % and 37 %, respectively. This might be
                                                                       to obtain a sufficient number of samples per trace. On the
caused by noise from other customers using the same shared
                                                                       attacking download server, we therefore capture outgoing
fiber cable of the FTTB connection simultaneously. Espe-
                                                                       TCP packets and ingoing TCP ACKs using libpcap and
cially for the FTTB-3 connection, when measuring the RTTs
                                                                       compute the timings from the recorded packets, instead of
for the congested case in Section 4, we observed significant
                                                                       using Algorithm 1. This allows us to increase the sample rate
fluctuations in the measured latencies, which have a standard
                                                                       to 5 000 Hz, as we can now have multiple unacknowledged
deviation of σ = 12.595 ms (n = 5000). This is relatively high
                                                                       TCP packets in flight, without having to wait for each single
when compared to the average RTT difference between the
                                                                       packet to be acknowledged before sending the next packet.
idle and congested case of only 13.014 ms, and thus makes
                                                                       In an offline post-processing phase, we again use an STFT
detecting relevant features more challenging for the classifier.
                                                                       and a CNN-based classifier to identify the website visited
   Compared to the FTTB connections, we achieved higher                by the victim. As we collect substantially more data, with
accuracies on the cable and mobile connections. With the Ca-           a higher sample rate and more traces in total, we now use
ble connection, the accuracy was F1 = 66 %. For the mobile             KERAS (Tensorflow) on an NVIDIA RTX 4080 GPU, with a
LTE and LTE+ connection, we achieved similar F1 scores of              runtime of 3 min to 7 min per training run. We also evaluate
57 % and 56 %, respectively. These comparatively high accu-            a cross-connection scenario, trained on one connection
racies are surprising, as for both cable and mobile connections,       (ADSL-1) and applied to another (FTTH-1).
the last mile is shared among multiple customers, similar to
FTTB. However, both cable [32] and LTE [55] divide the
frequency band used for transmissions into separate channels,
                                                                       7.1    Evaluation
possibly reducing the sharing between customers.                       We evaluate our SnailLoad on in an open-world scenario. We
   On both ADSL connections, we also achieved high accu-               collect 30 traces per classified website (3 000 in total). Since
racies of F1 = 89 % (ADSL-1) and F1 = 73 % (ADSL-2). The               we evaluate an open-world scenario, we collect an additional
relatively low bandwidth contributes to prominent signal fea-          750 traces from randomly sampled from the Alexa top 1
tures (as shown in Figure 5) that improve the accuracy.                million list [3], which are not in the top 100. With 10 seconds
                                                                       per trace and about 6.5 seconds to switch between websites,
   Overall, as with other fingerprinting attacks, the accuracy         this yields a data collection runtime of about 17 hours. We
can be improved with more training data, i.e., more or longer          randomly split the data for each class into 5 equally large parts
traces per video. However, we aimed to cover a wide variety            and perform a 5-fold cross-validation, while making sure that
of internet connections and recruited volunteers for recording         the test set never overlaps with the training set in the same
the traces. While our recording time was limited for practical         run. Consequently, in the open-world scenario, test set traces
reasons, we assume that a dedicated attacker has the resources         of the other class belong to websites that the model has never
available to record more training data and thus to improve the         seen during training. We train our CNN with a validation split
accuracy of the attack even further.                                   of 10 % of the training set.
  We repeated the attack on the ADSL-1 connection, with the               Our classifier achieved a macro-averaged F1 score of
video quality reduced to 720p. On that connection, we have             62.8 %. The confusion matrix is shown in Figure 8 and Ta-
not observed any significant degradation in accuracy, even             ble 3 in the appendix shows the results for all websites in de-
with the lower playback quality.                                       tail. The color of each cell indicates the prediction probability



USENIX Association                                                                        33rd USENIX Security Symposium          2325
                                                          ≥ 50                  60
                                                                                         Person A: 75 Mbit/s LTE
             10                                                                          Person B: 200 Mbit/s LTE+
             20                                           40                             Video Start / Stop




                                                                     RTT [ms]
                                                                                50
             30
             40                                           30                    40
   Website




             50
             60                                           20                         0      50         100           150        200
             70                                                                                           Time [s]
             80                                           10
             90                                                      Figure 10: Detecting that two persons had a video call on
                                                                     Discord with each other. At around 155 s, the video call was
             100                                          0
                   10 20 30 40 50 60 70 80 90 100                    started, resulting in an increase of RTTs on both connections.
                               Prediction                            When the call ended at 205 s, the RTTs on both connections
                                                                     returned back to the lower baseline level.
Figure 8: The confusion matrix for our top-100 open-world
fingerprinting attack. The macro-averaged F1 score is 62.8 %.
                                                                        In the cross-connection scenario, we apply a model trained
                                                                     on one connection (ADSL-1) to another connection (FTTH-
                                               10                    1). We only performed a test on the top-10 websites in a
                                                                     closed-world scenario to minimize the time involvement for
                                                                     the participants of our study. In this scenario, we still achieve
                     Website




                                                                     an F1 score of 40 % (see Figure 9), which is significantly
                                               5
                                                                     higher than random guessing.


                               Prediction
                                               0                     8          Limitations and Discussion

Figure 9: Training our neural network on connection ADSL-1           While SnailLoad shows that obtaining a network latency trace
and applying the model to a trace from connection FTTH-1             of a victim system from only a TCP connection is feasible,
yields a substantially higher accuracy than random-guessing,         inferring the specific web activity of the victim can be more
as visible with on the diagonal.                                     challenging in practice. For our fingerprinting attacks, we
                                                                     used data from the same network connection for training set
                                                                     and test set. While we demonstrated in Section 7.1 that ap-
                                                                     plying a model trained on one connection to a trace from
for each website, with a diagonal showing the high accuracy of       another connection can yield a significantly higher accuracy
our classifier across the vast majority of websites. The classifi-   than random-guessing, other scenarios may offer the possibil-
cation did not work well for 10 websites, resulting in F1 scores     ity to obtain training and test data through the same network
below 20 %. These 10 websites include wikipedia.org,                 connection. This might be realistic if an attacker has access to
t.co, yahoo.co.jp, jianshu.com, which transfer less than             the same network connection but in this situation the attacker
120 kB and thus are harder to detect for SnailLoad (see Fig-         likely already has other means than SnailLoad to observe
ure 6). For alipay.com and amazonaws.com, we observe                 the network latency, or even packet transmissions, of the vic-
relatively slow loading times which may have moved the rel-          tim. The attacker could also run the fingerprinting through
evant features outside of our trace, which was restricted to         a website, where one iframe shows the website of video to
only 10 seconds. All of the above websites had an F1 score be-       fingerprint, whereas another resource in the website is used
low 10 %. Four further websites had an F1 score below 20 %,          to record a latency trace using SnailLoad. Consequently, the
where taobao.com, tmall.com, and cnki.net were likely                attacker has different means to obtain traces and mount an
loading too slowly and google.com.hk was mostly misclas-             attack that can be adapted to the concrete setup and attacker
sified as other Google domains. Excluding these websites, the        capabilities. More generally, once SnailLoad leaked traces
macro-averaged F1 score increases to 68.5 %. For 76 classes,         from a victim, an attacker can take arbitrary time to analyze
including the other class, the F1 score is above 50 %. The low       or store the data until enough information is available to infer
performance for some websites is not surprising as different         videos, websites, or other information contained in the trace.
domains lead to the same actual page, e.g., Google domains              In contrast to the remote timing side channels discussed
are often misclassified as other Google domains.                     in Section 2.5, which focus on JavaScript-based attacks or



2326          33rd USENIX Security Symposium                                                                               USENIX Association
special network interfaces, SnailLoad is a remote attack in the                               10                             10                           10




                                                                       Website




                                                                                                      Website




                                                                                                                                  Website
sense that we do not rely on the victim system’s own hard-
                                                                                              5                              5                            5
ware or software implementation but contention of buffers
that are in the transport path to the victim (close to the victim).                           0                              0                            0
                                                                                 Prediction                     Prediction                  Prediction
SnailLoad is more similar to passive traffic analysis [7,47,71]
but, in contrast to these works, does not require a person-in-         Figure 11: Adding noise on the FTTH-1 connection lets the
the-middle attack scenario. SnailLoad instead can target any           fingerprinting accuracy deteriorate from an F1 score of 77 %
machine it can reach with a network connection. Gong et al.            (left), to an F1 score of 15 % when using noisy training and test
[22] already observed that ICMP ping times correlate with              sets (middle), and to an F1 score of 10 % when using clean
network activity on a DSL connection in 2010. However,                 training and noisy test traces (right), which is the random-
ICMP ping packets are commonly blocked by default to-                  guessing probability.
day [60]. In contrast to ICMP ping packets, the TCP ACKs
used by SnailLoad are fundamental for reliable data trans-
mission and cannot be blocked. Murdoch and Danezis [48]
                                                                       added to contention side channels by adding spurious random
used passive latency measurements to estimate traffic on a
                                                                       contention. In our case, the contention comes from the last-
Tor relay node. We go significantly beyond their attack and
                                                                       mile bottleneck. Thus, we have to establish random traffic
show that SnailLoad can infer specific videos a user watches
                                                                       with an external server. We implemented a simple proof-of-
on arbitrary network connections. In contrast to prior work
                                                                       concept that for every 5-second interval occupies the network
focusing on information recovery, e.g., with deep-learning
                                                                       connection randomly between 0 % to 100 %. To evaluate the
techniques [9, 16, 58, 68], SnailLoad focuses on the informa-
                                                                       effect of this noise on SnailLoad, we run a top-10 website-
tion channel itself. Hence, SnailLoad could be combined with
                                                                       fingerprinting attack. Without noise, we achieve an F1 score
any of these works for generic non-person-in-the-middle in-
                                                                       of 77 %, with a very clear diagonal visible in the confusion
formation recovery, significantly amplifying the impact of
                                                                       matrix in Figure 11. With noise, the F1 score drops to 15 %,
these attacks.
                                                                       when using noisy traces for training and tests. This is just
   To provide an example of such a use case of SnailLoad, we
                                                                       barely above the random-guessing probability and the diag-
show that a scenario similar to the one explored by Li et al.
                                                                       onal does not stand out anymore. When using clean traces
[43] is also possible with SnailLoad. Instead of an instant
                                                                       for the training, and noisy traces for the tests, the F1 score
messenger, we evaluate a video call scenario, where the at-
                                                                       drops even lower, to 10 %, which is the apriori probability
tacker obtains latency traces of multiple victim systems and
                                                                       of random guessing. This shows that noise can effectively
tries to infer which of these systems are interacting with each
                                                                       mitigate SnailLoad. However, the noise also introduces an
other, i.e., which ones are having a joint video call. Figure 10
                                                                       inconvenience for the user as it occupies part of the network
shows this for two persons having a short video call with each
                                                                       connection.
other on Discord, while the attacker records latency traces
of both of them, as described in Section 5.3. The video call
runs from t = 155 s to t = 205 s. The attacker observes a clear        Ethical Considerations. For our user study, we approached
increase in RTTs for both victims in this specific time frame.         local undergraduate and graduate students who volunteered
Consequently, the attacker can deduce that they had a video            to run our measurement script. We asked the students not to
call with each other in this time frame, again without requiring       perform any operations on the network that could expose per-
a PITM setting or the installation of stalkerware [11].                sonal information while running our script. Furthermore, it is
                                                                       essential to note that we only search for correlations between
Mitigation of SnailLoad. Mitigating SnailLoad is not triv-             our measurements and the YouTube videos our measurements
ial as the root cause, the different bandwidths of channels in         script opened. Thus, no personal information of the students
the transport path, cannot be eliminated. To provide adequate          was exposed to information leakage at any point. For the
performance to multiple users simultaneously, the backbone             remaining possibility that students still used their network
network infrastructure has to have a higher bandwidth than             during the measurement time frame in a sensitive way, we
the user’s connection. Thus, the critical bottleneck is typically      are planning to destroy the traces after the publication of the
close to the user (i.e., the last mile), and thus, the buffering oc-   paper and provide students with the option to ask us for the
curs in a node that also handles the attacker’s packets, even if       deletion of their traces and exclusion of their results from the
packets have different priorities, e.g., due to quality-of-service     paper at any point.
measures. Dropping packets to avoid the bottleneck would not
close the side channel, as the attacker could instead measure
the share of dropped packets.                                          Responsible Disclosure. We demonstrated our video-
   Similar as other side channels, SnailLoad is affected by            fingerprinting attack on YouTube and, therefore, reported our
noise and adding additional noise can hinder attacks. Noise is         attack to Google on March 9. Google acknowledged the sever-



USENIX Association                                                                                 33rd USENIX Security Symposium                        2327
ity and that it is a generic, unaddressed problem. For YouTube,       [2] Waleed Afandi, Syed Muhammad Ammar Hassan
they are investigating server-side mitigations.                           Bukhari, Muhammad U. S. Khan, Tahir Maqsood, and
                                                                          Samee U. Khan. Fingerprinting Technique for YouTube
                                                                          Videos Identification in Network Traffic. IEEE Access,
9    Conclusion                                                           10:76731–76741, 2022.

While a substantial amount of research has studied person-in-         [3] Alexa Internet, Inc. The top 1 million sites on the web,
the-middle side-channel attacks on encrypted web traffic, the             5 2024. URL: https://www.alexa.com/topsites.
possibility of such attacks in non-person-in-the-middle sce-
                                                                      [4] Geoffrey Alexander and Jedidiah R Crandall. Off-path
narios remained unclear. In this paper, we presented a novel
                                                                          round trip time measurement via TCP/IP side channels.
attack, SnailLoad, that exploits the network packet latency
                                                                          In IEEE International Conference on Computer Com-
as a side channel for activities on a victim system. Our root
                                                                          munications (INFOCOM), 2015.
cause analysis indicates that buffering in a transport path node
close to the victim is the root of the latency variations, as well    [5] Mark Allman. Comments on bufferbloat. ACM SIG-
as their connection to the bufferbloat quality-of-service phe-            COMM Computer Communication Review, 43(1):30–37,
nomenon. We demonstrated SnailLoad in a scenario where                    2012.
the attacker hides the latency measurement in a network con-
nection of the victim to retrieve an asset, e.g., a file or an        [6] Pablo Ameigeiras, Juan J. Ramos-Munoz, Jorge
image, from a seemingly benign attacker-controlled server.                Navarro-Ortiz, and J.M. Lopez-Soler. Analysis and
SnailLoad requires no JavaScript, no form of code execu-                  modelling of YouTube traffic. Transactions on Emerg-
tion on the victim system, no user interaction but only a con-            ing Telecommunications Technologies, 23(4):360–377,
stant exchange of network packets, e.g., a network connection             2012.
in the background. We evaluated SnailLoad with a video-
                                                                      [7] Noah Apthorpe, Dillon Reisman, Srikanth Sundaresan,
fingerprinting attack, inferring what video a user is watching
                                                                          Arvind Narayanan, and Nick Feamster. Spying on the
from a single SnailLoad trace. Our user study comprised 10
                                                                          smart home: Privacy attacks and defenses on encrypted
internet connections with 6 different internet connection tech-
                                                                          iot traffic. arXiv:1708.05044, 2017.
nologies. Over a set of the top 10 YouTube videos, we obtain
classification F1 scores between 37 % and 98 %. In a top-100          [8] Daniel J. Bernstein. Cache-Timing Attacks on AES,
open-world website-fingerprinting attack, we achieve an F1                2005. URL: http://cr.yp.to/antiforgery/cache
score of 62.8 %. SnailLoad highlights that numerous prior                 timing-20050414.pdf.
works on network side channels could potentially be lifted to
an non-PITM remote attack scenario.                                   [9] Sanjit Bhat, David Lu, Albert Kwon, and Srinivas De-
                                                                          vadas. Var-CNN: A Data-Efficient Website Fingerprint-
                                                                          ing Attack Based on Deep Learning. Proceedings on
Acknowledgments                                                           Privacy Enhancing Technologies (PoPETS), 4:292–310,
                                                                          2019.
We would like to thank our anonymous reviewers and our
shepherd for their valuable and timely feedback. We further-         [10] David Brumley and Dan Boneh. Remote timing attacks
more thank David Bom, Lukas Maar, Sebastian Felix, Andreas                are practical. Elsevier Computer Networks, 48(5):701–
Kogler, Lorenz Schumm, and Martin Glasner. This research                  716, 2005.
was supported in part by the European Research Council
                                                                     [11] Rahul Chatterjee, Periwinkle Doerfler, Hadas Orgad,
(ERC project FSSec 101076409) and the Austrian Science
                                                                          Sam Havron, Jackeline Palmer, Diana Freed, Karen
Fund (FWF SFB project SPyCoDe 10.55776/F85 and FWF
                                                                          Levy, Nicola Dell, Damon McCoy, and Thomas Ris-
project NeRAM I6054). Additional funding was provided by
                                                                          tenpart. The spyware used in intimate partner violence.
generous gifts from Red Hat, Google, and Intel. Any opinions,
                                                                          In IEEE Symposium on Security and Privacy (S&P),
findings, and conclusions or recommendations expressed in
                                                                          2018.
this paper are those of the authors and do not necessarily
reflect the views of the funding parties.                            [12] Zhibo Chen, Yi-Qun Xu, Hongbin Wang, and Daoxing
                                                                          Guo. Deep STFT-CNN for spectrum sensing in cogni-
                                                                          tive radio. IEEE Communications Letters, 2020.
References
                                                                     [13] David Cock, Qian Ge, Toby Murray, and Gernot Heiser.
 [1] Akruti Acharya. Training, Validation, Test Split for                 The last mile: An empirical study of timing channels on
     Machine Learning Datasets, 2023. URL: https://en                     seL4. In ACM Conference on Computer and Communi-
     cord.com/blog/train-val-test-split/.                                 cations Security (CCS), 2014.



2328    33rd USENIX Security Symposium                                                                      USENIX Association
[14] Scott A Crosby, Dan S Wallach, and Rudolf H Riedi.        [26] Jiaxi Gu, Jiliang Wang, Zhiwen Yu, and Kele Shen.
     Opportunities and limits of remote timing attacks. ACM         Walls Have Ears: Traffic-based Side-Channel Attack
     Transactions on Information and System Security (TIS-          in Video Streaming. In IEEE International Conference
     SEC), 12(3):17, 2009.                                          on Computer Communications (INFOCOM), 2018.

[15] Dell’Oro Group. 400 Gbps Technology: The Next Phase       [27] Jiaxi Gu, Jiliang Wang, Zhiwen Yu, and Kele Shen.
     of the Internet Backbone Expansion, 2022. URL: http            Traffic-based side-channel attack in video streaming.
     s://www.delloro.com/400-gbps-technology-t                      IEEE/ACM Transactions on Networking, 27(3):972–
     he-next-phase-of-the-internet-backbone-exp                     985, 2019.
     ansion/.
                                                               [28] Raymond Hill. uBlock Origin - An efficient blocker for
[16] Ran Dubin, Amit Dvir, Ofir Pele, and Ofer Hadar. I             Chromium and Firefox. Fast and lean., 7 2017. URL:
     Know What You Saw Last Minute—Encrypted HTTP                   https://github.com/gorhill/uBlock.
     Adaptive Video Streaming Title Classification. IEEE
     Transactions on Information Forensics and Security        [29] Michael Augustus Hogye, Christopher Taddeus Hughes,
     (TIFS), 12(12):3039–3049, 2017.                                Joshua Michael Sarfaty, and Joseph David Wolf. Analy-
                                                                    sis of the Feasibility of Keystroke Timing Attacks over
[17] Saman Feghhi and Douglas J. Leith. A Web Traffic               SSH Connections. Technical report, School of Engineer-
     Analysis Attack Using Only Timing Information. IEEE            ing and Applied Science University of Virginia, 2001.
     Transactions on Information Forensics and Security
     (TIFS), 2016.                                             [30] Jingshan Huang, Binqiang Chen, Bin Yao, and Wang-
                                                                    peng He. ECG arrhythmia classification using STFT-
[18] Edward W Felten and Michael A Schneider. Timing at-            based spectrogram and convolutional neural network.
     tacks on web privacy. In ACM Conference on Computer            IEEE Access, 7:92871–92880, 2019.
     and Communications Security (CCS), 2000.
                                                               [31] Ralf Hund, Carsten Willems, and Thorsten Holz. Practi-
[19] Ziply Fiber. 50 Gbit/s fiber optic internet, 2023. URL:        cal Timing Side Channel Attacks against Kernel Space
     https://web.archive.org/web/20240120003846                     ASLR. In IEEE Symposium on Security and Privacy
     /https://ziplyfiber.com/internet/multigig.                     (S&P), 2013.

[20] Jim Gettys. Bufferbloat: Dark buffers in the internet.    [32] CableLabs Inc. DOCSIS 4.0 Technology, 2023. URL:
     IEEE Internet Computing, 15(3):96–96, 2011.                    https://web.archive.org/web/20240108220840
                                                                    /https://www.cablelabs.com/technologies/doc
[21] Philip Golden, Hervé Dedieu, and Krista S Jacobsen.            sis-4-0-technology.
     Implementation and Applications of DSL Technology.
     CRC press. 978-0-8493-3423-8, 2007.                       [33] International Telecommunication Union. Report ITU-R
                                                                    M.2410-0: Minimum requirements related to techni-
[22] Xun Gong, Negar Kiyavash, and Nikita Borisov. Fin-             cal performance for IMT-2020 radio interface(s), 2017.
     gerprinting Websites Using Remote Traffic Analysis. In         URL: https://ieg.5gindiaforum.in/docs/M.241
     ACM Conference on Computer and Communications                  0-TPR.pdf.
     Security (CCS), 2010.
                                                               [34] Internet Engineering Task Force. RFC 1122: Require-
[23] Ben Gras, Kaveh Razavi, Erik Bosman, Herbert Bos,              ments for Internet Hosts – Communication Layers, 1989.
     and Cristiano Giuffrida. ASLR on the Line: Practical           URL: https://datatracker.ietf.org/doc/html/
     Cache Attacks on the MMU. In Network and Distributed           rfc1122.
     System Security (NDSS) Symposium, 2017.
                                                               [35] ISO/IEC. Dynamic adaptive streaming over HTTP
[24] Tim Greene. What is the internet backbone and how it           (DASH) (ISO/IEC 23009-1:2022), 2022.
     works, 2020. URL: https://www.networkworld.c
     om/article/968484/what-is-the-internet-bac                [36] Haiqing Jiang, Yaogong Wang, Kyunghan Lee, and In-
     kbone-and-how-it-works.html.                                   jong Rhee. Tackling bufferbloat in 3G/4G networks. In
                                                                    Internet Measurement Conference (IMC), 2012.
[25] Daniel Gruss, Clémentine Maurice, and Stefan Mangard.
     Rowhammer.js: A Remote Software-Induced Fault At-         [37] Sylwia Kechiche. The State of Worldwide Connectivity
     tack in JavaScript. In SIG SIDAR Conference on Detec-          in 2023, 2023. URL: https://www.ookla.com/arti
     tion of Intrusions and Malware & Vulnerability Assess-         cles/worldwide-connectivity-mobile-fixed-n
     ment (DIMVA), 2016.                                            etworks-digital-divide-2023.



USENIX Association                                                              33rd USENIX Security Symposium       2329
[38] Muhammad U. S. Khan, Syed M. A. H. Bukhari, Tahir          [49] John Nagle. RFC 896: Congestion Control in IP/TCP
     Maqsood, Muhammad A. B. Fayyaz, Darren Dancey,                  Internetworks, 1984. URL: https://datatracker.
     and Raheel Nawaz. SCNN-Attack: A Side-Channel                   ietf.org/doc/html/rfc896.
     Attack to Identify YouTube Videos in a VPN and Non-
     VPN Network Traffic. MDPI Electronics, 11(3), 1 2022.      [50] Kathleen Nichols and Van Jacobson. Controlling queue
                                                                     delay. Communications of the ACM, 55(7):42–50, 2012.
[39] Muhammad US Khan, Syed MAH Bukhari, Shazir A
     Khan, and Tahir Maqsood. ISP can identify YouTube          [51] Yossef Oren, Vasileios P Kemerlis, Simha Sethumadha-
     videos that you just watched. In IEEE International Con-        van, and Angelos D Keromytis. The Spy in the Sand-
     ference on Frontiers of Information Technology (FIT),           box: Practical Cache Attacks in JavaScript and their
     2021.                                                           Implications. In ACM Conference on Computer and
                                                                     Communications Security (CCS), 2015.
[40] Paul Kocher. Timing Attacks on Implementations of
     Diffe-Hellman, RSA, DSS, and Other Systems. In Ad-         [52] Dag Arne Osvik, Adi Shamir, and Eran Tromer. Cache
     vances in Cryptology - CRYPTO: Annual International             Attacks and Countermeasures: the Case of AES. In
     Cryptology Conference. Springer, 1996.                          Topics in Cryptology - CT-RSA: The Cryptographers’
                                                                     Track at the RSA Conference, 2006.
[41] Maciej Korczyński and Andrzej Duda. Markov chain
     fingerprinting to classify encrypted traffic. In IEEE      [53] Rong Pan, Preethi Natarajan, Chiara Piglione,
     Conference on Computer Communications, 2014.                    Mythili Suryanarayana Prabhu, Vijay Subramanian,
                                                                     Fred Baker, and Bill VerSteeg. PIE: A lightweight
[42] Michael Kurth, Ben Gras, Dennis Andriesse, Cristiano            control scheme to address the bufferbloat problem. In
     Giuffrida, Herbert Bos, and Kaveh Razavi. NetCAT:               IEEE International Conference on High Performance
     Practical Cache Attacks from the Network. In IEEE               Switching and Routing (HPSR), 2013.
     Symposium on Security and Privacy (S&P), 2020.
                                                                [54] Andriy Panchenko, Fabian Lanze, Jan Pennekamp,
[43] Ke Li, Hong Li, Hongsong Zhu, Limin Sun, and Hui
                                                                     Thomas Engel, Andreas Zinnen, Martin Henze, and
     Wen. Side-channel information leakage of traffic data
                                                                     Klaus Wehrle. Website Fingerprinting at Internet Scale.
     in instant messaging. In International Performance
                                                                     In Network and Distributed System Security (NDSS)
     Computing and Communications Conference (IPCCC),
                                                                     Symposium, 2016.
     2019.
[44] Moritz Lipp, Misiker Tadesse Aga, Michael Schwarz,         [55] Stefan Parkvall, Erik Dahlman, Anders Furuskar, Ylva
     Daniel Gruss, Clémentine Maurice, Lukas Raab, and               Jading, Magus Olsson, Stefan Wanstedt, and Kambiz
     Lukas Lamster. Nethammer: Inducing Rowhammer                    Zangi. LTE-Advanced - Evolving LTE towards IMT-
     Faults through Network Requests. In Security of Hard-           Advanced. In IEEE Vehicular Technology Conference,
     ware Software Interfaces (SILM) Workshop, 2020.                 2008.

[45] Clémentine Maurice, Manuel Weber, Michael Schwarz,         [56] Benjamin J Puttnam, Ruben S Luís, Georg Rademacher,
     Lukas Giner, Daniel Gruss, Carlo Alberto Boano, Stefan          Yoshinari Awaji, and Hideaki Furukawa. 319 Tb/s Trans-
     Mangard, and Kay Römer. Hello from the Other Side:              mission over 3001 km with S, C and L band signals over
     SSH over Robust Cache Covert Channels in the Cloud.             >120nm bandwidth in 125µm wide 4-core fiber. In
     In Network and Distributed System Security (NDSS)               Optica Optical Fiber Communications Conference and
     Symposium, 2017.                                                Exhibition (OFC), 2021.

[46] Prateek Mittal, Ahmed Khurshid, Joshua Juen, Matthew       [57] Fabian Rauscher, Andreas Kogler, Jonas Juffinger, and
     Caesar, and Nikita Borisov. Stealthy traffic analysis of        Daniel Gruss. IdleLeak: Exploiting Idle State Side Ef-
     low-latency anonymous communication using through-              fects for Information Leakage. In Network and Dis-
     put fingerprinting. In ACM Conference on Computer               tributed System Security (NDSS) Symposium, 2024.
     and Communications Security (CCS), 2011.
                                                                [58] Vera Rimmer, Davy Preuveneers, Marc Juarez, Tom
[47] Nizar Msadek, Ridha Soua, and Thomas Engel. IoT de-             Van Goethem, and Wouter Joosen. Automated web-
     vice fingerprinting: Machine learning based encrypted           site fingerprinting through deep learning. In Network
     traffic analysis. In Wireless Communications and Net-           and Distributed System Security (NDSS) Symposium,
     working Conference (WCNC), 2019.                                2017.
[48] Steven J Murdoch and George Danezis. Low-cost traffic      [59] Gururaj Saileshwar, Christopher W Fletcher, and Moin-
     analysis of Tor. In IEEE Symposium on Security and              uddin Qureshi. Streamline: a fast, flushless cache covert-
     Privacy (S&P), 2005.                                            channel attack by enabling asynchronous collusion. In



2330   33rd USENIX Security Symposium                                                                    USENIX Association
     ACM International Conference on Architectural Support        [70] Saurabh Shintre, Virgil Gligor, and João Barros. Opti-
     for Programming Languages and Operating Systems                   mal strategies for side-channel leakage in FCFS packet
     (ASPLOS), 2021.                                                   schedulers. In International Symposium on Information
                                                                       Theory (ISIT), 2015.
[60] Gregg Schudel and David Smith. Router security strate-
     gies: Securing IP network traffic planes. Pearson Edu-       [71] Monika Skowron, Artur Janicki, and Wojciech Mazur-
     cation. 978-1-58705-336-8, 2007.                                  czyk. Traffic fingerprinting attacks on internet of things
                                                                       using machine learning. IEEE Access, 8:20386–20400,
[61] Michael Schwarz, Daniel Gruss, Samuel Weiser, Clé-                2020.
     mentine Maurice, and Stefan Mangard. Malware Guard
     Extension: Using SGX to Conceal Cache Attacks. In            [72] Dawn Xiaodong Song, David Wagner, and Xuqing Tian.
     SIG SIDAR Conference on Detection of Intrusions and               Timing Analysis of Keystrokes and Timing Attacks on
     Malware & Vulnerability Assessment (DIMVA), 2017.                 SSH. In USENIX Security Symposium (USENIX Secu-
                                                                       rity), 2001.
[62] Michael Schwarz, Clémentine Maurice, Daniel Gruss,
     and Stefan Mangard. Fantastic Timers and Where to            [73] Andrei Tatar, Radhesh Krishnan, Elias Athanasopou-
     Find Them: High-Resolution Microarchitectural Attacks             los, Cristiano Giuffrida, Herbert Bos, and Kaveh Razavi.
     in JavaScript. In Financial Cryptography and Data                 Throwhammer: Rowhammer Attacks over the Network
     Security (FC), 2017.                                              and Defenses. In USENIX Annual Technical Conference
                                                                       (ATC), 2018.
[63] Michael Schwarz, Martin Schwarzl, Moritz Lipp, Jon
     Masters, and Daniel Gruss. NetSpectre: Read Arbitrary        [74] Vincent F Taylor, Riccardo Spolaor, Mauro Conti, and
     Memory over Network. In European Symposium on                     Ivan Martinovic. Robust smartphone app identification
     Research in Computer Security (ESORICS), 2019.                    via encrypted network traffic analysis. IEEE Trans-
                                                                       actions on Information Forensics and Security (TIFS),
[64] Tanvi Sharma. Controlling Queue Delay (CoDel) to                  13(1):63–78, 2017.
     counter the Bufferbloat Problem in Internet. Interna-
     tional Journal of Current Engineering and Technology,        [75] Bjørn Ivar Teigen, Kai Olav Ellefsen, Tor Skeie, and Jim
     4(3):2210–2215, 2014.                                             Torresen. Known Performance Issues Are Prevalent in
                                                                       Consumer WiFi Routers. In International Conference
[65] Meng Shen, Zhenbo Gao, Liehuang Zhu, and Ke Xu. Ef-               on Network and Service Management (CNSM), 2021.
     ficient fine-grained website fingerprinting via encrypted
                                                                  [76] Tom Van Goethem, Christina Pöpper, Wouter Joosen,
     traffic analysis with deep learning. In International
                                                                       and Mathy Vanhoef. Timeless Timing Attacks: Ex-
     Symposium on Quality of Service (IWQOS), 2021.
                                                                       ploiting Concurrency to Leak Secrets over Remote Con-
[66] Meng Shen, Yiting Liu, Liehuang Zhu, Xiaojiang Du,                nections. In USENIX Security Symposium (USENIX
     and Jiankun Hu. Fine-grained webpage fingerprinting               Security), 2020.
     using only packet length information of encrypted traf-
                                                                  [77] Pepe Vila and Boris Köpf. Loophole: Timing Attacks
     fic. IEEE Transactions on Information Forensics and
                                                                       on Shared Event Loops in Chrome. In USENIX Security
     Security (TIFS), 16:2046–2059, 2020.
                                                                       Symposium (USENIX Security), 2017.
[67] Meng Shen, Mingwei Wei, Liehuang Zhu, and                    [78] Shuochao Yao, Ailing Piao, Wenjun Jiang, Yiran Zhao,
     Mingzhong Wang. Classification of encrypted traffic               Huajie Shao, Shengzhong Liu, Dongxin Liu, Jinyang Li,
     with second-order markov chains and application                   Tianshi Wang, Shaohan Hu, et al. Stfnets: Learning
     attribute bigrams. IEEE Transactions on Information               sensing signals from the time-frequency perspective
     Forensics and Security (TIFS), 12(8):1830–1843, 2017.             with short-time fourier neural networks. In The World
[68] Meng Shen, Jinpeng Zhang, Ke Xu, Liehuang Zhu,                    Wide Web Conference, 2019.
     Jiangchuan Liu, and Xiaojiang Du. Deepqoe: Real-time         [79] Yuval Yarom and Katrina Falkner. Flush+Reload: a
     measurement of video qoe from encrypted traffic with              High Resolution, Low Noise, L3 Cache Side-Channel
     deep learning. In International Symposium on Quality              Attack. In USENIX Security Symposium (USENIX Se-
     of Service (IWQoS), 2020.                                         curity), 2014.
[69] Meng Shen, Jinpeng Zhang, Liehuang Zhu, Ke Xu, and
     Xiaojiang Du. Accurate decentralized application identi-     Appendix
     fication via encrypted traffic analysis using graph neural
     networks. IEEE Transactions on Information Forensics         Table 3 shows the F1 score for each website in the top-100
     and Security (TIFS), 16:2367–2380, 2021.                     open-world fingerprinting attack from Section 7.



USENIX Association                                                                  33rd USENIX Security Symposium         2331
             Table 3: Websites used in the top-100 open-world fingerprinting attack and their corresponding F1 scores.

       #       Website            F1 [%]     #      Website                F1 [%]     #      Website               F1 [%]
       001     google.com         31         035    office.com             88         069    amazon.co.jp          69
       002     youtube.com        95         036    t.co                   6          070    google.co.in          32
       003     baidu.com          31         037    naver.com              61         071    msn.cn                90
       004     bilibili.com       52         038    apple.com              77         072    tencent.com           51
       005     facebook.com       66         039    sina.com.cn            50         073    freepik.com           66
       006     qq.com             63         040    aliexpress.com         85         074    etsy.com              71
       007     twitter.com        82         041    yahoo.co.jp            9          075    amazon.co.uk          63
       008     zhihu.com          85         042    xhamster.com           64         076    imgur.com             80
       009     wikipedia.org      8          043    paypal.com             75         077    jianshu.com           5
       010     amazon.com         54         044    spankbang.com          45         078    ilovepdf.com          68
       011     instagram.com      85         045    pinterest.com          83         079    twitch.tv             80
       012     linkedin.com       38         046    mail.ru                81         080    atlassian.net         87
       013     reddit.com         64         047    ebay.com               71         081    force.com             58
       014     whatsapp.com       72         048    douban.com             70         082    dropbox.com           83
       015     openai.com         90         049    msn.com                94         083    office365.com         47
       016     yahoo.com          53         050    imdb.com               76         084    alipay.com            5
       017     bing.com           66         051    amazon.in              65         085    discord.com           85
       018     taobao.com         14         052    netflix.com            83         086    namu.wiki             50
       019     163.com            49         053    telegram.org           71         087    t.me                  63
       020     yandex.ru          80         054    dzen.ru                78         088    wordpress.com         64
       021     xvideos.com        61         055    quora.com              33         089    tradingview.com       87
       022     live.com           78         056    stackoverflow.com      59         090    avito.ru              70
       023     pornhub.com        64         057    sohu.com               21         091    3dmgame.com           73
       024     microsoft.com      72         058    spotify.com            100        092    xiaohongshu.com       55
       025     vk.com             93         059    aliyun.com             93         093    instructure.com       88
       026     zoom.us            84         060    xnxx.com               50         094    onlyfans.com          88
       027     github.com         83         061    1688.com               47         095    amazonaws.com         8
       028     jd.com             44         062    myshopify.com          54         096    flipkart.com          68
       029     weibo.com          71         063    tmall.com              19         097    hao123.com            28
       030     google.com.hk      13         064    indeed.com             69         098    alibaba.com           67
       031     tiktok.com         91         065    deepl.com              69         099    cnki.net              12
       032     canva.com          66         066    pixiv.net              92         100    mediafire.com         52
       033     csdn.net           62         067    feishu.cn              66         101    other                 53
       034     fandom.com         70         068    duckduckgo.com         88




2332       33rd USENIX Security Symposium                                                                   USENIX Association
