Method for extended data acquisition in attack recognition system

By using ring buffers or ring memory to manage security data in attack identification systems, the problem of limited storage space is solved, ensuring that new data is not lost and effective storage and evaluation of security event data is achieved, suitable for identifying potential attacks.

CN119004451APending Publication Date: 2024-11-22ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410608084.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-17
Filing Date
2024-05-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In attack identification systems, it is difficult for the prior art to effectively manage and store security-related data, especially in case of limited storage space, resulting in the process of new data covering older data may be lost or a larger memory size is required to store all data.

Method used

By configuring a ring buffer or ring memory in an attack identification system, the memory area covers older data when full to store new data, ensuring that new data is not lost, and reading and storing security-related data in the event of a security event Evaluation is performed in different memory or forwarding.

Benefits of technology

The effectiveness of storing and evaluating security incident-related data at a limited memory size is achieved, ensuring that new data is not lost, while reducing storage requirements, suitable for identifying potential attacks and security incidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004451A_ABST
    Figure CN119004451A_ABST
Patent Text Reader

Abstract

The invention relates to a method for extended data acquisition in an attack detection system (10) of a computer system (2) having a plurality of computing units (6, 7) connected via a data communication network, the attack detection system (10) being configured to detect (110) a security event, security-related data being stored (100) in a memory area (12), the memory area (12) in which the security-related data is stored (100), and the memory area (12) in which the security-related data is stored (100). Wherein, in the presence of new security-related data to be written, if the storage area is full, older data stored in the storage area at least for a part of the new data is covered by the newer data, and wherein the data is written in the storage area. For at least one selected security event of the identified security events: reading (130) security-related data from the memory area, and storing (140) the read security-related data in another memory other than the memory area (12) and / or forwarding (140) for further processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for extended data acquisition in an attack recognition system, as well as a computing unit for carrying out the method and a computer program for carrying out the method. Background Art

[0002] In a network of computer systems or computing units, an attack recognition system (English: Intrusion Detection System, IDS) can be used to recognize attacks on a computer system or a computing unit included in the computer system. The recognized attacks or attack attempts can be saved, or an attempt can be made to prevent the attack, that is, an attempt can be made to initiate measures to prevent the attack attempt from succeeding. The latter can be achieved, for example, by an attack prevention system (English: Intrusion Prevention System, IPS). Summary of the invention

[0003] According to the invention, a method for extended data acquisition in an attack recognition system, a computing unit for carrying out the method and a computer program for carrying out the method are proposed with the features of the independent patent claim. Advantageous embodiments are the subject matter of the dependent claims and the subsequent description.

[0004] The invention uses the following measures: safety-related data are stored in a memory area; and when at least one selected safety event occurs, these safety-related data are read out; and these safety-related data are stored in a memory different from the memory area and / or these safety-related data are forwarded for evaluation. In this case, if the memory area is full, when the safety-related data are stored in the memory area, in the case of new safety-related data to be written, the older safety-related data stored in the memory area are overwritten by the newer safety-related data at least for a part of the new data. By means of this measure, it is possible to take into account (safety-related) data that are not immediately generated with the selected safety event itself when evaluating the selected safety event, wherein at the same time a relatively small memory size is sufficient (compared to the memory size that would be required if all safety-related data were to be stored), because in the memory area, older data are overwritten.

[0005] The storage area can have a fixed memory size (i.e. a fixed, unchangeable number of storage cells). In particular, when the storage area is full, older (safety-related) data can be overwritten by new (safety-related) data for all new safety-related data to be written. This ensures that new data are not lost. Alternatively, it can be provided that part of the new data is discarded (e.g. according to the priority of the data). The older data to be overwritten can be the corresponding oldest data (i.e. the data with the earliest storage time point). The storage area can be configured in particular as a ring buffer or a ring memory. As is conventional, "the storage area is configured as a ring buffer or a ring memory" should mean that temporally continuous data are written or stored in the storage area, wherein, if the storage area with a fixed size is full, the oldest data are overwritten when new data are to be stored.

[0006] The method for extended data acquisition in an attack identification system is in particular a computer-implemented method. The method relates to a computer system comprising a plurality of computing units connected for data communication. In a machine, such as a vehicle, the computer system can be, for example, a bus system (such as a CAN bus system) comprising a plurality of control devices (computing units) and bus lines that connect the control devices to one another.

