Intrusion detection and defense system and vehicle

By running QNX and Android systems on the smart cockpit domain controller, and installing Ethernet security components in the Android system for anomaly detection, the impact of the intrusion detection and prevention system on the security and stability of the HUT operation is solved, and stability and stability are achieved. Improved security.

CN118740514APending Publication Date: 2024-10-01GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411093839.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When the existing intelligent networked vehicle intrusion detection and prevention system is deployed on the vehicle's intelligent cockpit domain controller (HUT), it may affect the operational security of the HUT, and due to limited computing resources, the detection stability of the IDPS decreases.

Method used

Run the QNX system and Android system on the HUT, and install the Ethernet security component in the Android system. Use the preset Ethernet detection algorithm to detect abnormalities in received Ethernet messages, generate security events, and perform different operations. Systems communicate to avoid exposure risks and resource contention.

Benefits of technology

It effectively avoids the impact of the communication process of the intrusion detection and prevention system on the basic functions of the HUT, ensures the normal operation of the HUT, and improves the detection stability of the IDPS.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740514A_ABST
    Figure CN118740514A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is suitable for the technical field of automobiles, and provides an intrusion detection and defense system and a vehicle, the intrusion detection and defense system comprises an intelligent cabin area controller HUT of the vehicle; a QNX system and an Android system run on a system chip on the HUT; the Android system is internally provided with an Ethernet security component; the Ethernet security component is configured to perform anomaly detection on a received Ethernet message based on a preset Ethernet detection algorithm, generate a first security event and send the first security event to a server; the QNX system is configured to run a base function of the HUT. According to the intrusion detection and defense system provided by the embodiment of the invention, the detection efficiency of the intrusion detection and defense system can be ensured on the basis of not influencing the normal operation of the basic function of the HUT.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application belong to the field of automobile technology, and in particular, relate to an intrusion detection and defense system and a vehicle. Background Art

[0002] The Intrusion Detection & Prevention System (IDPS) in intelligent connected vehicles can be used to detect network intrusion events that occur in vehicles and report the detected intrusion events to the cloud monitoring platform through 4G or 5G networks. After receiving the intrusion events reported by the intrusion detection and prevention system, the cloud monitoring platform can analyze the received intrusion events and send the event processing results and protection strategies to the corresponding IDPS to control the IDPS to perform intrusion defense.

[0003] Since the vehicle's IDPS needs to communicate with the cloud monitoring platform, there is an exposure risk in the communication process. Therefore, if the vehicle's IDPS is directly deployed on the vehicle's intelligent cockpit domain controller (HUT for short), it may affect the operational safety of the HUT. In addition, since the HUT is used to control the basic functions of the vehicle, its safety directly affects the user's driving safety. Therefore, the existing IDPS is often deployed on other modules of the vehicle, such as the on-board communication module TBOX. However, the computing resources of TBOX are limited, and the operation of IDPS requires certain system resources. Therefore, deploying IDPS on TBOX may affect the normal operation of TBOX's basic functions and reduce the detection stability of IDPS. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an intrusion detection and prevention system and a vehicle, which are used to improve the detection stability of IDPS while ensuring the normal operation of the basic functions of HUT.

[0005] A first aspect of an embodiment of the present application provides an intrusion detection and defense system, the intrusion detection and defense system comprising a vehicle intelligent cockpit domain controller HUT; the system chip on the HUT runs a QNX system and an Android system; an Ethernet security component is installed in the Android system;

[0006] The Ethernet security component is configured to: perform anomaly detection on a received Ethernet message based on a preset Ethernet detection algorithm, generate a first security event, and send the first security event to a server;

[0007] The QNX system is configured to run the basic functions of the HUT.

[0008] In a possible implementation of the first aspect, the Ethernet security component is further configured to: obtain log information of the HUT based on a preset detection period;

[0009] Inputting the log information into a preset feature algorithm to generate a second security event corresponding to the log information;

[0010] The first security event and the second security event are sent to a server.

[0011] In a possible implementation of the first aspect, a first local area network security component is installed in the QNX system;

[0012] The first LAN security component is configured to: generate a third security event based on the firewall information of the QNX system and a preset security event mapping table;

[0013] Storing the third security event in a shared storage space in the system chip;

[0014] The Ethernet security component is further configured to: obtain the third security event from the shared storage space based on a preset collection period;

[0015] The third security event and the first security event are sent to the server.

[0016] In a possible implementation of the first aspect, the HUT further includes a microcontroller; the microcontroller is installed with a second local area network security component;

[0017] The second LAN security component is configured to: perform anomaly detection on the received LAN message based on a preset vehicle communication detection algorithm to generate a fourth security event;

[0018] Sending the fourth security event to the first LAN security component via a preset first link; the first link is a communication link between the first LAN security component and the second LAN security component;

[0019] The first LAN security component is further configured to: receive the fourth security event sent by the second LAN security component through the first link;

[0020] Storing the third security event and the fourth security event in a shared storage space of the system chip;

[0021] The Ethernet security component is further configured to: acquire the third security event and the fourth security event from the shared storage space based on a preset acquisition period;

[0022] The third security event, the fourth security event and the first security event are sent to the server.

[0023] In a possible implementation manner of the first aspect, the Ethernet security component is configured to: send the third security event, the fourth security event, and the first security event to the server, including:

