Safety inspection method for technical units

The method automates the safety testing of complex technological units by modeling their configurations, addressing the inefficiencies of manual cybersecurity assessments and enabling thorough vulnerability identification.

JP7561147B2Active Publication Date: 2024-10-03AVL LIST GMBH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021573808
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-06-14
Filing Date
2020-06-09
Publication Date
2024-10-03
Estimated Expiration
2040-06-09

AI Technical Summary

Technical Problem

The complexity of modern technological units with numerous networked components poses a significant challenge for cybersecurity testing, as existing methods struggle to efficiently identify vulnerabilities and require extensive manual effort due to limited knowledge of internal configurations, leading to incomplete and time-consuming safety inspections.

Method used

A method involving an inspection computer system that models the configuration of a technical unit by establishing a connection, identifying an initial instance, eliciting behavior, analyzing characteristics, and refining the model to generate a first valid variation, allowing for automated safety checks and reduced test case numbers.

Benefits of technology

This approach enables efficient and automated safety testing of technical units, reducing the number of test cases and minimizing user intervention, while ensuring comprehensive vulnerability assessment within a manageable timeframe.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561147000001
    Figure 0007561147000001
  • Figure 0007561147000002
    Figure 0007561147000002
  • Figure 0007561147000003
    Figure 0007561147000003
Patent Text Reader

Abstract

A method for testing the security of a technical unit (1) for which at least one first plausible model variant and, optionally, a number of alternative model variants have been identified, the method being implemented on a testing computer system (2) and comprising the steps of: assigning known weaknesses to components of the model variants; defining attack targets; creating, for each model variant, at least one attack model relating to the attack target; weighting the nodes of the attack models with respect to at least one evaluation variable; identifying an evaluation of at least one test vector of the attack model with respect to the evaluation variable; identifying a security value as the most unfavorable value among all evaluations; and issuing a security certificate if the security value meets a security criterion.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates to a method for testing the safety of a technical unit, a method for identifying at least one valid configuration of a technical unit, the method being implemented on a testing computer system; Computer Programs and an inspection computer system. [Background technology]

[0002] Modern technical devices, especially vehicles, with their own dedicated processors or microcontrollers, have a certain degree of complexity, with a large number of components built in and networked with each other. However, the present disclosure is not limited to vehicles, but can also be used in connection with other units and technical devices, which have a large number of components networked with each other and are generally referred to in the context of the present disclosure as "technical units". Examples of technical units include, in particular, combinations of different devices. As an example, it is possible to perform a certain task, for example a speedometer, of an autonomous computer unit, such as a tablet or smartphone, which communicates with another unit, for example an (autonomous) vehicle. On the other hand, multiple vehicles can also communicate with each other, for example via radio, to perform a common task, for example to connect with each other in the sense of a virtual towbar, or one unit, for example a specialized vehicle in the construction field, agriculture, task force, etc., can be connected with one or more on-board devices. Such combined units can be considered as technical units in the sense of the present disclosure.

[0003] Typically, the components of such technical units have their own memories and communication interfaces and can therefore each be viewed as a dedicated computer system. Such components are also called "embedded systems: ES" or "cyber-physical systems: CPS". The complexity of such technical units is so large that it cannot be quickly foreseen. For example, a vehicle has about a dozen control devices that together execute software with typically tens of millions of lines of program code. As an example of a communication interface, one can simply cite the various wireless connection protocols that are partially used simultaneously. Due to the complexity and variety of communication interfaces, a large attack surface for cyber attacks is created for such vehicles. In that case, attacks can be made not only via the original communication interfaces but also via sensors, such as, for example, lidar or radar systems. They can be attacked, for example, by false signals or using DoS / flooding. In the context of the present disclosure, events acting on a technical unit from the outside or inside, with the aim of one or more of influencing the technical unit in an unauthorized manner and transferring data of the technical unit to a third party in an unauthorized manner, are called "cyber attacks".

[0004] Due to the physical capabilities of vehicles (weight and speed, and therefore high kinetic energy, direct interaction with many possible people), large numbers of vehicles (fleets) and the development towards autonomous vehicles, such attacks could pose an enormous risk, which concerns for example large numbers of land vehicles such as cars, trucks or tracked vehicles, but also water or air vehicles.

[0005] The present disclosure is concerned with the objective of protecting said vehicles and other technical units against cyber attacks and contributing to their robustness. In the context of the present disclosure, the ability of a technical unit to continually provide its intended results regardless of the events acting on it (such as, for example, cyber attacks) is referred to as "robustness".

[0006] To protect technological units against cyber attacks and make them robust, it is useful to take redundant safety measures during development, preventing weak spots as much as possible or, if possible, isolating individual components exposed to danger as much as possible. At the concept stage, this is done by architectural measures (e.g. as described in non-patent document 1), while the concept is realised by a corresponding development process, e.g. best practices, source code reviews, etc.

[0007] After the completion of the assembly of a technological unit and the integration of components into it, there is always a need for testing or safety inspections in order to be able to discover as far as possible all relevant weaknesses (even those which only arise due to the combination of subsystems). Such safety inspections are also called cybersecurity tests.

[0008] To be able to discover a weakness, it is useful to have knowledge of its existence (however, there are techniques to discover weaknesses without prior knowledge, e.g. fuzzing). The weaknesses on which a security check is based can for example be obtained from public and freely accessible databases, from paid databases or from internal databases. Internal databases can contain weaknesses discovered during own weakness analysis, and many previously undiscovered weaknesses are also available on the dark net for a fee.

[0009] The safety tests should enable manufacturers (e.g. original equipment manufacturers (OEMs), national authorities (e.g. motor vehicle registries) and other stakeholders (e.g. consumer associations, commercial fleet operators, etc.) to assess specific cybersecurity risks of technological units or vehicles, which can then be applied during the further development or improvement of the vehicle, for elimination or even for certification and similar issues.

[0010] For example, safety tests are required during the development of a new vehicle by the OEM, at market launch / classification / acceptance, and subsequently continuously throughout the vehicle's life. The need to repeat safety tests at system test level, and therefore the constant testing of cybersecurity, arises due to changeable configurations, constant updates of (parts of) the software, changing environmental conditions (e.g. vehicle-to-infrastructure: V2I, vehicle-to-vehicle: V2V, changing interaction partners), newly known test vectors (also from own safety research), etc. In that case, safety tests can be performed by the manufacturer, possibly also by the (fleet) operator, the Motor Vehicle Registry and third-party specialist companies.

[0011] Due to the distributed development, production, configuration and maintenance in the automotive supply chain, safety testing has no or only very limited access to knowledge about the concrete internal implementation of technical units. In particular, for safety testing by actors other than the manufacturer itself, such as users or authorities, the system architecture, configuration data, source code, etc. of the technical units to be tested are largely unknown. Therefore, safety testing is very much equivalent to "black box testing" or "gray box testing", i.e. tests developed without knowledge or with only little or partial knowledge about the internal functionality or implementation of the units to be tested.

[0012] This causes a problem in selecting test cases and test vectors or attack vectors suitable for security testing. Due to the combination of diversity, the increased complexity leads to a very large number of test cases that cannot be fully processed by even expensive computer systems within the practically available time. [Prior art documents] [Non-patent literature]

[0013] [Non-Patent Document 1] Papadimitratos publication "Secure Vehicular Communication Systems: Design and Architecture", P., Buttyan, L., Holczer, T., Schoch, E., Freudiger, J., Raya, M., Ma, Z., Kargl, F., Kung, A., & Hubaux, J.-P., 2008, IEEE Communications Magazine, 46(11), 100~109 [Non-Patent Document 2] "Attack trees", Schneier, B. (1999), Dr. Dobb's journal, 24(12), 21~29 [Non-Patent Document 3] "Attack Net Pentration Testing", McDermott, JP(2000), Proceedings of the 2000 workshop on New security paradigms, 15~21 [Non-Patent Document 4] "Software fault tree and colored Petrinet-based specification, design and implementation of agent-based intrusion detection systems", Helmer et al. (2007), International Journal of Information and Computer Security, 1(1), 109~142 [Non-Patent Document 5] “An empirical evaluation of the effectiveness of attack graphs and fault trees in cyber-attack perception”, Lallie, HS, Debattista, K., & Bal, J. (2017), IEEE Transactions on Information Forensics and Security, 13(5), 1110~1122 Summary of the Invention [Problem to be solved by the invention]

[0014] In view of the above, it is an object of the present invention to provide a method and an apparatus which allows the number of test cases to be checked to be reduced to a technically achievable extent. Furthermore, the safety checks should be able to be performed in a highly automated manner. [Means for solving the problem]

[0015] These and other objects of the present invention relate to a method for identifying at least one first plausible model variant of a configuration of a technical unit by means of an inspection computer system, the technical unit comprising at least one data transmission device and a number of components capable of data communication via the data transmission device, the method comprising: a) establishing a connection between a test interface of the test computer system and a data transmission device of the technical unit; b) identifying an initial instance of a model of a configuration of technological units; c) Starting from this initial instance, c1) optionally performing a triggering action; c2) identifying characteristic behaviors of technological units; c3) analysing this characteristic behaviour to deduce at least one property of the actual configuration of the technological unit; and c4) determining a model specification according to the at least one identified characteristic; generating detailed instances of the model by a series of refinement processes each having a respective refinement step, at least one of the refinement steps being performed automatically by an inspection computer system; d) identifying the detailed instance of the model as a first plausible model variant if at least one decision criterion is satisfied; The problem is solved by the method having

