lpapez 14 hours ago

Very cool research and wonderfully written.

I was expecting an ad for their product somewhere towards the end, but it wasn't there!

I do wonder though: why would this company report this vulnerability to Mozilla if their product is fingeprinting?

Isn't it better for the business (albeit unethical) to keep the vulnerability private, to differentiate from the competitors? For example, I don't see many threat actors burning their zero days through responsible disclosure!

  • hrimfaxi 14 hours ago

    They probably are not relying on it and disclosure means others can't either.

  • valve1 14 hours ago

    We don't use vulnerabilities in our products.

    • mtlynch 13 hours ago

      I don't understand what you mean. What separates this from other fingerprinting techniques your company monetizes?

      No software wants to be fingerprinted. If it did, it would offer an API with a stable identifier. All fingerprinting is exploiting unintended behavior of the target software or hardware.

      • giancarlostoro 13 hours ago

        It makes sense to me, they're likely not trying to actually fingerprint Tor users. Those users will likely ignore ads, have JS disabled, etc. the real audience is people on the web using normal tooling.

        • baobabKoodaa 13 hours ago

          Uhh okay, so they do exploit vulnerabilities, they just try to target victims who can be served ads? What a weird distinction.

          • exe34 13 hours ago

            Well presumably they want to make money.

          • adastra22 12 hours ago

            Painting fingerprinting as vulnerability exploit is your own very biased and very out-of-norm framing.

            • foltik 12 hours ago

              How would you frame it?

            • SiempreViernes 11 hours ago

              Instead of trying convince-by-assertion, maybe you could try offering an actual objection to the argument raised up-thread?

              On what basis do you claim that software developers, who did not establish a means of for third parties to get a stable identifier, nevertheless intended that fingerprinting techniques should work?

              • strbean 11 hours ago

                There's a pretty big difference between:

                1) wanting functionality that isn't provided and working around that

                and

                2) restoring such functionality in the face of countermeasures

                The absence of functionality isn't a clear signal of intent, while countermeasures against said functionality is.

                And then there is the distinction between the intent of the software publisher and the intent of the user. There is a big ethical difference between "Mozilla doesn't want advertisers tracking their users" and "those users don't want to be tracked". If these guys want to draw the line at "if there is a signal from the user that they want privacy, we won't track them", I think that's reasonable.

                • maltelau 9 hours ago

                  The presence of the "Do Not Track" header was a pretty clear indicator of the intent of the user. Fingerprinting persisted exactly in the face of such countermeasures.

                • fc417fc802 7 hours ago

                  Even if the intent is clear I don't think the act of reading an available field qualifies as exploiting a vulnerability. IMO you need to actually work around a technical measure intended to stop you for it to qualify as an exploit.

                  • NotPractical 6 hours ago

                    Here's the technical measures that are being worked around: https://blog.mozilla.org/en/firefox/fingerprinting-protectio...

                    > IMO you need to actually work around a technical measure intended to stop you for it to qualify as an exploit.

                    Even well-known vulnerabilities like SQL injection don't qualify under this definition?

                    • fc417fc802 5 hours ago

                      Sure, my wording isn't perfect. I don't have a watertight definition ready to go. To my mind the spirit of the thing is that (for example) if a site has an http endpoint that accepts arbitrary sql queries and blindly runs them then sending your own custom query doesn't qualify as an exploit any more than scraping publicly accessible pages does. Whereas if you have to cleverly craft an sql query in a way that exploits string escapes in order to work around the restrictions that the backend has in place then that's technically an exploit (although it's an incredibly minor one against a piece of software whose developer has put on a display of utter incompetence).

                      The point isn't my precise wording but the underlying concept that making use of freely provided information isn't exploiting anything even if both the user and the developer are unhappy about the end result. Security boundaries are not defined post hoc by regret.

              • fc417fc802 7 hours ago

                > Instead of trying convince-by-assertion

                TBF the idea that any and all fingerprinting falls under the umbrella of exploiting a vulnerability was also presented as an assertion. At least personally I think it's a rather absurd notion.

                Certainly you can exploit what I would consider a vulnerability to obtain information useful for fingerprinting. But you can also assemble readily available information and I don't think that doing so is an exploit though in most cases it probably qualifies as an unfortunate oversight on the part of the software developer.

                • SiempreViernes 4 hours ago

                  For the readers convenience I restated the argument also in my post, but if you look you can see it was also stated much earlier in the thread.

                  • UqWBcuFx6NV4r 46 minutes ago

                    You haven’t made an actual argument. You’ve made a repeated assertion that you feel so religiously about that you simultaneously can’t justify it and get very abrasive when someone asks you to back it up.

          • zamadatix 12 hours ago

            Most users seem to not care about ad tech/tracking as much as technical users. Even further, most seem to want to enable more tracking to [protect the children or whatever the reason is] pretty regularly (at least in opinion polls about various legislation). ToR users are not at all like that + could be harmed in a very different way... so I think it's fair to frame them differently even if I'd personally say people should be wanting to treat both as similar offenses because neither should be seen as okay in my eyes.

            • pmontra 10 hours ago

              In my experience those users express a mix of surprise and irritation when they get ads about something they did minutes or hours before, but they accept that's the way things are.

              I joke that I'm a no-app person, because I install very few apps and I use anti tracking tech on my phone that's even hard to explain or recommend to non technical friends. I use Firefox with uMatrix and uBlock Origin and Blockada. uMatrix is effective but breaks so many sites unless one invests time in playing with the matrix. Blockada breaks many important apps (banking) less one understands whitelisting.

            • godelski 8 hours ago
                > Most users seem to not care about ad tech/tracking
              

              I don't think this is true.

              Most people don't understand that they're being tracked. The ones that do generally don't understand to what extent.

              You tend to get one of two responses: surprise or apathy. When people say "what are you going to do?" They don't mean "I don't care" they mean "I feel powerless to do anything about it, so I'll convince myself to not care or think about it". Honestly, the interpretation is fairly similar for when people say "but my data isn't useful" or "so what, they sell me ads (I use an ad blocker)". Those responses are mental defenses to reduce cognitive overload.

              If you don't buy my belief then reframe the question to make things more apparent. Instead asking people how they feel about Google or Meta tracking them, ask how they feel about the government or some random person. "Would you be okay if I hired a PI to follow you around all day? They'll record who you talk to, when, how long, where you go, what you do, what you say, when you sleep, and everything down to what you ate for breakfast." The number of people that are going to be okay with that will plummet. As soon as you change it from "Meta" to "some guy named Mark". You'll still get nervous jokes of "you're wasting money, I'm boring" but you think they wouldn't get upset if you actually hired a PI to do that?

              The problem is people don't actually understand what's being recorded and what can be done with that information. If they did they'd be outraged because we're well beyond what 1984 proposed. In 1984 the government wasn't always watching. The premise was more about a country wide Panopticon. The government could be watching at any time. We're well past that. Not only can the government and corporations do that but they can look up historical records and some data is always being recorded.

              So the reason I don't buy the argument is because 1984 is so well known. If people didn't care, no one would know about that book. The problem is people still think we're headed towards 1984 and don't realize we're 20 years into that world

              • zamadatix 7 hours ago

                > If you don't buy my belief then reframe the question to make things more apparent. Instead asking people how they feel about Google or Meta tracking them, ask how they feel about the government or some random person.

                This is exactly what I was saying - if you look at the polls, people actually tend to support things like the UK's Online Safety Act. Explaining it more does not usually result in a change of that. The difference with a PI is you're asking about them individually instead of everyone - of course they trust themselves, they just want everyone surveilled for that same feeling of confidence.

              • idiotsecant 7 hours ago

                This is a lot of text to say that people don't recognize digital tracking as a threat, even when it is explained to them. Which is basically exactly what parent post you replied to said.

                People don't care. This is demonstrably true.

              • darkwater 48 minutes ago

                > If you don't buy my belief then reframe the question to make things more apparent. Instead asking people how they feel about Google or Meta tracking them, ask how they feel about the government or some random person. "Would you be okay if I hired a PI to follow you around all day? They'll record who you talk to, when, how long, where you go, what you do, what you say, when you sleep, and everything down to what you ate for breakfast."

                Yes and no, because people still will think that when it's done at scale it's different from some stalker following YOU explicitly, and not just following everybody. Also, the mental model is "they just want to sell me something, but I can just ignore and don't buy if I'm not really interested". And especially going down this second rabbit-hole opens a whole world about consumerism that not many people are comfortable with. At the same time there are people that are totally against consumerism that should be more informed and care more about tracking and privacy; with those people it's probably easier to have that conversation.

            • autoexec 5 hours ago

              > Most users seem to not care about ad tech/tracking as much as technical users.

              Part of the problem is the misconception that the data being collected is only being used to determine which ads to show them. Companies love to frame it that way because ultimately people don't actually care that much about which ads they get shown. The more people get educated on the real world/offline uses of the data they're handing over the more they'll start to care about the tracking being done.

        • Gigachad 10 hours ago

          They can just flag all Tor users as high risk. They don't strictly need to fingerprint them when it's generally fine for websites to just block signups for Tor users or require further identification via phone number or something.

          You want fingerprinting to identify low risk users to skip the inconvenient security checks.

      • sodality2 13 hours ago

        Side channels that enable intended behavior, versus a flat-out bug like the above, though the line can often be muddied by perspective.

        An example that comes to mind that I've seen is an anonymous app that allows for blocking users; you can programmatically block users, query all posts, and diff the sets to identify stable identities. However, the ability to block users is desired by the app developers; they just may not have intended this behavior, but there's no immediate solution to this. This is different than 'user_id' simply being returned in the API for no reason, which is a vulnerability. Then there's maybe a case of the user_id being returned in the API for some reason that MIGHT be important too, but that could be implemented another way more sensibly; this leans more towards vulnerability.

        Ultimately most fingerprinting technologies use features that are intended behavior; Canvas/font rendering is useful for some web features (and the web target means you have to support a LOT of use cases), IP address/cookies/useragent obviously are useful, etc (though there's some case to be made about Google's pushing for these features as an advertising company!).

        • tomrittervg 6 hours ago

          > Ultimately most fingerprinting technologies use features that are intended behavior

          Strong disagree.

          > IP address/cookies/useragent obviously are useful

          Cookies are an intended tracking behavior. IP Address, as a routing address, is debatable.

          > Canvas/font rendering is useful for some web features

          These two are actually wonderful examples of taking web features and using them as a _side channel_ in an unintended way to derive information that can be used to track people. A better argument would be things like Language and Timezone which you could argue "The browser clearly makes these available and intends to provide this information without restriction." Using side channels to determine what fonts a user has installed... well there's an API for doing just that[0] and we (Firefox) haven't implemented it for a reason.

          n.b. I am Firefox's tech lead on anti-fingerprinting so I'm kind of biased =)

          [0] https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_...

      • subscribed 12 hours ago

        Iffy vs grossly unethical.

        • rockskon 8 hours ago

          Someone discovering and making this public it doesn't mean others haven't independently discovered it.

      • OneDeuxTriSeiGo 12 hours ago

        A vulnerability is distinct from unintended behavior.

        Unintended identification is less than ideal but frankly is just the nature of doing business and any number of niceties are lost by aggressively avoiding fingerprinting.

        In software intentionally optimized to avoid any fingerprinting however it is a vulnerability.

        The distinction being that fingerprinting in general is a less than ideal side effect that gives you a minor loss in privacy but in something like Tor Browser that fingerprinting can be life or death for a whistleblower, etc. It's the distinction between an annoyance and an execution.

        • autoexec 5 hours ago

          > fingerprinting in general is a less than ideal side effect that gives you a minor loss in privacy

          In what way is collecting a record of a person's browsing history a "minor loss" of privacy. For many people, tracking everywhere they go online would easily expose the most sensitive personal information they have.

      • prophesi 8 hours ago

        I think HN needs a refresher on responsible disclosure, and that even vulnerability scanners engage in this practice for obvious reasons in that it benefits both parties. One party gains exposure, and the other gets exposure and their bug squashed without the bug wrecking havoc while they try to squash it.

      • nurettin 6 hours ago

        Logically, they are doing correlation via publically available information - maybe better than others can - and an identifier would hurt their business since competition can use it as well.

    • NoahZuniga 13 hours ago

      The real reason is that fingerprint.com's selling point is tracking over longer periods (months, their website claims), and this doesn't help them with that.

      • vorticalbox 1 hour ago

        it allows you to track a browser forever because it is stable fingerprint point. This helps with long term tracking a great deal.

        • PoignardAzur 5 minutes ago

          If I understand correctly, it was only stable until you restarted Firefox / your computer.

    • stackghost 9 hours ago

      All fingerprinting is a vulnerability, unless the client opts-in.

    • kqp 3 hours ago

      I’m going to go out on a limb and guess that you define “vulnerability” as something like “thing that will be fixed soon”. After all, Joe Random not liking a behavior doesn’t make it a vuln, there needs to be a litmus test. Am I close?

  • kippinsula 1 hour ago

    the business answer is boring: you don't sit on a browser zero-day that your own product depends on. if it leaks form somewhere else, the blog post writes itself and the trust you've built with every privacy researcher and enterprise buyer evaporates. honestly the hiring page line alone, 'we found and reported X to Mozilla', is probably worth more than the fingerprinting edge they'd keep.

