Web Audio API 當做 fingerprint 的方式
三年前的文章「How the Web Audio API is used for audio fingerprinting」講解了 AudioContext 是怎麼被拿來 fingerprint 的,最近在「How We Bypassed Safari 17’s Advanced Audio Fingerprinting Protection」這篇看到的。
AudioContext 可以完全跟錄音設備無關,單純計算,然後因為不同瀏覽器實作上面有差異,就被拿來當作 fingerprint 了。
文章裡介紹的方法是透過 Oscillator 產生 440Hz 的正弦波,然後過 Compressor 降低音量 (運算):
The Web Audio API offers a DynamicsCompressorNode, which lowers the quantity of the loudest components of the sign and helps stop distortion or clipping.
降低音量的運算再這塊各家的實作不同,就能夠區分不同的瀏覽器 (甚至是版本):
Historically, all main browser engines (Blink, WebEquipment, and Gecko) primarily based their Web Audio API implementations on code initially developed by Google in 2011 and 2012 for the WebEquipment challenge.
Since then browser builders have made quite a lot of small modifications. These modifications, compounded by the big variety of mathematical operations concerned, result in fingerprinting variations. Audio sign processing makes use of floating level arithmetic, which additionally contributes to discrepancies in calculations.
Additionally, browsers use completely different implementations for various CPU architectures and OSes to leverage options like SIMD. For instance, Chrome makes use of a separate quick Fourier remodel implementation on macOS (producing a distinct oscillator sign) and different vector operation implementations on completely different CPU architectures (used within the DynamicsCompressor implementation). These platform-specific modifications additionally contribute to variations within the closing audio fingerprint.
而這東西平常也不會用到,所以對 Tor Browser 這種特別重視 privateness 的瀏覽器就直接關掉他了:
Tor
In the case of the Tor browser, every part is straightforward. But sadly, net Audio API is disabled there, so audio fingerprinting is inconceivable.
HI-FI News
by way of Gea-Suan Lin’s BLOG https://weblog.gslin.org
March 11, 2024 at 05:49PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








