Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

FROST: Fingerprinting Remotely using OPFS-based SSD Timing [pdf] (https://hannesweissteiner.com)

72 points by simjnd 6 days ago | 16 comments | View on ycombinator

nine_k 5 days ago |

I still have trouble understanding what information can be leaked this way. Apparently it allows to check whether a particular website was visited recently, but the article is vague in this regard. Can anybody ELI55 this?

Bender 6 days ago |

I see they are testing this on a Mac. I am curious what the test results look like if the users home directory or even the dot directories are tmpfs. On Linux .bash_login can repopulate dot directories from a archive directory think skeleton files and the dot directories can be ephemeral mounted as tmpfs. The person can have a command to commit their ephemeral directories back to the archive if they want to "keep their changes" so to speak. Or automate it on .bash_logout.

    du --max-depth 0 -h -c .cache .config .local
    767M    .cache
    278M    .config
    2.2M    .local
    1.1G    total
It's a bit of space on this CachyOS laptop but it's doable.

SoftTalker 5 days ago |

Wonding about running a background program that just performs a low level of random reads and writes to the SSD, or driver-level mitigations to add random delays to disk activity, to obfuscate the contention patterns. Though I think that adding random noise to channels like this doesn't really prevent the attack, though might make it more expensive.

freedomben 5 days ago |

As much as I love a good backronym, especially one with nested acronyms in it, it could use something self-referentially recursive, preferably with tail-recursion. This is not the solution, but something like FROSTY (Fingerprinting Remotely using OPFS-based SSD Timing with frostY)

ttctciyf 5 days ago |

If browsers have enough low-level access to my storage hardware to carry out timing attacks for fingerprinting, it seems likely they also have enough to maliciously chug the hardware sufficiently to degrade capacity over time and otherwise impact system integrity. I hate the thought of some random website writing and overwriting random bytes in a tight loop in the background while I'm browsing elsewhere to find the cause of my slow disk subsystem.

To that end an option to disable storage access by type would be nice to have. All I see in firefox settings is the ability to block all storage including cookies, and the ability to block persistent storage when the site requests it. It's not clear to me how the OPFS system in TFA relates to either of these, but I'd guess that it's a separate system. There's a bunch of storage quotas in about:config, but nothing obviously related to OPFS (that I can see).

Given the choice I would be happy to allow traditional cookie storage and block everything else with any exceptions I need (none that I can think of) on a per-site basis. If this can be achieved via about:config, I'm all ears!

While looking at my storage data, I see youtube has 174(!) cookies and 57M data stored on my machine. Sigh.

mrbluecoat 5 days ago |

firefax 5 days ago |

Out of curiosity the use of this API normally logged in MacOS?

This is interesting work... thanks for sharing.

Dwedit 6 days ago |

Saw "OPFS" and immediately misread it as OSPF (open-shortest-path-first)

vivzkestrel 6 days ago |

a bit off topic but on the topic of fingerprinting here, anyone knows how reddit fingerprinting works at a rough level?