Defense system and defense method for vehicle-mounted network attack

By using attack trapping modules and security monitoring modules in the on-board network defense system, the security problem of intelligent connected car network attacks is solved, and effective prevention of on-board network attacks and vehicle network security is achieved. promote.

CN119051926APending Publication Date: 2024-11-29CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411102057.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

Due to its networking characteristics, intelligent connected vehicles increase the risk of automotive network attacks, resulting in personal privacy leakage, property damage and driving safety threats. It is difficult for existing technologies to effectively prevent these attacks.

Method used

A defense system for on-board cyber attacks was designed, including attack trapping module, security monitoring module and policy control module. It induces and identifies potential attack data traffic through honeypots, generates system call logs, and classifies attacks and processes strategies to automatically Identify and respond to cyber attacks.

Benefits of technology

It realizes effective prevention of on-board network attacks, improves the security of the automotive network, can automatically identify and respond to potential threats in a timely manner, and prevents malicious data traffic from jeopardizing the automotive system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051926A_ABST
    Figure CN119051926A_ABST
Patent Text Reader

Abstract

The invention relates to a defending system and defending method for vehicle-mounted network attacks, the system comprises an attack trapping module, a safety monitoring module and a strategy control module, the attack trapping module comprises a honeypot, and the honeypot is used for receiving data traffic sent by an out-of-vehicle network and sending the data traffic to the safety monitoring module; the attack trapping module is used for sending the real-time state of the honeypot to the safety monitoring module; the security monitoring module is used for acquiring a system call log of the first data traffic from the attack trapping module under the condition that the data traffic is identified as the first data traffic, generating an attack classification result according to the system call log, and forwarding the attack classification result to the strategy control module; and the strategy control module is used for receiving the attack classification result, generating a first attack processing strategy corresponding to the attack classification result, and processing the first data traffic according to the first attack processing strategy. According to the technical scheme provided by the invention, the vehicle-mounted network attack is effectively prevented, and the security of the vehicle network is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a defense system and a defense method for vehicle-mounted network attacks. Background Art

[0002] In recent years, the automotive industry has accelerated its transformation, and intelligence and networking are reshaping the new development pattern of the industry. Compared with traditional cars, intelligent and connected cars provide more vehicle-side functions, such as playing games, watching videos, and automatic driving. Although intelligent and connected cars provide many conveniences and personalized driving experiences for drivers and passengers, they also cause many safety issues.

[0003] Traditional cars are isolated, and it is difficult for attackers to invade the internal controller of the car through non-physical attack methods, but smart connected cars open up channels for remote attacks. In recent years, car network attacks have increased year by year, which not only leads to personal privacy leakage and property loss, but also endangers driving safety in serious cases.

[0004] Due to the frequent occurrence of automobile network attacks, an effective defense method against vehicle network attacks is needed to improve the security of automobile networks. Summary of the invention

[0005] The present application provides a defense system and defense method for vehicle-mounted network attacks to effectively prevent vehicle-mounted network attacks and improve the security of the vehicle network.

[0006] In a first aspect, the present application provides a vehicle network attack defense system, the system is arranged between an external vehicle network and an internal vehicle Tbox system, the system includes an attack trapping module, a security monitoring module and a policy control module, wherein:

[0007] The attack trapping module includes a honeypot, the honeypot is used to receive data traffic sent by the external network of the vehicle, and the attack trapping module is used to send the real-time status of the honeypot to the security monitoring module;

[0008] The security monitoring module is used to obtain the system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow according to the real-time status of the honeypot, generate an attack classification result according to the system call log, and forward the attack classification result to the policy control module; wherein the access object of the first data flow is the honeypot, and the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log;

[0009] The policy control module is used to receive the attack classification result, generate a first attack processing policy corresponding to the attack classification result, and process the first data traffic according to the first attack processing policy.

[0010] In a feasible embodiment of the present application, the security monitoring module includes:

[0011] A first receiving unit, configured to receive the real-time status of the honeypot sent by the attack trapping module;

[0012] an identification unit, configured to identify the data flow as the first data flow or the second data flow according to the real-time state of the honeypot; wherein, when it is identified according to the real-time state of the honeypot that the access object of the data flow is the honeypot, the data flow is identified as the first data flow, and when it is identified according to the real-time state of the honeypot that the access object of the data flow is not the honeypot, the data flow is identified as the second data flow;

