On the Same Track: Privacy Leaks in Electric Rail Transport via Magnetic Fields
Stefan Czybik, Pia Hanfeld, Konrad Rieck
Key points
From the paper's conclusion- Apps deployed on the device can access these signals without user permission, enabling two novel attacks on passenger privacy: First, we are able to determine whether the user is riding an electric train (transport mode detection).
Abstract
Inertial sensors of smartphones are a well-known privacy risk, as they allow inferring sensitive user movements and activity without explicit permissions. Among these sensors, the magnetometer has received little attention, as it is assumed to measure mainly the Earth's magnetic field. In this paper, we show that electric trains generate distinctive magnetic fields that can be captured by a smartphone magnetometer. Apps deployed on the device can access these signals without user permission, enabling two novel attacks on passenger privacy: First, we are able to determine whether the user is riding an electric train (transport mode detection). Second, we can infer whether other victims are aboard the same train due to shared patterns in the magnetic field (colocation prediction). In an empirical evaluation across 217 train rides, we demonstrate that both attacks are effective, confirming a real-world threat. We discuss countermeasures and argue that magnetometer access should require explicit user permission in mobile operating systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Smartphone-Based Sensing Network for Emergency Detection: A Privacy-Preserving Framework for Trustworthy Digital GovernanceApplied Sciences · 2026
- Exploring Magnetic Field Shielding as an Input Sensing TechniqueProceedings of the ACM on Human-Computer Interaction · 2026
- Perceptions of Safety in Public Transportation: A Comprehensive Analysis of Determinants, Measurement Methods and Implications for PracticeApplied Sciences · 2026
- GlanceAR: Repurposing Phone Sensors via Low-Cost Reflectors for Always-On Obstacle AwarenessarXiv · 2026
- Deep Feature Learning For Person Re-Identification In Large-Scale Railway EnvironmentsInternational Journal for Research in Applied Science and Engineering Technology · 2026
- A Dynamic Decentralized Identity-Based Privacy Protection Scheme for Railway PassengersFuture Internet · 2026