PowerSpy: Location Tracking Using Mobile Device Power Analysis

Yan Michalevsky, Aaron Schulman, Gunaa Arumugam Veerapandian, Dan Boneh, Gabi NakiblyUSENIX Security 2015

Introduction

Mobile operating systems like Android and iOS have robust permission systems to protect sensitive data such as GPS coordinates. However, a class of "benign" sensors remains largely unprotected. Researchers have demonstrated that a mobile app can track a user's location with high accuracy by simply monitoring the device's aggregate power consumption—a data source that requires zero user permissions on Android. By applying machine learning to the noisy "power profile" of the cellular radio, an attacker can identify routes, track movement in real-time, and even infer new paths without ever touching the GPS.

Methodology: From Power to Position

The attack, dubbed PowerSpy, relies on a fundamental property of cellular physics: a phone’s radio consumes more power when it is far from a base station or blocked by obstacles and less power when the signal is strong. To turn this into a tracking tool, the authors collected data using a custom app on various handsets, mapping power signatures to physical locations.

Spatial mapping of power consumption signatures across driving routes in the Palo Alto and Mountain View area.

The core challenge is that the power meter provides an aggregate signal, including noise from the screen, CPU, and background apps. To extract the location signal, the researchers employed several techniques:

  • Preprocessing: Normalizing power data and using moving average filters to smooth out transient spikes.
  • Dynamic Time Warping (DTW): This allows the algorithm to "stretch" or "compress" time-series data to find the best match between a recorded trip and a reference map, accounting for varying driving speeds and traffic lights.
  • Particle Filters & HMMs: To track users on unknown routes, the city was modeled as a Hidden Markov Model (HMM). A Particle Filter simulated thousands of possible paths, discarding those that didn't match the observed power spikes.

Key Insights: The Power Signature

A critical "aha" moment in the research is that while background noise (from games or music) is massive, it is uncorrelated with location. Because cellular radio power usage is strictly tied to the environment, a sufficiently long measurement allows the location signal to emerge from the chaos.

Normalized power profiles for Nexus 4 and Nexus 5 devices traversing the same route, demonstrating the stability of the environmental power signature across different hardware.

Furthermore, the "Hysteresis Factor" makes power profiles directional. Phones stay connected to their current tower until the signal is very weak, meaning driving from point A to B produces a different signature than driving from B to A.

Results and Real-World Performance

The researchers tested PowerSpy on a dataset of 294 power profiles across 36 unique driving routes. The results were striking:

  • Route Identification: The system identified the correct route 85% of the time out of 29 possibilities.
  • Real-Time Tracking: The system could "lock on" to a user's location on a known route within approximately two minutes of driving.
  • Destination Prediction: In "new route" inference tests, the algorithm correctly identified the final destination segment with 80% accuracy for a Nexus 4.
  • Cross-Device Stability: While hardware varies, normalized profiles are similar enough that data from one device model can often track another.

Conclusion and Mitigation

The PowerSpy attack exposes a significant privacy loophole where any app can read battery voltage and current files (/sys/class/power_supply/battery/) without user notification. To defend against this, OS developers should treat power data as a "coarse location indicator" requiring explicit permissions. Alternatively, hardware could be designed to provide separate power readings for the CPU and the radio, preventing the leakage of aggregate environmental signatures.

Summary updated

BibTeX
@inproceedings{michalevsky2015powerspy,
  author = {Yan Michalevsky and Aaron Schulman and Gunaa Arumugam Veerapandian and Dan Boneh and Gabi Nakibly},
  title = {{PowerSpy: Location Tracking Using Mobile Device Power Analysis}},
  booktitle = {USENIX Security},
  year = {2015},
}
Figure