[0024] The Ethernet security component is configured to: obtain a public key certificate and a decryption key corresponding to the vehicle through a calling interface of a trusted execution environment;

[0025] Generate a connection request based on the public key certificate, and send the connection request to the server;

[0026] Receiving an authentication request sent by the server;

[0027] Verify the authentication request based on the decryption key, generate a first verification result, and send the first verification result to the server;

[0028] receiving a second verification result generated by the server based on the connection request;

[0029] If both the first verification result and the second verification result are verified to be passed, the first security event, the third security event and the fourth security event are transmitted to the server.

[0030] In a possible implementation of the first aspect, the microcontroller on the HUT is further configured to: respond to an identification write instruction;

[0031] The vehicle identification carried in the identification writing instruction is transmitted to the QNX system of the system chip through a preset second link; the second link is a communication link between the microcontroller and the QNX system in the system chip;

[0032] The QNX system is configured to: receive the vehicle identification via the second link;

[0033] The vehicle identification is transmitted to the Android system of the system chip through a preset third link; the third link is a communication link between the QNX system in the system chip and the Android system;

[0034] The Android system is configured to: receive and store the vehicle identification through the third link;

[0035] The Ethernet security component is configured to: if the first verification result and the second verification result are both verified to be passed, transmit the first security event, the third security event, the fourth security event and the vehicle identification corresponding to the vehicle to the server.

[0036] In a possible implementation manner of the first aspect, the security detection and defense system further includes at least one Ethernet controller;

[0037] The Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate a fifth security event;

[0038] Sending the fifth security event to the Ethernet security component in the HUT via a preset fourth link; the fourth link is a communication link between the Ethernet controller and the Ethernet security component in the HUT;

[0039] The Ethernet security component is further configured to: receive the fifth security event sent by the Ethernet controller through the fourth link;

[0040] The first security event and the fifth security event are sent to the server.

[0041] In a possible implementation manner of the first aspect, the at least one Ethernet controller includes a first Ethernet controller and at least one second Ethernet controller; the first Ethernet controller is a central gateway controller in the vehicle; the second Ethernet controller is another Ethernet electronic controller in the vehicle except the central gateway controller;

[0042] The second Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate the fifth security event;

[0043] sending the fifth security event to the first Ethernet controller via a preset fifth link; the fifth link is a communication link between the first Ethernet controller and the second Ethernet controller;

[0044] The first Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate the fifth security event;

[0045] receiving, through the fifth link, all the fifth security events sent by the second Ethernet controller;

[0046] All the fifth security events are sent to the Ethernet security component on the HUT via the fourth link.

[0047] In a possible implementation manner of the first aspect, the Ethernet security component on the HUT is further configured to:

[0048] Receiving policy information sent by the server; the policy information is used to update the Ethernet detection algorithm;

[0049] sending the policy information to the first Ethernet controller;

[0050] The first Ethernet controller is further configured to: receive the policy information sent by the Ethernet security component in the HUT;

[0051] The policy information is sent to all the second Ethernet controllers.

[0052] A second aspect of the embodiment of the present application provides an intrusion detection and defense method, which is applied to an intrusion detection and defense system on a vehicle, wherein the intrusion detection and defense system includes an intelligent cockpit domain controller HUT of the vehicle; the system chip on the HUT runs a QNX system and an Android system; an Ethernet security component is installed in the Android system;

[0053] The Ethernet security component performs anomaly detection on the received Ethernet message based on a preset Ethernet detection algorithm, generates a first security event, and sends the first security event to the server;

[0054] The QNX system is used to run the basic functions of the HUT.

[0055] A third aspect of an embodiment of the present application provides a vehicle, comprising the intrusion detection and defense system as described in the first aspect above.

[0056] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of configuring the HUT in the intrusion detection and prevention system as described in the first aspect above, or executes the steps of configuring the Ethernet controller in the intrusion detection and prevention system as described in the first aspect above.

[0057] The fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product runs on a computer, the computer executes the steps of configuring the HUT in the intrusion detection and prevention system described in the first aspect, or executes the steps of configuring the Ethernet controller in the intrusion detection and prevention system described in the first aspect.

[0058] Compared with the prior art, the embodiments of the present application have the following advantages:

[0059] In the embodiment of the present application, the intrusion detection and defense system includes a vehicle's intelligent cockpit domain controller HUT; wherein the system chip on the HUT runs a QNX system and an Android system; an Ethernet security component is installed in the Android system running on the HUT; specifically, the Ethernet security component in the Android system can perform abnormal detection on all Ethernet messages received by the HUT according to the Ethernet detection algorithm pre-set by the R&D personnel, and generate a first security event; after generating the first security event, the Ethernet security component can send the generated first security event to the server; at the same time, the HUT can also run the basic functions of the HUT through the QNX system in the system chip. Since the Android system installed in the Ethernet security component that communicates with the server in the intrusion detection and defense system is not the same system as the QNX system that performs the basic functions in the HUT, the intrusion detection and defense system provided in the embodiment of the present application can effectively avoid the exposure risk caused by the communication process of the intrusion detection and defense system, so that the intrusion detection and defense system will not affect the normal operation of the basic functions of the HUT. In addition, since the Ethernet security component and the basic functions of the HUT belong to different systems, it is possible to effectively avoid the two from competing for system resources, thereby ensuring the detection stability of the intrusion detection and defense system. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0061] Figure 1 It is a structural diagram of an intrusion detection and prevention system provided in an embodiment of the present application;

