Categories: All

Here’s How This Web Page Sniffs Anyone’s Browser History Using Sniffly Attack

SP’s: By abusing the HTTP policies of your web browser, a security engineer has devised a new technique to sniff the browsing history. Using Sniffly and HSTS timing attack, an arbitrary website can violate the privacy of its users. Read ahead to more about how it’s done in detail.

In this article, I’m going to tell you about Sniffly. It’s an attack that abuses the HTTP Strict Transport Security and Content Security Policy to allow a website to sniff a user’s past browser history.
Today tracking the web users is something that website owners do very often using malware injection, cookies, enforcing paywalls and malicious ad scripts. Well, there’s a new technique using the browser fingerprinting is in town. In a demonstration at ToorCon 2015, Yan Zhu, a privacy engineer, showed how to do this and the working of Sniffly attack.

To showcase the demo, Yan has made a web page http://zyan.scripts.mit.edu/sniffly/. You can visit it in Firefox/Chrome/Opera with HTTPS everywhere and see how Sniffly digs your browsing history in the left column.

Here’s how Sniffly works:
When you visit the Sniffly page, your web browser tries to load the images from various HSTS domains over HTTP. Sniffly sets a CSP policy that restricts images to HTTP, so that image sources are redirected to HTTPS.

When an image is blocked by CSP, the time taken for the image to be redirected from HTTP to HTTPS is calculated. If the time is of the order of a millisecond, it means no network request was made and it was HSTS redirect. This implies that the user had earlier visited this domain.

However, if the time the taken to redirect the request is of the order of 100 milliseconds, it means the user hasn’t visited the domain before as a network request probably occurred.

The Sniffly attack is allowed if you visit a site that supports HSTS, it can sniff your browsing history by measuring the redirect time.

To know more about the Sniffly attack, visit the Yan’s GitHub page.
spatsariya

Recent Posts

An $800B open-hardware forecast puts Dell’s AI strategy in focus

Dell’s AI business has a larger potential market to pursue—and more reason to explain what…

3 hours ago

Adobe stock: new AI-search report tests its $1.87B Semrush bet

Adobe’s Semrush released its first UK benchmark for AI-search visibility on Tuesday, October 13, finding…

4 hours ago

HP Festive Sale 2026: Get Discounts on OmniBook, Omen, and Victus Laptops

If you’re in the market for a new laptop, HP has just announced a range…

4 hours ago

HP Festive Sale 2026: Get Discounts on OmniBook, Omen, and Victus Laptops

If you’re in the market for a new laptop, HP has just announced a range…

4 hours ago

Nvidia’s China AI-chip share falls to 34% as Huawei gains

Nvidia’s share of China’s data-center AI-chip shipments fell to 34% in the first half of…

6 hours ago

KRAFTON Expands Esports College Campus to 256 Locations

KRAFTON India has announced the start of the 2026–27 Esports College Campus Tour, which now…

9 hours ago