[0013] A second receiving unit is configured to obtain the system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow;

[0014] A generating unit is used to generate an attack classification result according to the system call log, and forward the attack classification result to the policy control module.

[0015] In a feasible embodiment of the present application, the generating unit includes:

[0016] a cleaning subunit, configured to perform data cleaning on the system call log and determine a system call sequence corresponding to the system call log; wherein the system call sequence is used to describe the attack intention and activity track of the first data flow corresponding to the system call log;

[0017] A generating subunit, configured to generate the attack classification result according to the system call sequence through a preset security detection model;

[0018] The forwarding subunit is used to forward the attack classification result to the policy control module.

[0019] In a feasible embodiment of the present application, the attack trapping module includes:

[0020] A first sending unit, used to send the real-time status of the honeypot to the security monitoring module;

[0021] A second sending unit, configured to send the system call log of the first data flow to the security monitoring module when the security monitoring module identifies the data flow as the first data flow;

[0022] The third sending unit is used to send the second data traffic when the security monitoring module identifies the data traffic as the second data traffic.

[0023] In a feasible embodiment of the present application, the system further includes a data access module, wherein:

[0024] The data access module is used to receive the second data flow forwarded by the attack trapping module, perform a security check on the second data flow, and process the second data flow according to a detection result of the security check.

[0025] In a feasible embodiment of the present application, the data access module includes:

[0026] A third receiving unit, configured to receive the second data flow;

[0027] A detection unit, configured to perform the security detection on the second data flow to obtain the detection result; wherein the detection result is a normal detection result or an abnormal detection result;

[0028] A first processing unit, configured to forward the second data traffic to an in-vehicle Tbox system when the detection result is the normal detection result;

[0029] The second processing unit is used to generate a second attack processing strategy when the detection result is the abnormal detection result, and process the second data traffic according to the second attack processing strategy.

[0030] In a second aspect, the present application provides a method for defending against vehicle network attacks, the method comprising:

[0031] Receiving data traffic sent by an external network, and generating a system call log according to a first data traffic in the data traffic; wherein an access object of the first data traffic is a honeypot;

[0032] Generate an attack classification result according to the system call log; wherein the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log;

[0033] A first attack processing strategy corresponding to the attack classification result is generated, and the first data traffic is processed according to the first attack processing strategy.

[0034] In a feasible embodiment of the present application, the method further includes:

[0035] Performing a security detection on a second data flow in the data flow; obtaining the detection result; wherein the access object of the second data flow is not the honeypot, and the detection result is a normal detection result or an abnormal detection result;

[0036] When the detection result is the normal detection result, forwarding the second data traffic to the in-vehicle Tbox system;

[0037] When the detection result is the abnormal detection result, a second attack processing strategy is generated, and the second data traffic is processed according to the second attack processing strategy.

[0038] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute a method for defending against a vehicle network attack as described in the second aspect of the present application.

[0039] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute a method for defending against a vehicle network attack as described in the second aspect of the present application.

[0040] The technical solution provided by the present application is to detect and process the data traffic through the vehicle-mounted network attack defense system before the data traffic accesses the Tbox system in the vehicle. When the data traffic is the first data traffic, the first data traffic accesses the honeypot in the attack trapping module. At this time, it is considered that the first data traffic has the possibility of attack. The attack trapping module in the vehicle-mounted network attack defense system induces the first data traffic with the possibility of attack to attack, thereby generating a system call log for the first data traffic; the security monitoring module in the vehicle-mounted network attack defense system classifies the first data traffic according to the system call log, and forwards the attack classification result to the policy control module; the policy control module in the vehicle-mounted network attack defense system generates a corresponding first attack processing strategy according to the attack classification result, and processes the first data traffic.

[0041] Through the technical solution provided by the present application, the first data flow in the external network is induced to attack the honeypot, thereby determining the attack category of the first data flow, and generating a first attack processing strategy in a targeted manner according to the attack category of the first data flow. Through the technical solution provided by the present application, attacks can be automatically identified and responded to in a timely manner, achieving effective prevention of vehicle network attacks and effectively improving the security of the vehicle network. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of an implementation scenario of a vehicle network attack defense system provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of the structure of a vehicle network attack defense system provided in an embodiment of the present application;

