I’ve just been playing around with https://browserleaks.com/fonts . It seems no web browser provides adequate protection for this method of fingerprinting – in both brave and librewolf the tool detects rather unique fonts that I have installed on my system, such as “IBM Plex” and “UD Digi Kyokasho” – almost certainly a unique fingerprint. Tor browser does slightly better as it does not divulge these “weird” fonts. However, it still reveals that the google Noto fonts are installed, which is by far not universal – on a different machine, where no Noto fonts are installed, the tool does not report them.

For extra context: I’ve tested under Linux with native tor browser and flatpak’d Brave and Librewolf.

What can we do to protect ourselves from this method of fingerprinting? And why are all of these privacy-focused browsers vulnerable to it? Is work being done to mitigate this?

mox
link
fedilink
172M

IIRC, it actually goes deeper than just reporting what fonts are installed. Even if the font names and metrics are masked by the browser, scripts can render them to a canvas and sample the resulting pixels.

This is why I don’t install any custom fonts where a web browser can use them, and part of why I keep javascript disabled by default.

Out of curiosity, how much of the internet is unusable with js disabled? As in, how often do you run into sites that are essentially non-functional without?

@renzev@lemmy.world
creator
link
fedilink
42M

how much of the internet is unusable with js disabled

Quite a lot actually. A lot of articles / blogs / news sites are actually more usable without javascript than with, because none of the annoying popups and shit can load. I suggest having two browser profiles: one with javascript enabled by default, and one with javascript disabled. So for things like online shopping, you’d open the js profile. And for things where you expect to do a lot of reading, use the nojs profile. Ublock origin also lets you temporarily enable/disable js for a particular website pretty easily.

Don’t bother https://noscriptfingerprint.com/

There’s also TLS-based fingerprinting which cloudflare uses to great success, no html/css/js even needed for that.

mox
link
fedilink
8
edit-2
2M

I haven’t taken measurements, but there are many problematic sites these days. Lots of web developers fail to see the problems that javascript imposes on users, so they build web apps even when they’re serving static content, where a regular web site (perhaps with javascript enhancements that aren’t mandatory) would do just fine.

I selectively enable first-party scripts on a handful of sites that I regularly use and mostly trust (or at least tolerate). Many others can be read without scripts using Firefox Reader View. I generally ignore the rest, and look elsewhere for whatever information I’m after.

Thank you for the information! I kind of suspected it’d be like that tbh,

I wonder if running it in a container such as flatpak would help.

@renzev@lemmy.world
creator
link
fedilink
12M

I’m running Brave and Librewolf from flatpak. Nope, it doesn’t help, at least with default sandbox settings.

I would not count on it, since it’s required for proper theme integration. A quick search confirms my suspicion: some font direcories are mapped.

I quite like the idea though, sort of a lite qubes or unmodified VM for all Firefox Flatpak users could be nice.

In a perfect world, it would be nice to have a checkbox per app where I can select whether it should share anything with the system libraries.

Not sure whether it can fix the font problem, but in general Flatseal allows you to customise permissions for installed flatpaks.

https://flathub.org/apps/com.github.tchx84.Flatseal

NaibofTabr
link
fedilink
72M

Flatpak is not a container and should not be thought of as such for security/privacy purposes:

In general though we try to avoid using the term container when speaking about Flatpak as it tends to cause comparisons with Docker and rkt, comparisons which quickly stop making technical sense due to the very different problem spaces these technologies try to address. And thus we prefer using the term sandboxing.

https://flatpak.org/faq/#Is_Flatpak_a_container_technology_

It can provide container-like functions if specifically configured for that, but that’s not normal and it shouldn’t be relied on as a security barrier.

Create a post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 57 users / day
  • 383 users / week
  • 1.5K users / month
  • 5.7K users / 6 months
  • 1 subscriber
  • 2.8K Posts
  • 70.2K Comments
  • Modlog