Real-time intrusion detection in CAN-bus networks: Addressing zero-day attacks through feature engineering
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
The introduction of modern connected vehicles has led to increased safety and comfort. It also introduces new attack surfaces that could be exploited by malicious actors during an attack targeting the electronic control units (ECU) in the vehicle. The ECUs control safety-critical components in the vehicle, and a successful attack could lead to catastrophic consequences. The most common network type for inter-ECU communication is CAN-bus, which is a reliable and lightweight protocol, but it was never intended to withstand cyber security threats.This master thesis explores different approaches to CAN-bus intrusion detection systems (IDS) and evaluates them in terms of capability to detect previously unknown attacks (zero-day), real-time performance and implementation feasibility on a typical embedded device. To the best of our knowledge, these requirements have not been evaluated together in previous research. High-level features are created and evaluated in order to include as many aspects of the data as possible. The different approaches are evaluated by exposing them to attacks commonly used in previous research, as well as a data-altering attack introduced in the thesis.The experiments show that the best-performing approach is to model the behaviour of every single ECU on the network with a separate support vector machine (SVM) and a set of high-level features that capture the timing and data payload aspects of CAN-bus traffic. This approach achieves a detection rate of more than 99% and a false positive rate during normal operation below 0.01% in the majority of cases. More long-term features are also explored, but they do not conform to the real-time requirements.
Place, publisher, year, edition, pages
2024. , p. 59
Keywords [en]
CAN, CAN bus, Intrusion detection, IDS, Anomaly detection, Feature engineering, Real-time, ECU, Zero-day
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:hh:diva-54129OAI: oai:DiVA.org:hh-54129DiVA, id: diva2:1879085
Subject / course
Computer science and engineering
Educational program
Master's Programme in Embedded and Intelligent Systems, 120 credits
Supervisors
Examiners
2024-07-232024-06-272024-07-23Bibliographically approved