[0062] Figure 2 It is a specific structural diagram of an Ethernet security component provided in an embodiment of the present application;

[0063] Figure 3 It is a schematic diagram of the specific structure of a HUT in an intrusion detection and prevention system provided in an embodiment of the present application;

[0064] Figure 4 is a schematic diagram of an intrusion detection and defense method provided by an embodiment of the present application;

[0065] Figure 5 is a specific structural diagram of another intrusion detection and defense system provided in an embodiment of the present application;

[0066] Figure 6 is a schematic diagram of another intrusion detection and defense method provided by an embodiment of the present application;

[0067] Figure 7 is a specific structural diagram of an Ethernet controller provided in an embodiment of the present application;

[0068] Figure 8 This is a schematic diagram of the specific structure of another intrusion detection and defense system provided in an embodiment of the present application;

[0069] Fig. 9 This is a schematic diagram of a vehicle identification writing process provided by an embodiment of the present application;

[0070] Fig.10 It is a schematic diagram of a transmission process in a HUT provided in an embodiment of the present application;

[0071] Fig.11 It is a schematic diagram of a vehicle-mounted terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] In the following description, specific details such as specific system structures, technologies, etc. are proposed for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from hindering the description of the present application.

[0073] The technical solution of the present application is described below through specific embodiments.

[0074] Reference Figure 1 , shows a schematic diagram of the structure of an intrusion detection and defense system provided by an embodiment of the present application. Figure 1 As shown, the intrusion detection and defense system on the vehicle may include a smart cockpit domain controller (HUT) of the vehicle. Among them, a system on chips (SoC) may be installed in the HUT. Since the system chip integrates multiple processors such as a central processing unit (CPU), a graphics processing unit (GPU), a field programmable gate array (FPGA) and an integrated circuit (ASIC), the system chip has a high computing power and can be used to control a variety of basic functions of the vehicle.

[0075] Specifically, the system chip on the HUT can run the QNX system and the Android system. The QNX system in the system chip can be configured to run the basic functions of the HUT. Specifically, the basic functions running in the QNX system may include but are not limited to controlling the display content of the instrument panel, controlling the display content of the head-up display device on the vehicle, controlling the air-conditioning system in the vehicle, and assisted driving functions. The Android system in the system chip can be connected to the Ethernet. Therefore, the Android system in the system chip can be used to control the entertainment system in the car, and can also provide users with in-vehicle network services such as Wi-Fi hotspots and Bluetooth connections. Furthermore, in order to avoid network intrusion incidents in the Android system, the Android system in the system chip can be installed with an Ethernet security component. Specifically, the Ethernet security component in the Android system can be used to perform anomaly detection on all Ethernet messages received by the HUT according to the Ethernet detection algorithm pre-set by the R&D personnel to generate a first security event.

[0076] Since the Android system installed in the Ethernet security component that communicates with the server and the QNX system that performs basic functions in the HUT in the intrusion detection and prevention system provided by the present embodiment are in different operating systems, the intrusion detection and prevention system provided by the present embodiment can effectively avoid the exposure risk caused by the communication process of the intrusion detection and prevention system, so that the intrusion detection and prevention system will not affect the normal operation of the basic functions of the HUT. In addition, since the Ethernet security component and the basic functions of the HUT belong to different systems, it is possible to effectively avoid the two from competing for system resources, thereby ensuring the detection stability of the intrusion detection and prevention system and the normal operation of the basic functions of the HUT.

[0077] Reference Figure 2 , shows a specific structural diagram of an Ethernet security component provided by an embodiment of the present application. Figure 2 As shown, the Ethernet security component may include a network detection unit, a host detection unit, a log management unit, a first node communication unit and a server communication unit.

[0078] In one possible implementation, the network detection unit in the Ethernet security component can be used to perform anomaly detection on all Ethernet messages received by the HUT according to the Ethernet detection algorithm pre-set by the R&D personnel. Specifically, the Ethernet detection algorithm in the network detection unit may include but is not limited to a behavior detection model, a detection algorithm based on a rule base, a machine learning detection algorithm, a traffic analysis tool, a feature detection model, a deep packet detection model, and the like, which are used to generate security events based on Ethernet messages. After the network detection unit generates a first security event corresponding to an Ethernet message through the Ethernet detection algorithm, the generated first security event can be sent to the first node communication unit in the Ethernet component, so as to send the generated first security event to the server communication unit through the first node communication unit. After receiving the first security event sent by the first node communication unit, the server communication unit can send the first security event to the server where the cloud platform is located.

[0079] Exemplarily, after acquiring the Ethernet message, the network detection unit can input the acquired Ethernet message into the behavior detection model. Among them, the behavior detection model in the network detection unit can be modeled by R&D personnel based on the Ethernet message in the normal state and the system behavior of the Android system in the normal state. The behavior detection model can identify whether the current Android system is in the normal state of system behavior based on the input Ethernet message, and generate a first security event. For another example, after acquiring the Ethernet message, the network detection unit can input all Ethernet messages received within a preset time period into the feature detection model. The feature detection model can perform feature analysis on all received Ethernet messages to identify the source, destination, size, type and other key features of all Ethernet messages within the preset time period, and generate a first security event based on the identified key features.