[0007] It is assumed that an attack recognition system is provided, with which potential attacks on the computer system are to be recognized ("potential" means that it is generally possible that the attack recognition system recognizes an attack even when there is no actual attack, for example when a fault occurs in the computer system, i.e. a so-called false positive recognition). For example, the attack recognition system recognizes events and / or patterns in the data traffic between computing units and / or in the computing units themselves that indicate an attack. For example, a potential attack may be recognized if, within the framework of a message authentication process applied during data communication, a message cannot be authenticated. It is also possible to analyze voltage fluctuations on bus lines in order to recognize whether an attacker is physically connected to these bus lines.

[0008] More generally, the attack identification system is configured to: identify so-called security events. As described above, a security event may be an event that is identified as a (potential) attack. Additionally or alternatively, a security event may also be an event in which a security check has been successfully performed (i.e., no potential attack has been identified); for example, a successful authentication of a message in a message authentication process. The attack identification system may include a plurality of security function modules (which may be implemented as computer program modules and / or hardware modules, respectively), wherein each security function module performs a specific security check and correspondingly determines or identifies a security event.

[0009] If a security event is identified, a certain amount of data directly related to the security event (referred to as security event data) may be collected. The security event data may be, for example, an identifier and / or context-related data and / or other information directly related to the identified security event (e.g., occurrence time point).

[0010] Such attack identification systems and classification of event types are known to those skilled in the art. For example, in the AUTOSAR specification (English: "AUTomotive Open System ARchitecture"), security functions (so-called "Security Sensors") are part of software components that can identify security events; for example, see the RS22-11 version of the AUTOSAR specification, including the documents "Specification of Intrusion Detection System Protocol", "Requirements on Intrusion Detection System", and "Requirements on Security Extract Template". The "Security Events" (abbreviated as "SEv") mentioned in the AUTOSAR specification are examples of "security events" for the purpose of this application.

[0011] The attack recognition system can be implemented by one or more of the computing units of the computer system with the aid of computer program modules and / or hardware modules. Additionally or alternatively, a separate computing unit (which is connected to a bus line, for example) can be provided, which implements the attack recognition system or a part of the attack recognition system. The method for expanding data acquisition according to the invention can be executed in particular by a computing unit of the computer system or by a separate computing unit.

[0012] In one embodiment, data are read out which are assigned to a point in time within a certain time period relative to a point in time at which at least one selected security event occurred. This allows a time period to be defined within which data associated with the security event may be present so that these data can then be read out and in particular made available for processing.

[0013] In one embodiment, the time period is before and / or after the time point at which at least one selected security event occurs, and / or the time period includes the time point at which at least one selected security event occurs. Thus, as much as possible or all data that may be associated with the security event can be read out and in particular these data can be supplied for processing.

[0014] In one embodiment, the security-related data includes information about data traffic on the data communication network. Such information is data with a high probability of being security-related.

[0015] In one embodiment, the security-relevant data include messages sent on a data communication network, in particular messages of this type having at least one predetermined identifier and / or being assigned to at least one predetermined computing unit. On the one hand, these messages are data that are highly likely to be security-relevant and, on the other hand, data of a particular origin and / or of a particular type can therefore be selected in a targeted manner.

[0016] In one embodiment, the security-related data includes information about the security event or security event data. Such information or security event data may include, for example, an identifier and / or context-related data and / or other information (such as occurrence time point) related to the corresponding identified security event.

[0017] In one embodiment, for each identified security event, it is checked whether the security event satisfies one or more conditions, and those security events that satisfy the one or more conditions are selected as the at least one selected security event.

[0018] In one embodiment, for the at least one selected security event, the security event data is stored together with the read security-related data in another memory other than the storage area, and / or these data are supplied for further processing. Thus, advantageously, the related data can also be stored together and further processed.

[0019] A computing unit according to the present invention, for example a control unit of a motor vehicle, is set up, in particular programmed, to carry out the method according to the present invention.