[0044] Figure 3 A flowchart of a method for defending against vehicle network attacks provided in an embodiment of the present application;

[0045] Figure 4 Another flowchart of a method for defending against an in-vehicle network attack provided in an embodiment of the present application;

[0046] Figure 5 An overall flow chart of a method for defending against vehicle network attacks provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0049] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0050] For ease of description, spatial relative terms may be used in the text to describe the relative position or movement of an element or feature as shown in the figure relative to another element or feature, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure undergoes a position flip or a change in posture or a change in motion state, then these directional indications will also change accordingly, for example: an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." can include both upper and lower orientations. The device can be oriented otherwise (rotated 90 degrees or in other directions) and the spatial relative descriptors used in the text are interpreted accordingly.

[0051] In order to solve the technical problem in the prior art that automobile network attack incidents increase year by year, leading to personal privacy leakage and property loss, while endangering driving safety, the present application provides a defense system and defense method for vehicle-mounted network attacks, which can effectively prevent vehicle-mounted network attacks and improve the security of automobile networks.

[0052] Figure 1 A schematic diagram of an implementation scenario of a vehicle network attack defense system provided in an embodiment of the present application, referring to Figure 1 The present application provides a vehicle network attack defense system which is arranged between the external network and the in-vehicle Tbox system.

[0053] In the prior art, data traffic in the external vehicle network is sent to the in-vehicle Tbox system in the in-vehicle network. The external vehicle network may include the car company's cloud platform and the Internet. The car company's cloud platform is mainly used for remote control of the car, and the Internet is mainly for some networked car entertainment applications. After the data traffic in the external vehicle network is sent to the in-vehicle Tbox system in the in-vehicle network, the Tbox system forwards the data traffic to the Ethernet switch, and the Ethernet switch forwards the data traffic to the corresponding domain controller, such as the body system, powertrain system, vehicle motion system, infotainment system, etc.

[0054] In some possible actual scenarios, data traffic may be a malicious network attack sent by a malicious attacker. At this time, if these data traffic are directly sent from the Tbox system and Ethernet switch in the car to the corresponding domain controller, the malicious network attack will damage the domain controller, leading to a series of consequences and endangering the security of the car network.

[0055] To this end, the present application provides a vehicle-mounted network attack defense system, which is arranged between the external network and the in-vehicle Tbox system. The vehicle-mounted network attack defense system processes the data traffic sent by the external network, promptly identifies malicious network attacks, and ensures the security of the vehicle network.

[0056] Figure 2 A schematic diagram of a vehicle network attack defense system provided in an embodiment of the present application, referring to Figure 2 The present application provides a vehicle network attack defense system including an attack trapping module, a security monitoring module and a policy control module, wherein:

[0057] The attack trapping module includes a honeypot, the honeypot is used to receive data traffic sent by the external network of the vehicle, and the attack trapping module is used to send the real-time status of the honeypot to the security monitoring module;

[0058] The security monitoring module is used to obtain the system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow according to the real-time status of the honeypot, generate an attack classification result according to the system call log, and forward the attack classification result to the policy control module; wherein the access object of the first data flow is the honeypot, and the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log;

[0059] The policy control module is used to receive the attack classification result, generate a first attack processing policy corresponding to the attack classification result, and process the first data flow according to the first attack processing policy.

[0060] Specifically, the attack trapping module is used to receive data traffic. The attack trapping module includes a honeypot, and the data traffic will first pass through the honeypot in the attack trapping module.

[0061] Honeypot is an active defense technology that intentionally exposes some vulnerable ports and keeps them open, actively luring attackers into the honeypot environment instead of the real system. When data traffic enters the honeypot, if the data traffic is sent by malicious attackers, the data traffic will be lured by the intentionally open ports or intentionally set vulnerabilities in the honeypot, and attacks will be carried out on these ports and vulnerabilities.

[0062] In a feasible embodiment of the present application, the honeypot included in the attack trapping module is a high-interaction honeypot, and the high-interaction honeypot is an in-vehicle Tbox simulation system provided with multiple luring vulnerabilities.

[0063] The attack trapping module can obtain the real-time status of the honeypot contained in it, and synchronize the real-time status of the honeypot to the security monitoring module in a timely manner. Specifically, the real-time status of the honeypot at least includes the access object of the data flow.