[0080] For another example, after acquiring the Ethernet message, the network detection unit can input the acquired Ethernet message into the deep packet inspection model. The deep packet inspection model can generate a first security event based on the message content in the Ethernet message. It should be noted that the Ethernet detection algorithm in the network detection unit can be any algorithm known to those skilled in the art that can perform flow detection on data packets in the Ethernet and identify network attacks, and the embodiments of the present application are not used to specifically limit the Ethernet detection algorithm.

[0081] In one possible implementation, the host detection unit in the Ethernet security component can be used to detect and defend against security events such as malicious files at the host level and system anomalies caused by improper user operations. The host detection unit obtains the log information of the HUT according to the detection cycle preset by the R&D personnel. The log information obtained by the host detection unit may include but is not limited to the host log of the HUT obtained from the system log library of the HUT and the application log of some vehicle-mounted applications pre-specified by the R&D personnel in the Android system. After obtaining the log information, the host detection unit can input the obtained log information into the feature algorithm preset by the R&D personnel to generate a second security event corresponding to the log information through the feature algorithm.

[0082] Specifically, the feature algorithm in the host detection unit can be any feature algorithm known to those skilled in the art, such as a feature-based detection algorithm, an abnormal statistics-based detection algorithm, a state protocol analysis detection algorithm, and the application embodiment is not used to specifically limit the feature algorithm in the host detection unit. Exemplarily, the feature algorithm can perform jailbreak detection, illegal application uninstallation and installation detection, and other detections based on the acquired log information, and generate a second security event. After the host detection unit generates the second security event corresponding to the log information through the feature algorithm, the generated second security event can be generated in the first node communication unit in the Ethernet component. The first node communication unit can send the received second security event to the server communication unit in the Ethernet component. After receiving the second security event sent by the first node communication unit, the server communication unit can send the second security event to the server where the cloud platform is located.

[0083] In a possible implementation, the log management unit in the Ethernet security component can be used to obtain the sixth security event generated by the vehicle-mounted application in the Android system. Specifically, the log management unit can provide an event writing interface for each vehicle-mounted application in the Android system. During the operation of the vehicle-mounted application, after the vehicle-mounted application generates the sixth security event, such as security events such as application store certificate verification failure and DNS resolution failure, the vehicle-mounted application can call the log management unit through the event writing interface. The log management unit can write the generated sixth security event to the shared storage space shared by the Android system and the QNX system on the system chip according to the storage path preset by the R&D personnel. Specifically, the shared storage space on the system chip can be deployed on the Android system on the system chip. The log management unit can obtain the sixth security event from the shared storage space regularly according to the collection cycle preset by the R&D personnel, and send the obtained sixth security event to the server communication unit, so as to send the sixth security event to the server where the cloud platform is located through the server communication unit. Exemplarily, the log management unit can obtain the sixth security event from the shared storage space every hour, and send the obtained sixth security event to the server through the server communication unit.

[0084] See also Figure 3 , shows a schematic diagram of the specific structure of a HUT in an intrusion detection and prevention system provided by an embodiment of the present application. Figure 3 As shown, a system chip and a microcontroller unit (MCU) may be deployed on the HUT. Among them, a second LAN security component may be installed on the microcontroller. Since the system chip on the HUT may run an Android system and a QNX system, and since the Android system in the system chip may be connected to Ethernet, an Ethernet security component may be installed in the Android system, and a first LAN security component may be installed in the QNX system.

[0085] See also Figure 4 , which shows a schematic diagram of an intrusion detection and defense method provided by an embodiment of the present application. The above-mentioned intrusion detection and defense method can be applied to Figure 3The intrusion detection and prevention system shown. The intrusion detection and prevention system may specifically include an Ethernet security component, a first LAN security component, and a second LAN security component installed in the HUT. Among them, the Ethernet security component may be installed in the Android system of the system chip on the HUT, the first LAN security component may be installed in the QNX system of the system chip on the HUT, and the second LAN security component may be installed in the microcontroller on the HUT. The above-mentioned intrusion detection and prevention method may specifically include the following steps:

[0086] S401. The second LAN security component performs anomaly detection on a received LAN message based on a preset vehicle communication detection algorithm to generate a fourth security event, and sends the fourth security event to the first LAN security component through a preset first link.

[0087] In this embodiment, the second LAN security component installed on the HUT microcontroller can continuously obtain the LAN messages (Controller Area Network massage, CAN Massage) received by the microcontroller, and perform abnormal detection on the received LAN messages according to the vehicle communication detection algorithm preset by the R&D personnel to generate a fourth security event.

[0088] Specifically, the vehicle communication detection algorithm may include a security event mapping table. The security event mapping table in the first LAN security component may include a plurality of different fourth security events and the message content corresponding to each fourth security event. After acquiring the LAN message on the microcontroller, the vehicle communication detection algorithm may query the security event mapping table in the first LAN security component according to the message content in the LAN message to generate a fourth security event corresponding to the LAN message. Exemplarily, the fourth security event generated by the second LAN security component may include but is not limited to security events such as key update events and verification failure events. After generating the fourth security event, the second LAN security component may send the generated fourth security event to the QNX system of the system chip through the first link. Specifically, the first link may be a communication link between the second LAN security component and the first LAN security component on the QNX system, and the second LAN security component may send the generated fourth security event to the first LAN security component in the QNX system through the first link.

