electronics Article Cybersecurity in Automotive: An Intrusion Detection System in Connected Vehicles Francesco Pascale 1,* , Ennio Andrea Adinolfi 2 , Simone Coppola 2 and Emanuele Santonicola 2 1 Department of Energy, Polytechnic of Milan, 20156 Milan, Italy 2 Department of Industrial Engineering, University of Salerno, 84084 Fisciano, Italy; eadinolfi@unisa.it (E.A.A.);
[email protected] (S.C.);
[email protected] (E.S.) * Correspondence:
[email protected] Abstract: Today’s modern vehicles are connected to a network and are considered smart objects of IoT, thanks to the capability to send and receive data from the network. One of the greatest challenges in the automotive sector is to make the vehicle secure and reliable. In fact, there are more connected instruments on a vehicle, such as the infotainment system and/or data interchange systems. Indeed, with the advent of new paradigms, such as Smart City and Smart Road, the vision of Internet of Things has evolved substantially. Today, we talk about the V2X systems in which the vehicle is strongly connected with the rest of the world. In this scenario, the main aim of all connected vehicles vendors is to provide a secure system to guarantee the safety of the drive and persons against a possible cyber-attack. So, in this paper, an embedded Intrusion Detection System (IDS) for the automotive sector is introduced. It works by adopting a two-step algorithm that provides detection of a possible cyber-attack. In the first step, the methodology provides a filter of all the messages on the Controller Area Network (CAN-Bus) thanks to the use of a spatial and temporal Citation: Pascale, F.; Adinolfi, E.A.; analysis; if a set of messages are possibly malicious, these are analyzed by a Bayesian network, which Coppola, S.; Santonicola, E.