[0064] The security monitoring module obtains the real-time status of the honeypot sent by the attack trapping module, identifies the data flow according to the real-time status of the honeypot, and when the data flow is identified as the first data flow, obtains the system call log of the first data flow, classifies the attack on the first data flow according to the system call log, and determines the attack category of the first data flow.

[0065] The first data flow is the data flow that accesses the honeypot. It can be understood that since the honeypot in this application is an in-vehicle Tbox simulation system with multiple luring vulnerabilities, when the data flow accesses the honeypot, the real access intention of the data flow can be considered to be the in-vehicle Tbox system, and is aimed at the vulnerabilities that may exist in the in-vehicle Tbox system. Therefore, when the access object of the data flow is the honeypot, the data flow is identified as the first data flow, and it is considered that the current data flow has malicious network attack intentions.

[0066] The policy control module is used to receive the attack classification result of the first data flow identified by the security monitoring module, so as to generate a first attack processing strategy accordingly. In a feasible embodiment of the present application, the policy control module can access the attack processing strategy library to obtain the first attack processing strategy corresponding to the attack classification result of the first data flow, and the attack processing strategy library contains multiple attack processing strategies. Based on different attack classification results, one or more corresponding attack processing strategies can be found in the attack processing strategy library.

[0067] It can be understood that the first attack processing strategy can specifically process the network attack corresponding to the attack classification result of the first data flow. By processing the first data flow through the first attack processing strategy, the attack processing capability of the vehicle-mounted network attack defense system provided in the present application can be improved.

[0068] In a feasible embodiment of the present application, the security monitoring module includes:

[0069] A first receiving unit, used for receiving the real-time status of the honeypot sent by the attack trapping module;

[0070] An identification unit, configured to identify data traffic as a first data traffic or a second data traffic according to a real-time state of a honeypot; wherein, when it is identified according to the real-time state of the honeypot that an access object of the data traffic is a honeypot, the data traffic is identified as the first data traffic, and when it is identified according to the real-time state of the honeypot that an access object of the data traffic is not a honeypot, the data traffic is identified as the second data traffic;

[0071] A second receiving unit is used to obtain a system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow;

[0072] The generating unit is used to generate attack classification results according to the system call log, and forward the attack classification results to the policy control module.

[0073] Specifically, the data traffic accesses or does not access the honeypot in the attack trapping unit. When the access object of the data traffic is the honeypot, the identification unit in the security monitoring module identifies the data traffic as the first data traffic. When the access object of the data traffic is not the honeypot, the identification unit in the security monitoring module identifies the data traffic as the second data traffic.

[0074] In a feasible embodiment of the present application, the generating unit includes:

[0075] A cleaning subunit is used to clean the system call log and determine the system call sequence corresponding to the system call log; wherein the system call sequence is used to describe the attack intention and activity track of the first data flow corresponding to the system call log;

[0076] A generating subunit, used for generating attack classification results according to a system call sequence through a preset security detection model;

[0077] The forwarding subunit is used to forward the attack classification result to the policy control module.

[0078] Specifically, the system call log records the calling status of the first data flow in the honeypot. The cleaning subunit in the generation unit first cleans the system call log and parses the system call log to obtain the system call sequence. The system call sequence can describe the activity trajectory and attack intention of the first data flow.

[0079] After obtaining the system call sequence, the generation subunit in the generation unit performs semantic analysis on the system call sequence through a preset security detection model, extracts the semantic features of the system call sequence, converts the attack classification problem into a text classification problem, and generates attack classification results based on the semantic features of the system call sequence.

[0080] In a feasible embodiment of the present application, a security detection model is constructed based on a neural network model. The security detection model is pre-trained by a technician. For a system call sequence input into the security detection model, the security detection model extracts semantic features of the system call sequence, and processes these semantic features based on a classification unit in the security detection model to obtain an attack classification result. Different attack classification results represent different attack categories of the first data traffic.

[0081] In a feasible embodiment of the present application, the attack trapping module includes:

[0082] A first sending unit, used to send the real-time status of the honeypot to the security monitoring module;

[0083] A second sending unit is used to send the system call log of the first data flow to the security monitoring module when the security monitoring module identifies the data flow as the first data flow;

[0084] The third sending unit is used to send the second data traffic when the security monitoring module identifies the data traffic as the second data traffic.

