메뉴
BL
Ars Technica • 32일 전

알리익스프레스, 브라우저 지문 추적 기법 적발

IMP
6/10
핵심 요약

연구자가 블루투스 헤드폰 오작동을 계기로 알리익스프레스가 사용자에게 들리지 않는 오디오 신호로 브라우저 지문(fingerprinting)을 수집하는 것을 발견했습니다. 해당 오디오 기법은 구식이며 파이어폭스·크롬은 이미 방어했지만, 알리익스프레스는 캔버스, WebGL, WebRTC 등 10여 종의 다른 지문 기법도 함께 사용 중입니다. 사실상 수많은 사이트가 유사한 추적을 하고 있어 브라우저 개발사와의 군备 경쟁이 계속되고 있습니다.

번역된 본문

중국 온라인 쇼핑몰 알리익스프레스가 방문자에 대한 지문(fingerprinting) 추적을 하다 적발되었다. 이를 알아차리게 된 계기는, 브라우저에 전송되는 사람 귀에 들리지 않는 소리를 측정하는 구식 기법이 한 연구자의 블루투스 헤드폰 사용을 방해했기 때문이다.

연구자 매슈 캘러핸(Matthew Callaghan)은 이 은밀한 추적을 우연히 발견했다고 말했다. 알리익스프레스 홈페이지를 로드한 뒤, 여러 기기의 연결을 동시에 받아들이는 멀티포인트 헤드폰으로 재생되던 휴대폰 오디오가 끊겼다. 그는 PC가 오디오를 재생할 때를 제외하고는 헤드폰이 휴대폰 소리를 재생하도록 설정해 두었다. 알리익스프레스를 로드할 때마다 휴대폰 오디오가 멈췄고, 해당 탭을 닫으면 다시 소리가 들렸다.

사용자는 들을 수 없지만 브라우저는 처리한다

이상한 동작을 조사하던 중 캘러핸은 고도로 난독화된 두 개의 스크립트를 발견했다. 이 스크립트들은 함께 동작하여 방문 브라우저의 WebAudio 측정값을 분석하는 그래프를 구성했다. 이 그래프는 디지털 오디오 출력에서 흔한 톱니파(Sawtooth wave)를 측정하는 오실레이터 역할을 했다.

캘러핸은 "오실레이터가 알려진 파형을 생성하고, 애널라이저가 그것이 브라우저의 오디오 처리를 거친 후의 결과를 측정하며, 스크립트가 여기서 주파수 데이터를 읽어 간다"고 설명했다.

스크립트는 사용자가 무언가를 듣지 못하도록 게인(gain)을 0으로 설정했다. 하지만 그래프는 여전히 선택된 시스템 오디오에 연결되어 있기 때문에 브라우저는 이를 계속 처리하고 결국 알리익스프레스로 전송한다.

브라우저에서 오디오가 생성될 때 사용되는 수학 라이브러리들은 과거에 서로 충분히 달라서, CPU 및 기타 시스템 차이와 결합하면 엄청나게 많은 고유한 서명(signature)을 만들어낼 수 있었다.

이 오디오 지문 기법이 널리 알려진 후, 파이어폭스는 2023년 출시된 버전 118부터 대응책을 시행했다. 이 버전부터 브라우저는 운영체제에 포함된 라이브러리에 의존하지 않고 자체 고유 수학 라이브러리를 사용한다. 토르 프로젝트(Tor Project)에서 자원봉사 활동도 한 파이어폭스 개발자 톰 리터(Tom Ritter)는 고정된 라이브러리로 전환함으로써 엔트로피가 충분히 줄어들어 이 기법이 작동하지 않게 되었다고 말했다.

구글 대변인은 크롬 역시 자체 라이브러리를 탑재하고 있어 이 기법이 효과가 없다고 밝혔다. 사파리 사용자도 같은 이유로 안전할 것으로 보이지만, 애플은 즉시 확인해 주지 않았다.

과거의 유물

알리익스프레스가 구식 지문 기법을 사용한 것은 의문을 남긴다. 왜 굳이 이런 기법을 쓰는 것일까? 가장 가능성 높은 답은 이 온라인 쇼핑몰이 사용하는 10여 가지의 다른 지문 기법들과 관련이 있다. 캘러핸이 밝힌 다른 기법들은 다음과 같다:

  • 캔버스 렌더링 및 toDataURL()
  • WebGL 렌더러 정보, 확장 기능, 셰이더 정밀도
  • 오디오 오실레이터 및 애널라이저 출력
  • 화면 및 뷰포트 크기
  • 기기 픽셀 비율
  • 하드웨어 동시성(hardware concurrency) 및 기기 메모리
  • 설치된 브라우저 플러그인
  • 지원되는 오디오·비디오 형식
  • WebRTC 동작
  • 브라우저 성능 타이밍
  • 마우스, 터치, 포커스, 스크롤 이벤트
  • 기기 모션 및 방향
  • 브라우저 자동화와 관련된 속성들