[0016] Using this method, it is possible to reduce the various combinations of test cases that must be tested for a safety inspection to a number that can be completely processed within the available time period using the inspection computer system to inspect the presence of safety certification for a technical unit.

[0017] In the context of the present disclosure, a unit that comprises at least one electronic circuit (in particular an integrated circuit, possibly a processor, a microcontroller, an FPGA, an artificial neural network or the like), has data communication capabilities and is directly or indirectly connected to at least one data transmission device of the technological unit is called a "component" of the technological unit. These components are also referred to in the narrower sense in the present disclosure as "electronic components" or "data processing components".

[0018] In the context of this disclosure, components that are linked to or assigned to a single component (regardless of the form of data communication) are referred to as "subcomponents" of the technology unit.

[0019] In the context of this disclosure, a means enabling data transmission from a sender (e.g., a component, a subcomponent, or an external data source) to a receiver (e.g., a component, a subcomponent, or an external data sink) is generally referred to as a "data transmission device". Data transmission devices can be wired or wireless, and data communication via each data transmission device is performed based on a defined connection protocol. Examples of wireless connection protocols include, but are not limited to, 3G / 4G / 5G mobile networks, Bluetooth, WLAN, V2X, RFID, etc. Examples of wired connection protocols include, but are not limited to, CAN, FlexRay, MOST, (automotive) Ethernet, etc.

[0020] In the context of this disclosure, any computer system for carrying out the corresponding steps of the methods disclosed herein is referred to as a "test computer system."

[0021] In the context of the present disclosure, the data connection between the test computer system and the data transmission device of the technical unit is called "test interface". This test interface can utilize any connection protocol that allows such communication. For example, the test interface can be a wireless or wired interface. In some cases, the test interface can also support several different connection protocols, for example when the connection protocol used by the data transmission device of the technical unit is not known at first. For example, a USB interface, a Bluetooth interface or a diagnostic interface of the technical unit can be used as interface. The establishment of the connection between the test interface and the data transmission device can be, for example, conventionally plugged or wireless. In this context, the process that allows the test computer system to communicate data with the data transmission device is called "establishing a connection". In some cases, the test computer system can be equipped with several mutually independent test interfaces.

[0022] In the context of this disclosure, a defined group of characteristics of a technical unit is called a "configuration", which may in particular: a) the number and type of components and / or subcomponents present; b) Model information of the components and / or subcomponents present; c) The number and type of data transmission equipment present; d) connection protocols of existing data transmission equipment; e) the physical arrangement of components and / or subcomponents in technological units; f) The ability of the components to communicate via one or more data transmission devices; g) the number and type of subcomponents of the component; h) Identification and version information of the firmware present in the component or subcomponent; i) Identification and version information of the software present in the component or subcomponent; j) the communication topology of the components and / or sub-components with each other; k) functional interdependencies between components and / or subcomponents (e.g. component A cannot function without component B); l) The (possibly distributed) division of responsibility of components and / or subcomponents with respect to the functioning of the overall system (e.g. the cooperation or control of several control chips in a vehicle braking system); m) component (hardware, software, firmware) versions; n) Chip version and revision number; o) possible meta-information (e.g. manufacturer), p) Timing information, such as clock frequency, transmission speed, execution time (computation time), and period of the cyclic task; q) Software configuration (e.g., task priorities, allocated memory regions, etc.); may include.

[0023] In the context of this disclosure, a systematic reflection of the configuration of a technological unit, taking into account the units assigned to it, is sometimes called a "model" or a "configuration model". Depending on the level of detail, this model can include some or all of the properties defined for the configuration. On the one hand, the model can include properties of the technological unit that have been proven to match the real technological unit, and on the other hand, the model can include properties that have not been proven to match the technological unit. This model can also include "unknown information" or "dummy information" about properties, from which it is known that they must be present in the technological unit, but their more precise identification is unknown. In this context, variables that have not been assigned a value are called "unknown information". Primitive model nodes that are assigned to properties without detailed information are called "dummy information". Such dummy information can be used, for example, for components that are known to be present in the technological unit, but it is not known what structural arrangement the components are or where exactly they are located. Dummy information can also be used for other properties of the technological unit, for example software, firmware, data transmission equipment, etc.

[0024] The details or structure of the model can be chosen arbitrarily, and in the case of properties of set units (e.g., components), a structure structure can be assembled for the model nodes, and relationships between the components (e.g., hierarchical dependencies, data flow, control flow, etc.) can be represented as connections between the model nodes (generally referred to herein as a "connection pane"). The modeling can be based on any suitable system architecture, but a simple structure, e.g., a hierarchical arrangement of model nodes in a tree structure or a network structure, is sufficient for the teachings of the present invention and reduces the complexity of the model to a level that is easily understood at a glance. However, the present disclosure is not limited to such structures, as other structures can also be used for modeling.

[0025] For a given test, it may also be necessary to incorporate into the model components that are not themselves based on technology units, but have interrelationships with the technology units, in which case the term "technology unit" should be interpreted broadly to include such "external" components.

[0026] For example, the technical unit to be analyzed and modeled may be a vehicle, but for certain functions a communication partner is required. This communication partner may be, for example, a second vehicle (V2X: Vehicle-to-Everything) or, in networked vehicles, an application running in the cloud (V2C: Vehicle-to-Cloud). In some cases, such a communication partner or its components may be brought together when modeling the technical unit, and the components and characteristics of this "external" communication partner may be used in the same way as the components and characteristics of the original technical unit in connection with the methods disclosed herein.

[0027] In the context of this disclosure, the configuration model that meets the judgment criteria is called the "first plausible model variant". It is not possible to prove with any certainty that this plausible model variant matches the actual configuration, but it is also not possible to presume that it matches the actual configuration of the technology unit. The plausible model variant may also include "dummy information" of the components.

