Mobile Device Identification via Sensor Fingerprinting

Hristo Bojinov, Yan Michalevsky, Gabi Nakibly, Dan BoneharXiv 2014 · arXiv

Abstract

Traditional device tracking methods like cookies and hardware IDs (IMEI, UDID) are increasingly restricted by privacy-conscious operating systems. This paper investigates an alternative: sensor fingerprinting. By exploiting microscopic manufacturing defects in components like accelerometers and speakers, researchers can generate unique, persistent hardware identifiers. These fingerprints can be extracted silently via web browsers, posing a significant threat to user privacy.

Introduction

The digital privacy landscape is a constant battle between tracking entities and privacy protections. As software-based identifiers become easier to block or clear, trackers have moved toward "hard" identifiers. However, access to permanent IDs like the IMEI is now strictly regulated. This research explores whether the physical hardware itself—specifically the inherent imperfections in mass-produced sensors—can serve as a reliable and stealthy identification vector.

Methodology

The study focuses on two primary hardware systems found in nearly all modern smartphones.

The Speakerphone-Microphone System

The first method utilizes the acoustic characteristics of the device. An application plays a specific sequence of sounds at various frequencies. The device's own microphone records this output, and the system analyzes the resulting frequency response.

The speakerphone-microphone feedback loop used for audio fingerprinting.

By measuring how the hardware distorts the amplitude and frequency of the signal, researchers calculate a "feedback ratio." Using Maximum Likelihood Estimation (MLE), these distortions are matched against a database to identify the specific device.

Accelerometer Calibration Errors

The second method targets the accelerometer. Every sensor possesses a "linear bias"—tiny, consistent errors in sensitivity and offset. These are estimated by measuring the device while it is stationary. A "flip" technique (measuring the device face-up and then face-down) allows for the isolation of bias parameters along the Z-axis. Crucially, at the time of the study, this data was accessible to any website via JavaScript (window.ondevicemotion) without requiring explicit user permission.

Experimental Evaluation

The researchers conducted a multi-tiered evaluation:

  1. Controlled Lab Study: 16 identical Motorola Droid devices were tested to establish baseline accuracy for both audio and accelerometer methods.
  2. Initial iOS Study: 17 Apple devices validated the feasibility of JavaScript-based accelerometer profiling.
  3. Large-Scale Web Experiment: A public website, sensor-id.com, collected over 16,000 submissions globally to test the entropy and reliability of these fingerprints in real-world conditions.

Key Results

The experiments demonstrated that sensor imperfections provide significant identifying information. In the controlled lab environment, the audio frequency response achieved 100% identification accuracy among the 16 identical devices. For the accelerometer, the Z-axis alone provided approximately 7.5 bits of entropy.

Scatter plot showing the distribution of accelerometer bias parameters (Oz and Sz) across different devices.

As shown in the scatter plot of bias parameters, devices cluster into distinct regions, allowing for differentiation even among identical models. While a single axis may not uniquely identify every phone globally, it serves as a powerful secondary factor. When combined with the browser's User-Agent string in a sample of 3,583 devices, the identification rate reached 53%.

Discussion and Countermeasures

While effective, these methods have limitations. Audio fingerprinting is sensitive to environmental noise and the surface the device rests on. Accelerometer profiling requires the device to be stationary.

To mitigate these risks, the authors suggest that operating system developers "scrub" sensor data by adding random noise or implementing permission prompts for high-frequency sensor access. Future research may expand these techniques to other sensors, such as gyroscopes or magnetometers, to create even higher-resolution hardware signatures.

Summary updated

BibTeX
@misc{bojinov2014mobile,
  author = {Hristo Bojinov and Yan Michalevsky and Gabi Nakibly and Dan Boneh},
  title = {{Mobile Device Identification via Sensor Fingerprinting}},
  year = {2014},
  eprint = {1408.1416},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1408.1416},
}
Figure