[0020] In particular, when the executed control device is also used for other tasks and thus always exists, the implementation scheme in the form of a computer program or computer program product with a program code for executing all method steps according to the method of the present invention is also advantageous, because this causes particularly low costs. Finally, a machine-readable storage medium is provided, on which a computer program as described above is stored. In particular, storage media or data carriers suitable for providing the computer program are magnetic storage, optical storage and electrical storage, such as hard disks, flash memories, EEPROMs, DVDs and others, etc. It is also feasible to download the program via a computer network (Internet, intranet, etc.). Here, this download can be implemented in a wired manner or in a cable manner or in a wireless manner (for example, via a WLAN network, 3G, 4G, 5G or 6G connection, etc.).

[0021] Further advantages and embodiments of the invention are apparent from the description and the accompanying drawings.

[0022] The invention is schematically illustrated in the drawings based on exemplary embodiments and is described below with reference to the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 An exemplary architecture of a computer system is shown in which the present invention may be implemented.

[0024] Figure 2 A flow chart of a method for extended data collection in an attack identification system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0025] Figure 1An exemplary structure of a computer system 2, in particular a bus system based on differential voltage signals (such as a CAN bus system), is shown, in which embodiments of the present invention can be implemented. On the one hand, the computer system 2 includes lines 4a, 4b, via which voltage signals are transmitted, and in the example of a CAN bus system, these lines are connected to each other via terminal resistors 5a, 5b representing the central impedance of the bus system, and on the other hand, the computer system includes a plurality of computing units 6, 7, i.e. bus subscribers, which are connected to the two bus lines 4a, 4b in order to communicate with each other via the bus. For this purpose, the bus subscribers use, for example, the differential voltage between the two bus lines in the CAN bus system, which is generated and read by means of a transceiver. The bus lines can be regarded as a data communication network or as part of the data communication network. One of the bus subscribers or one of the computing units 7 includes an attack recognition system 10 or at least a part of the attack recognition system (for example, the safety function module as described above). In addition, a storage area 12 is provided in the same computing unit 7, which can be used in the method according to the present invention. More generally, parts of the attack recognition system (e.g., the recognition of security events) can also be implemented by other computing units 6 and / or by separate computing units (not shown). For example, an attack may come from one of the bus subscribers whose software has been manipulated, or from an external attacker who establishes a physical connection to the bus line in order to read and / or even send messages in the bus system (both not shown).

[0026] The memory area 12 or its memory control is configured such that, when there are new data to be written, if the memory area is full, i.e. if there is not enough free storage space for the new data, at least for a part of the new data, the older (e.g. respectively the oldest) data already stored in the memory area are overwritten by the new data. The memory area 12 can be configured in particular as a ring buffer.

[0027] Examples of computing units 6, 7 are control devices of motor vehicles or machines that transmit control data and / or sensors with microcontrollers that transmit sensor data, for example, to control devices. Such control devices or microcontrollers usually have only limited memory, so that an unlimited amount of data cannot be stored.

[0028] Figure 2 FIG. 1 is a flow chart showing a method for extended data collection in an attack identification system according to an embodiment of the present invention. Figure 1, the steps of the method can be performed, for example, by a computing unit 7, which implements an attack recognition system 10 or a part of the attack recognition system and has a storage area 12 configured as a ring buffer. The security event can be identified, for example, by a computing unit 7 (which implements an attack recognition system 10 or a part of the attack recognition system) and / or by one of the other computing units 6 (step 110), as long as the computing unit also implements part of the functionality of the attack recognition system. For example, the checking (step 120) or the selection of a specific security event among these security events can also be implemented by a computing unit 7 that implements an attack recognition system 10 or a part of the attack recognition system or by one of the other computing units 6.

[0029] In the continuously executed step 100, the security-related data are stored in a storage area, in which older data are overwritten at least for a part of the new security-related data, for example, the security-related data are stored in a storage area configured as a ring buffer. The data to be stored can be specified in a suitable manner, that is, the type or category of data that is considered security-related or from which it is assumed that it is related to the security event and helps to analyze it can be specified as the security-related data to be stored. An example of possible security-related data is a message sent or transmitted in a computer system or in a data communication network, wherein in particular such a message having at least one predetermined identifier and / or being assigned to at least one predetermined computing unit can be selected. Another example is information about the identified security event, which is present, for example, in the form of security event data, which includes an identifier and / or context-related data and / or other information related to the corresponding identified security event (for example, the occurrence time point) (this particularly relates to security event data about security events that were not selected in step 120).

