CAN-Trace Attack: Exploit CAN Messages to Uncover Driving Trajectories

Xiaojie Lin, Baihe Ma, Xu Wang, Guangsheng Yu, Ying He +2 more
7/13/2025
cs.CRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Driving trajectory data remains vulnerable to privacy breaches despite existing mitigation measures. Traditional methods for detecting driving trajectories typically rely on map-matching the path using Global Positioning System (GPS) data, which is susceptible to GPS data outage. This paper introduces CAN-Trace, a novel privacy attack mechanism that leverages Controller Area Network (CAN) messages to uncover driving trajectories, posing a significant risk to drivers' long-term privacy. A new trajectory reconstruction algorithm is proposed to transform the CAN messages, specifically vehicle speed and accelerator pedal position, into weighted graphs accommodating various driving statuses. CAN-Trace identifies driving trajectories using graph-matching algorithms applied to the created graphs in comparison to road networks. We also design a new metric to evaluate matched candidates, which allows for potential data gaps and matching inaccuracies. Empirical validation under various real-world conditions, encompassing different vehicles and driving regions, demonstrates the efficacy of CAN-Trace: it achieves an attack success rate of up to 90.59% in the urban region, and 99.41% in the suburban region.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2025cantrace,
  title  = {CAN-Trace Attack: Exploit CAN Messages to Uncover Driving Trajectories},
  author = {Xiaojie Lin and Baihe Ma and Xu Wang and Guangsheng Yu and Ying He and Wei Ni and Ren Ping Liu},
  year   = {2025},
  eprint = {2507.09624},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09624v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.09624.svg)](https://codeofpaper.com/paper/2507.09624)

Discussion