Back to All Attacks

Lazy Loading Attack

Stealth Mode

Visible Mode

This page is designed to test the lazy loading attack. You can think of this as an average blog site with a scroll component. Scroll down slowly to see the images load.

Note that this is just a proof of concept, and many variables can be tweaked to make the attack more effective:

Attack Pros

  1. This attack does not require any script. All scripts present in this demo are strictly to help visualize the attack: One script connects a service worker to act like the adversary server, and other scripts helps with visualizing the attack parameters for the viewer.
  2. This attack can be stealthy. Click this button to hide/show the attack boxes: We make the attack boxes invisible by lowering the opacity and allowing no events to pass through. This way, the attack can be hidden from the user.
  3. The resources for the blocked URLs do not necessarily need to exist or load correctly.

Attack Cons

  1. If the attack parameters are not well-tuned, the attack can be sensitive to the user's scrolling speed. We implement a simple time-window to distinguish between the blocked signals and the unblocked signals. However, more advanced attacks can perform a statistical test on the timings of the image requests to determine in which group they are.
  2. Some resources might take some time to load which can slightly shift the signal element up. For this attack to work, the blocked resources should be fast to load. If not, the page should block scrolling until all resources are loaded.

Keep scrolling to see the images load.

Abit more scrolling...

Almost there, you can do it...

Random image 7
Random image 8
Random image 12
Random image 16
Random image 17
Random image 21
Random image 22
Random image 53
Random image 79
Random image 80
Random image 85
Random image 86
Random image 88
Random image 92
Random image 94
Random image 97
Random image 100
Random image 107
Random image 109
Random image 117
Random image 122
Random image 125
Random image 128
Random image 137
Random image 144
Random image 155
Random image 156
Random image 157
Random image 160
Random image 168
Random image 170
Random image 177
Random image 184
Random image 189
Random image 191
Random image 192
detector
Random image 193
Random image 199
Random image 210
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector
detector

Your Fingerprint Output

Waiting for scroll...