Cider9986 5 hours ago

Being fingerprinted across Tor is different from being deanonymized—it basically just "psuedonomizes" you. You now have an identifier. It is a significant threat, but it is not hard to "psuedonomize" someone based on stylometry and some of the people with the highest threat model—operating an illegal site, will be pseudonymous anyway.

Don't get your opsec advice from HN. Check whonix, qubes, grapheneos, kicksecure forums/wikis. Nihilist opsec, Privacyguides.

  • grumbelbart2 2 hours ago

    This fingerprint persists over private and non-private Firefox sessions until you restart Firefox. State actors might be able to connect your Google-login in FF window 1 with your tor session in FF private window 2.

    • sigmoid10 1 hour ago

      Good opsec usually means you don't do this anyway. Don't use your anonymous browser for anything related to your real persona. In fact, don't re-use the OS between anonymous and public personas. Or even better: Don't re-use the hardware (also goes for networking). There will always be bugs across all levels of software and hardware that could eventually be chained to expose you. But if there is nothing there that could be exposed, you're already much better off by default. Even if that is very hard to achieve in practice.

    • realusername 1 hour ago

      Usually you have TOR browser for TOR and a standard Firefox for the standard browsing so they already are two sessions.

Fokamul 5 minutes ago

Imho, EU should make any fingerprinting illegal in all browsers.