[0030] In step 110, a security event is identified by the attack identification system. In step 120, it is determined whether the identified security event is a selected security event. In principle, it is conceivable that all identified security events are determined as selected security events, that is, subsequent steps 130 and 140 are performed for all identified security events.

[0031] Different from this, in step 120, it is preferably checked whether the identified security event meets one or more conditions. If the identified security event meets the one or more conditions, the security event is selected. If the identified security event does not meet the one or more conditions, the security event is determined as a non-selected security event (i.e., steps 130 and 140 are not performed for the security event). If the security event is not selected, step 110 is resumed, i.e., waiting for the next security event to be identified. The check of the one or more conditions can be implemented, for example, by means of filtering or a filter chain, which includes a plurality of continuous filters. Through the filtering or through the filter of the filter chain, the identified security event is qualified or discarded, wherein qualified security events are selected and discarded security events are not selected. For example, the so-called "Qualified Security Events" with respect to the AUTOSAR specification can be used as the selected security event.

[0032] If the identified security event is selected in step 130, then in step 130, data, i.e. the stored security-related data, are read from the storage area. Here, all data can be read from the storage area, or only a specific part of these data can be read. For example, data that has been stored within a specific time period relative to the time point at which the selected security event occurred or that is assigned to a time point within this time period can be read. If the time period includes a time point after the selected security event has occurred, it is possible to wait, if necessary, until the corresponding security-related data has actually been stored.

[0033] In step 140, the security-relevant data read from the memory area are stored (in another memory than the memory area configured as a ring buffer) and / or forwarded for further evaluation (or further processing). For example, the read security-relevant data can be transferred to an external memory and then evaluated by a suitable computer program. In this evaluation, in addition to the security event data, the read security-relevant data can be taken into account, so that, for example, relationships can be identified, which can lead to the specific realization of a potential attack. In particular, in the further evaluation, a computer or a computer system can be used, which has sufficient computing power (different from the computing units of the computer system) to perform complex evaluation methods.

Claims

1. A method for extended data collection in an attack recognition system (10) of a computer system (2) having a plurality of computing units (6, 7) connected via a data communication network, wherein: The attack identification system (10) is configured to identify (110) a security event; wherein security-related data is stored (100) in a storage area (12), wherein, in the storage area, in the event that there is new security-related data to be written, data stored in the storage area that is older than at least a portion of the new data is overwritten by newer data if the storage area is full; and Wherein, for at least one selected security event among the identified security events: - reading (130) security-related data from said storage area, and - storing the read-out safety-related data in another memory than the memory area (12) and / or forwarding (140) for further processing.

2. The method according to claim 1, wherein: If the memory area is full, then for all new safety-relevant data to be written, older data are overwritten by the new data; in particular, the respectively oldest data are overwritten by the new data and / or the memory area is configured as a ring buffer.

3. The method according to claim 1 or 2, wherein: Data are read out which are assigned to a point in time within a specific time period relative to a point in time at which the at least one selected safety event occurred.

4. The method according to claim 3, wherein: The time period is before and / or after a time point at which the at least one selected security event occurs, and / or the time period includes a time point at which the at least one selected security event occurs.

5. A method according to any one of the preceding claims, wherein: The security-related data comprises information about data traffic on the data communications network.

6. A method according to any one of the preceding claims, wherein: The safety-related data comprises messages sent over the data communications network.

7. A method according to any one of the preceding claims, wherein: The safety-related data include messages sent on the data communication network, the messages having at least one predetermined identifier and / or being assigned to at least one predetermined computing unit.

8. A method according to any one of the preceding claims, wherein: The security-related data includes information about security events or security event data.

9. A method according to any one of the preceding claims, wherein: For each identified security event, checking (120) whether the security event satisfies one or more conditions; and wherein those security events that satisfy the one or more conditions are selected as the at least one selected security event.

10. A method according to any one of the preceding claims, wherein: For the at least one selected security event, the security event data together with the read-out security-related data are stored in another memory outside the storage area (12) and / or forwarded for further processing.

11. A computing unit (7) which is configured to carry out all method steps of the method according to any of the preceding claims.

12. A computer program which, when executed on a computing unit (7), causes the computing unit to carry out all method steps of the method according to any one of claims 1 to 10.

13. A machine-readable storage medium having stored thereon the computer program according to claim 12.