[0089] S402. The first LAN security component generates a third security event based on the firewall information of the QNX system and a preset security event mapping table, receives a fourth security event sent by the second LAN security component through the first link, and stores the third security event and the fourth security event in a shared storage space of the system chip.

[0090] In this embodiment, since the Android system in the HUT system chip is connected to Ethernet, and the QNX system in the HUT system chip and the microcontroller in the HUT can be connected to the vehicle's local area network, a firewall can be installed on the QNX system in the system chip. The first local area network security component continuously obtains firewall information on the QNX system and local area network messages received by the QNX system. Specifically, the firewall information obtained by the first local area network security component may include but is not limited to firewall status information, firewall logs and other information. The first local area network security component can query the security event mapping table in the QNX system based on the obtained firewall information and the message content in the local area network message received by the QNX system, and generate a third security event corresponding to the QNX system. Among them, the security event mapping table in the QNX system may include multiple different third security events, and the message content or firewall information corresponding to each third security event.

[0091] At the same time, the first LAN security component can also receive the fourth security event sent by the second LAN security component through the first link. After obtaining the third security event and the fourth security event, the first LAN security component can perform format conversion on the third security event and the fourth security event to convert the format of the third security event and the fourth security event into a format that can be recognized by the log management unit of the Ethernet security component in the Android system. After completing the format conversion, the first LAN security component can write the format-converted third security event and the fourth security event into the shared storage space in the Android system.

[0092] S403. The Ethernet security component obtains the third security event and the fourth security event from the shared storage space based on a preset collection period, and sends the third security event, the fourth security event, the second security event and the first security event to the server.

[0093] In this embodiment, the log management unit in the Ethernet security component can periodically obtain the third security event, the fourth security event, and the sixth security event from the shared storage space according to the collection cycle pre-set by the R&D personnel, and the log management unit can send the obtained third security event, the fourth security event, and the sixth security event to the server communication unit, so as to send the third security event, the fourth security event, and the sixth security event to the server where the cloud platform is located through the server communication unit. The server communication unit can send the third security event, the fourth security event, and the sixth security event sent by the log management unit to the server, as well as the first security event and the second security event sent by the node management unit.

[0094] In this embodiment, the security log management unit in the Ethernet security component can summarize the security events that occur on the QNX system and the microcontroller, and send the summarized security events to the server. Therefore, the intrusion detection and prevention system provided by this embodiment uploads security events to the server through the QNX system, which can save system resources of the QNX system. In addition, the intrusion detection and prevention system provided by this embodiment can also ensure the network security of the QNX system and the microcontroller, and improve security.

[0095] See also Figure 5 , shows a specific structural diagram of another intrusion detection and defense system provided by an embodiment of the present application. Figure 5 As shown, Figure 3 In contrast, the intrusion detection and prevention system in the embodiment of the present application may include a HUT and at least one Ethernet controller. In the present embodiment, since the Ethernet controller on the vehicle can be connected to the Ethernet security component on the HUT and send security events to the server through the Ethernet security component on the HUT, the method provided in the present embodiment can enable the intrusion detection and prevention system to successfully complete intrusion detection without hardware upgrades of Ethernet controllers such as TBOX, and ensure detection stability, thereby saving vehicle costs.

[0096] Specifically, Figure 6 A schematic diagram of another intrusion detection and defense method provided by an embodiment of the present application is shown. Figure 6 As shown, the above intrusion detection and defense method can be applied to Figure 5 Intrusion detection and prevention system shown.

[0097] S601. The Ethernet controller performs anomaly detection on a received Ethernet message based on an Ethernet detection algorithm to generate a fifth security event; and sends the fifth security event to an Ethernet security component in the HUT through a preset fourth link.

[0098] In this embodiment, see Figure 7 , shows a specific structural diagram of an Ethernet controller provided by an embodiment of the present application. Figure 7As shown, a second node communication unit, a security log management unit, a network detection unit and a host detection unit may be installed in the Ethernet controller. The Ethernet controller may perform abnormal detection on the log information on the Ethernet controller and all Ethernet messages received by the Ethernet controller itself through the security log management unit, the network detection unit and the host detection unit to generate a fifth security event. The specific detection methods of the security log management unit, the network detection unit and the host detection unit in the Ethernet controller are respectively the same as the specific detection methods of the security log management unit, the network detection unit and the host detection unit on the Ethernet security component of the HUT. Please refer to the relevant content in the Ethernet security component, which will not be repeated here. The second node communication unit in the Ethernet controller can be used to send the fifth security event generated in the Ethernet controller to the Ethernet security component in the HUT.

[0099] In a possible implementation, the Ethernet controller in the intrusion detection and prevention system may include a first Ethernet controller and n second Ethernet controllers. Wherein, n may be a positive integer greater than or equal to 1. Specifically, the first Ethernet controller may be a central gateway (Connectivity Control Unit, CCU) in the vehicle. The second Ethernet controller may be other Ethernet controllers in the vehicle except the central gateway. Exemplarily, the second Ethernet controller may be a controller such as a TBOX, an autonomous driving domain controller IDC, an electronic control unit ECU, etc. in the vehicle.

