Knowledge graph construction method and device, equipment, storage medium and vehicle
By building a knowledge graph, identifying vulnerabilities and threats in the automotive network, and correlating risk information, the problem of security threat identification in automotive intelligence and networking is solved, real-time monitoring and early warning of the intelligent networked automotive network environment is achieved, and the Security management efficiency and accuracy.
Patent Information
- Application Number
- CN202410839996.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
AI Technical Summary
In the context of automobile intelligence and networking, the complexity of vehicle electronic and electrical architecture has increased, making it difficult to effectively identify and respond to potential security threats in the interaction between automobiles and the cloud, posing serious security risks.
By building a knowledge graph, we can obtain the alarm events of the target vehicle, match risk information and asset information, including vulnerability library, threat library and asset library, identify vulnerabilities and threats, associate vulnerabilities and assets, build a security knowledge graph, real-time monitoring and early warning, identification potential risks.
Real-time monitoring and early warning of the intelligent connected car network environment is achieved, potential security threats are discovered and responded to in a timely manner, the efficiency and accuracy of vehicle safety management is improved, and the safety and normal operation of the vehicle are ensured.
Smart Images

Figure CN118627608A
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile safety information technology, in particular to the field of automobile information security unknown threat situation awareness technology, and specifically to a knowledge graph construction method, device, equipment, storage medium and vehicle. Background Art
[0002] With the rapid development of automobile intelligence and networking, the complexity of automotive electronic and electrical architecture is increasing, and the internal communication bus and external communication methods are showing a trend of diversification. However, this rapid development is also accompanied by a series of severe security challenges.
[0003] For example, there are often many vulnerable network assets hidden in the interaction between cars and the cloud. Once these network assets are exploited by hackers, they may pose a serious threat to the life and property safety of people in the car. Therefore, it is necessary to explore effective ways to deal with these security challenges. Summary of the invention
[0004] The present application provides a knowledge graph construction method, device, equipment, storage medium and vehicle to at least solve the technical problem of high vehicle safety risk in the related technology. The technical solution of the present application is as follows:
[0005] According to the first aspect provided by the present application, a knowledge graph construction method is provided, including: obtaining an alarm event of a target vehicle; based on a first knowledge graph, determining risk information and asset information matching the alarm event, the risk information including vulnerability information and threat information of the target vehicle; the asset information including one or more of the hardware information, software information and data of the target vehicle; the first knowledge graph including a vulnerability library, a threat library, and an asset library; the vulnerability library is used to store multiple vulnerability information related to the vehicle, and the threat library is used to store multiple threat information related to multiple vulnerability information; the asset library is used to store multiple network assets related to the vehicle; based on the risk information and asset information, constructing a security knowledge graph corresponding to the target vehicle, the security knowledge graph is used to identify security risks existing in the target vehicle.
[0006] According to the above technical means, the present application can determine the risk information and asset information matching the warning event from the first knowledge graph, and build a safety knowledge graph corresponding to the target vehicle based on the risk information and asset information, so as to support the subsequent identification of the safety risks of the target vehicle according to the safety knowledge graph, thereby accurately assessing the severity and impact of the warning event. This helps us formulate more effective response strategies, reduce potential safety risks, and ensure the safety and normal operation of the vehicle.
[0007] In a possible implementation, the method further includes: extracting a first vulnerability node associated with the asset information from a plurality of vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the asset information; traversing the asset library to determine whether the first asset node exists in the asset library, and the asset information included in the first asset node is the same as the asset information in the first vulnerability node; and if the asset library contains the first asset node, associating the first asset node with the first vulnerability node.
[0008] According to the above technical means, the present application can extract the first vulnerability node associated with asset information from multiple vulnerability nodes, and associate it with the corresponding asset node by traversing the asset library, and build the association between the vulnerability and the asset in the knowledge graph. Thus, the knowledge graph can be used to protect the damage of important assets in the network.
[0009] In a possible implementation, the method further includes: extracting a first vulnerability node associated with threat information from multiple vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the threat information; traversing the threat library to determine whether the threat library contains the first threat node, and the threat information included in the first threat point is the same as the threat information in the first vulnerability node; and if the threat library contains the first threat node, associating the first threat node with the first vulnerability node.
[0010] According to the above technical means, the present application can extract the first vulnerability node associated with threat information from multiple vulnerability nodes, and associate it with the corresponding threat node by traversing the threat library to build the association between vulnerability and threat in the knowledge graph. Thus, the present application can timely discover and handle potential security threats through the knowledge graph.
[0011] In a possible implementation, the method further includes: extracting a first threat node associated with the asset information from a plurality of threat nodes; the first threat node includes threat information corresponding to the asset information; traversing the asset library to determine whether the first asset node exists in the asset library, and the asset information included in the first asset node is the same as the asset information in the first threat node; and if the asset library contains the first asset node, associating the first asset node with the first threat node.
[0012] According to the above technical means, the present application can extract the first threat node associated with asset information from multiple threat nodes, and associate it with the corresponding asset node by traversing the asset library, and build the association between threats and assets in the knowledge graph. This can accurately identify potential risks and provide strong support for subsequent risk management.
[0013] In a possible implementation, the method further includes: determining a safety analysis result of the target vehicle based on risk information and asset information matched by the alarm event; the safety analysis result is used to indicate the threat level of the alarm event to the target vehicle.
[0014] According to the above technical means, the present application can effectively improve the efficiency and accuracy of vehicle safety management by determining the safety analysis results of the target vehicle, thereby providing a strong guarantee for the safe operation of the vehicle.
[0015] In a possible implementation, the method further includes: constructing a safety knowledge graph corresponding to the target vehicle based on risk information and asset information, including: associating alarm events with risk information and asset information to construct a safety knowledge graph corresponding to the target vehicle.
[0016] Based on the above-mentioned technical means, the present application can realize real-time monitoring and early warning of the network environment of intelligent connected vehicles by constructing a security knowledge graph of the target vehicle, timely discover and respond to potential security threats, and ensure the information security of the vehicle.
[0017] In a possible implementation, obtaining an alarm event of a target vehicle includes: obtaining abnormal data of the target vehicle, the abnormal data including one or more of the following: abnormal data of an on-board network, abnormal data of an Ethernet, and abnormal data of a controller; and determining an alarm event based on the abnormal data.
[0018] According to the second aspect provided by the present application, a knowledge graph construction device is provided, including: an acquisition unit, a determination unit and a construction unit; the acquisition unit is used to acquire the alarm event of the target vehicle; the determination unit is used to determine the risk information and asset information matching the alarm event based on the first knowledge graph, the risk information includes the vulnerability information and threat information of the target vehicle; the asset information includes one or more of the hardware information, software information and data of the target vehicle; the first knowledge graph includes a vulnerability library, a threat library, and an asset library; the vulnerability library is used to store multiple vulnerability information related to the vehicle, and the threat library is used to store multiple threat information related to multiple vulnerability information; the asset library is used to store multiple network assets related to the vehicle; the construction unit is used to construct a security knowledge graph corresponding to the target vehicle based on the risk information and asset information, and the security knowledge graph is used to identify the security risks existing in the target vehicle.
[0019] In one possible manner, the device also includes: an extraction unit and an association unit; the extraction unit is used to extract a first vulnerability node associated with the asset information from multiple vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the asset information; the determination unit is also used to traverse the asset library to determine whether there is a first asset node in the asset library, and the asset information included in the first asset node is the same as the asset information in the first vulnerability node; the association unit is used to associate the first asset node with the first vulnerability node when the asset library contains the first asset node.
[0020] In one possible manner, the extraction unit is further used to extract a first vulnerability node associated with the threat information from multiple vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the threat information; the determination unit is further used to traverse the threat library to determine whether the threat library contains the first threat node, and the threat information included in the first threat point is the same as the threat information in the first vulnerability node; the association unit is further used to associate the first threat node with the first vulnerability node when the threat library contains the first threat node.
[0021] In one possible manner, the extraction unit is further used to extract a first threat node associated with the asset information from multiple threat nodes; the first threat node includes threat information corresponding to the asset information; the determination unit is further used to traverse the asset library to determine whether the first asset node exists in the asset library, and the asset information included in the first asset node is the same as the asset information in the first threat node; the association unit is further used to associate the first asset node with the first threat node when the asset library contains the first asset node.
[0022] In one possible manner, the determination unit is further used to determine the safety analysis result of the target vehicle according to the risk information and asset information matched by the alarm event; the safety analysis result is used to indicate the threat level of the alarm event to the target vehicle.
[0023] In one possible approach, the construction unit is specifically used to: associate the alarm event with the risk information and the asset information, and construct a safety knowledge graph corresponding to the target vehicle.
[0024] In one possible manner, the acquisition unit is specifically used to: acquire abnormal data of the target vehicle, the abnormal data including one or more of the following: abnormal data of the vehicle network, abnormal data of the Ethernet, and abnormal data of the controller; and determine an alarm event based on the abnormal data.
[0025] According to the third aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0026] According to the fourth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.
[0027] According to the fifth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0028] Therefore, the above technical features of the present application have the following beneficial effects:
[0029] (1) This application can determine the risk information and asset information that match the warning event from the first knowledge graph, and based on the risk information and asset information, construct a safety knowledge graph corresponding to the target vehicle to support the subsequent identification of safety risks existing in the target vehicle based on the safety knowledge graph, thereby accurately assessing the severity and impact of the warning event. This helps us formulate more effective response strategies, reduce potential safety risks, and ensure the safety and normal operation of the vehicle.
[0030] (2) The present application can extract the first vulnerability node associated with asset information from multiple vulnerability nodes, and associate it with the corresponding asset node by traversing the asset library, thereby building the association between the vulnerability and the asset in the knowledge graph. Thus, the knowledge graph can be used to protect the damage of important assets in the network.
[0031] (3) The present application can extract the first vulnerability node associated with threat information from multiple vulnerability nodes, and associate it with the corresponding threat node by traversing the threat library to construct the association between vulnerability and threat in the knowledge graph. Thus, the present application can timely discover and handle potential security threats through the knowledge graph.
[0032] (4) The present application can extract the first threat node associated with asset information from multiple threat nodes, and associate it with the corresponding asset node by traversing the asset library to build the association between threats and assets in the knowledge graph. This can accurately identify potential risks and provide strong support for subsequent risk management.
[0033] (5) This application can effectively improve the efficiency and accuracy of vehicle safety management by determining the safety analysis results of the target vehicle, providing a strong guarantee for the safe operation of the vehicle.
[0034] (6) This application can achieve real-time monitoring and early warning of the network environment of intelligent connected vehicles by constructing a security knowledge graph of the target vehicle, timely discover and respond to potential security threats, and ensure the information security of the vehicle.
[0035] It should be noted that the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0038] Figure 1 is a flowchart of a knowledge graph construction method according to an exemplary embodiment;
[0039] Figure 2 is a schematic diagram of the architecture of a knowledge graph construction system according to an exemplary embodiment;
[0040] Figure 3 is a flow chart showing a vulnerability and asset association according to an exemplary embodiment;
[0041] Figure 4 is a flow chart showing a vulnerability and threat association according to an exemplary embodiment;
[0042] Figure 5 is a flowchart showing a threat and asset association according to an exemplary embodiment;
[0043] Figure 6 is a schematic diagram of a knowledge graph construction process according to an exemplary embodiment;
[0044] Figure 7 is a schematic diagram of a process of constructing a security knowledge graph according to an exemplary embodiment;
[0045] Figure 8 is a block diagram of a knowledge graph construction device according to an exemplary embodiment;
[0046] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0047] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0048] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0049] For ease of understanding, the knowledge graph construction method provided in this application is specifically introduced below with reference to the accompanying drawings.
[0050] Figure 1 is a flowchart of a knowledge graph construction method according to an exemplary embodiment. Figure 1 As shown, the knowledge graph construction method includes the following steps: S101-S103.
[0051] S101. The knowledge graph construction device obtains the warning event of the target vehicle.
[0052] In one possible approach, warning events may come from multiple systems and components of the vehicle. For example, the vehicle's engine control system, brake system, tire pressure monitoring system, battery management system, etc. may all generate warning signals. These warning signals may indicate system failures, abnormal conditions, or potential safety hazards.
[0053] In one possible method, in a modern vehicle management system, in order to ensure the safety and normal operation of the vehicle, the vehicle status is usually monitored and recorded, and the vehicle warning events are obtained in real time.
[0054] Specifically, the knowledge graph construction device is equipped with an intrusion detection module. The intrusion detection module can monitor the status of vehicle systems and components in real time. Once an abnormality or failure is detected, the knowledge graph construction device can obtain abnormal data of the target vehicle. The knowledge graph construction device can determine alarm events based on the abnormal data, and identify and classify them.
[0055] The abnormal data includes one or more of the following: abnormal data of the vehicle network, abnormal data of the Ethernet, and abnormal data of the controller.
[0056] In one possible manner, the knowledge graph construction device is configured with an intrusion detection module. The intrusion detection module can detect in real time and can upload the alarm event to the cloud platform after determining the alarm event based on the abnormal data. The knowledge graph construction device can be configured with a reading module. The knowledge graph construction device can read the abnormal data from the cloud platform based on the reading module.
[0057] S102. The knowledge graph construction device determines the risk information and asset information matching the alarm event based on the first knowledge graph.
[0058] Among them, the risk information may include vulnerability information and threat information of the target vehicle. The asset information may include one or more of the hardware information, software information and data of the target vehicle. The first knowledge graph may include a vulnerability library, a threat library, and an asset library. The vulnerability library may be used to store multiple vulnerability information related to the vehicle, and the threat library may be used to store multiple threat information related to multiple vulnerability information. The asset library may be used to store multiple network assets related to the vehicle.
[0059] In one possible approach, the first knowledge graph can be a comprehensive knowledge base that contains information in multiple dimensions related to vehicle safety and management. Specifically, the first knowledge graph can include a vulnerability library, a threat library, and an asset library. The first knowledge graph can provide a rich data resource that can comprehensively analyze warning events and formulate corresponding response strategies.
[0060] In one possible approach, the vulnerability library is an important part of the knowledge graph, storing multiple vulnerability information related to the vehicle. These vulnerabilities may be known or newly discovered, and are all potential safety hazards. When an alarm event occurs, the system will match the vulnerability information related to the alarm event in the vulnerability library. This vulnerability information may involve various aspects of the vehicle's engine system, brake system, electrical system, etc.
[0061] The threat library can be closely connected with the vulnerability library. The threat library can store multiple threat information related to multiple vulnerability information. These threats may come from external attackers or from internal misoperation or system failures. By matching the alarm events with the information in the threat library, we can understand the potential risks that the alarm events may bring and the impact that these risks may have on vehicle safety.
[0062] The asset library is another important component, which can store multiple network assets related to the vehicle. These assets may include the vehicle's hardware information (such as engine model, etc.), software information (such as vehicle operating system, navigation system, etc.) and important data stored in the vehicle (such as vehicle driving trajectory, owner information, etc.). When an alarm event occurs, the system will search the asset library for asset information related to the alarm event to determine which assets may be threatened or have been damaged.
[0063] For example, the navigation system in the vehicle may have a security vulnerability in the software update mechanism. An attacker may exploit this vulnerability to refuse normal software upgrades or perform software upgrades at inappropriate times and locations, thereby affecting the normal operation of the navigation system. An attacker exploits the above-mentioned software system vulnerabilities to remotely access the vehicle system and attempt to steal user data (such as location information, driving habits, etc.). When an attacker attempts to illegally access or tamper with the vehicle system, the vehicle's safety system may detect abnormal behavior and trigger a security alarm to notify the driver or vehicle management system.
[0064] In another example, a vulnerability in the firmware update function of an autonomous driving system may put the system at risk of being attacked. An attacker may exploit this vulnerability to damage or control the autonomous driving system by sending malicious update packages. The firmware update vulnerability of the autonomous driving system is a weakness that attackers can exploit. Attackers may find and exploit this vulnerability through wireless networks or vehicle communication interfaces to achieve control of the vehicle or steal data. When an attacker attempts to exploit the vulnerability to attack the vehicle, the vehicle's safety system may detect abnormal behavior and trigger an alarm. These alarm messages can help drivers or vehicle management systems detect and respond to threats in a timely manner.
[0065] S103. The knowledge graph construction device constructs a safety knowledge graph corresponding to the target vehicle based on the risk information and asset information.
[0066] Among them, the safety knowledge graph can be used to identify the safety risks of the target vehicle.
[0067] In one possible approach, an alarm event is usually a trigger point that reminds the target vehicle that a certain part may have a safety risk or problem. However, it is far from enough to understand the alarm event itself. It is often necessary to dig deep into the risk information and related asset information behind it to build a comprehensive and detailed safety knowledge graph.
[0068] In one possible manner, the knowledge graph construction device can extract risk information matching the alarm event from the first knowledge graph. The knowledge graph construction device can construct a safety knowledge graph corresponding to the target vehicle. This safety knowledge graph can be a structured knowledge base that can graphically display the safety status of the target vehicle.
[0069] In one possible manner, the knowledge graph construction device may associate the alarm event with the risk information and the asset information to construct a safety knowledge graph corresponding to the target vehicle. The specific implementation method of the knowledge graph construction device to construct a safety knowledge graph corresponding to the target vehicle based on the risk information and the asset information can be referred to in S601 below. It will not be repeated here.
[0070] Based on the above technical solution, the knowledge graph construction method provided in this application can obtain the alarm events of the target vehicle, and based on the first knowledge graph, determine the risk information and asset information matching the alarm events, so as to further construct a safety knowledge graph corresponding to the target vehicle based on the risk information and asset information.
[0071] Based on this, the present application can determine the risk information and asset information matching the warning event from the first knowledge graph, and build a safety knowledge graph corresponding to the target vehicle based on the risk information and asset information, so as to support the subsequent identification of the safety risks of the target vehicle according to the safety knowledge graph, thereby accurately assessing the severity and impact of the warning event. This helps us formulate more effective response strategies, reduce potential safety risks, and ensure the safety and normal operation of the vehicle.
[0072] In some embodiments, the vulnerability library may include multiple vulnerability nodes, the asset library includes multiple asset nodes, and the knowledge graph construction method provided in the embodiment of the present application also includes the following steps: S201-S203.
[0073] S201. The knowledge graph construction device extracts a first vulnerability node associated with asset information from multiple vulnerability nodes.
[0074] The first vulnerability node includes vulnerability information corresponding to the asset information.
[0075] Specifically, the knowledge graph construction device can scan and identify multiple vulnerability nodes in the network from the vulnerability library. These vulnerability nodes may be servers, network devices, software applications or other components that may contain security defects. Each vulnerability node may contain vulnerability information about the vulnerability, such as vulnerability type, severity, impact range, and asset information that may be affected by the vulnerability node. The knowledge graph construction device can determine the first vulnerability node associated with asset information from multiple vulnerability nodes. Asset information generally refers to information about important resources in the network, such as databases, key applications, servers, etc.
[0076] S202. The knowledge graph construction device traverses the asset library to determine whether there is a first asset node in the asset library.
[0077] The asset information included in the first asset node is the same as the asset information in the first vulnerability node.
[0078] Specifically, the knowledge graph construction device may traverse the asset library. The knowledge graph construction device may determine whether there is a first asset node corresponding to the first vulnerability node by comparing the asset information in the first vulnerability node with the information of the asset node in the asset library.
[0079] S203. When the asset inventory contains a first asset node, the knowledge graph construction device associates the first asset node with the first vulnerability node.
[0080] In one possible manner, the knowledge graph construction device may associate the two nodes when there is a first asset node in the asset library that matches the asset information in the first vulnerability node. The knowledge graph construction device may construct an association relationship between the first vulnerability node and the first asset node in the knowledge graph through an association operation.
[0081] Based on this, the present application can extract the first vulnerability node associated with asset information from multiple vulnerability nodes, and associate it with the corresponding asset node by traversing the asset library, and build the association between the vulnerability and the asset in the knowledge graph. Thus, the knowledge graph can be used to protect the damage of important assets in the network.
[0082] In some embodiments, the threat library includes multiple threat nodes. The knowledge graph construction method provided in the embodiment of the present application also includes the following steps: S301-S303.
[0083] S301. The knowledge graph construction device extracts a first vulnerability node associated with threat information from the multiple vulnerability nodes.
[0084] The first vulnerability node includes vulnerability information corresponding to the threat information.
[0085] Specifically, the knowledge graph construction device can scan and identify multiple vulnerable nodes in the network from the vulnerability library.
[0086] The vulnerability information corresponding to the vulnerability node includes threat information related to the vulnerability, that is, the threat that the vulnerability may bring. The knowledge graph construction device can determine the first vulnerability node associated with the threat information from multiple vulnerability nodes. The threat information includes threats from external attackers, or may be internal misoperation or system failure.
[0087] S302: The knowledge graph construction device traverses the threat library to determine whether there is a first threat node in the threat library.
[0088] The threat information included in the first threat point may be the same as the threat information in the first vulnerability node.
[0089] Specifically, the knowledge graph construction device may traverse the threat library and determine whether there is a first threat node corresponding to the first vulnerability node by comparing the vulnerability information in the first vulnerability node with the threat information of the threat node in the threat library.
[0090] S303: When the threat library contains a first threat node, the knowledge graph construction device associates the first threat node with the first vulnerability node.
[0091] In one possible manner, the knowledge graph construction device may associate the two nodes when there is a first threat node in the threat library that matches the threat information in the first vulnerability node. The knowledge graph construction device may construct an association relationship between the first vulnerability node and the first threat node in the knowledge graph through an association operation.
[0092] Based on this, the present application can extract the first vulnerability node associated with threat information from multiple vulnerability nodes, and associate it with the corresponding threat node by traversing the threat library to build the association between vulnerability and threat in the knowledge graph. Thus, the present application can timely discover and handle potential security threats through the knowledge graph.
[0093] In some embodiments, the knowledge graph construction method provided in the embodiments of the present application also includes the following steps: S401-S403.
[0094] S401. The knowledge graph construction device extracts a first threat node associated with asset information from multiple threat nodes.
[0095] The first threat node includes threat information corresponding to the asset information.
[0096] Specifically, the knowledge graph construction device can determine whether there is a direct correspondence between specific asset information (such as IP address, domain name, service port, etc.) in multiple threat nodes. The threat node may contain various threat information related to the asset, such as malicious access attempts, vulnerability exploitation attempts, data leakage risks, etc. The knowledge graph construction device can determine the first threat node associated with the asset information from multiple threat nodes.
[0097] S402. The knowledge graph construction device traverses the asset library to determine whether there is a first asset node in the asset library.
[0098] The asset information included in the first asset node is the same as the asset information in the first threat node.
[0099] Specifically, the knowledge graph construction device traverses the entire asset library to find whether there is a first asset node with the same asset information as the first threat node. In the process of traversing the asset library, the knowledge graph construction device can compare each asset node to check whether the asset information contained therein matches the asset information in the first threat node. If one or more asset nodes with the same asset information as the first threat node are found, the knowledge graph construction device can mark them as first asset nodes.
[0100] S403: When the asset inventory contains a first asset node, the knowledge graph construction device associates the first asset node with the first threat node.
[0101] In one possible manner, the knowledge graph construction device may associate the two nodes when there is a first asset node in the asset library that matches the asset information in the first threat node. The knowledge graph construction device may construct an association relationship between the first threat node and the first asset node in the knowledge graph through an association operation.
[0102] Based on this, the present application can extract the first threat node associated with asset information from multiple threat nodes, and associate it with the corresponding asset node by traversing the asset library to build the association between threats and assets in the knowledge graph. This can accurately identify potential risks and provide strong support for subsequent risk management.
[0103] In some embodiments, the knowledge graph construction method provided in the embodiments of the present application also includes the following steps: S501.
[0104] S501. The knowledge graph construction device determines the safety analysis result of the target vehicle based on the risk information and asset information matched by the alarm event.
[0105] Among them, the safety analysis results can be used to indicate the threat level of the warning event to the target vehicle.
[0106] In one possible approach, risk information may include historical statistics of similar alarm events, known security vulnerabilities, potential attack methods, etc. This information is crucial for assessing the severity of the alarm event. For example, if the alarm event is associated with a known high-risk vulnerability, then its threat level will be increased accordingly.
[0107] Specifically, after obtaining relevant risk information and asset information, the knowledge graph construction device can use the preset algorithm model to conduct a comprehensive analysis of this information to determine the safety analysis results of the target vehicle. This analysis result can be used as a quantitative indicator to represent the threat level of the alarm event to the target vehicle, such as safety level, risk score, etc. At the same time, the analysis results will also be accompanied by detailed explanations and suggestions to help users better understand the nature of the alarm event and the response measures.
[0108] In one possible approach, the security analysis results will be pushed to relevant users or systems so that they can take appropriate measures in a timely manner to deal with potential threats.
[0109] Based on this, the present application can effectively improve the efficiency and accuracy of vehicle safety management by determining the safety analysis results of the target vehicle, and provide strong guarantees for the safe operation of the vehicle.
[0110] In some embodiments, when constructing the safety knowledge graph corresponding to the target vehicle based on the risk information and the asset information, the knowledge graph construction method provided in the embodiment of the present application also includes the following steps: S601.
[0111] S601. The knowledge graph construction device associates the alarm event with the risk information and the asset information to construct a safety knowledge graph corresponding to the target vehicle.
[0112] In one possible way, after obtaining the alarm events, risk information and asset information, the knowledge graph construction device can construct a safety knowledge graph corresponding to the target vehicle. This process involves associating and integrating the information of these three aspects to form a graph structure that can express the complex relationship between them. In this graph structure, the alarm event can be used as the core node, and the risk information and asset information associated with it can be used as the surrounding nodes or subgraphs. These nodes and subgraphs are connected through various relationships (such as inclusion, influence, belonging, etc.) to form a complete safety knowledge graph.
[0113] In one possible manner, the knowledge graph construction device associates the alarm event with the risk information and the asset information to construct the security knowledge graph corresponding to the target vehicle. The implementation method can refer to the association method between vulnerabilities, threats and assets in S201-S203, S301-S303 and S401-S403, which will not be repeated here.
[0114] Exemplarily, the knowledge graph construction device can determine whether alarm event A exists in the safety knowledge graph of the target vehicle. If alarm event A does not exist in the safety knowledge graph, the alarm event A and the risk information and asset information corresponding to the alarm event A are associated and stored in the safety knowledge graph.
[0115] Based on this, this application can achieve real-time monitoring and early warning of the network environment of intelligent connected vehicles by constructing a security knowledge graph of the target vehicle, timely discover and respond to potential security threats, and ensure the information security of the vehicle.
[0116] In some embodiments, Figure 2 As shown, this is a schematic diagram of the architecture of a knowledge graph construction system.
[0117] In one possible approach, the knowledge graph construction system includes an intrusion detection module, a cloud platform, an alarm reading module, an information matching module, a first knowledge graph, a security knowledge graph, and a car unknown threat perception platform.
[0118] Among them, the intrusion detection module can be an intrusion detection system (IDS). It includes an in-vehicle network module, an Ethernet module, and a controller module. The in-vehicle network module can be used to monitor abnormal conditions of the in-vehicle network (Controller Area Network, CAN). The function of the Ethernet module is to monitor the abnormal conditions of the Ethernet flowing into the controller. The function of the controller module is to monitor the abnormal behavior of the controller operating system.
[0119] In one possible manner, the cloud platform is used to store the alarm events obtained by the intrusion detection module. The alarm reading module is used to read the alarm events stored in the cloud platform. The information matching module is used to determine the vulnerability information, threat information and asset information matching the alarm event from the first knowledge graph according to the alarm event.
[0120] In one possible manner, the first knowledge graph may include a vulnerability library, a threat library, and an asset library. The vulnerability library may be used to store multiple vulnerability information related to the vehicle. The threat library may be used to store multiple threat information related to the multiple vulnerability information. The asset library may be used to store multiple network assets related to the vehicle.
[0121] In one possible approach, the security knowledge graph can be used to identify the level of unknown threats facing the vehicle by associating alarm events, vulnerability information, threat information, and the asset information.
[0122] In one possible approach, the automotive unknown threat perception platform can collect the analysis results of the security knowledge graph module and provide intuitive visualization and abnormal alarms.
[0123] In one possible approach, the knowledge graph construction system may also include a vulnerability library construction module, a threat library construction module, and an asset library construction module.
[0124] The vulnerability library construction module is responsible for integrating the vulnerability information collected from the current open source vulnerability websites and writing them into the vulnerability library in a specific data format. By continuously updating the vulnerability library, the platform can grasp the latest vulnerability information and provide data support for vehicle safety defense.
[0125] The threat library construction module can collect threat information from open source threat websites and organize this information in a specified format and write it into the threat library. The construction of the threat library helps the platform identify potential network security threats and take corresponding preventive and countermeasure measures.
[0126] The asset library building module can collect and organize asset information from open source asset websites, including detailed information on key assets such as vehicle internal systems and network equipment. This information is standardized and stored in the asset library, making it easier for the platform to conduct comprehensive management and safety assessment of vehicle assets.
[0127] In one possible manner, the knowledge graph construction system may also include a knowledge graph construction device.
[0128] In some embodiments, Figure 3 , which is a flow chart of vulnerability and asset association.
[0129] In one possible manner, the vulnerability library construction module may write the vulnerability information of the open source website into the vulnerability library. The threat library construction module may write the asset information of the open source website into the asset library. The knowledge graph construction device may extract the first vulnerability node associated with the asset information from multiple vulnerability nodes. The knowledge graph construction device may traverse the asset library. The knowledge graph construction device may determine whether there is a first asset node in the asset library, wherein the first asset node corresponds to the first vulnerability node. The knowledge graph construction device may associate the first asset node with the first vulnerability node if the first asset node is the same as the asset information. Or if the first asset node does not exist, end the traversal of the asset library. Or the knowledge graph construction device may re-traverse the asset library if the first asset node is different from the asset information.
[0130] In some embodiments, Figure 4 , which is a flowchart of vulnerability and threat association.
[0131] In one possible manner, the vulnerability library construction module may write vulnerability information of an open source website into the vulnerability library. The threat library construction module may write threat information of an open source website into the threat library. The knowledge graph construction device may extract a first vulnerability node associated with threat information from a plurality of vulnerability nodes. The knowledge graph construction device may traverse the threat library. The knowledge graph construction device may determine whether there is a first threat node in the threat library, wherein the first threat node corresponds to the first vulnerability node. The knowledge graph construction device may associate the first threat node with the first vulnerability node if the first threat node is the same as the threat information. Or if the first threat node does not exist, end traversing the threat library. Or the knowledge graph construction device may re-traverse the threat library if the first threat node is different from the threat information.
[0132] In some embodiments, Figure 5 Shown is a flowchart of threat and asset association.
[0133] In one possible manner, the threat library construction module may write the threat information of the open source website into the threat library. The threat library construction module may write the asset information of the open source website into the asset library. The knowledge graph construction device may extract the first threat node associated with the asset information from the multiple threat nodes. The knowledge graph construction device may traverse the asset library. The knowledge graph construction device may determine whether there is a first asset node in the asset library, wherein the first asset node corresponds to the first threat node. The knowledge graph construction device may associate the first asset node with the first threat node if the first asset node is the same as the asset information. Or if the first asset node does not exist, end the traversal of the asset library. Or the knowledge graph construction device may re-traverse the asset library if the first asset node is different from the asset information.
[0134] In some embodiments, Figure 6 The figure shows a schematic diagram of a knowledge graph construction process.
[0135] The alarm reading module can read the alarm events stored in the cloud platform. The alarm reading module can extract the alarm category field of the alarm event. The information matching module can traverse the vulnerability nodes in the knowledge graph according to the alarm category field. The information matching module can extract the vulnerability information of the vulnerability node when there is a vulnerability node that matches the vulnerability information. The information matching module can associate the vulnerability node with the alarm event when the vulnerability information is the same as the alarm category field. The information matching module can associate the threat node from the knowledge graph based on the vulnerability node. The information matching module can generate the threat level of the alarm event based on the alarm event, the vulnerability node and the threat node. Or the information matching module can exit the traversal when there is no vulnerability node matching the vulnerability information in the vulnerability library. Or it can re-traverse when the vulnerability information is different from the alarm category field.
[0136] Optionally, the alarm category field of the alarm event can be set according to actual needs. For example, the alarm category field of the alarm event can be extracted based on the inverse document frequency (Term Frequency-Inverse Document Frequency, TF-IDF), the alarm category field of the alarm event can be extracted based on the word vector model KeyBert, or the alarm category field of the alarm event can be extracted based on entity recognition. This application does not make specific restrictions on this.
[0137] In some embodiments, Figure 7The figure shows a schematic diagram of the process of constructing a security knowledge graph. When the information matching module determines the alarm threat, the knowledge graph construction device determines the threat level of the alarm event based on the alarm event and the vulnerability information, threat information and asset information corresponding to the alarm event. The knowledge graph construction device constructs a security knowledge graph based on the alarm event and the vulnerability information, threat information and asset information corresponding to the alarm event. Or, when the information matching module does not determine the alarm threat, the knowledge graph construction device ends the process.
[0138] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the knowledge graph construction device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0139] The embodiment of the present application can exemplarily divide the functional modules of the knowledge graph construction device or electronic device according to the above method. For example, the knowledge graph construction device or electronic device may include various functional modules corresponding to the various functional divisions, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0140] Figure 8 is a block diagram of a knowledge graph construction device according to an exemplary embodiment. Figure 8 , the knowledge graph construction device includes: an acquisition unit 701, a determination unit 702, a construction unit 703, an extraction unit 704 and an association unit 705;
[0141] In a possible manner, the acquisition unit 701 is used to acquire an alarm event of a target vehicle.
[0142] In one possible manner, the determination unit 702 is used to determine risk information and asset information matching the alarm event based on the first knowledge graph.
[0143] In one possible manner, the construction unit 703 is used to construct a safety knowledge graph corresponding to the target vehicle based on risk information and asset information, and the safety knowledge graph is used to identify safety risks existing in the target vehicle.
[0144] In one possible manner, the extraction unit 704 is configured to extract a first vulnerability node associated with the asset information from a plurality of vulnerability nodes.
[0145] In a possible manner, the determining unit 702 is further configured to traverse the asset library to determine whether the first asset node exists in the asset library.
[0146] In a possible manner, the associating unit 705 is configured to associate the first asset node with the first vulnerability node when the asset inventory contains the first asset node.
[0147] In a possible manner, the extraction unit 704 is further configured to extract a first vulnerability node associated with the threat information from the plurality of vulnerability nodes.
[0148] In a possible manner, the determining unit 702 is further configured to traverse the threat library to determine whether the threat library contains the first threat node.
[0149] In a possible manner, the associating unit 705 is further configured to, when the threat library contains the first threat node, associate the first threat node with the first vulnerability node.
[0150] In a possible manner, the extraction unit 704 is further configured to extract a first threat node associated with the asset information from the multiple threat nodes.
[0151] In one possible manner, the determination unit 702 is further used to traverse the asset library to determine whether the first asset node exists in the asset library.
[0152] In a possible manner, the associating unit 705 is further configured to associate the first asset node with the first threat node when the asset inventory contains the first asset node.
[0153] In a possible manner, the determination unit 702 is further configured to determine a safety analysis result of the target vehicle according to the risk information and asset information matched by the alarm event. The safety analysis result is used to indicate the threat level of the alarm event to the target vehicle.
[0154] In one possible manner, the construction unit 703 is specifically used to associate the alarm event with the risk information and the asset information to construct a safety knowledge graph corresponding to the target vehicle.
[0155] In a possible manner, the acquisition unit 701 is specifically configured to: acquire abnormal data of the target vehicle and determine an alarm event according to the abnormal data.
[0156] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0157] Fig. 9 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig. 9 As shown, the electronic device includes but is not limited to: a processor 801 and a memory 802 .
[0158] The memory 802 is used to store executable instructions of the processor 801. It can be understood that the processor 801 is configured to execute instructions to implement the knowledge graph construction method in the above embodiment.
[0159] It should be noted that those skilled in the art can understand that Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig. 9 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0160] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 802, and calling data stored in the memory 802, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 801 may include one or more processing units. Optionally, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.
[0161] The memory 802 may be used to store software programs and various data. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0162] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, and the above instructions can be executed by the processor 801 of the electronic device 8 to implement the method in the above embodiment.
[0163] In actual implementation, Figure 8 The functions of the acquisition unit 701, the determination unit 702, and the processing unit 703 in Fig. 9 The processor 801 in the embodiment calls the computer program stored in the memory 802. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.
[0164] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0165] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 801 of the electronic device to complete the method in the above embodiment.
[0166] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.
[0167] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0168] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0169] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0170] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0171] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.
[0172] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A knowledge graph construction method, characterized in that: include: Obtain the warning event of the target vehicle; Based on the first knowledge graph, determine the risk information and asset information matching the alarm event, the risk information includes vulnerability information and threat information of the target vehicle; the asset information includes one or more of hardware information, software information and data of the target vehicle; the first knowledge graph includes a vulnerability library, a threat library, and an asset library; The vulnerability library is used to store a plurality of vulnerability information related to the vehicle; the threat library is used to store a plurality of threat information related to the plurality of vulnerability information; The asset library is used to store multiple assets related to the vehicle; Based on the risk information and the asset information, a safety knowledge graph corresponding to the target vehicle is constructed, and the safety knowledge graph is used to identify safety risks existing in the target vehicle.
2. The method according to claim 1, characterized in that The vulnerability library includes multiple vulnerability nodes; The asset library includes a plurality of asset nodes, and the method further includes: Extracting a first vulnerability node associated with the asset information from the plurality of vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the asset information; Traversing the asset library to determine whether the asset library has a first asset node, wherein the asset information included in the first asset node is the same as the asset information in the first vulnerability node; In a case where the asset library exists in the first asset node, the first asset node is associated with the first vulnerability node.
3. The method according to claim 1, characterized in that The threat library includes a plurality of threat nodes, and the method further includes: Extracting a first vulnerability node associated with the threat information from the plurality of vulnerability nodes; the first vulnerability node including vulnerability information corresponding to the threat information; Traversing the threat library to determine whether the threat library has a first threat node, wherein the threat information included in the first threat node is the same as the threat information in the first vulnerability node; In a case where the threat library exists in the first threat node, the first threat node is associated with the first vulnerability node.
4. The method according to claim 1, characterized in that: The method further comprises: Extracting a first threat node associated with the asset information from the plurality of threat nodes; the first threat node including threat information corresponding to the asset information; Traversing the asset library to determine whether there is a first asset node in the asset library, wherein the asset information included in the first asset node is the same as the asset information in the first threat node; In a case where the asset library exists in the first asset node, the first asset node is associated with the first threat node.
5. The method according to claim 1, characterized in that The method further comprises: A safety analysis result of the target vehicle is determined based on the risk information and asset information matched by the alarm event; the safety analysis result is used to indicate the threat level of the alarm event to the target vehicle.
6. The method according to claim 1, characterized in that The constructing a safety knowledge graph corresponding to the target vehicle based on the risk information and the asset information includes: The alarm event is associated with the risk information and the asset information to construct a safety knowledge graph corresponding to the target vehicle.
7. The method according to claim 1, characterized in that The step of obtaining the warning event of the target vehicle includes: Acquire abnormal data of the target vehicle, wherein the abnormal data includes one or more of the following: abnormal data of the vehicle network, abnormal data of the Ethernet, and abnormal data of the controller; The alarm event is determined according to the abnormal data.
8. A knowledge graph construction device, characterized in that: The device comprises: an acquisition unit, a determination unit and a construction unit; The acquisition unit is used to acquire the warning event of the target vehicle; The determination unit is used to determine risk information and asset information matching the alarm event based on the first knowledge graph, wherein the risk information includes vulnerability information and threat information of the target vehicle; the asset information includes one or more of hardware information, software information and data of the target vehicle; the first knowledge graph includes a vulnerability library, a threat library and an asset library; the vulnerability library is used to store multiple vulnerability information related to the vehicle; the threat library is used to store multiple threat information related to the multiple vulnerability information; the asset library is used to store multiple assets related to the vehicle; The construction unit is used to construct a safety knowledge graph corresponding to the target vehicle based on the risk information and the asset information, and the safety knowledge graph is used to identify safety risks existing in the target vehicle.
9. The device according to claim 8, characterized in that The device further comprises: an extraction unit and an association unit; The extraction unit is used to extract a first vulnerability node associated with the asset information from the plurality of vulnerability nodes; the first vulnerability node includes vulnerability information corresponding to the asset information; The determining unit is further configured to traverse the asset library to determine whether the asset library has a first asset node, wherein the asset information included in the first asset node is the same as the asset information in the first vulnerability node; The associating unit is configured to associate the first asset node with the first vulnerability node when the asset library exists in the first asset node.
10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method as claimed in any one of claims 1 to 7.
12. A vehicle, characterized in that: Comprising the device described in claim 8 or 9.
Citation Information
Patent Citations
Zero-trust protection method for rail transit network
CN116232613A
Attack detection method and system based on knowledge graph
CN117240632A
Risk assessment
US20170054750A1
Optimizing Ingestion of Structured Security Information into Graph Databases for Security Analytics
US20190394225A1
Cited By
Knowledge graph-based Internet of Vehicles threat analysis method and system, and medium
CN119835026A