[0085] Based on the above embodiments of the attack trapping module and the security monitoring module, the interaction process between the attack trapping module and the security monitoring module may be:

[0086] The data flow enters the honeypot in the attack trapping module; the first sending unit in the attack trapping module sends the real-time status of the honeypot to the first receiving unit in the security monitoring module; the identification unit in the security monitoring module determines whether the data flow is the first data flow or the second data flow based on the real-time status of the honeypot; when the identification unit determines that the data flow is the first data flow, first feedback information is fed back to the attack trapping module, so that the second sending unit in the attack trapping module sends the system call log of the first data flow to the second receiving unit in the security monitoring module; when the identification unit determines that the data flow is the second data flow, second feedback information is fed back to the attack trapping module, so that the third sending unit in the attack trapping module sends the second data flow.

[0087] Based on the above embodiments, it can be understood that the first data flow in this application can be identified as a malicious network attack, and the second data flow can be preliminarily identified as not a malicious network attack. However, in some actual scenarios, malicious network attacks are not necessarily targeted at the in-vehicle Tbox system, and such malicious network attack honeypots may not be able to identify them. In order to identify malicious network attacks that are not targeted at the in-vehicle Tbox system, in a feasible embodiment of this application, the second data flow is identified again to determine whether the second data flow is abnormal, and when it is determined that the second data flow is normal, the second data flow is sent to the in-vehicle Tbox system.

[0088] In a feasible embodiment of the present application, the system further includes a data access module, wherein:

[0089] The data access module is used to receive the second data flow forwarded by the attack trapping module, perform a security check on the second data flow, and process the second data flow according to the detection result of the security check.

[0090] In a feasible embodiment of the present application, the data access module includes:

[0091] A third receiving unit, configured to receive second data traffic;

[0092] A detection unit, configured to perform a security detection on the second data flow to obtain a detection result; wherein the detection result is a normal detection result or an abnormal detection result;

[0093] The first processing unit is used to forward the second data traffic to the in-vehicle Tbox system when the detection result is a normal detection result;

[0094] The second processing unit is used to generate a second attack processing strategy when the detection result is an abnormal detection result, and process the second data traffic according to the second attack processing strategy.

[0095] Specifically, the data access module performs further security detection on the second data flow, and identifies whether the second data flow is a malicious network attack based on the detection result of the security detection. If the detection result is a normal detection result, it is considered that the security of the second data flow is better, and the second data flow is directly forwarded to the Tbox system in the car; if the detection result is an abnormal detection result, it is considered that there is a risk in the second data flow, which is a potential malicious network attack, and a second attack processing strategy is generated to process the second data flow.

[0096] In the above embodiment, the specific method of generating the second data traffic may be a method for processing malicious network attacks in the prior art, which will not be described in detail here.

[0097] In a feasible embodiment of the present application, the policy control module includes:

[0098] A fourth receiving unit, configured to receive the attack classification result sent by the security monitoring module;

[0099] A third processing unit, configured to search the attack processing strategy library for a corresponding first attack processing strategy according to the attack classification result, and process the first data flow according to the first attack processing strategy;

[0100] An updating unit is used to update the attack processing strategy library.

[0101] The technical solution provided by the present application is to detect and process the data traffic through the vehicle-mounted network attack defense system before the data traffic accesses the Tbox system in the vehicle. When the data traffic is the first data traffic, the first data traffic accesses the honeypot in the attack trapping module. At this time, it is considered that the first data traffic has the possibility of attack. The attack trapping module in the vehicle-mounted network attack defense system induces the first data traffic with the possibility of attack to attack, thereby generating a system call log for the first data traffic; the security monitoring module in the vehicle-mounted network attack defense system classifies the first data traffic according to the system call log, and forwards the attack classification result to the policy control module; the policy control module in the vehicle-mounted network attack defense system generates a corresponding first attack processing strategy according to the attack classification result, and processes the first data traffic.

[0102] Through the technical solution provided by the present application, the first data flow in the external network is induced to attack the honeypot, thereby determining the attack category of the first data flow, and generating a first attack processing strategy in a targeted manner according to the attack category of the first data flow. Through the technical solution provided by the present application, attacks can be automatically identified and responded to in a timely manner, achieving effective prevention of vehicle network attacks and effectively improving the security of the vehicle network.

