A cybersecurity testbed for connected and autonomous vehicles 2020-01-1291
Connectivity and autonomy in vehicles promise improved efficiency, safety and comfort. The increasing use of embedded systems and the cyber element bring with them many challenges regarding cyberattacks which can seriously compromise driver and passenger safety. Beyond penetration testing, assessment of the security vulnerabilities of a component must be done through the design phase of its life cycle. This paper describes the development of a benchtop testbed which allows for the safety and security evaluations of components with all capabilities from Model-in-loop to Software-in-loop to Hardware-in-loop testing. Environment simulation is obtained using the AV simulator, CARLA which provides realistic scenarios and sensor information such as Radar, Lidar etc. MATLAB runs the vehicle, powertrain and control models of the vehicle allowing for the implementation and testing of realistic models. Real-time simulation and connectivity with external components is obtained through the use of a Speedgoat real-time machine. A fluid integration between the multiple software parts are realized using Robotic-Operating-System (ROS). Communication with external hardware can be achieved through different network protocols such as CAN, LIN, SAE J1939 etc which are present on passenger and commercial vehicles. The hardware can potentially range from small scale embedded devices to real ECUs or infotainment systems which can further provide different kinds of wireless communication capabilities. The overall setup is built considering the multiple attack surfaces present on a real automobile and the need to test for security over all of them. Experiments are performed on the testbed to show its useability and potential.