[0028] In the context of this disclosure, an incomplete model is generally referred to as an "initial instance of the model", from which it is assumed that as many known characteristics of the model as possible match the actual technological unit. The model may further include unknown or dummy information regarding characteristics not identified so far. For example, a primitive model of the technological unit may be the initial instance. In some cases, a more detailed model may be selected as the initial model, for example based on prior information, such as the formal representation of the technological unit. Identification of the initial instance may be performed before or after the establishment of a connection between the inspection computer system and the technological unit. For example, the initial instance of the model may be selected from a database based on user input to the inspection computer system (e.g., the formal representation of the technological unit). In some cases, the initial instance may be selected autonomously by the inspection computer system based on data received after the establishment of the technological unit connection. In some cases, the initial instance may be identified by running predefined test cases on the technological unit in order to identify the initial instance based on performance with similar technological units.

[0029] In the context of this disclosure, a modified version of a model that matches actual technical units to a greater extent than the initial instance (and possibly than an existing detailed instance) is referred to as a "detailed instance of the model."

[0030] In the context of this disclosure, the generation of a detailed instance of a model from an initial instance or from an existing detailed instance is referred to as the "refinement process." The term "evolution of a detailed instance of a model" relates to a series of refinement processes that are performed iteratively.

[0031] In the context of this disclosure, the term "automatically executes" means that the inspection computer system executes the corresponding process without the need for user intervention, generally intending to reduce the amount of required user intervention to a minimum necessary.

[0032] In the context of the present disclosure, an action which, as expected, causes a characteristic behavior of the technical unit, for example a characteristic data communication via a data transmission device of the technical unit, is called a "triggered action". The triggered action can, for example, be a data flow sent from the test computer system via a test interface to the data transmission device. In some cases, the test computer system can also trigger the triggered action via another interface, for example using an actuator acting on a part of the technical unit. In some cases, the test computer system can also instruct the user to perform a predefined triggered action, for example an operation of an operating part of the technical unit or a predefined operation of a component. The triggered action can, for example, be a specially configured data communication or a cyber attack carried out in a test manner. In some cases, instead of a triggered action, a purely passive observation of the technical unit can also be performed.

[0033] In the context of the present disclosure, a behavior that can be associated with an estimation of at least one property of the configuration of a technical unit is called "behavior characteristic of a technical unit". In this case, the characteristic behavior can be, for example, the occurrence of a certain data communication via a data transmission device or a certain measurement characteristic of the technical unit or a component of the technical unit. For example, by measuring the impedance of a line used as a data transmission device, the number of components connected to the line can be estimated. The characteristic behavior can also be determined by any other measurement.

[0034] The analysis of the characteristic behavior of the technical unit and the estimation of at least one characteristic of the actual configuration can be performed, for example, by consulting a database in which characteristic behaviors of known technical units or components are stored, which database can be integrated into an external system or into the inspection computer system and, in some cases, can be automatically updated by the inspection computer system.

[0035] In the context of the present disclosure, a condition that ensures that the model instances are sufficiently determined to make a safety check feasible within a given time is called a "decision criterion". In this case, for example, it can be evaluated how many possible configuration variants (or model variants) are actually present based on the instances. For example, the decision criterion can require that the number of possible variants of the instance is below a certain threshold. However, more complex decision criterions are also feasible. For example, the decision criterion can take into account how successful the last executed refinement process was in order to avoid premature termination of the evolution of the detailed instances. This decision criterion can also take into account that, in some cases, the number of model variants can be further limited during the execution of the safety check.

[0036] In an advantageous embodiment of the disclosed method, the step of identifying the characteristic behavior of the technical unit can include intercepting data transmitted by the test computer system via a data transmission device, which allows identifying a number of characteristics of the actual configuration of the technical unit, possibly after a triggering action.

[0037] Advantageously, the properties of the actual configuration of the technical unit can be selected from at least one property of one of the components and / or at least one relationship between the components. This relationship can be, for example, a functional relationship or a communication relationship. The properties of the components can be, for example, the type designation of the components, the model version of the components, the firmware version, the software running on the components and its version or more. The functional relationship between the components can be, for example, the arrangement of the components communicating with each other in a given data transmission device, the fact of which components execute a given software or the involvement of several components in a higher-level function. This "higher-level function" can be, for example, a common effect that is targeted. However, in this case, they do not necessarily have to communicate up and down. Their data can be processed by another unit (possibly even not yet discovered in the detailed model).

[0038] In another advantageous embodiment of the disclosed method, at least one alternative model variant, preferably a number of alternative model variants, are created based on the first plausible model variant, so that components and properties that could not be found during the development of the detailed instance can be taken into account during the subsequent safety inspection. In this case, several speculative assumptions are made for the unknown properties, and one model variant is created for each assumption. Depending on the computing power of the inspection computer system and the complexity of the technical units, the total number of alternative model variants can be so large that it is far beyond the range of numbers that can be intellectually grasped and a "manual" processing can no longer be achieved. Nevertheless, the amount of alternative model variants is small enough to allow a computer-aided analysis to be performed within a reasonable time, for example during the safety inspection.

[0039] In the context of the present disclosure, a modification of the first plausible model variant, in which at least one unknown characteristic or "dummy information" of the configuration is replaced by at least one concrete characteristic whose nature is known but whose presence in the actual configuration of the technology unit is unknown, is called an "alternative model variant". An alternative model variant can, for example, have, instead of a single component, several components which together realize the single component. An alternative model variant can, for example, be completely defined, i.e. all dummy information and unknown information can be replaced by speculative but concrete assumptions. In the context of the present disclosure, a concrete characteristic of the configuration, whose actual implementation in the technology unit could not be proved until now, is called an "alternative assumption".

[0040] In another aspect, the present disclosure relates to a method for testing the safety of a technological unit implemented on a testing computer system in which at least one first plausible model variant and possibly a number of alternative model variants are identified, the method comprising: a) assigning known weaknesses to components of a model variant; b) defining an attack objective; c) identifying at least one attack model for a model variant associated with the attack objective; d) weighting the nodes of the attack model with respect to at least one evaluation variable; e) identifying an evaluation of at least one test vector of the attack model with respect to the evaluation variables; f) identifying a safety value as the most unfavorable value among all the evaluations; g) issuing a safety certificate if the safety value meets the safety criteria; has.

[0041] The method thus makes it possible to provide proof of the safety of a technical unit even when not all components and properties of the configuration of the technical unit are known. The method can be performed in a highly automated manner, so that the training burden on the user is minimized.

[0042] In the context of this disclosure, a path through which a cyber attack is possible that may exist in a technological unit but go undetected is called a "weakness" or "vulnerability", which may cause the evaluation of the test vectors of an attack model to no longer meet the security criteria.

[0043] In the context of this disclosure, the process of proving (or disproving) that a tested technological unit meets certain safety requirements is called "safety testing". The safety requirements may determine, for example, the existence of a safety proof against one or more attack targets.

[0044] In the context of this disclosure, an event that an attacker may target is called an "attack objective". An attack objective may be, for example, gaining control over the software functionality of a component or causing damage to a given component. Practical examples of attack objectives in a vehicle environment include, for example, manipulating engine controls, changing injection controls, or the like. Attack objectives typically form the initial nodes of an attack model (e.g., an attack tree or attack net).

