Work

Intrusion Detection for In-Vehicle CAN Communication Using Deep Neural Networks

Year: 2024
Type: dissertation
Abstract: As the automotive industry progresses with the development of connected vehicles, this digital evolution comes with inherent cyber security risks and thus securing vehicle communication systems, particularly the Controller Area Network (CAN) bus, is crucial. International regulations such as UN Regulation No 155, necessitate cyber security measures for threat detection, prevention, and mitigation. In this regard, vehicle manufacturers are mandated to implement measures to detect and prevent cyber-attacks against vehicles. Thus, onboard Intrusion Detection Systems (IDSs) for in-vehicle networks, e.g. the CAN bus, can help detect various cyber-attacks with different mechanisms such as Fabrication (e.g., Denial of Service and Fuzzy), Suspension, Masquerade (e.g. Spoofing attack), and Replay. Network IDSs provide a layer of security by monitoring and analyzing the data traffic, and identifying suspicious activities that could indicate an intrusion. To address this, the thesis, first, introduces a tool that generates attack data by analyzing normal data files, including both open-source and proprietary data provided by Scania—collected from a test vehicle. Along with that, it uses real-world labeled open-source attack datasets to identify realistic patterns that correspond to various types of attacks. Following this analysis, the process involves altering the proprietary dataset to mimic real attack scenarios closely. This tool will aid with testing the IDS’s effectiveness in detecting attacks on the CAN bus. Secondly, the thesis investigates the viability of a machine learning-based IDS, using two different supervised deep learning models, Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM), to identify attacks on the CAN bus. An empirical evaluation of the models is performed—considering sequence inputs with various lengths—and the results indicate that with a longer sequential input, more instances of Spoofing and Replay attacks, as more complex attack classes, can be correctly detected. Moreover, despite showing comparable accuracy, the LSTM models can lead to a slightly higher rate of misclassified normal states as attacks compared to CNN. Furthermore, the validity of the synthetically generated data, the limitations, and the importance of developing models that can adapt to new, unknown attack types are also elaborated and discussed.
Institution: Lund University
Language: English
Open Access status: green
OpenAlex ID: W7010700836
Cites: 28
Cited by: 1
Related to: 10