Live data from Hacker News

Bypassing Safari 17's advanced audio fingerprinting protection

fingerprint.com

91–100 of 266 posts

Re: Bypassing Safari 17's advanced audio fingerprinting protection

#91
post #64
post #36

Does disabling web audio beat this fingerprinting?

I always assume that any difficult/annoying anti-fingerprint techniques make you more identifiable instead of less, since very few people do them.

This is why the Tor Browser attempts its best to only have one fingerprint. The more people use it, the more this argument looses its edge.

Or so they say.

Re: Bypassing Safari 17's advanced audio fingerprinting protection

#94
post #7

Putting a node graph audio API in the browser was silly. It should have been just audio worklets.

Wasn't Mozilla's proposed audio API simpler? AFAIK it was beaten out by Google's because people wanted a richer API and lower latencies. https://web.archive.org/web/20120505042746/https://developer...

IIRC it turned out that way in large part because realtime audio is very sensitive to performance hitches, and idiomatic JS is hitchy by nature due to relying on garbage collection, so they wanted to hoist as much as possible up into native code provided by the browser. If WASM had existed at the time it would have been easier to make the case for just exposing a simple raw audio interface instead.

Re: Bypassing Safari 17's advanced audio fingerprinting protection

#96
Someone definitely correct me if I'm wrong, but the success of the fingerprinting workarounds here seem to boil down to the following choice wrt handling oscillator anti-aliasing in the Web Audio API spec:

"There are several practical approaches that an implementation may take to avoid this aliasing. Regardless of approach, the idealized discrete-time digital audio signal is well defined mathematically. The trade-off for the implementation is a matter of implementation cost (in terms of CPU usage) versus fidelity to achieving this ideal.

It is expected that an implementation will take some care in achieving this ideal, but it is reasonable to consider lower-quality, less-costly approaches on lower-end hardware."

AFAICT this means that the OscillatorNode output they are exploiting here is almost guaranteed to not be deterministic across browsers (or even in the same browser on different hardware). The non-determinism is based on whatever anti-aliasing method is chosen by the browser (or, possibly, multiple paths within the same browser which could get chosen based on the underlying hardware). This includes changes/fixes to the same anti-aliasing algos.

I don't really understand this choice of relegating anti-aliasing to the browser given that:

a) any high-quality audio app/library will want full control over how the signals they generate avoid aliasing and will not use these stock oscillators anyway, or

b) the kinds of web applications that would accept arbitrary anti-aliasing algos (and the consequent browser-dependent discrepancies therein) probably wouldn't care whether the aliasing algo is hardcoded SIMD instructions or some 20MB javascript web audio helper framework

1: https://webaudio.github.io/web-audio-api/#OscillatorNode

Edit: clarification

Edit 2: more clarifications. :)

Edit 3: I wonder if the same kind of solution could be used here as was used by Hixie to standardize the HTML5 parser. Namely, just have some domain expert specify an exact, deterministic algo for anti-aliasing that works well enough, then have all the browsers use that going forward. I'd bet the only measurable perf hit would be to tutorials that show how to use the web audio api to generate signals from the stock anti-aliased oscillators. :)

Re: Bypassing Safari 17's advanced audio fingerprinting protection

#97
post #83

Earlier quoted context omitted.

Audacity's an awesome piece of software that I've used many times. Never once have I thought "by golly this thing should be a website, and my web browser should be made to expose an audio graph API to every website I visit to that it can be so!"

I'm the opposite. I think website = sanboxed, native = pownage so whenever I can use a website version I often prefer it over a native app. I use photopea all the time now. it's available on every machine, even machines I don't have permission to install software on

You can sandbox native apps too. Hell, even run them in an airgapped virtual machine.

I wouldn't trust a browser sandbox all that much given the high interest in subverting it.

Re: Bypassing Safari 17's advanced audio fingerprinting protection

#98

But all iPhones of the same model have the same processor. Every iPhone 15 Pro Max, of which Apple sells hundreds of millions, all have the same processor. Why do they have different results?

They have different performance at different heat and battery levels.
Post reply on HN