[0100] See also Figure 8 , shows a specific structural diagram of another intrusion detection and defense system provided by an embodiment of the present application. Figure 8 As shown, Figure 5 In comparison, the intrusion detection and prevention system in the embodiment of the present application may include a HUT, a first Ethernet controller and n second Ethernet controllers.

[0101] In the intrusion detection and prevention system, a fourth link may be connected between the first node communication unit in the Ethernet security component and the second node communication unit in the first Ethernet controller; a fifth link may be connected between the second node communication unit on the first Ethernet controller and the second node communication units on each second Ethernet controller. Specifically, after the second Ethernet controller generates a fifth security event, the second node communication unit on the second Ethernet controller may transmit the generated fifth security event to the second node communication unit of the first Ethernet controller through the fifth link.

[0102] The second node communication unit on the first Ethernet controller can receive the fifth security event sent by all the second Ethernet controllers on the vehicle through the fifth link. Then, the second node communication unit on the first Ethernet controller can transmit all the fifth security events to the Ethernet security component in the HUT through the fourth link. Specifically, the second node communication unit on the first Ethernet controller can send the fifth security event to the Ethernet security component of the HUT according to the transmission protocol pre-set by the R&D personnel. Exemplarily, the transmission protocol can be a private protocol based on TCP / IP or a SOMEIP protocol.

[0103] In one possible implementation, since the first Ethernet controller is the central gateway on the vehicle, all LAN messages on the vehicle need to pass through the first Ethernet controller. In order to further ensure the network security of the LAN, a LAN detection component may also be installed on the first Ethernet controller. The first Ethernet controller may perform abnormality detection on the message identifiers of all received LAN messages through the LAN detection component to prevent the intrusion of abnormal messages. The LAN detection component on the first Ethernet controller may also perform abnormality detection on the data length of the LAN message to prevent the intrusion of unreasonable messages. The LAN detection component on the first Ethernet controller may also perform security monitoring on the period of periodic LAN messages to prevent the intrusion of unreasonable periodic messages.

[0104] S602. The Ethernet security component on the HUT receives the fifth security event sent by the first Ethernet controller through the fourth link, and sends the first security event, the second security event, the third security event, the fourth security event and the fifth security event to the server.

[0105] In this embodiment, the specific method by which the Ethernet security component sends the first security event, the second security event, the third security event, the fourth security event, the fifth security event and the sixth security event to the server is the same as the specific method in the first method embodiment S404 of the present application. Readers can refer to the content of the first method embodiment S404 to understand this embodiment, and will not repeat it here.

[0106] In a possible implementation, the server communication unit in the Ethernet security component can also receive policy information sent by the server where the cloud platform is located. After receiving the policy information sent by the server, the Ethernet security component can update the Ethernet detection algorithm in the network detection unit and / or the feature detection algorithm in the host detection unit according to the policy information. After receiving the policy information, the Ethernet security component can also send the received policy information to the first node communication unit of the Ethernet security component. After receiving the policy information sent by the server communication unit, the first node communication unit can send the policy information to the second node communication unit of the first Ethernet controller. After receiving the policy information, the first Ethernet controller can update the Ethernet detection algorithm in the network detection unit and / or the feature detection algorithm in the host detection unit according to the received policy information, and send the policy information to each second Ethernet controller through the second node communication unit to synchronously update the network detection unit and / or the host detection unit on each second Ethernet controller.

[0107] Among them, the policy information sent by the server can be used to update the Ethernet detection algorithm for abnormal detection of Ethernet messages and the feature algorithm for abnormal detection of log information. The policy information sent by the server can also be a patch data packet fed back by the server based on the received security event, and the HUT can update the vehicle-mounted application according to the received patch data packet. The policy information can also be used to update the firewall in the QNX system, the security event mapping table of the first LAN security component in the QNX system, and the vehicle-mounted communication detection algorithm of the second LAN security component in the microcontroller.

[0108] In one possible implementation, before receiving the policy information sent by the server and / or uploading the security event to the server, the server communication unit in the Ethernet security component can obtain the public key certificate and decryption key corresponding to the vehicle through the calling interface of the trusted execution environment (TEE) pre-set by the R&D personnel, and perform two-way authentication with the server where the cloud platform is located based on the obtained public key certificate and decryption key. If the two-way authentication passes, the server communication unit in the Ethernet security component can receive the policy information sent by the server and / or upload the security event to the server. If the two-way authentication fails, the server communication unit in the Ethernet security component may not receive the policy information sent by the server and / or may not upload the security event to the server.

[0109] In a possible implementation, the specific steps of the server communication unit and the server performing two-way authentication can be described as follows. After obtaining the public key certificate and the decryption key, the server communication unit can generate a connection request based on the obtained public key certificate, and send the generated connection request to the server. After receiving the connection request sent by the server communication unit, the server sends an authentication request to the server communication unit. After receiving the authentication request, the server communication unit can verify the received authentication request based on the decryption key, generate a first verification result, and send the first verification result to the server. At the same time, the server can verify the server communication unit based on the public key certificate in the received connection request, generate a second verification result, and send the generated second verification result to the server communication unit.

[0110] The server communication unit may determine whether the received second verification result and the generated first verification result are both verified. If the second verification result and / or the first verification result are verified to be unsuccessful, the server communication unit may not receive the policy information sent by the server and / or may not send a security event to the server. If the second verification result and the first verification result are both verified to be successful, the server communication unit may receive the policy information sent by the server and / or send a security event to the server.