[0103] Figure 3 A flowchart of a method for defending against a vehicle network attack provided in an embodiment of the present application is provided. The method for defending against a vehicle network attack provided in the present application can be applied to a system for defending against a vehicle network attack provided in the above embodiment. The method specifically includes:

[0104] S11: receiving data traffic sent by an external vehicle network, and generating a system call log according to a first data traffic in the data traffic; wherein an access object of the first data traffic is a honeypot;

[0105] S12: Generate an attack classification result according to the system call log; wherein the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log;

[0106] S13: Generate a first attack processing strategy corresponding to the attack classification result, and process the first data traffic according to the first attack processing strategy.

[0107] Figure 4 Another flowchart of a method for defending against vehicle network attacks provided in an embodiment of the present application is shown in FIG. Figure 4 In a feasible embodiment of the present application, the method further includes:

[0108] S21: Perform security detection on the second data flow in the data flow; obtain a detection result; wherein the access object of the second data flow is not a honeypot, and the detection result is a normal detection result or an abnormal detection result;

[0109] S22: if the detection result is a normal detection result, forward the second data traffic to the in-vehicle Tbox system;

[0110] S23: When the detection result is an abnormal detection result, generate a second attack processing strategy, and process the second data traffic according to the second attack processing strategy.

[0111] Specifically, based on the description of the vehicle-mounted network attack defense system provided by the present application in the above-mentioned embodiment, the specific implementation method of the vehicle-mounted network attack defense method provided by the present application is relatively clear and will not be repeated here.

[0112] It should be noted that in a method for defending against vehicle-mounted network attacks provided in the present application, step S11 can be implemented on an attack trapping module in the defense system against vehicle-mounted network attacks, step S12 can be implemented on a security monitoring module in the defense system against vehicle-mounted network attacks, step S13 can be implemented on a policy control module in the defense system against vehicle-mounted network attacks, and steps S21-S23 can be implemented on a data access module in the defense system against vehicle-mounted network attacks.

[0113] Figure 5 The overall flow chart of a method for defending against an in-vehicle network attack provided in an embodiment of the present application. When the present application is actually implemented, a defense system for in-vehicle network attack provided in the above embodiment of the present application is deployed between the external network and the in-vehicle Tbox system. Based on the system, the method is implemented through the following specific steps:

[0114] S301: All data traffic from the external network reaches the honeypot;

[0115] S302: Determine whether the data flow is the first data flow or the second data flow; if the data flow is the first data flow, proceed to step S303 to step S306; if the data flow is the second data flow, proceed to step S307 to step S317;

[0116] S303: When the data flow is the first data flow, obtain a system call log of the first data flow on the honeypot;

[0117] S304: Obtaining an attack classification result according to the system call log, and identifying the attack category of the first data flow;

[0118] S305: Generate a corresponding first attack processing strategy according to the attack classification result;

[0119] S306: Processing the first data traffic using the first attack processing strategy;

[0120] S307: When the data flow is the second data flow, perform a security detection on the second data flow and determine a detection result;

[0121] S308: Determine whether the detection result is a normal detection result or an abnormal detection result; if the detection result is a normal detection result, proceed to step S309; ​​if the detection result is an abnormal detection result, proceed to steps S310-S311;

[0122] S309: When the detection result is a normal detection result, the second data flow is sent to the in-vehicle Tbox system;

[0123] S310: When the detection result is an abnormal detection result, generate a second attack processing strategy;

[0124] S311: Process the second data traffic using a second attack processing strategy.

[0125] like Figure 6 As shown, an embodiment of the present application provides an electronic device, including a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.

[0126] Memory 603, used for storing computer programs;

[0127] In one embodiment of the present application, the processor 601 is used to implement a method for defending against an in-vehicle network attack provided by any one of the aforementioned method embodiments when executing a program stored in the memory 603, including:

[0128] Receiving data traffic sent by an external vehicle network, and generating a system call log according to a first data traffic in the data traffic; wherein an access object of the first data traffic is a honeypot;

[0129] Generate an attack classification result according to the system call log; wherein the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log;

[0130] A first attack processing strategy corresponding to the attack classification result is generated, and the first data flow is processed according to the first attack processing strategy.