And all browser devs should be required to actively fight against fingerprinting.

There is no legitimate need for fingerprinting in browsers.

yencabulator 11 hours ago

> the identifier can also persist [...] as long as the Firefox process remains running

Make sure to exit Tor Browser at the end of a session. Make sure not to mix two uses in one session.

  • SeriousM 3 hours ago

    Or shut down and boot tails again. You need privacy? Take your time.

    • friendzis 1 hour ago

      Anyone that serious about opsec should have dedicated hardware for that anyway

  • yard2010 1 hour ago

    Use a separate machine for these stuff, never mix your clean machines with the dirty ones, complete separation, different networks

bfivyvysj 5 hours ago

I learned enough about security years ago that there's basically zero chance you're secure and almost 100% chance someone is watch everything you do online.

Whether they care is entirely separate.

  • PoignardAzur 3 minutes ago

    Ah, yes, the "fuck it" approach to infosec.

b1temy 1 hour ago

> ...stored in the global StorageDatabaseNameHashtable. > This mapping: > - Is keyed only by the database name string > ... > - Is shared across all origins

Why is this global keyed only by the database name string in the first place?

The post mentions a generated UUID, why not use that instead, and have a per-origin mapping of database names to UUID somewhere? Or even just have separate hash-tables for each origin? Seems like a cleaner fix to me compared to sorting (imo, though admittedly, more of a complex fix with architectural changes)

Seems to me that having a global hashtable that shares information from all origins is asking for trouble, though I'm sure there is a good explanation for this (performance, historical reasons, some benefits of this architecture I'm not aware of, etc.).

bawolff 14 hours ago

From the sounds of this it sounds like it doesn't persist past browser restart? I think that would significantly reduce the usefulness to attackers.

  • shevy-java 14 hours ago

    Would it though? I guess state agencies already know all nodes or may know all nodes. When you have a ton of meta-information all cross-linked, they can probably identify people quite accurately; may not even need 100% accuracy at all times and could do with less. I was thinking about that when they used information from any surrounding area or even sniffing through walls (I think? I don't quite recall the article but wasn't there an article like that in the last 3-5 years? The idea is to amass as much information as possible, even if it may not primarily have to do with solely the target user alone; e. g. I would call it "identify via proxy information").

  • mmooss 13 hours ago

    Many users leave their browsers open for months.

    • allthetime 11 hours ago

      Privacy and security conscious Tor users don’t.

    • autoexec 5 hours ago

      Open enough tabs and you'd be lucky to keep firefox running for more than a couple weeks.

      • wongogue 2 hours ago

        I have 488 tabs in the session with more than 50 loaded. The running session has 72 processes.

      • danlitt 1 hour ago

        I have had hundreds of tabs open for many months in the past. The bottleneck is usually the OS crashing rather than firefox.

  • warkdarrior 13 hours ago

    This is where you use id bridging.

    1. Website fingerprints the browser, stores a cookie with an ID and a fingerprint.

    2. During the next session, it fingerprints again and compares with the cookie. If fingerprint changed, notify server about old and new fingerprint.

  • piccirello 12 hours ago

    This excerpt from the article describes the risk well.

    > In Firefox Private Browsing mode, the identifier can also persist after all private windows are closed, as long as the Firefox process remains running. In Tor Browser, the stable identifier persists even through the "New Identity" feature, which is designed to be a full reset that clears cookies and browser history and uses new Tor circuits.

    • fc417fc802 7 hours ago

      I wonder why "New Identity" wasn't implemented as a fork-and-exec with a newly created profile?

firefax 12 hours ago

The OP's link is timing out over Tor for me, but the Wayback[1] version loaded without issue.

Also, does anyone know of any researchers in the academic world focusing on this issue? We are aware that EFF has a project that used to be named after a pedophile on this subject, but we are more looking for professors at universities or pure research labs ala MSR or PARC than activists working for NGOs, however pure their praxis :-)