[0111] Through the method provided by this embodiment, the server communication unit in the Ethernet security component can perform two-way authentication with the server before receiving policy information and sending security events. Therefore, the method provided by this embodiment can ensure the authenticity of security events and policy information to avoid reporting of false security events or issuing of false security policies.

[0112] In a possible implementation, when uploading a security event, the server communication unit in the Ethernet security component can also obtain the vehicle identification corresponding to the current vehicle according to the storage path preset by the R&D personnel. After obtaining the vehicle identification, the server communication unit can transmit the security event and the vehicle identification to the server where the cloud platform is located. Among them, the security event uploaded by the server communication unit can be any one or more of the first security event, the second security event, the third security event, the fourth security event, the fifth security event, and the sixth security event. After receiving the security event, the server can determine the vehicle that uploaded the security event according to the vehicle identification.

[0113] Specifically, Fig. 9 As shown, a schematic diagram of a vehicle identification writing process provided by an embodiment of the present application is shown. Fig. 9When the vehicle is offline, the R&D personnel can initiate an identification write instruction to the microcontroller on the HUT through the End of Line Testing Tool (EOL). In response to the identification write instruction initiated by the EOL, the HUT can enter the expansion mode. In the expansion mode, the HUT can perform security authentication with the EOL through the security authentication algorithm pre-set by the R&D personnel. If the security authentication fails, the EOL cannot write the vehicle identification to the HUT. If the security authentication passes, the EOL can send the vehicle identification (Vehicle Identification Number, VIN) corresponding to the current vehicle to the microcontroller on the HUT to write the vehicle identification to the HUT. The EOL can continue to determine whether the vehicle identification is written successfully. If the writing is successful, the EOL can stop executing the identification write operation; if the writing is unsuccessful, the EOL can continue to send the vehicle identification to the microcontroller on the HUT until the vehicle identification is written successfully.

[0114] like Fig.10 As shown, a schematic diagram of a transmission process in a HUT provided in an embodiment of the present application is shown. Fig.10 As shown, the microcontroller on the HUT can respond to the identification write instruction initiated by the EOL, and transmit the vehicle identification carried in the identification write instruction to the QNX system of the system chip through the second link preset by the R&D personnel. Among them, the second link is the communication link between the microcontroller and the QNX system in the system chip. The QNX system in the system chip can receive the vehicle identification sent by the microcontroller through the second link. After receiving the vehicle identification, the QNX system can transmit the vehicle identification to the Android system of the system chip through a preset third link. Among them, the third link is the communication link between the QNX system in the system chip and the Android system. The Android system in the system chip can receive the vehicle identification sent by the QNX system through the third link, and store the received vehicle identification according to the storage path preset by the R&D personnel, so that when the server communication unit in the Ethernet security component sends a security event, it can obtain the vehicle identification according to the storage path, and send the security event and the vehicle identification to the server together.

[0115] Through the method provided in this embodiment, when the Ethernet security component sends a security event to the server, it can also send the vehicle identification corresponding to the vehicle to the server, so that the server can determine the specific vehicle corresponding to each security event based on the vehicle identification.

[0116] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0117] Reference Fig.11 , shows a schematic diagram of a vehicle-mounted terminal provided by an embodiment of the present application. Fig.11 As shown, the vehicle terminal 1100 in the embodiment of the present application includes: a processor 1110, a memory 1120, and a computer program 1121 stored in the memory 1120 and executable on the processor 1110. When the processor 1110 executes the computer program 1121, the steps in each embodiment of the above-mentioned intrusion detection and defense method are implemented, such as Figure 4 Alternatively, when the processor 1110 executes the computer program 1121, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 The Ethernet security component, the first local area network security component and the second local area network security component are shown.

[0118] Exemplarily, the computer program 1121 may be divided into one or more modules / units, which are stored in the memory 1120 and executed by the processor 1110 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which may be used to describe the execution process of the computer program 1121 in the vehicle terminal 1100. For example, the computer program 1121 may be divided into an Ethernet security component, a first LAN security component, and a second LAN security component.

[0119] The vehicle terminal 1100 may be the HUT and / or Ethernet controller in the above-mentioned embodiments. The vehicle terminal 1100 may include, but is not limited to, a processor 1110 and a memory 1120. Those skilled in the art will appreciate that Fig.11 It is only an example of the vehicle-mounted terminal 1100 and does not constitute a limitation of the vehicle-mounted terminal 1100. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the vehicle-mounted terminal 1100 may also include input and output devices, network access devices, buses, etc.

[0120] The processor 1110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0121] The memory 1120 may be an internal storage unit of the vehicle-mounted terminal 1100, such as a hard disk or memory of the vehicle-mounted terminal 1100. The memory 1120 may also be an external storage device of the vehicle-mounted terminal 1100, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the vehicle-mounted terminal 1100. Further, the memory 1120 may also include both an internal storage unit of the vehicle-mounted terminal 1100 and an external storage device. The memory 1120 is used to store the computer program 1121 and other programs and data required by the vehicle-mounted terminal 1100. The memory 1120 may also be used to temporarily store data that has been output or is to be output.

[0122] An embodiment of the present application also discloses a vehicle-mounted terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the intrusion detection and defense method described in the aforementioned embodiments is implemented.