[0131] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of a method for defending against a vehicle network attack as provided in any of the aforementioned method embodiments are implemented.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0134] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0135] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A vehicle network attack defense system, the system is arranged between the vehicle external network and the vehicle internal Tbox system, characterized in that: The system includes an attack trapping module, a security monitoring module and a policy control module, wherein: The attack trapping module includes a honeypot, the honeypot is used to receive data traffic sent by the external network of the vehicle, and the attack trapping module is used to send the real-time status of the honeypot to the security monitoring module; The security monitoring module is used to obtain the system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow according to the real-time status of the honeypot, generate an attack classification result according to the system call log, and forward the attack classification result to the policy control module; wherein the access object of the first data flow is the honeypot, and the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log; The policy control module is used to receive the attack classification result, generate a first attack processing policy corresponding to the attack classification result, and process the first data traffic according to the first attack processing policy.

2. The system according to claim 1, characterized in that The security monitoring module includes: A first receiving unit, configured to receive the real-time status of the honeypot sent by the attack trapping module; an identification unit, configured to identify the data flow as the first data flow or the second data flow according to the real-time state of the honeypot; wherein, when it is identified according to the real-time state of the honeypot that the access object of the data flow is the honeypot, the data flow is identified as the first data flow, and when it is identified according to the real-time state of the honeypot that the access object of the data flow is not the honeypot, the data flow is identified as the second data flow; A second receiving unit is configured to obtain the system call log of the first data flow from the attack trapping module when the data flow is identified as the first data flow; A generating unit is used to generate an attack classification result according to the system call log, and forward the attack classification result to the policy control module.

3. The system according to claim 2, characterized in that The generating unit comprises: a cleaning subunit, configured to perform data cleaning on the system call log and determine a system call sequence corresponding to the system call log; wherein the system call sequence is used to describe the attack intention and activity track of the first data flow corresponding to the system call log; A generating subunit, configured to generate the attack classification result according to the system call sequence through a preset security detection model; The forwarding subunit is used to forward the attack classification result to the policy control module.

4. The system according to claim 2, characterized in that The attack trapping module comprises: A first sending unit, used to send the real-time status of the honeypot to the security monitoring module; A second sending unit, configured to send the system call log of the first data flow to the security monitoring module when the security monitoring module identifies the data flow as the first data flow; The third sending unit is used to send the second data traffic when the security monitoring module identifies the data traffic as the second data traffic.

5. The system according to claim 2, characterized in that The system also includes a data access module, wherein: The data access module is used to receive the second data flow forwarded by the attack trapping module, perform a security check on the second data flow, and process the second data flow according to a detection result of the security check.

6. The system according to claim 5, characterized in that The data access module includes: A third receiving unit, configured to receive the second data flow; A detection unit, configured to perform the security detection on the second data flow to obtain the detection result; wherein the detection result is a normal detection result or an abnormal detection result; A first processing unit, configured to forward the second data traffic to an in-vehicle Tbox system when the detection result is the normal detection result; The second processing unit is used to generate a second attack processing strategy when the detection result is the abnormal detection result, and process the second data traffic according to the second attack processing strategy.

7. A method for defending against vehicle network attacks, characterized in that: The method comprises: Receiving data traffic sent by an external network, and generating a system call log according to a first data traffic in the data traffic; wherein an access object of the first data traffic is a honeypot; Generate an attack classification result according to the system call log; wherein the attack classification result is used to describe the attack category of the first data flow corresponding to the system call log; A first attack processing strategy corresponding to the attack classification result is generated, and the first data traffic is processed according to the first attack processing strategy.

8. The method according to claim 7, characterized in that The method further comprises: Performing a security detection on a second data flow in the data flow; obtaining the detection result; wherein the access object of the second data flow is not the honeypot, and the detection result is a normal detection result or an abnormal detection result; When the detection result is the normal detection result, forwarding the second data traffic to the in-vehicle Tbox system; When the detection result is the abnormal detection result, a second attack processing strategy is generated, and the second data traffic is processed according to the second attack processing strategy.

9. An electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute a method for defending against an in-vehicle network attack as claimed in claim 7 or 8.

10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute a method for defending against an in-vehicle network attack as claimed in claim 7 or 8.

Citation Information

Cited By

  • Automobile network attack defense method and system based on greedy algorithm under multivariate constraints

    CN122137622A