In recent years, two trends have emerged in the automotive industry: automation and connectivity. These trends have caused an increasing number of functions in the vehicles. In addition to enhancing comfort, the risks of unauthorized external access have increased. First examples show that vehicles are no exception when it comes to IT manipulations. Especially the long life cycles in the automotive industry and the fact that 44% of all attacks on IT systems occur through known vulnerabilities require vehicles to be secured during development.
With respect to functional safety, a large number of test processes and methods are already in place for automotive development. However, a transposition of these methods to data security is not given. As a result new methods are emerging. This work will present a test method based virtual electronic control units (ECUs). It will show which observation points and monitoring functions must be given for the security tests, how test methodology can be derived and how this test methodology can subsequently be integrated in automotive development.
The following areas were identified for the test methodology: memory errors, numerical, systematic, functional and application errors. However, the focus is on the first two types of error. Criteria for testing data security are derived from these fields. On the basis of the criteria, observation points in existing test systems have been analyzed and new observation points have been added based on a virtual ECU. In this context, not only interfaces of the ECU are considered, but also internal states of the controlling (executed instructions, variables, and memory areas) and the executing artifact (registers, local buses, and arithmetic unit) are considered. Considering the internal states is important, since memory errors and numerical errors do not necessarily propagate to interfaces and therefore are not visible in the ECU environment.
Based on the observation points in a virtual control unit, an overall system simulation has been created which simulates the control unit with the application, processor and peripherals. A co-simulation generates test stimuli. The observation points can be used to determine the behavior and states within the ECU. The additional observation points allow the use of test methods to monitor instructions and registers, analyze inputs, mark the used memory and analyze code coverage. Furthermore, evolutionary techniques maximize variable growth and memory access and minimize the distance between heap and stack.
To use these test methods in development processes, the results were scaled to a connected function (Adaptive Cruise Control) and the real-time behavior was evaluated. For the simulation of a stand-alone ECU, up to 62 controllers may be simulated in parallel before the simulation on the real hardware is faster compared to the simulation. Adding monitoring functions and co-simulations, reduces the real-time ratio exponentially.
To conclude, the test methodology is evaluated with attacks from the automotive industry and it is shown which errors could have been detected. Nevertheless, the test methodology is only as accurate as the simulated models. Increasing the accuracy results in higher development costs. Furthermore, the application must be known as source code or machine code.
However, if the test method is used as a supplement to already known test methods, data security problems can be detected during development.
| Related KIT institution | Institute for Information Processing Technologies (ITIV) |
|---|---|
| Language | German |
| KITopen ID | 1000123951 |
| Keywords | Security, Testing, virtual ECU |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | X, 247 p. |
| Faculty | Fakultät für Elektrotechnik und Informationstechnik (ETIT) |
| Institute | Institute for Information Processing Technologies (ITIV) |
| Exam date | May 4, 2020 |
| Supervisor | E. Sax |
| Referenced in | OpenAlex |
| Sustainable Development Goals (SDGs) |