[0123] The embodiments of the present application further disclose a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the intrusion detection and defense method as described in the above embodiments is implemented.

[0124] The embodiments of the present application further disclose a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the intrusion detection and defense methods described in the aforementioned embodiments.

[0125] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. An intrusion detection and prevention system, characterized in that: The intrusion detection and prevention system includes a vehicle intelligent cockpit domain controller HUT; the system chip on the HUT runs a QNX system and an Android system; an Ethernet security component is installed in the Android system; The Ethernet security component is configured to: perform anomaly detection on the received Ethernet message based on a preset Ethernet detection algorithm, generate a first security event, and send the first security event to the server; The QNX system is configured to run the basic functions of the HUT.

2. The intrusion detection and prevention system according to claim 1, characterized in that: The Ethernet security component is further configured to: obtain log information of the HUT based on a preset detection period; Inputting the log information into a preset feature algorithm to generate a second security event corresponding to the log information; The first security event and the second security event are sent to a server.

3. The intrusion detection and prevention system according to claim 1, characterized in that: A first local area network security component is installed in the QNX system; The first LAN security component is configured to: generate a third security event based on the firewall information of the QNX system and a preset security event mapping table; Storing the third security event in a shared storage space in the system chip; The Ethernet security component is further configured to: obtain the third security event from the shared storage space based on a preset collection period; The third security event and the first security event are sent to the server.

4. The intrusion detection and prevention system according to claim 3, characterized in that: The HUT further comprises a microcontroller; the microcontroller is equipped with a second LAN security component; The second LAN security component is configured to: perform anomaly detection on the received LAN message based on a preset vehicle communication detection algorithm to generate a fourth security event; Sending the fourth security event to the first local area network security component via a preset first link; The first link is a communication link between the first LAN security component and the second LAN security component; The first LAN security component is further configured to: receive the fourth security event sent by the second LAN security component through the first link; Storing the third security event and the fourth security event in a shared storage space of the system chip; The Ethernet security component is further configured to: acquire the third security event and the fourth security event from the shared storage space based on a preset acquisition period; The third security event, the fourth security event and the first security event are sent to the server.

5. The intrusion detection and prevention system according to claim 4, characterized in that: The Ethernet security component is configured to: send the third security event, the fourth security event and the first security event to the server, including: The Ethernet security component is configured to: obtain a public key certificate and a decryption key corresponding to the vehicle through a calling interface of a trusted execution environment; Generate a connection request based on the public key certificate, and send the connection request to the server; Receiving an authentication request sent by the server; Verify the authentication request based on the decryption key, generate a first verification result, and send the first verification result to the server; receiving a second verification result generated by the server based on the connection request; If both the first verification result and the second verification result are verified to be passed, the first security event, the third security event and the fourth security event are transmitted to the server.

6. The intrusion detection and prevention system according to claim 5, characterized in that: The microcontroller on the HUT is further configured to: respond to an identification write instruction; The vehicle identification carried in the identification writing instruction is transmitted to the QNX system of the system chip through a preset second link; the second link is a communication link between the microcontroller and the QNX system in the system chip; The QNX system is configured to: receive the vehicle identification via the second link; The vehicle identification is transmitted to the Android system of the system chip through a preset third link; the third link is a communication link between the QNX system in the system chip and the Android system; The Android system is configured to: receive and store the vehicle identification through the third link; The Ethernet security component is configured to: if the first verification result and the second verification result are both verified to be passed, transmit the first security event, the third security event, the fourth security event and the vehicle identification corresponding to the vehicle to the server.

7. The intrusion detection and prevention system according to any one of claims 1 to 6, characterized in that: The security detection and defense system also includes at least one Ethernet controller; The Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate a fifth security event; Sending the fifth security event to the Ethernet security component in the HUT via a preset fourth link; the fourth link is a communication link between the Ethernet controller and the Ethernet security component in the HUT; The Ethernet security component is further configured to: receive the fifth security event sent by the Ethernet controller through the fourth link; The first security event and the fifth security event are sent to the server.

8. The intrusion detection and prevention system according to claim 7, characterized in that: The at least one Ethernet controller includes a first Ethernet controller and at least one second Ethernet controller; the first Ethernet controller is a central gateway controller in the vehicle; the second Ethernet controller is another Ethernet electronic controller in the vehicle except the central gateway controller; The second Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate the fifth security event; sending the fifth security event to the first Ethernet controller via a preset fifth link; the fifth link is a communication link between the first Ethernet controller and the second Ethernet controller; The first Ethernet controller is configured to: perform anomaly detection on the received Ethernet message based on the Ethernet detection algorithm to generate the fifth security event; receiving, through the fifth link, all the fifth security events sent by the second Ethernet controller; All the fifth security events are sent to the Ethernet security component on the HUT via the fourth link.

9. The intrusion detection and prevention system according to claim 8, characterized in that: The Ethernet security components on the HUT are also configured to: Receiving policy information sent by the server; the policy information is used to update the Ethernet detection algorithm; sending the policy information to the first Ethernet controller; The first Ethernet controller is further configured to: receive the policy information sent by the Ethernet security component in the HUT; The policy information is sent to all the second Ethernet controllers.

10. A vehicle, characterized in that: The vehicle comprises an intrusion detection and prevention system as described in any one of claims 1-8.