Live data from Hacker News

Websites have a new way to spy on visitors: analyzing their SSD activity

arstechnica.com

41–50 of 97 posts

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#41
post #6

Wait, wait, wait: browsers allow websites to store junk on my drive? They take up gigabytes of memory and still write to disk on top of this? Without even asking whether the site can use local storage? Years and years back when laptops still had HDDs, I had a script to put the Firefox profile &c on a ramdisk and sync it on reboots so that it didn't spin up the drive constantly. I guess I should have kept doing it. It…

Hostile LLMs? In my browser? At this time of the year?

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#42
post #34
post #23

Earlier quoted context omitted.

Yes? From the paper: "On Chrome and Safari, OPFS supports very large files, up to 60 % of disk space, which is more than sufficient to avoid the page cache on most typical systems, as even a small disk size of 64 GB would allow us to create a 38.4 GB OPFS file." I am indeed surprised to learn that a random website can write a file that takes up 60% of my disk. Is this obviously a capability of Web browsers?

> Is this obviously a capability of Web browsers? The main capability is RCE, but it seems that they need a way to store the payload.

There's a whole trend with websites not uploading anything to their servers due to privacy and whatnot, where do you suppose the data is being saved for repeat visits...

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#43
post #38

It should be fairly easy to mitigate no? Simply add random access times. Localstorage doesn't need to be that fast. More generally I find it very annoying how much browsers allow by default (javascript, localstorage, gpu access etc.) - there's only a very limited amount of websites I want to be able to run gpu accelerated shaders.

> Simply add random access times. That doesn't work. Because the random times are uniformly distributed it's possible to remove it from the data by additional sampling. You do make it harder because you need a lot more data, but it's still possible to extract the signal, because the noise is uniform.

The interesting mitigation would be snapping I/O to a course clock.

You could then set it to hold the result until the next tick.

E.g. An I/O tick of 20ms, and it would only return on 20ms boundaries, then almost every SSD would look the same.

It would slow down the API a bit, but privacy has tradeoffs.

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#44
post #6

Wait, wait, wait: browsers allow websites to store junk on my drive? They take up gigabytes of memory and still write to disk on top of this? Without even asking whether the site can use local storage? Years and years back when laptops still had HDDs, I had a script to put the Firefox profile &c on a ramdisk and sync it on reboots so that it didn't spin up the drive constantly. I guess I should have kept doing it. It…

And Web Developers want more and more OS features built into the browser. This is why I'm against it. Features are only ever abused.

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#45
post #6

Wait, wait, wait: browsers allow websites to store junk on my drive? They take up gigabytes of memory and still write to disk on top of this? Without even asking whether the site can use local storage? Years and years back when laptops still had HDDs, I had a script to put the Firefox profile &c on a ramdisk and sync it on reboots so that it didn't spin up the drive constantly. I guess I should have kept doing it. It…

Browsers have an absolute insane level of relatively unchecked permissions to do whatever they want on a client.

There's a lot of effort by browser developers to scope creep the browser into essentially being an OS-agnostic tech stack (one where, conveniently, code can be shipped across the network "as necessary", removing a lot of user agency for the software being ran); Chrome being the biggest driver of this, while Firefox has an extremely weak spine in trying to limit it.

It's fairly dire and I wouldn't be surprised if there's a lot more of these side channel attacks in a lot of web APIs.

Re: Websites have a new way to spy on visitors: analyzing their SSD activity

#47
post #6

Wait, wait, wait: browsers allow websites to store junk on my drive? They take up gigabytes of memory and still write to disk on top of this? Without even asking whether the site can use local storage? Years and years back when laptops still had HDDs, I had a script to put the Firefox profile &c on a ramdisk and sync it on reboots so that it didn't spin up the drive constantly. I guess I should have kept doing it. It…

If you open an incognito window in chromium it is profile on ram
Post reply on HN