[0045] In the context of this disclosure, a model description of an attack, starting from an initial node (attack target) and assigning points on how the attack target can be reached, is called an "attack model". These points form nodes assigned to the initial node, which can be assigned to other nodes in stages. In particular, this model has a tree- or net-shaped structure. This idea of ​​attack model is well known in the field and is described, for example, in the form of an "attack tree" in Non-Patent Document 2 or in the form of an "attack net" in Non-Patent Document 3 or 4, and Non-Patent Document 5 provides a (non-comprehensive) overview on attack models. Thereafter, the idea of ​​attack model is defined or elaborated in the relevant literature. In the context of this disclosure, it is assumed that the skilled person has a solid knowledge of the idea of ​​attack model.

[0046] In the context of this disclosure, an attack path starting from a node assigned to the step-by-step hierarchy of the attack model to an initial node is called a "test vector" (or "attack vector") and defines the sequence of steps required to reach the attack goal.

[0047] Each node in the attack model is weighted with a value variable that represents the effort that an attacker must incur to create that node. This value variable can be interpreted as a cost or price, and the units of the value variable can be defined, for example, as time, currency, man-hours, other resources, or a combination thereof.

[0048] A node in the attack model is typically assigned to a defined subunit of the test unit, such as a given component or a given piece of software that must be manipulated to conquer that node.

[0049] In the context of this disclosure, the sum of all evaluation variables of a test vector is called the "evaluation of the test vector". This evaluation can then be interpreted as the burden required to perform an attack along the test vector. Since each attack model has a large number of test vectors, the worst or most unfavorable value among the evaluations of all test vectors of all attack models tested is important for the security judgment. This most unfavorable value defines the test vector that can be performed with the least burden. In the context of this disclosure, the value that defines the least burden for a successful attack is called the "most unfavorable" value.

[0050] In the context of this disclosure, the most unfavorable value among all the evaluations of the test vectors of one attack model is called the safety value. This safety value defines the minimum burden to reach the attack goal. If this safety value meets the defined safety criterion, the safety of the attack model can be proven.

[0051] Therefore, in the context of this disclosure, the conditions that a safety value must meet in order to be able to prove safety are called "safety criteria." For example, a threshold below which the safety value is not allowed to fall serves as the condition, e.g., a burden (defined, e.g., in currency, time, effort, etc.).

[0052] In the context of this disclosure, a statement that a tested technical unit can be considered secure (i.e., meets defined security criteria) with respect to an attack objective and a defined security value is referred to as a "security proof."

[0053] Advantageously, the method further comprises the steps of: a) conducting at least one cyber-attack against the technology unit, the cyber-attack being selected based on the identified weaknesses; b) evaluating the effects achieved by the cyberattack; and d) eliminating model variants for which the achieved effect is not conclusive; may have the following structure:

[0054] This allows further reduction in the number of model variations during testing and allows deeper knowledge of the actual configuration.

[0055] In a cyber attack, for example, an exploit is selected and executed based on a test vector. In the context of the present disclosure, a sequence of instructions or actions that traces the attack target along a path of an attack model (along a test vector) is called an "exploit". In this case, an exploit takes advantage of a known weakness. Besides exploits, a cyber attack can also include fuzzing. In the context of the present disclosure, "fuzzing" refers to the automated (massive) execution of random actions (e.g., a mass infusion of random data via a data transmission device) with the aim of finding and exploiting a previously unknown weakness.

[0056] The effect of a cyber attack can be, for example, a successful attack, a failed attack or otherwise information that allows inferences to be made about the configuration: if the attack is successful, the entire set of involved hardware and software parts can be inferred, resulting in a very deep knowledge of the actual configuration of the technological unit.

[0057] In this context, "removal" of a model variant means that the corresponding model variant is no longer considered for further safety testing because it has been found not to match the actual configuration of the technical unit. This can be known directly, for example, because a detailed component actually has a different configuration, or indirectly, because the model variant has a component or configuration that is no longer valid due to the known configuration of another component.

[0058] Advantageously, the method further comprises the steps of: a) identifying at least one software and / or firmware installed on a component of a technology unit; b) updating said software and / or firmware by a test computer system; has.

[0059] This can serve, for example, to automatically remove safety defects that can be removed by updating (or updating) the corresponding software and / or firmware to new versions, and the safety check can then be continued by correspondingly updating the detailed model variations (i.e., the model variations that take the update into account).

[0060] In the context of this disclosure, all non-physical, technically functional components of a computer are referred to as "software." More narrowly, software refers to data structures, including programs, documentation, and possibly associated data.

[0061] In the context of this disclosure, the physical components (i.e., electronic and mechanical components) of a technological unit are referred to as "hardware".

[0062] In the context of this disclosure, software that is fixedly assigned to a given piece of hardware (in particular a given component of a technological unit) and that largely determines the functionality of that hardware is called "firmware", as the hardware would not be usable without it. Firmware can generally only be replaced with specialized means or functions.

[0063] In another advantageous embodiment, the method further comprises the steps of: a) identifying software and / or firmware installed on components of a technological unit; b) creating a simulated model variant that includes a detailed version of the software and / or firmware; c) determining a safety value based on the simulated model variations; has.

[0064] In the context of this disclosure, a model variant that is known to differ from the actual configuration of the technical units is called a "simulated model variant." In particular, this simulated model variant may differ from the model variant that actually exists in terms of software and / or firmware versions.

[0065] Likewise, it is also possible to "substitute" hardware (ie, for example, a component of a technological unit) for another hardware in a simulated model variant and to check the effect on safety in the simulation.

[0066] This simulated model variation can be used to potentially generate actionable diagnostics and safety recommendations.

[0067] Advantageously, the technical unit may be a vehicle, in particular an automatic or autonomous vehicle based on one of the SAE levels 0 to 5 of the SAE standard J3016, the term referring to the SAE standard J3016 according to the version in force as of the priority date of the present application.

[0068] In another aspect, the present disclosure provides a method for producing a method for manufacturing a semiconductor device comprising: Computer Systems Regarding this Computer Systems This Computer Systems When run on a computer, the software code portions can be directly loaded into the internal memory of a digital computer and contain software code portions for carrying out the steps of the methods disclosed herein.

[0069] The present disclosure further relates to an inspection computer system, Computer Programs works.

[0070] The invention will be explained in more detail below with reference to Figures 1 to 7, which illustrate examples of advantageous embodiments of the invention in a schematic, non-limiting manner. [Brief description of the drawings]

[0071] [Figure 1] Schematic diagram of technical unit and inspection computer system [Diagram 2] Block diagram of an example of an initial instance of a model of the configuration of technological units [Diagram 3] FIG. 1 is a block diagram of an initial instance of the model, with data flow further illustrated; [Figure 4] A block diagram of a detailed instance of the model, with additional information about the characteristics of the configuration of the technological units. [Diagram 5] Block diagram of the first plausible model variant of the technological unit [Figure 6] FIG. 1 is a block diagram of a number of alternative model variations that have been created based on a first reasonable model variation; [Figure 7] Block diagram of Figure 6 with references to known weaknesses in model variations DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0072] FIG. 1 shows diagrammatically a technological unit 1 and a test computer system 2 which can be connected to each other via a test interface 6 .

[0073] The inspection computer system 2 can be a conventional computer system, on which: Computer Programs when running on the inspection computer system 2, comprises software code portions for carrying out the steps described herein to be carried out by the inspection computer system 2. Computer ProgramsThe test computer system 2 can, for example, comprise at least one display, e.g. a computer display, input devices, e.g. a mouse, a keyboard, a touchpad and / or special input / output devices for the application, and corresponding peripheral devices. The test computer system 2 has a test interface 6 which allows data communication with the data transmission device 3 of the technological unit 1.

[0074] This test interface 6 can comprise a cable with a plug that can be plugged into a socket provided on the technical unit 1 to establish a physical connection with the data transmission device 3. This socket can be, for example, a diagnostic interface of the vehicle or another interface, such as, for example, a USB terminal. Possibly, this test interface 6 can also be a wireless interface which establishes a connection with the wireless data transmission device 3 by means of a corresponding connection protocol.