As privacy geeks, we have become fascinated with the topic -- it seems that while we can achieve security through extensions like noscript or ublock origin or firefox containers (our personal "holy trinity"), anonymity slips through our fingers due to fingerprinting issues. (Especially if we lump stylometry in the big bucket of "fingerprinting".)

[1] https://web.archive.org/web/20260422190706/https://fingerpri...

  • Cynddl 10 hours ago

    yes, there’s an active area of research on web fingerprint, both attacks and defences. Look at conferences like PETS for instance

  • dirasieb 7 hours ago

    what are you referring to with that EFF app part?

  • tomrittervg 6 hours ago

    Mozilla is working on it. (I know you said 'Academic', but we publish papers sometimes too.)

  • spelledwrong 6 hours ago

    >We are aware that EFF has a project that used to be named after a pedophile on this subject

    You bring this up like it's a well known incident, but my googling can find no evidence of it? The only reason not say the name of the project would be if it's common knowledge, but it's not?

    ChatGPT research reckons you're making it up, and I'd be curious if you have evidence to the contrary?

SirMaster 13 hours ago

I question why websites can even access all this info without asking or notifying the user.

Why don't browsers make it like phones where the server (app) has to be granted permission to access stuff?

  • t-3 12 hours ago

    The most popular browser is made by an ad company. They also provide the majority of funding for their biggest competitor. Why would you expect anything different?

    • john_strinlai 11 hours ago

      most people would expect something different from tor, surely.

      • briansmith 10 hours ago

        The purpose of a system is what it does.

  • Barbing 12 hours ago

    >Why don't browsers make it like phones where the server (app) has to be granted permission to access stuff?

    Like Android phones perhaps? Unfortunate Apple gives very little granular control.

    • Joe_Cool 11 hours ago

      Most stock android phones don't either. You usually get to control precise location, notifications, some background activity, SMS, Calls, Mic, Camera, SD Card, etc.

      But most ROMs don't allow controls for WiFi, Cell data, Phone ID, Phone number, User ID, local storage, etc...

      • kelvinjps10 10 hours ago

        all these permission you have to accept?

        • chneu 8 hours ago

          Yes. A few apps have been caught doing nefarious stuff using advertising sdks, like meta, but on android most apps are well sandboxed and can only access what you approve.

  • kingstnap 12 hours ago

    I mean Google ain't paying for Chromium development just for the fun of it...

  • subscribed 12 hours ago

    Hah. It's still better than apps.

    Apps have access to inconceivable amounts of identifiers and device characteristics, even on the well protected systems without Google Play services.

  • troupo 11 hours ago

    It's a fine line between making the web usable, fingerprinting, and peppering the user with dozens or hundreds of permissions.

    And since browsers rival OSes for complexity (they are basically OSes in their own right already), any part of the system can be inadvertently exposed and exploited.

  • michaelt 10 hours ago

    Browser fingerprinting is an unintended side-effect of things it's sorta-kinda reasonable for browsers to provide.

    A user agent that says the browser's version? Reasonable enough.

    Being able to ask for fonts, if the system has them? Difficult to have font support without that.

    Getting the user's timezone, language and keyboard layout? Reasonable.

    The size of the screen, and the size of the browser window? Difficult to lay things out without that.

    Of course a video or audio player needs to know which video formats your browser supports - how else to provide the right video?

    Obviously javascript can get the time, and it's trivial to figure out the system's clock error by comparing that to the time on a server.

    Before you know it, almost every browser is uniquely identifiable.

    • sandworm101 10 hours ago

      The tor project seeks this bypass this by keeping such things standardized across users, even down to reported screen size. And there is nothing stopping the browser from fibbing as most settings dong matter all that much (ie UK v Canadian v American English).

      • autoexec 5 hours ago

        This is a bad idea though, because any newly discovered means to get even a single data point results in being able to ID every tor user. I'd be better to have every tor browser always generate a random fingerprint so that even if the unexpected happens people will never get anything but random results.

        • rendx 5 hours ago

          > to have every tor browser always generate a random fingerprint

          Browsers do not "generate" fingerprints. They expose data that can be used to fingerprint users. You cannot "randomize" this; even if you were to return random values for, say, user screen size, with various visual side effects, it would just be another signal to fingerprint: "Oh, your browser is returning random values? Must be a Tor browser user".

    • BeetleB 9 hours ago

      I fantasize having a browser that I can use only for viewing content.

      No applications. No mail. No need for cookies.

      I can use a "regular" browser for more enhanced stuff. But for simple content consumption, we can just have a "dumb" browser that can't do much.

      > A user agent that says the browser's version? Reasonable enough.

      No user agent. I'm guessing it will need it for JavaScript or HTML features, and dynamically update if using an old browser, but let's just not supply a user agent and let it be the reader's burden to have a reasonably decent browser.

      > Being able to ask for fonts, if the system has them? Difficult to have font support without that.

      What's the fallback if the system doesn't have them?

      > Getting the user's timezone, language and keyboard layout? Reasonable.

      Keyboard layout is irrelevant for viewing content. For timezone and language: Yeah, I can see the use cases, but these are in a small minority. Let there be a popup when requested, and the user can specify the timezone/language as requested.

      > The size of the screen, and the size of the browser window? Difficult to lay things out without that.

      Let's let this new browser return only from a (small) discrete set of sizes. It will pick the size closest to the actual browser window size and send that.

      > Of course a video or audio player needs to know which video formats your browser supports - how else to provide the right video?

      Same answer as user agent. Either let the user pick from a selection of video formats, or just hard code a reasonable one and put the onus on the user to have a browser that supports it.

      > Obviously javascript can get the time, and it's trivial to figure out the system's clock error by comparing that to the time on a server.

      This hypothetical browser could just not send the time :-) For 99% of content consumption, this function is not needed.

      What I'm describing should be part of "Private mode". Or browsers should have an "Ultra-private" mode that is the above. If it's too complex/risky maintaining it all in one codebase ... fine. Just have a separate browser.

      Right now, if I built such a browser, I'm sure a lot of sites meant for content would break. But in my fantasy world, using "Ultra-private" would be the default, and people who make sites will target them first.

      I think much of the complexity in making a web browser is all the "other" stuff. Being able to run apps, cookie/privacy management, etc.

      • 0x62 8 hours ago

        Unfortunately you've now made an incredibly niche browser, and the lack of those metrics is a good fingerprint by itself. How browsers render SVGs can be used for fingerprinting (even the underlying OS affects this, and I assume you'll want to see those), combine with ISP from IP address, and unless theres hundreds users in every city you're now pretty easily trackable.

        • BeetleB 7 hours ago

          > Unfortunately you've now made an incredibly niche browser, and the lack of those metrics is a good fingerprint by itself.

          If 100 people are using that browser, how will they know which one is me?

          > How browsers render SVGs can be used for fingerprinting (even the underlying OS affects this, and I assume you'll want to see those)

          Can you provide details on this? And how will they know which OS I'm using (through SVG rendering...)? The UserAgent definitely should not send the OS.

          > combine with ISP from IP address

          That's already provided whether I use Private mode or not, correct? I can always use a VPN.

        • autoexec 5 hours ago

          There's no problem with having a unique fingerprint. The problem is having a consistent one. Randomize the fingerprint every time and you're fine. The IP address problem applies to everyone, including anyone using tor browser. The only solution to that is not using your own IP address (VPN/proxy). If I were going to make a secure privacy focused browser it either wouldn't allow things like rendering SVGs (which have introduced vulnerabilities beyond tracking) and wouldn't allow much (if any) JS and only a sane subset of CSS.

      • 93po 8 hours ago

        i've had the same thought for 20 years and unfortunately it's less likely than ever to happen now, given how many sites require javascript and have cloudflare pages before even loading a site (I get several a day).

        thankfully i think traditional web surfing is probably going to die out in the next 10 years, and progressively decline a lot much sooner than that as people start to interact with AI rather than browsers (or any software for that matter).

        my feed of hackernews is going to be my AI agent giving it to me in plain text very soon, and soon after that i will probably never visit the internet again because it will be impossible to know what's real and fake

        as a millennial it will be interesting to experience the full cycle of being born when nothing was online, to everything being online, to then again being entirely offline by the time i'm older

        • fc417fc802 7 hours ago

          > my feed of hackernews is going to be my AI agent giving it to me in plain text very soon

          Wait for the advent of local agents running on local models (for privacy) followed by techniques to fingerprint agents, followed by techniques to infer query parameters based on agent behavior. I wish I was joking but it seems all too plausible.

      • bryan_w 8 hours ago

        Just use Tor browser? You can turn the tor part off if you need the speed.

        What you want exists, have at it

        • BeetleB 6 hours ago

          As the submission shows, Tor browser isn't enough. My hypothetical browser would never have an IndexedDB API. Why should it?

          "Web applications use it for offline support, caching, session state, and other local storage needs"

          This use case is completely orthogonal to what my browser is meant to do. My browser would not have a concept of local storage.

          The premise of starting with a modern browser and stripping away features to get privacy is flawed - it's always vulnerable to these types of things. I'm going the opposite route: Only add features if they cannot be exploited for monitoring.

      • BeetleB 6 hours ago

        I can't edit, but I forgot to add:

        No support for forms. The browser is meant for content consumption. Not for interaction/creation.

        One could argue that any JS capabilities to do network requests (including dynamically rendering content) would be disallowed.

        Yes, I know, this is going pre-Web 2.0.

        Yes, of course, most current sites won't work in that model. But I'll also say: Most current content sites don't need these capabilities. They have them because they know the browser supports them.

        Again - a fantasy. I know only a few people will use it. I know that won't be enough to change web behavior. It would be nice, though, if sites carried a badge to indicate they conform to all of the above.

    • francoi8 8 hours ago

      All of these could have a set of standard non identifiable answers (eg. firefox reports the same 20 fonts, couple video formats, one among a few standard window sizes etc.) and for anything more extensive/precise, it would require the user's authorization and the user should have the option of feeding fake info (eg. fake timezone)

      • snailmailman 8 hours ago

        Firefox's "Resist fingerprinting" does this. It sets timezone to UTC, standardizes the fonts, standardizes a whole bunch of other fingerprinting data, etc. It also has a "letterboxing" option to round screensize down to the nearest 100px and stuff too. Tor uses all of those settings by default, though they are also in standard firefox in about:config.

        When i use Resist Fingerprinting my main issue is the timezone being set to UTC. most of the other stuff it does never causes issues. I guess sometimes sites need to read the canvas, but theres a permission box that allows that when needed. I wish there was a similar permission box for timezone.

        The only other drawback to the "resist fingerprinting" option is you will encounter cloudflares' captcha checkbox everywhere and all of the time :(

      • autoexec 5 hours ago

        Ideally you'd have browsers randomizing what they send instead of reporting the same info every time. That way even a deviation from the "norm" can't be assumed to ID someone.

    • fc417fc802 7 hours ago

      Most of the things you've listed here don't actually seem all that reasonable to me.

      User agents as a concept are rather poorly thought out across the board and not all that useful but persist because that's just how technical cruft is.

      Fonts should be provided by the website; if not provided the choice should take the form of a spec sent by the website including line height, sarifs or not, monospace or not, etc. There's little to no excuse for the current font situation IMO beyond poor design decisions that became heavily entrenched.

      Timezone and other obviously private metadata should never be shared without the user explicitly granting permission on a case by case basis. The status quo here is completely inexcusable as is the continued failure to fix the problem.

      Size of the physical screen should never be exposed under any circumstances. The current size of the browser window is reasonable on its face but now that fingerprinting is understood to be an issue should always be heavily letterboxed unless the user consents to sharing the exact value.

      Video formats should be provided by the website as a list of offerings and the browser should respond with a choice; the user could optionally intervene. There's no reason to expose the full capabilities to a remote service.

      Querying the current time should be gated behind an explicit permission. There's almost never a need for it. However from a fingerprinting perspective you also have to worry about correlating the rate of clock skew across clients. That can be solved by gating access to high resolution time counters behind an explicit permission as (once again) the vast majority of services have no legitimate use for such functionality.

    • bblb 5 hours ago

      These are all relics from the innocent 90's Internet. We had our global village and everything was fine. A couple of bad actors spamming blue pills here and there and that was it.

      Now we have actual criminal organizations and other real bad actors.

      I'm sure we can come up with something better than advertise our whole local computing platform on every HTTP request.

  • snowwrestler 7 hours ago

    And yet this sort of endless (fingerprintable) browser feature list is what people cite when they claim that mobile Safari is somehow way behind Chrome, and how it’s a travesty that Chrome can’t natively implement all these (again, highly fingerprintable) features on the iPhone.

farfatched 9 hours ago

> Because the behavior is process-scoped rather than origin-scoped

Hmm, I'm a little confused, since in 2021 Mozilla released experimental one-process-per-site:

> This fundamental redesign of Firefox’s Security architecture extends current security mechanisms by creating operating system process-level boundaries for all sites loaded in Firefox for Desktop

https://blog.mozilla.org/security/2021/05/18/introducing-sit...

Perhaps that is not fully released?

Or perhaps it is, but IndexedDB happens to live outside of that isolation?

sva_ 14 hours ago

Does Tor Browser still allow JavaScript by default? Because if you block execution of JavaScript, you won't be affected from what I understand.

  • ranger_danger 14 hours ago

    Disabling JavaScript actually greatly increases your fingerprint as not many users turn it off, so that instantly puts you in a much smaller bucket that you need to be unique in. Yes, not having JS means it limits your options for gathering other details, but it also requires much less effort to be unique now without JS.

    Tor Browser also doesn't spoof navigator.platform at all for some reason, so sites can still see when you use Linux, even if the User-Agent is spoofing Windows.

    • throwawayqqq11 13 hours ago

      I have my problems with that argument. Yes, less identifying bits means a smaller bucket but for the trackers, it also means more uncertainty, doesnt it? So when just a few others without JS join your bucket eg. via a VPN, profiling should become harder.

    • Springtime 13 hours ago

      > Disabling JavaScript actually greatly increases your fingerprint as not many users turn it off, so that instantly puts you in a much smaller bucket that you need to be unique in.

      I've heard a handful of people say this but are there examples of what I would imagine would have to be server-side fingerprinting and the granularity? Since most fingerprinting I'm aware of is client-side, running via JS. While I expect server-side checks to be limited to things like which resources haven't be loaded by a particular user and anything else normally available via server logs either way, which could limit the pool but I wonder how effective in terms of tracking uniqueness across sites.

    • hypeatei 13 hours ago

      > increases your fingerprint as not many users turn it off

      We're talking about users of the Tor browser, and I'd be very surprised if this was the case (that a majority keep JS turned on)

      Basically every Tor guide (heh) tells you to turn it off because it's a huge vector for all types of attacks. Most onion sites have captcha systems that work without JS too which would indicate that they expect a majority to have it disabled.

  • angry_octet 8 hours ago

    Because TBB has javascript on by default, turning it off increases your signature. It would be better if TBB defaulted to js off, with a front panel button to turn it on.

    JS also dramatically improves security. TBB is stuck in a 90s mindset about privacy, as if Firefox exploits were not dime a dozen. Especially with AI making FF exploits more available, we can expect many tor sites to be actively attacking their visitors.

    • ux266478 8 hours ago

      > turning it off increases your signature.

      Tor endpoints are pretty easy to identify, there are plenty of handy databases for that, using it to begin with increases your uniqueness. If noscript was set to strictly disallow javascript by default, that decreases the degree to which it increases your signature relative to the baseline of using tor.

      Then we have to account for the simple fact that many, many fingerprinting techniques rely on javascript, so taking them out of the picture reduces the unique identity that can be gleaned.

      Are we absolutely, positively sure that the tradeoff is worth it? Without a strict repeatable measurement, I think I'm highly skeptical about whether or not a default of "allow" is a net boon to hiding your identity. I remember the rationale about the switch mostly being directed towards "most of the web is broken otherwise and that's bad."

      • angry_octet 6 hours ago

        Every server knows that you're using tor, we're only talking about whether they can match your traffic to you repeatably, and particularly across sessions, which then enables traffic analysis that can lead to complete deanonymisation.

        If TBB changed to js off by default that signal would be less evident, and also, fingerprinting would be harder.

    • Phelinofist 1 hour ago

      > JS also dramatically improves security

      How so?

codedokode 13 hours ago

Honestly it seems that most of Web Standards are used mostly for fingerprinting - I think a small number of websites uses IndexedDB (who even needs it) for actually storing data rather than fingerprinting.

That's why expansion of web standards is wrong. Browser should provide minimal APIs for interacting with device and features like IndexedDB can be implemented as WebAssembly library, leaking no valuable data.

For example, if canvas provided only access to picture buffer, and no drawing routines calling into platform-specific libraries, it would become useless for fingerprinting.

  • Dwedit 12 hours ago

    You can use a browser extension like "Local Storage Editor" to see the contents of the Local Storage of a website. So far, I've seen it used for caching long-life images (like on gmail), or used as another way to do logins instead of cookies.

    • troupo 11 hours ago

      > You can use a browser extension like "Local Storage Editor" to see the contents of the Local Storage of a website.

      Or just open dev tools

  • fc417fc802 7 hours ago

    I'm with you up to the bit about canvas. The problem there is that if you want hardware acceleration then either you can't permit services to read back what was rendered (why do they need to do that again?) or else you're inevitably going to leak lots of very subtle platform specific details. Personally I think reading back the content of a canvas should be gated behind a permission dialog.

biosboiii 1 hour ago

Tor on Chromium, when?

Seriously, I am saddened that Chromium dominates the browser market as much as it does, but at this point the herd-immunity of Chromium is necessary to keep users safe.

Meneth 13 hours ago

I'm confused.

The IndexedDB UUID is "shared across all origins", so why not use the contents of the database to identify browers, rather than the ordering?

  • lxgr 13 hours ago

    The content is obviously scoped to an origin, or IndexedDB would be a trivial evercookie.

  • nneonneo 13 hours ago

    There's an instructive example on the page. Suppose a page creates the databases `a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p`, then queries their order. They might get, for example `g,c,p,a,l,f,n,d,j,b,o,h,e,m,i,k`, based on the global mapping of database names to UUIDs.

    The key vulnerability here is that, for the lifetime of that Firefox process, any website that makes that set of databases is going to see the exact same output ordering, no matter what the contents of those databases are. That makes this a fingerprint: it's a stable, high-entropy identifier that persists across time, even if the contents of those databases are not preserved. It is shared even across origins (where the contents would not be), and preserved after website data is deleted -- all a website has to do to re-acquire the fingerprint is recreate the databases with the same names and observe their ordering.

    • Joe_Cool 11 hours ago

      As I understood not ANY website can see it. But the same website can see it regardless if you reset your identity in Tor Browser.

      So it persists between anonymous sessions. So you could connect User A that logged out and reset the identity to User B who believed was using a fresh anonymous session and logged in afterwards.

      • stratos123 10 hours ago

        No, it does allow identification across different websites (the article says "both cross-origin and same-origin tracking"). Both websites just need to create some databases with the same names. Since the databases are origin-scoped, these aren't the same databases, so you can't just write some data into one and read it on another website. But it turns out that if two websites use the same names for all these databases, the order the list of databases is returned in is random-per-user but the same regardless of website.

  • AgentME 13 hours ago

    It's the mapping of UUIDs to databases that is shared across origins in the browser. Only the subset of databases associated with an origin are exposed to that origin.

crazysim 14 hours ago

I would imagine most users of Tor are using Tor Browser. I am reading there was a responsible disclosure to Mozilla but is it me or did that section leave out when the Tor Project planned to respond or release a fixed Tor Browser? Do they like keep very close or is there a large lag?

VladVladikoff 6 hours ago

What are these databases not scoped to origin of creation like cookies?

  • AgentME 6 hours ago

    They are. The leak is that if a webpage you visit creates several databases with certain names, the order is random but stays the same within the same browser session.

heavyset_go 7 hours ago

There are others that Cloudflare and friends use for fingerprinting.

wolvoleo 11 hours ago

Tails (without persistent storage) will mitigate this though. I'm not too concerned.

  • wlonkly 10 hours ago

    I'm not sure it will. The problem in Tor here is that the ordering persists beyond "New Identity". It does not persist between browser restarts.

    • wolvoleo 7 hours ago

      But that's the key thing about tails. You start it fresh every time from a clean usb stick or iso image.

      It's more than a browser restart, it's a complete system wipe every time.

      Tails is made on the premise that exactly this kind of trick will occur. Sometimes even persisting between browser restart. For that reason even the persistent storage is very limited. But that's optional and cautioned against for maximum anonymity.

      What would be worrying with tails would be if there was some way for some hardware identifier to be exposed. Like a serial number or MAC address. But this kind of thing is exactly what it's made to protect against.

ranger_danger 8 hours ago

You can also fingerprint browsers profile-wide across sessions without any JS, CSS or even HTML, using the favicon: https://github.com/jonasstrehle/supercookie

  • snailmailman 8 hours ago

    I think most browsers have patched this out? i didnt do super concrete tests, but at least on my machine their demo is failing to fingerprint me across private browsing/incognito sessions as they claim. Tested in firefox and edge.

  • zzo38computer 5 hours ago

    Some users disable favicons; I am one of them (although that is main because I do not use them, rather than due to that).

anthk 13 hours ago

The best for Tor would just be Links2/Links+ with the socks4a proxy set to 127.0.0.1:9050, enforcing all connection thru a proxy in the settings (mark the checkbox) and disabling cookies altogether.

  • sixothree 13 hours ago

    Would whonix fit that bill?

  • angry_octet 8 hours ago

    The best is probably tor in a VM, chromium in a separate VM, javascript disabled, on a private virtual network, with a egress firewall (not just guest VM firewalls, but enable those too) that only allows traffic from a specific origin port on the tor machine. You would also want the VM to spoof the processor features and unique IDs. System time drift/offset remains a vector which is hard to deal with.

    Dump the rendered window pixels out to a simple viewer. Mouse movement is still a pain to deal with, but I would default to spoofing it as moving between clicks, with some image parsing logic to identify menu traversal.

    Then it should reboot the browser process regularly.

    I've been waiting for someone to make a packaged 'VPC in a box' incorporating networking and linked VMs.

    • anthk 2 hours ago

      Links can force to pass all connections to a proxy, so a FW might be redundant. Forget almost mouse, Links can be render the page either to plain X11 or a terminal.

  • fc417fc802 7 hours ago

    > enforcing all connection thru a proxy in the settings (mark the checkbox)

    Just use a network namespace individual pieces of software are way too easy to misconfigure.

    • anthk 2 hours ago

      Links litteraly put your a graphical (X11) or terminal based checkbox to enable that to enforce everything through the proxy with the settings menu. Not too easy. If you are going to use Tor you shouldn't be just using Tor Browser by default neither if it enables some JS options. Firefox' base is too huge to configure so nothing ever leaks. There are too many components. A/V, WebGL, telemetry, WASM, WebRTC...

fsflover 14 hours ago

It seems Qubes OS and Qubes-Whonix are not affected.

  • ranger_danger 14 hours ago

    Source?

    • fsflover 14 hours ago

      Different VMs result in different identifiers.

      • handedness 10 hours ago

        Creating a new identity in the browser in a disposable VM does not start a new disposable VM.

        • fsflover 2 hours ago

          I never said that. I only assumed that a user followed the docs when using Qubes-Whonix.

  • hrimfaxi 14 hours ago

    How so? If you kept a disposable VM open and just created new identities in tor browser, how does Qubes mitigate the threat here?

    • fsflover 14 hours ago

      On Qubes, you do not create a new identity in the same VM. This would go against the Qubes approach to security/privacy. Using separate VMs for independent tasks is the whole point of using Qubes.

      • handedness 10 hours ago

        > On Qubes, you do not create a new identity in the same VM. This would go against the Qubes approach to security/privacy. Using separate VMs for independent tasks is the whole point of using Qubes.

        This is technically incorrect information and could get people in trouble if followed literally.

        On Qubes OS, if a user creates a new identity inside a Whonix workstation disposable VM via the browser's new identity functionality, the new identity spawns within the same disposable VM. I just tested this on Qubes OS 4.3.

        That, I assume would expose one to OP's vulnerability, as its still running in the same VM. I would be glad to learn that I'm incorrect in my unverified assumption.

        Even Qubes OS users still need to be mindful to launch new disposable VM when keeping identities separate to sidestep this attack.

        • fsflover 2 hours ago

          You are right, and I am saying exactly the same thing. You seem to misunderstand that Qubes saves you whenever you use it as designed by its security approach. To benefit from Qubes security, you have to use virtualization to compartmentalize your tasks. Only virtualization is a guarantee of security. Everything running in the same domain is assumed to be not isolated, and a compromise would affect everything in it. Even root access has no password by default in VMs. So what you're saying is obvious to any Qubes user. This is why I didn't mention it. (But I should have indeed.)

          By you reasoning, Qubes doesn't provide more protection than the underlying operating systems. I've seen this myth on HN multiple times.

    • handedness 10 hours ago

      I believe you are correct, and that this poses a significant risk for people who don't properly understand the underlying concepts.

      A Qubes OS user needs to start a new disposable Whonix workstation VM to sidestep this attack, NOT create a new identity in the same disposable VM's browser, which is exactly what this attack targets.

  • 2ndorderthought 13 hours ago

    In the last ten years has qubes moved on to support more hardware? Every 4 years I would try to use it only to find it didn't support any of my hardware.

    • Aachen 13 hours ago

      We buy off the shelf laptops, not sure anyone ever checked that it can run Qubes specifically before trying to install it (I'm sure of at least one person: myself). Doesn't just about any x64 machine with hardware where drivers are available in standard kernels also work with Qubes? What have you bought that's not supported?

      • fsflover 13 hours ago

        Actually, it should work indeed, unless it lacks some Linux drivers or VT-d.

    • fsflover 13 hours ago

      Tested hardware can be found here https://qubes-os.org/hcl. New hardware is being constantly added. If you plan to switch to Qubes, consider buying something from that list or, better, certified, or community-recommended hardware linked there.

    • orbital-decay 13 hours ago

      Most hardware (especially GPUs) is hard to virtualize in a secure manner, which is the entire point of Qubes. People who use it typically buy compatible hardware.

      • fsflover 13 hours ago

        I would expect that most Qubes users (including myself) do not virtualize GPUs and use the CPU to render graphics outside of dom0.

    • hrimfaxi 13 hours ago

      No problems on framework laptop that I've run into at least.

    • handedness 12 hours ago

      Qubes OS hardware support, while still far from perfect, is vastly better than it was ten years ago.

      Joanna Rutkowska's understandable preference for older kernels had its advantages, but the current team is much more likely to ship somewhat newer kernels and I've been surprised by what hardware 4.3 has worked well on.

      Beyond that, I'm currently running a kernel from late Feb/early Mar (6.19.5).

      Driver support can still be an issue, and a Wi-Fi card that doesn't play nice with Linux in general is doing to be no different on Qubes OS.

  • handedness 10 hours ago

    > It seems Qubes OS and Qubes-Whonix are not affected.

    This is dangerously incomplete and bad advice.

    Qubes OS does not work the way you seem to think it does.

    Creating a new identity in the Tor Browser inside a disposable VM does not automatically stop that VM and start a new disposable VM. That initial disposable VM launches the new identity from the existing process and therefore remains vulnerable, the same as any bare metal computer running Tor Browser would.

    Virtualization is not magic.

    A Qubes OS user needs to spin up a new disposable Whonix VM to sidestep this attack. Creating a new identity alone is ineffective in this threat model.

    If you care about these projects as much as you say you do, please stop giving harmful advice. You do it in various places on the Internet and in every thread which gives you half a chance to do so, and these projects would be better off if you either took any of the extensive well-reasoned correction many people offer you, or opted to stop making such claims. The former would be ideal, the latter still vastly preferable to the existing state of affairs.

LoganDark 13 hours ago

> For developers, this is a useful reminder that privacy bugs do not always come from direct access to identifying data. Sometimes they come from deterministic exposure of internal implementation details.

> For security and product stakeholders, the key point is simple: even an API that appears harmless can become a cross-site tracking vector if it leaks stable process-level state.

This reads almost LLM-ish. The article on the whole does not appear so, but parts of it do.

shevy-java 14 hours ago

Well that sucks. I guess in the long run we need a new engine and different approach. Someone should call the OpenBSD guys to come up with working ideas here.

  • giancarlostoro 13 hours ago

    > Mozilla has quickly released the fix in Firefox 150 and ESR 140.10.0, and the patch is tracked in Mozilla Bug 2024220.

    Did you even read the article at all? Ah my children did bad in school, time to replace them with new children and a different spouse. This is what you're suggesting essentially. A browser is not just something you simply make out of thin air. There's decades of nuance to browser engines, and I'm only thinking of the HTML nuances, not the CSS or JS nuances.

    • anthk 13 hours ago

      Given the dangers of JS and WASM they could just fork Netsurf and enhance the CSS3 support. If you are a journalist, running Tor with JS and tons of modern web tech enable makes you a bright white spot in a sea of darkness.

  • fsflover 13 hours ago

    Here you go: https://qubes-os.org.

    • Barbing 12 hours ago

      >Why Qubes OS?

      >Physical isolation is a given safeguard that the digital world lacks

      >In our digital lives, the situation is quite different: All of our activities typically happen on a single device. This causes us to worry about whether it’s safe to click on a link or install an app, since being hacked imperils our entire digital existence.

      >Qubes eliminates this concern by allowing us to divide a device into many compartments, much as we divide a physical building into many rooms. …

      Sold

      https://doc.qubes-os.org/en/latest/introduction/intro.html

      • handedness 10 hours ago

        Qubes OS is a great solution for this threat model. By my (admittedly cursory) understanding of this attack, one would have to chain the attack to escalate to dom0 to get around it.

        Having said that, fsflover exhibits a poor grasp of how this stuff works and all should be aware that even in Qubes OS, one would need to spawn new disposable VMs for each identity; relying on the Tor Browser's new identity creation within the same disposable VM would be little different from running Tor Browser on a traditional OS.

        • fsflover 2 hours ago

          > one would need to spawn new disposable VMs for each identity

          This is by design how everyone should always be using Qubes OS for any task, according to its documentation and approach to security.

          > relying on the Tor Browser's new identity creation within the same disposable VM would be little different from running Tor Browser on a traditional OS

          Yes, if you use a single VM on Qubes OS for everything, then all security you get is from the OS running in this VM. This is not how you use Qubes, https://doc.qubes-os.org/en/r4.3/introduction/faq.html#how-d...

          I run Qubes as a daily driver according to the docs, and my workflow was not vulnerable to the discussed attack.