Stateful Behavior Inference and Runtime Enforcement for Vehicle Network Security

Achintya Desai, UC Santa Barbara; Ruochen Dai, University of Florida; Yanju Chen, UC Santa Barbara; Ky Ho, Oceanit Laboratories; Austin Kee, University of Florida; Sophie Bulatovic, Oceanit Laboratories; Md Shafiuzzaman, UC Santa Barbara; Ken (Yihang) Bai, University of Florida; Il Ung Jeong and David Siu, Oceanit Laboratories; Tuba Yavuz, University of Florida; Tevfik Bultan, UC Santa Barbara

As cars are turning into computers with wheels, or "software-defined vehicles", computer security concerns are becoming increasingly critical. In this paper, we focus on the security of vehicle communication networks consisting of Electronic Control Units (ECUs) connected via a Controller Area Network (CAN) bus. We present a framework that consists of a behavior inference technique for capturing the expected behavior of vehicles during specific scenarios (modes) as state machines, a hierarchical state machine model for monitoring multiple scenarios, and a state-machine-based runtime behavior enforcement mechanism that uses ECU fingerprinting to authenticate messages. We then present a threat model, a characterization of different types of attacks, and a security analysis based on fuzzing. We have implemented and evaluated our framework on a Toyota Prius, and the BeamNG.tech simulator.

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@inproceedings {309160,
author = {Achintya Desai and Ruochen Dai and Yanju Chen and Ky Ho and Austin Kee and Sophie Bulatovic and Md Shafiuzzaman and Ken (Yihang) Bai and Il Ung Jeong and David Siu and Tuba Yavuz and Tevfik Bultan},
title = {Stateful Behavior Inference and Runtime Enforcement for Vehicle Network Security},
booktitle = {3rd USENIX Symposium on Vehicle Security and Privacy (VehicleSec 25)},
year = {2025},
isbn = {978-1-939133-49-6},
address = {Seattle, WA},
pages = {1--17},
url = {https://www.usenix.org/conference/vehiclesec25/presentation/desai},
publisher = {USENIX Association},
month = aug
}

Presentation Video