DAGA: Detecting Attacks to In-Vehicle Networks via N-Gram Analysis
- 13 July 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Vehicular Technology
- Vol. 71 (11) , 11540-11554
Abstract
Recent research showcased several cyber-attacks against unmodified licensed vehicles, demonstrating the vulnerability of their internal networks. Many solutions have already been proposed by industry and academia, aiming to detect and prevent cyber-attacks targeting in-vehicle networks. The majority of these proposals borrow security algorithms and techniques from the classical ICT domain, and in many cases they do not consider the inherent limitations of legacy automotive protocols and resource-constrained microcontrollers. This paper proposes DAGA, an anomaly detection algorithm for in-vehicle networks exploiting n-gram analysis. DAGA only uses sequences of CAN message IDs for the definition of the n-grams used in the detection process, without requiring the content of the payload or other CAN message fields. The DAGA framework allows the creation of detection models characterized by different memory footprints, allowing their deployment on microcontrollers with different hardware constraints. Experimental results based on three prototype implementations of DAGA showcase the trade off between hardware requirements and detection performance. DAGA outperforms the state-of-the-art detectors on the most performing microcontrollers, and can execute with lower performance on simple microcontrollers that cannot support the vast majority of IDS approaches proposed in literature. As additional contributions, we publicly release the full dataset and our reference DAGA implementations.Keywords
This publication has 38 references indexed in Scilit:
- Evaluation of anomaly detection for in-vehicle networks through information-theoretic algorithms2016
- Error Handling of In-vehicle Networks Makes Them Vulnerable2016
- A Novel Intrusion Detection Method Using Deep Neural Network for In-Vehicle Network Security2016
- Frequency-based anomaly detection for the automotive CAN bus2015
- Fuzzing CAN Packets into Automobiles2015
- A close look on n -grams in intrusion detection2013
- An Algorithm for Detection of Malicious Messages on CAN Buses2012
- Static detection of malicious JavaScript-bearing PDF documents2011
- Anomaly detectionACM Computing Surveys, 2009
- Design and implementation of an efficient priority queueTheory of Computing Systems, 1976