[0075] The data transmission device of this technical unit 1 can be connected to a number of components 4, whose configuration may not be known at all for the time being. This configuration can be defined in particular by the properties related to the correlation of the components 4, the data transmission device 3 and their arrangement. For the sake of clarity, only a single data transmission device 3 (for example in the form of a bus system such as a CAN bus) is shown in FIG. 1, but it can be assumed that it is known that the technical unit 1 can comprise a number of different, possibly networked with each other, data transmission devices 3 with which different components can be connected. Possibly, this test computer system 2 can comprise a number of test interfaces 6, each assigned to a different data transmission device 3 of the technical unit. These components 4 can possibly have subcomponents 4' that are not directly connected to the data transmission device 3, but are directly connected to the components 4.

[0076] In the following, in connection with the drawings of Figs. 2 to 5, a use of the method is described, in which, for example, by means of an inspection computer system 2, the (often initially completely unknown) configuration of the technical unit 1 can be modelled, so that the finally obtained model 6 (which is called the "first plausible model variant") can be used for a safety inspection. In this case, the safety inspection should be feasible in an economically rational manner. In this case, in the context of a vehicle safety inspection, the safety inspection should be realisable within a few operating seconds. Deep scanning can possibly last for a longer time, for example for several days, while human intervention is only occasionally or not required at all. In this case, the measure of economic rationality depends on the application at hand, and a relatively large burden can be assumed for the safety inspection of new technical units and technical units in the development phase. For example, a regular safety inspection of an already approved road vehicle should basically be able to be completed as quickly as possible. In favorable circumstances, the safety inspection can be completed within an hour or a few hours, or even preferably within a few minutes.

[0077] The below described examples of such modeling are based on a motorized vehicle (e.g. electric vehicle, vehicle with combustion engine, vehicle with hybrid drive, vehicle with fuel cell, etc.). Initially, the person inspecting the vehicle (or the user of the inspection computer system) knows only basic data, e.g. that the vehicle has an electric motor or a combustion engine, what vehicle model it is, etc. This information can be entered by the user into the inspection computer system 2, or in some cases, the inspection computer system 2 can automatically determine such information when a connection is established via the inspection interface 6. The basic data can also include a mixture of directly entered information (e.g. "has driver assistance system") and indirectly determined information (e.g. from an indication of the vehicle identification number (VIN), which can be automatically queried from a database of multiple such attributes). Based on such basic information, the inspection computer system 2 can select an initial instance 100 of the model 5, as shown diagrammatically in Figs. 2 and 3. The initial instance 100 of the model 5 can for example be selected from a library of possible templates for the corresponding technological unit 1, for example from a library of possible templates for a networked vehicle.

[0078] This model 5 hierarchically reflects the structure or configuration of technological units and, in the illustrated case, is based on a tree structure, where individual properties are aggregated in model nodes (1000, 1001, etc.) which may, for example, contain individual components or subcomponents.

[0079] The model 5 is built on several hierarchical levels, with the hierarchical and / or other relationships between the individual model nodes being displayed, for example, by a connection pane 10, which represents a structure of functional dependencies (for example, between systems and subsystems). However, the model structure and its relationships can also be of any other structure, for example based on physical connections between the test interfaces 6 as the root of the tree and the directly connected input nodes. The hierarchical highest level forms the identification level 201, which identifies the modeled technical unit 1 (for example, as vehicle type and chassis number) in the top model node 1000. Below, in the model node 1001, the model variants are identified. As represented by the dashed model nodes 1001', each model 5 can have several variants. In the following, the structure and nature of the model variants are explained, in particular in relation to figures 6 and 7.

[0080] The next hierarchical level can be called the component level 202, where individual components 4 of the technical unit 1 are represented, e.g. a model node 1002a representing a first component 4, further model nodes 1002b, 1002c etc. representing further components 4 of the technical unit. Examples of such components are e.g. an engine control, a driving dynamics control, a driver assistance system, an instrument panel control etc.

[0081] Beneath this are deployed sub-components 203 , which in turn relate to the sub-components assigned to the respective model nodes at the component level 202 , such as model nodes 1003 a , 1003 b , etc.

[0082] The lowest hierarchical level may be referred to as the interaction level 204. The model nodes 1004a, 1004b etc. cited therein may relate respectively to actuators, sensors, user interfaces etc. The model nodes 1004 of the interaction level 204 may be assigned to model nodes respectively above them in the hierarchy and may be assigned to model nodes of the lower component level 203 or to model nodes of the component level 202 (a second option not shown in FIG. 2).

[0083] The designations of the individual hierarchical levels serve merely as illustration and should not be construed as limiting the invention in any way: in particular, every model node can be considered a "component" of the technology unit 1, and a model can have more or fewer levels.

[0084] These connection panes 10 may represent, for example, hierarchical arrangements or dependencies, other relationships and / or data communication paths. In general, a number of characteristics may be defined using the model nodes and connection panes 10 of the model 5 illustrated in FIG. 1, including, for example: a) Subsystems and system limits; b) Interfaces, sensors, actuators, d) functionality (e.g. implemented features, protocols, standards, etc.); for example, d1) Information about the software, the libraries it contains, its runtime environment, etc., including more precise information about each version, data about the tools that created it (compilers, linkers, etc.), data about debugger information, etc.; d2) Data about the hardware (chip manufacturer, revision, etc.), debugger interface (JTAG), etc. d3) Data paths between components; A description of the technical implementation, such as: Such information includes:

[0085] The initial instance 100 of the model 5 may have incomplete information about certain properties and model nodes, referred to as unknown or dummy information.

[0086] The initial instance 100 of the model 5 may have another representation level, unrelated to the hierarchical structure, for example, to represent data flow and communication relationships that may occur between individual model nodes. Such data flows 11 are, for example, represented by dashed lines in FIG. 3.

[0087] Turning to a practical application, the data flow 11 may for example concern the transmission of the current engine speed from an engine control unit (ECU) to a transmission control unit (TCU). The engine control unit may for example be represented by a model node 1002a. This receives a measurement obtained by a speed sensor represented by node 1004a via a model node 1003a of a subordinate system (representing for example a sensor control and an interface control). The engine control unit (model node 1002a) transmits this measurement (or data derived from this measurement) to node 1003b, which further forwards the data to model node 1003a. In this example, node 1003b may for example be a measurement node (including for example an analog-to-digital conversion) or may perform a pre-processing of the measurement (for example scaling). The (physical) sensor represented by node 1004a and the unit (e.g. measurement preprocessor) represented by node 1003a can be assembled in a common housing, but nevertheless can be logically observed separately and can therefore also be modelled as such. The data is then sent to model node 1004c, which represents for example a CAN interface. This model node 1004c then forwards the data via a CAN bus to the transmission control, represented by model node 1002c. Similarly, in this model 5 many other possible data flows and communication connections can be represented.

[0088] The properties disclosed in connection with the description of Figures 2 and 3 also apply, where appropriate, to the model variations described below that evolve from an initial instance 100 of model 5, in which unknown and dummy information are replaced in an iterative refinement process with concrete characteristics, as described below with reference to Figures 4 and 5.

[0089] Figure 4 illustrates a block diagram of a detailed instance 101 of a model 5 to which additional information (schematically represented as information block 1003a in Figure 4) about the sub-components of the model node 1003a has been added. This information block may include, for example, the connection protocol used, the model code, the development stage, the software and software version used, the model code and other information about the CPU controller or microcontroller, etc.