웹 오디오 기법은 수년 전의 흔적이 남아있던 것으로, 지금까지 아무도 눈치채지 못했을 가능성이 높다. 브라우저 제조사들이 예방 조치를 취했다는 점은 다행이다. 동시에 알리익스프레스가 사용하는 나머지 측정 지표들이 얼마나 효과적인지는 아직 불분명하다. 더 안심할 수 없는 점은 수천 개의 사이트가 유사한 추적을 하고 있을 것이 거의 확실하다는 것이다. 브라우저 개발자들은 최신 보호 기법을 우회할 새로운 방법을 끊임없이 찾는 사이트 운영자들과 동적인 경쟁을 벌이고 있다.

댄 구딘(Dan Goodin) 수석 보안 에디터는 Ars Technica에서 멀웨어, 컴퓨터 간첩 활동, 봇넷, 하드웨어 해킹, 암호화, 비밀번호 관련 보도를 총괄하고 있다.

원문 보기
원문 보기 (영어)
Text settings Story text Size Small Standard Large Width * Standard Wide Links Standard Orange * Subscribers only Learn more Minimize to nav Chinese retailer AliExpress has been caught fingerprinting visitors after one of the metrics—an outdated technique that measures inaudible sounds it sends to browsers—impeded a researcher’s ability to use his bluetooth headphones. Researcher Matthew Callaghan said he stumbled on the stealthy tracking by mistake. After loading the AliExpress homepage, audio from his phone stopped playing over his multipoint headphones, which accept connections from more than one device at a time. He set the headphones to play sounds from his phone except when his PC was producing audio. Each time he loaded AliExpress, the phone audio stopped. Each time he closed the tab the site was loaded into, the phone was once again audible. Users can’t hear it, but browsers can While investigating the odd behavior, Callaghan said he found two highly obfuscated scripts. Together, they rendered a graph that analyzed the WebAudio readings of each visiting browser. This graph acted as an oscillator that measured Sawtooth waves , which are common in output from digital audio. “The oscillator generates a known waveform,” Callaghan wrote. “The analyser measures the result after it has passed through the browser’s audio implementation, and the script reads frequency data from it.” The scripts set the gain to zero to prevent users from hearing anything. But because the graph is still connected to the selected system audio, the browser continues to process it and, eventually, sends it to AliExpress. Variability in different math libraries, which are used when audio is produced through browsers, were once high enough to provide a massively large number of uniquely different signatures when combined with different CPUs and other system differences. After the audio soundprinting technique became well known, Firefox implemented a fix, starting in version 118 released in 2023. Beginning then , the browser used its own unique math libraries, rather than relying on ones that shipped with the OS it ran on. Tom Ritter, a Firefox developer who has also volunteered for the Tor Project, said the move to constant libraries reduced the entropy enough to stop the technique from working. The technique is ineffective in Chrome because it, too, ships with its own libraries, a Google spokesperson said. Safari users are likely safe for the same reason, although Apple didn’t immediately confirm that. An artifact from years past AliExpress’ use of an obsolete fingerprinting method raises the question: Why is it bothering to use it? The likely answer has to do with the more than a dozen other fingerprinting methods the online retailer is using. Callaghan said the other techniques included: canvas rendering and toDataURL() WebGL renderer information, extensions, and shader precision audio oscillator and analyzer output screen and viewport dimensions device pixel ratio hardware concurrency and device memory installed browser plugins supported audio and video formats WebRTC behavior browser performance timing mouse, touch, focus, and scroll events device motion and orientation properties commonly associated with browser automation It’s likely the web audio trick is left over from years earlier and no one noticed it until now. It’s comforting to know that browser makers have taken precautions. At the same time, it’s not yet clear how effective the rest of the metrics AliExpress is using are. Less reassuring still: it’s almost a certainty that thousands of sites are employing similar tracking. Browser developers are in a dynamic race with site publishers, who are constantly looking for new ways to break the latest protections. Dan Goodin Senior Security Editor Dan Goodin Senior Security Editor Dan Goodin is Senior Security Editor at Ars Technica, where he oversees coverage of malware, computer espionage, botnets, hardware hacking, encryption, and passwords. In his spare time, he enjoys gardening, cooking, and following the independent music scene. Dan is based in San Francisco. Follow him at here on Mastodon and here on Bluesky. Contact him on Signal at DanArs.82. 38 Comments