21
Websites have a new way to spy on visitors: Analyzing their SSD activity
(arstechnica.com)
Confidentiality Integrity Availability
This doesn't look like it could possibly be that effective. Some pickings from the paper as I read through it:
Creating a file larger than system memory seems pretty non-trivial. I have 64G of memory and btop says 32.9G of that is currently used for cache. I would expect (but don't know if) there's some maximum filesize limit browsers impose on OPFS that really ought to be smaller than this.
Oh okay, it's explained in the paper. Allowing any random website to use up to 60% of your disk space seems like it'd have issues other than a side-channel attack.
They only perform the actual proof of concept on the Mac mini here, which as you can see only has 8 GB of RAM. Somewhat minor nit, but I remain unconvinced this is really practical on a workstation with 32G or 64G RAM. The Firefox 10 GB filesize limit is particularly tough for this attack, and their suggestion for overcoming it is purely theoretical (multiple sites running in parallel to have multiple separate OPFS storages).
So if I'm reading this right, they use samples from the target machine to generate training data for the neural network that performs the side-channel detection. They seemingly claim this would work across browsers and definitely imply that it would work across different machines, but that seems like a huge, unproven assumption to make.
So basically the actual vulnerability here is, if you first let the attacker collect labeled data on your specific machine and then train a neural network on it, they can then later fingerprint your activity with some accuracy? Whoop de doo.