[0090] The manner of initially obtaining the additional information can be, for example, a user inquiry. The user can, for example, identify by visual inspection whether a certain component is installed in the technical unit 1, if it is detectable by visual inspection. Further information can be passed from the inspection computer system 2 by a detailing process, semi-automatically or fully automatically, via the inspection interface 6. A detailing process that requires user intervention is called "semi-automatically", whereas a fully automatic detailing process does not require user intervention.

[0091] To perform the semi-automatic and fully automatic refinement process, the inspection computer system 2 can, for example, perform scans, using methods well known from reverse engineering. Examples of such scans include: a) Identifying the implemented connection protocols and their versions using a protocol sniffer; b) measuring additional attributes, e.g., latency, and identifying implementation details of the connection protocol (software, hardware); c) detecting components and / or protocols by means of specially configured data communications (triggering actions); d) Detecting software by combing through memory (RAM, Flash, etc.) and using pattern matching to infer the signatures of known software components; e) investigating software flow structures in already compiled software (control flow integrity check) (for this purpose, known error analysis tools such as Valgrind may be used, for example); Examples include:

[0092] In some cases, due to the above mentioned scans, additional information can be obtained by the user's expertise, which is particularly advantageous for technical units that are still in an early development stage or have only a small proven track record.

[0093] At any time, based on the results of the scanning process, characteristic behavior is detected which allows to deduce at least one property of the actual configuration of the technological unit 1, and this model 5 is refined with this information. Thus, by applying an automatable scanning process, the information level regarding the configuration is gradually expanded and reflected in progressively more detailed instances 101 of this model 5.

[0094] The scanning process can analyze and evaluate reactions caused by triggering actions, or it can evaluate behavior of the technical unit 1 that is caused by the technical unit 1 itself and does not occur as a reaction to a triggering action. For example, the data flow on a data bus (for example the CAN bus of a vehicle) can be "intercepted" purely passively by the inspection computer system 2. The data communication events occurring on the bus can then be analyzed and evaluated to infer characteristics of the technical unit. Such "interception" of data communication events is possible without triggering actions, but this does not limit the achievable detection performance. Therefore, an attempt is made to purposefully trigger data communication by means of triggering actions, in order to be able to obtain further information. This triggering action can for example consist in the inspection computer system 2 generating its own data flow on the data transmission device 3 and analyzing and evaluating the reaction thereto. However, more complex triggering actions can also be performed, for example by executing user operations given by the inspection computer system 2.

[0095] This refinement process can be performed by the inspection computer system 2 until a complete configuration is found. However, in general, this is not feasible within a given time, so that the refinement process is terminated when a decision criterion is met. The result is a refined, concrete model, which may indeed still have gaps, but which has a clearly higher degree of detail than the initial instance 100 of the model. This decision criterion can be, for example, that the proportion of unidentified characteristics is below a certain percentage. Possibly, the individual characteristics can be weighted with respect to their relationships, and the decision criterion can be met when the summed weight of the unidentified characteristics is below a predefined value. Alternatively or additionally, the decision criterion can include other criteria, for example a predefined test time, or can, for example, evaluate the result of the last performed refinement step. In this case, the refinement process is further performed as long as the refinement step succeeds in generating new information. Possibly, in combination with another decision criterion, the refinement process can be terminated when only little progress can be expected against the burden of the refinement process.

[0096] In the context of this disclosure, the model developed using the refinement process (ie, the most complete version of the detailed instance 101 of the model 5) is referred to as the "first plausible model variant 102."

[0097] Figure 5 shows a schematic block diagram of a first plausible model variant 102 of such a technology unit 1. For model nodes 1002a, 1002b, 1003a and 1004c, certain information can be specified, as indicated in information blocks 1102a, 1102b, 1103a and 1104c.

[0098] As the database of possible configurations expands and an increasingly automatic flow of the method becomes possible, the proportion of the refinement process that can be performed fully automatically by the inspection computer system 2 increases depending on the number of inspections performed on similar or the same technological unit 1. It is a learning system: once an initial learning phase has been overcome and sufficient information has been stored in the database, even more complex tasks can be performed automatically in less time.

[0099] Once a first plausible model variant 102 has been identified, further refinement is performed by speculation. This is illustrated by way of example in FIG. 6, which shows a number of alternative model variants 103, 103′ and 103″, displayed as stacking levels, created based on the first plausible model variant 102. To create these alternative model variants 103, first all missing properties relevant to safety inspections are identified. Then, for each of these properties, a number of speculative assumptions are made, each representing a possible implementation. Then, for each possible combination of properties under these assumptions, an alternative model variant is created.

[0100] For example, in the first plausible model variant 102, it may not be known what concrete implementation is used as the TCP / IP stack in a given control device (e.g., the control device represented by the model block 1003c). For this reason, now N assumptions with possible implementations are made. If this were a single unknown of the first plausible model variant 102, this would yield exactly N alternative model variants. However, to create possible implementations of several unknown properties, a general approach is needed, and for each of these properties a certain number of possible implementations (M, O, ...) are created. Thus, the total number of alternative model variants is obtained as the product of the number of each alternative model variant (N x M x O ...). Thus, in general, the total number of alternative model variants 103 reaches a scale that can only be examined and tested by a powerful testing computer system 2. However, unlike the starting point of the initial instance 100 of the model, this problem is solvable within a given time, since the first plausible model variant 102 is sure to meet the criteria.

[0101] After the alternative model variants have been created, an independent safety test of the technical unit 1 can be carried out.

[0102] For that purpose, already known weaknesses are assigned to individual alternative model variants 103. In this case, the identified characteristics and the assumptions made are compensated by a collection of known weaknesses. Such collections can be freely or for a fee available on the Internet (e.g. http: / / cve.mitre.org / or https: / / www.automotiveisac.com / ) or internal collections of manufacturers, federations, etc. can be used, or both. After this assignment, a number of alternative model variants 103 are obtained, each assigned to a known weakness. Figure 7 shows a block diagram of the alternative model variants illustrated in Figure 6, in which several references 104 are cited for the known weaknesses and assigned to a given model node. Here, it is possible to assign several weaknesses to one model node or one weakness to several model nodes, as the case may be.

[0103] Further, an attack target may be defined, e.g., selected from a list of attack targets to be processed. In the following, the execution of the security check will be described in relation to one attack target. However, in some cases, the security check may include multiple attack targets, in which case each attack target is processed in the same manner.

[0104] Now, for the attack target, for each alternative model variant, an attack model is created that takes into account the known weaknesses for each model node. Typically, one node in each model variant corresponds to each node in this attack model. The weaknesses (and possibly the implemented countermeasures) determine the burden of defeating a node, and therefore the burden to be overcome as an obstacle on the path to the attack target (see below). The hierarchical structure of attack models allows, for known model nodes, to rely on attack models already developed for these model nodes and to utilize them in each attack model.

[0105] In some cases, a "suspected weakness" can be considered, for example, for a node for which no known weakness exists yet, but for which it is expected that such a weakness can be found (e.g., by an expert) within a reasonable time. This node can be assigned a suspected weakness. Suspected weaknesses also serve to make testing feasible when the weakness database is still incomplete and only a small amount is available. Suspected weaknesses can be tested, for example, by special techniques for finding weaknesses for which no prior knowledge exists, such as fuzzing.

[0106] The nodes of the attack model can be weighted by a burden-related evaluation variable corresponding to the burden to overcome for each node, for example in units of currency, effort, time, other resources, etc. Now, for the defined attack objective, an evaluation can be performed at each node for each path of the attack model (i.e., for each test vector) using the known weaknesses and each evaluation variable.

[0107] However, since only the most unfavorable value among all test vectors is important for this security check, it is not necessary to require an evaluation of each alternative model variant for each individual test vector. Thus, the evaluation of a test vector can be stopped or omitted if it is clear that the evaluation of that test vector is higher than the most unfavorable value identified so far. For example, the evaluation of test vectors that have nodes with better evaluations than the most unfavorable value identified so far among all test vectors can be omitted altogether. However, such alternative test vectors can be relevant when the detailed model changes, thus implying a new evaluation of the attack model or its paths.

[0108] If an evaluation of the test vectors is found that falls below the safety criteria defined for the safety certification, the safety check can be stopped or measures to improve the safety of the technical unit 1, for example software or firmware updates of one or more components, can be recommended or implemented by the test computer system 2. The safety check can then be repeated with new identification of model variants, this time using the already identified properties from the beginning.

[0109] Besides, the evaluation of the test vectors is performed until the most unfavorable value among all test vectors of all attack models of all alternative model variations is identified. If this most unfavorable value (which may also be called safety value) exceeds a predefined safety criterion, a safety proof (security proof) can be issued to the technical unit. Furthermore, recommendations can be given on how the safety can be further improved, for example by identifying protective measures, such as software updates. The effect of such software updates on the achievable safety value can possibly be tested beforehand in a simulated safety test. Possibly, after the implementation of one or more protective measures, a new safety test can be performed, relying on the information previously identified.

[0110] The safety testing process can be performed iteratively, and if a test vector is found that scores below a safety criterion, safety measures are implemented and the method then continues based on the new knowledge.

[0111] When implementing the method, it should be noted that many test vectors of attack models based on alternative model variants contain nodes based on unproven components or characteristics, since the characteristics are selected based on the assumed assumptions. When a test vector is found that passes through a node with assumed assumptions in many alternative model variants and indicates a weakness in this node, it is possible to try to exploit this weakness in the real technical unit 1 by performing a corresponding cyber attack with the testing computer system 2. Proven nodes and test vectors can also be tested in this manner (e.g., by a corresponding tool such as a penetration tester). This "real" attack can then serve to verify the findings. In some cases, even perhaps, it may turn out that the attack is easier than expected and therefore actually has a smaller "cost" (i.e., evaluation) (e.g., a default password may be given that is easily guessed, in which case there is no need to apply a brute force attack).

[0112] For example, it may be found that a certain component (relating to the nodes of the test vector) is vulnerable to a DDoS attack. The testing computer system 2 can then perform such a DDoS attack by means of an exploit based on the test vector. If the cyber attack is successful in this way, all model variants whose corresponding test vectors do not have this weakness can be eliminated. If only a single model variant is now left, other actual properties of the technological unit 1 can be deduced from it. This can significantly limit the diversity of alternative model variants, and even in some cases, in this way it may be possible to completely reflect the configuration of the technological unit in the model (i.e., in that case, there is already only one alternative model variant whose complete agreement with the technological unit 1 is proven). The use of exploits can additionally be relevant to test the actual inclusion of a weakness, so that although the software is fundamentally hit by such a weakness, it cannot be exploited by simple changes in the software configuration or additional protective measures.

[0113] A successful cyber-attack performed will generally be able to completely identify the entire set of components to which the nodes of the test vector are associated.

[0114] When no more test vectors can be found whose ratings fall below the safety criterion, the system can be considered "safe enough" and a safety certificate is issued.

[0115] At each safety test, the knowledge gained is evaluated and stored in a corresponding database for future safety tests. For example, if a test vector (i.e., a weakness) that allows a cyber attack to be performed is discovered, then corresponding test cases, test vectors, and possibly exploits can be automatically generated that can be used with similar technology units in future safety tests.

[0116] In the context of the present disclosure, an automated flow of the testing process based on patterns detected in similar technological units during the aforementioned safety check is called a "test case". Such test cases can significantly shorten the method disclosed herein. For example, based on an earlier safety check, it can be detected that a certain type or a certain model of a technological unit often has weaknesses with respect to certain test vectors. Using this test case, a corresponding exploit can then be performed already during the modeling process, the success or failure of which allows to deduce the actual configuration of the technological unit. In this case, in the context of the present disclosure, the exploit of a test case can be called a "triggered behavior", the result of which represents a characteristic behavior of the technological unit.

[0117] The procedure described above makes it possible to implement a highly automated test execution and test evaluation in order to detect functional and non-functional errors or generally violations in the technological unit 1.

[0118] In some cases, during (or as a result of) a security test, security measures and / or remedial actions can be proposed and possibly tried. These suggestions can result from configuration assumptions or simulated hypothetical changes, e.g. software updates of the components represented by the nodes, that change the attack model or at least one of its test vectors. In this case, the demonstration of the proposed remedial action can be performed, e.g. a) Simulation of the attack model (purely computational on the model), b) Simulation in a simulation environment (i.e. the technological unit is at least partially reflected in a virtual simulation system on which it is simulated by a software version running on it); c) testing on a real technical unit (e.g. a physical vehicle on a test bench) (in some cases individual components of the technical unit can be replaced by virtual equivalents in the form of (co)simulation); This can be done in three forms:

[0119] This demonstration is then carried out according to the safety testing methods disclosed herein, substituting a partially or fully simulated technology unit for the real technology unit.

[0120] The method described herein allows to automatically discover and prioritize test cases, identify associated test vectors, generate exploits, define automatic execution of safety tests, and automatically assist in the evaluation of test events for safety tests, thereby achieving the greatest possible test yield within a limited (i.e., given) test release (e.g., maximum test time), which means identifying as many relevant (high-priority) weaknesses as possible in the overall system (i.e., technology units) with the highest possible probability.

[0121] The method further allows, in a given environment (e.g., during "black box testing"), to identify test vectors related to initially non-existent or incompletely existing information about a technological unit (e.g., missing details about the system structure, component and sub-component relationships, component properties, known weaknesses, etc.), and to select or generate the required test cases. The present application relates to the invention described in the claims, but may also include the following configurations as other aspects. 1. A method for checking the safety of a technological unit (1), in which at least one first plausible model variant and possibly a certain number of alternative model variants are identified, comprising: The method is carried out on an inspection computer system (2), This method, a) assigning known weaknesses to components of a model variant; b) defining an attack objective; c) creating at least one attack model for the attack target for the model variation; d) weighting the nodes of the attack model with respect to at least one evaluation variable; and e) determining an evaluation of at least one test vector of the attack model with respect to the evaluation variable. f) identifying a safety value as the most unfavorable value among all the evaluations; g) issuing a safety certificate if the safety value meets the safety criteria; The method according to claim 1, 2. The at least one first plausible model variant and possibly a certain number of alternative model variants are identified by means of a test computer system (2) on the basis of a method for identifying at least one first plausible model variant of a configuration of a technological unit (1), the technological unit (1) having at least one data transmission device (3) and a number of components (4) capable of data communication via the data transmission device (3), the identification method comprising: a) establishing a connection between the test interface (6) of the test computer system (2) and a data transmission device (3) of the technical unit (1); b) identifying an initial instance of a model (5) of a configuration of the technological unit (1); c) starting from this initial instance, developing detailed instances of the model (5) by a series of refinement processes, at least one of which is carried out automatically by the inspection computer system (2), and which further comprises: c1) possibly carrying out elicitation actions; c2) identifying characteristic behaviors of technological units; c3) analysing this characteristic behaviour to deduce at least one property of the actual configuration of the technological unit (1); c4) refining the model (5) according to the at least one identified characteristic; and d) identifying a detailed instance of the model (5) as a first plausible model variant if at least one decision criterion is satisfied; 2. The method according to claim 1, comprising: 3. A method for identifying at least one first plausible model variant of a configuration of a technological unit (1) using an inspection computer system (2), comprising: The technological unit (1) comprises at least one data transmission device (3) and a number of components (4) capable of data communication via the data transmission device (3), This method, a) establishing a connection between the test interface (6) of the test computer system (2) and a data transmission device (3) of the technical unit (1); b) identifying an initial instance of a model (5) of a configuration of the technological unit (1); c) starting from this initial instance, developing detailed instances of the model (5) by a series of refinement processes, at least one of which is carried out automatically by the inspection computer system (2), and which further comprises: c1) possibly carrying out elicitation actions; c2) identifying characteristic behaviors of the technological units; c3) analysing this characteristic behaviour to deduce at least one property of the actual configuration of the technological unit (1); c4) refining the model (5) according to the at least one identified characteristic; and d) identifying a detailed instance of the model (5) as a first plausible model variant if at least one decision criterion is satisfied; The method according to claim 1, 4. 4. The method according to claim 2 or 3, wherein the step of identifying the characteristic behavior of the technological unit comprises intercepting data transmitted by the inspection computer system (2) via a data transmission device (3). 5. 5. The method according to any one of claims 2 to 4, wherein the properties of the actual configuration of the technological unit are selected from at least one property of the components (4) and / or at least one relationship between the components (4). 6. 6. The method according to any one of claims 2 to 5, wherein at least one alternative model variant is generated based on said first reasonable model variant. 7. The method further comprises: a) performing at least one cyber-attack on a technological unit (1) selected based on the identified weaknesses; b) evaluating the effects achieved by the cyberattack; and c) eliminating model variations whose achieved effect is not conclusive; 2. The method according to claim 1, comprising: 8. The method further comprises: a) identifying at least one software and / or firmware installed on a component (4) of a technological unit (1); b) refining said software and / or firmware by a test computer system (2); 8. The method according to claim 1 or 7, comprising the steps of: 9. The method further comprises: a) identifying software installed on components (4) of a technology unit (1); b) creating a simulated model variant that includes a detailed version of the software; c) determining a safety value based on the simulated model variation. 10. 10. The method according to any one of claims 1 to 9, wherein the technological unit (1) is a vehicle, in particular an autonomous vehicle based on one of the SAE levels 0 to 5 of the SAE standard J3016. 11. A computer program product, which can be directly loaded into the internal memory of a digital computer and has software code portions for carrying out the steps according to any one of 1 to 10 above when the product is run on the computer. 12. 12. An inspection computer system (2) on which the computer program product according to claim 11 runs. [Explanation of symbols]

[0122] 1 Technology Unit 2. Inspection computer system 3 Data transmission equipment 4. Components 5 Models 6 Inspection Interface 10 Connections Pane 100 initial instances 101 Detailed Instances 102 First plausible model variation 103 Alternative Model Variations 104 References 201 Identification Level 202 Component Level 203 Lower Component Level 204 Interference Level 100x model node 110x Information Block

Claims

1. A method for checking the safety of a technological unit (1), in which at least one first plausible model variant and possibly a certain number of alternative model variants are identified, comprising: The method is implemented on an inspection computer system (2), This method, assigning known weaknesses to components of the model variations; Defining an attack objective; generating at least one attack model for the attack target for the model variation; weighting the nodes of the attack model with respect to at least one evaluation variable; identifying an evaluation of at least one test vector of the attack model with respect to the evaluation variables; Identifying a safety value as the most unfavorable value among all the evaluations; issuing a safety certificate if the safety value meets the safety criteria; having The at least one first plausible model variant and possibly a certain number of alternative model variants are identified by means of an inspection computer system (2) on the basis of a method for identifying at least one first plausible model variant of a configuration of a technical unit (1), the technical unit (1) having at least one data transmission device (3) and a number of components (4) capable of data communication via the data transmission device (3), the identification method comprising: establishing a connection between a test interface (6) of the test computer system (2) and a data transmission device (3) of the technical unit (1); Identifying an initial instance of a model (5) of a configuration of a technological unit (1); Starting from this initial instance, developing a detailed instance of the model (5) by a series of refinement processes, at least one of which is carried out automatically by the inspection computer system (2) and which comprises, optionally, the steps of carrying out elicitation actions, identifying a behavior characteristic of the technical unit, analysing this characteristic behavior to deduce at least one characteristic of the actual configuration of the technical unit (1), and refining the model (5) according to this at least one characteristic identified; identifying a detailed instance of the model (5) as a first plausible model variant if at least one decision condition is met; A method for inspecting the safety of a technical unit (1) having the above-mentioned features.

2. A method for identifying at least one first plausible model variant of a configuration of a technological unit (1) using an inspection computer system (2), comprising: The technological unit (1) comprises at least one data transmission device (3) and a number of components (4) capable of data communication via the data transmission device (3), This method, establishing a connection between a test interface (6) of the test computer system (2) and a data transmission device (3) of the technical unit (1); Identifying an initial instance of a model (5) of a configuration of a technological unit (1); Starting from this initial instance, developing a detailed instance of the model (5) by a series of refinement processes, at least one of which is carried out automatically by the inspection computer system (2) and which comprises, optionally, the steps of carrying out elicitation actions, identifying a behavior characteristic of the technical unit, analysing this characteristic behavior to deduce at least one characteristic of the actual configuration of the technical unit (1), and refining the model (5) according to this at least one characteristic identified; identifying a detailed instance of the model (5) as a first plausible model variant if at least one decision condition is met; The method of identifying the first plausible model variant having

3. 3. The method according to claim 1, wherein the step of identifying characteristic behavior of a technological unit comprises intercepting data transmitted by the inspection computer system (2) via a data transmission device (3).

4. 4. The method according to claim 1, wherein the properties of the actual configuration of the technological unit are selected from at least one property of the components (4) and / or at least one relationship between the components (4).

5. 5. The method according to claim 1, further comprising generating at least one alternative model variant based on said first reasonable model variant.

6. A method for testing the safety of a technological unit (1), in which at least one first plausible model variant and, optionally, a certain number of alternative model variants are identified, comprising: The method is implemented on an inspection computer system (2), This method, assigning known weaknesses to components of the model variations; Defining an attack objective; generating at least one attack model for the attack target for the model variation; weighting the nodes of the attack model with respect to at least one evaluation variable; identifying an evaluation of at least one test vector of the attack model with respect to the evaluation variables; Identifying a safety value as the most unfavorable value among all the evaluations; issuing a safety certificate if the safety value meets the safety criteria; having The method further comprises: - executing at least one cyber attack against the technological unit (1), selected based on the identified weaknesses; evaluating the effects achieved by the cyber attack; Eliminating model variations for which the achieved effect is not conclusive; The method comprising the steps of:

7. The method further comprises: Identifying at least one software and / or firmware installed on a component (4) of the technological unit (1); refining said software and / or firmware by a test computer system (2); 7. The method of claim 6, comprising:

8. The method further comprises: Identifying software installed on components (4) of a technology unit (1); creating a simulated model variant that includes a detailed version of the software; and determining a safety value based on the simulated model variations.

9. 9. The method according to any one of the preceding claims, characterized in that the technological unit (1) is a vehicle, in particular an autonomous vehicle according to one of the SAE levels 0 to 5 of the SAE standard J3016.

10. A computer program having software code portions which can be directly loaded into the internal memory of a digital computer and which, when run on the computer, performs the steps according to any one of claims 1 to 9.

11. An inspection computer system on which the computer program according to claim 10 runs.

Citation Information

Patent Citations

  • Risk evaluation system and risk evaluation method

    JP2016091402A

  • Techniques for determining network security using an attack tree

    US20060021048A1