An AI-based intrusion kernel defense system

By introducing AI technology into the kernel defense system, including intelligent monitoring, decision-making response and learning adaptation modules, and optimizing the detection algorithm, the problem of insufficient detection capabilities of new intrusion methods in the existing technology has been solved, and the protection capabilities of the kernel have been significantly improved.

CN118364459BActive Publication Date: 2024-08-23GLOBALTOUR GROUP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410798971.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-08-23
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

The existing kernel defense system lacks learning capabilities and is difficult to effectively detect and defend against new intrusion methods, resulting in insufficient kernel protection capabilities.

Method used

An AI-based intrusion kernel defense system is designed, including an intelligent monitoring module, a decision response module, an analysis recovery module and a learning adaptation module. Through intelligent monitoring, real-time decision-making, in-depth analysis and feature learning and other technical means, the detection algorithm is optimized and improved Detection capabilities.

Benefits of technology

By monitoring and analyzing resources and underlying services, abnormal processes are detected, and through learning and optimization of actual cases, detection capabilities are improved and the kernel is protected more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364459B
    Figure CN118364459B
Patent Text Reader

Abstract

The present invention provides an AI-based intrusion kernel defense system, which relates to the field of electrical digital data processing, and includes an intelligent monitoring module, a decision response module, an analysis and recovery module, and a learning and adaptation module. The intelligent monitoring module is used to intelligently monitor processes and detect processes that invade the kernel, the decision response module is used to generate and execute response strategies for abnormal processes, the analysis and recovery module is used to analyze historical operations of the processes and repair system content that has been modified due to intrusion, and the learning and adaptation module is used to learn actual cases and optimize detection algorithms. The system can continuously perform self-learning during the process of detecting processes that invade the kernel, thereby improving detection capabilities and protecting system security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic digital data processing, and in particular to an AI-based intrusion kernel defense system. Background Art

[0002] The kernel is the most important part of a system and needs to be protected. In the existing technology, the kernel is usually protected by rule setting. This method can detect common intrusion methods, but the detection ability of new intrusion methods is insufficient. Therefore, a defense system that can learn intelligently is needed to continuously improve the protection ability of the kernel.

[0003] The foregoing discussion of the background art is intended only to facilitate an understanding of the present invention. This discussion does not acknowledge or admit that any of the material referred to is part of the common general knowledge.

[0004] Many kernel defense systems have been developed. After a lot of searching and reference, it is found that the existing kernel defense systems include the system disclosed in the publication number CN114465774B. The general methods of these systems include: obtaining the network data packet of the service message of the access server node in the network namespace to which the target container set belongs through the kernel-state intrusion defense module; sending the ID of the network namespace to the kernel-state intrusion defense module through the user-state intrusion defense program; sending the network data packet and the corresponding network namespace ID to the user-state intrusion defense program; obtaining the corresponding protection rule set according to the ID of the network namespace through the user-state intrusion defense program, matching the network data packet with the protection rule set, and sending the judgment result determined based on the matching result to the kernel-state intrusion defense module; but the system adopts the method of matching the protection rule set to detect the intrusion behavior and defend, lacks learning ability, and has insufficient defense ability against new intrusion methods. Summary of the invention

[0005] The purpose of the present invention is to propose an AI-based intrusion kernel defense system to address the existing deficiencies.

[0006] The present invention adopts the following technical solution:

[0007] An AI-based intrusion kernel defense system, including an intelligent monitoring module, a decision response module, an analysis and recovery module, and a learning and adaptation module;

[0008] The intelligent monitoring module is used to intelligently monitor the process and detect the process that invades the kernel, the decision response module is used to generate and execute a response strategy for the abnormal process, the analysis and recovery module is used to analyze the historical operation of the process and repair the system content modified due to the invasion, and the learning and adaptation module is used to learn from actual cases and optimize the detection algorithm;

[0009] The intelligent monitoring module includes a resource monitoring unit, a service monitoring unit and an intelligent detection unit. The resource monitoring unit is used to monitor system resources, the service monitoring unit is used to monitor the call status of the underlying service, and the intelligent detection unit is used to analyze the interaction between the process and the system resources and the underlying service and detect abnormal processes;

[0010] The decision response module includes a real-time decision unit and a response execution unit, wherein the real-time decision unit is used to generate a corresponding decision for the abnormal process, and the response execution unit is used to execute specific decision content;

[0011] The analysis and recovery module includes a depth analysis unit and a content restoration unit, wherein the depth analysis unit is used to perform a depth analysis on the historical call status of the process, and the content restoration unit is used to restore the system content destroyed by the process;

[0012] The learning adaptation module includes a case archiving unit, a feature learning unit and an optimization adjustment unit. The case archiving unit is used to archive the cases of intrusion kernels, the feature learning unit is used to learn intrusion features from the archived cases, and the optimization adjustment unit adjusts and optimizes the detection algorithm based on the intrusion features.

[0013] Further, the intelligent detection unit includes an abnormality detection processor, a service locking processor and a process locking processor, the abnormality detection processor is used to detect abnormal conditions of resources, the service locking processor locks the target service based on abnormal resources, and the process locking processor analyzes and locks the process that calls the target service;

[0014] Furthermore, the anomaly detection processor calculates the resource anomaly value Z of each type of resource according to the following formula:

[0015] ;

[0016] Among them, w is the resource weight value, x is the real-time utilization rate of the resource, is the average resource usage rate in the current window. is the standard deviation of resource usage in the current window, is a resource-sensitive value;

[0017] The anomaly detection processor calculates the anomaly threshold Yz according to the following formula:

[0018] ;

[0019] Where Y0 is the baseline threshold, is the safety factor, Indicates the standard deviation of resource outliers in the previous standard window;

[0020] When the resource abnormality value is greater than the abnormality threshold, the abnormality detection processor determines that an abnormal state is detected;

[0021] Furthermore, the process locking processor obtains dependency data including the target service, and calculates the dependency rationality index Dp of the process according to the following formula:

[0022] ;

[0023] Where n is the length of the dependency line, f(i) represents the call frequency of the i-th underlying service on the dependency line, and h i The reasonable coefficient that indicates that the i+1th underlying service depends on the ith underlying service;

[0024] Further, the optimization and adjustment unit includes an attack unit integration processor and a coefficient adjustment processor, the attack unit integration processor is used to statistically integrate two underlying services with the same dependency relationship in the attack feature, and the coefficient adjustment processor optimizes the reasonable coefficient based on the integration result;

[0025] The coefficient adjustment processor adjusts the reasonable coefficient h according to the following formula:

[0026] ;

[0027] Among them, h' is the adjusted reasonable coefficient, A0 is the attack benchmark value, and Az is the attack integration value.

[0028] The beneficial effects achieved by the present invention are:

[0029] This system monitors and analyzes resources and underlying services to detect information about abnormal processes. It then collects and learns from actual cases to optimize and improve parameters during the detection process, further enhancing detection capabilities and better protecting the kernel.

[0030] To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the overall structural framework of the present invention;

[0032] Figure 2 This is a schematic diagram of the intelligent monitoring module of the present invention;

[0033] Figure 3 This is a schematic diagram of the learning adaptation module of the present invention;

[0034] Figure 4 This is a schematic diagram of the intelligent detection unit of the present invention;

[0035] Figure 5 This is a schematic diagram of the optimization and adjustment unit structure of the present invention. DETAILED DESCRIPTION

[0036] The following is an explanation of the embodiments of the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted according to actual sizes. It is stated in advance. The following embodiments will further explain the relevant technical contents of the present invention in detail, but the disclosed contents are not intended to limit the scope of protection of the present invention.

[0037] Embodiment 1: This embodiment provides an AI-based intrusion kernel defense system, combined with Figure 1 , including intelligent monitoring module, decision response module, analysis and recovery module and learning and adaptation module;

[0038] The intelligent monitoring module is used to intelligently monitor the process and detect the process that invades the kernel, the decision response module is used to generate and execute a response strategy for the abnormal process, the analysis and recovery module is used to analyze the historical operation of the process and repair the system content modified due to the invasion, and the learning and adaptation module is used to learn from actual cases and optimize the detection algorithm;

[0039] The intelligent monitoring module includes a resource monitoring unit, a service monitoring unit and an intelligent detection unit. The resource monitoring unit is used to monitor system resources, the service monitoring unit is used to monitor the call status of the underlying service, and the intelligent detection unit is used to analyze the interaction between the process and the system resources and the underlying service and detect abnormal processes;

[0040] The decision response module includes a real-time decision unit and a response execution unit, wherein the real-time decision unit is used to generate a corresponding decision for the abnormal process, and the response execution unit is used to execute specific decision content;

[0041] The analysis and recovery module includes a depth analysis unit and a content restoration unit, wherein the depth analysis unit is used to perform a depth analysis on the historical call status of the process, and the content restoration unit is used to restore the system content destroyed by the process;

[0042] The learning adaptation module includes a case archiving unit, a feature learning unit and an optimization adjustment unit. The case archiving unit is used to archive the cases of intrusion kernels, the feature learning unit is used to learn intrusion features from the archived cases, and the optimization adjustment unit adjusts and optimizes the detection algorithm based on the intrusion features.

[0043] The intelligent detection unit includes an abnormality detection processor, a service locking processor and a process locking processor. The abnormality detection processor is used to detect abnormal conditions of resources. The service locking processor locks the target service based on abnormal resources. The process locking processor analyzes and locks the process that calls the target service.

[0044] The anomaly detection processor calculates the resource anomaly value Z of each type of resource according to the following formula:

[0045] ;

[0046] Among them, w is the resource weight value, x is the real-time utilization rate of the resource, is the average resource usage rate in the current window. is the standard deviation of resource usage in the current window, is a resource-sensitive value;

[0047] The anomaly detection processor calculates the anomaly threshold Yz according to the following formula:

[0048] ;

[0049] Where Y0 is the baseline threshold, is the safety factor, Indicates the standard deviation of resource outliers in the previous standard window;

[0050] When the resource abnormality value is greater than the abnormality threshold, the abnormality detection processor determines that an abnormal state is detected;

[0051] The process lock processor obtains the dependency data including the target service and calculates the dependency rationality index Dp of the process according to the following formula:

[0052] ;

[0053] Where n is the length of the dependency line, f(i) represents the call frequency of the i-th underlying service on the dependency line, and h i The reasonable coefficient that indicates that the i+1th underlying service depends on the ith underlying service;

[0054] The optimization and adjustment unit includes an attack unit integration processor and a coefficient adjustment processor, wherein the attack unit integration processor is used to statistically integrate two underlying services with the same dependency relationship in the attack characteristics, and the coefficient adjustment processor optimizes the reasonable coefficient based on the integration result;

[0055] The coefficient adjustment processor adjusts the reasonable coefficient h according to the following formula:

[0056] ;

[0057] Among them, h' is the adjusted reasonable coefficient, A0 is the attack benchmark value, and Az is the attack integration value.

[0058] Embodiment 2: This embodiment includes all the contents of Embodiment 1, and provides an AI-based intrusion kernel defense system, including an intelligent monitoring module, a decision response module, an analysis and recovery module, and a learning and adaptation module;

[0059] The intelligent monitoring module is used to intelligently monitor the process and detect the process that invades the kernel, the decision response module is used to generate and execute a response strategy for the abnormal process, the analysis and recovery module is used to analyze the historical operation of the process and repair the system content that has been modified due to the intrusion, and the learning and adaptation module is used to learn from actual cases to optimize the detection algorithm;

[0060] Combination Figure 2 The intelligent monitoring module includes a resource monitoring unit, a service monitoring unit and an intelligent detection unit. The resource monitoring unit is used to monitor system resources, the service monitoring unit is used to monitor the call status of the underlying service, and the intelligent detection unit is used to analyze the interaction between the process and the system resources and the underlying service and detect abnormal processes;

[0061] The decision response module includes a real-time decision unit and a response execution unit, wherein the real-time decision unit is used to generate a corresponding decision for the abnormal process, and the response execution unit is used to execute specific decision content;

[0062] The analysis and recovery module includes a depth analysis unit and a content restoration unit, wherein the depth analysis unit is used to perform a depth analysis on the historical call status of the process, and the content restoration unit is used to restore the system content destroyed by the process;

[0063] Combination Figure 3 The learning adaptation module includes a case archiving unit, a feature learning unit and an optimization adjustment unit. The case archiving unit is used to archive the cases of the intrusion kernel, the feature learning unit is used to learn the intrusion features from the archived cases, and the optimization adjustment unit adjusts and optimizes the detection algorithm based on the intrusion features;

[0064] The resource monitoring unit includes a CPU monitoring processor, a memory monitoring processor and a disk monitoring processor, wherein the CPU monitoring processor is used to monitor the usage of the CPU, the memory monitoring processor is used to monitor the usage of the memory, and the disk monitoring processor is used to monitor the usage of the disk;

[0065] The service monitoring unit includes a call frequency statistics processor and a service dependency analysis processor, wherein the call frequency statistics processor is used to count the call frequencies of each underlying service, and the service dependency analysis processor is used to analyze the dependencies between the underlying services called by the same process for analysis;

[0066] Combination Figure 4 The intelligent detection unit includes an abnormality detection processor, a service locking processor and a process locking processor. The abnormality detection processor is used to detect abnormal conditions of resources. The service locking processor locks the target service based on abnormal resources. The process locking processor analyzes and locks the process that calls the target service.

[0067] The anomaly detection processor calculates the resource anomaly value Z of each type of resource according to the following formula:

[0068] ;

[0069] Among them, w is the resource weight value, x is the real-time utilization rate of the resource, is the average resource usage rate in the current window. is the standard deviation of resource usage in the current window, is a resource-sensitive value;

[0070] The anomaly detection processor calculates the anomaly threshold Yz according to the following formula:

[0071] ;

[0072] Where Y0 is the baseline threshold, is the safety factor, Indicates the standard deviation of resource outliers in the previous standard window;

[0073] The standard window refers to a pre-set fixed time period. Adjacent standard windows are seamlessly connected. The current window refers to the time period from the current time forward. The standard window and the current window have the same duration.

[0074] For example, if the current time is 1:30, the window duration is 1 hour, the standard windows are from 12:00 to 1:00 and from 1:00 to 2:00, and the current window is from 12:30 to 1:30;

[0075] When the resource abnormality value is greater than the abnormality threshold, the abnormality detection processor determines that an abnormal state is detected;

[0076] The service locking processor compares the underlying service that calls the abnormal resource with the underlying service in the normal state, screens out the newly added underlying services and sorts the underlying services according to the resource utilization rate, and locks several underlying services with the highest ranking as target services, and the number of target services is preset;

[0077] The process lock processor obtains the dependency data including the target service and calculates the dependency rationality index Dp of the process according to the following formula:

[0078] ;

[0079] Where n is the length of the dependency line, f(i) represents the call frequency of the i-th underlying service on the dependency line, and h i The reasonable coefficient that indicates that the i+1th underlying service depends on the ith underlying service;

[0080] The reasonable coefficient h is recorded in the coefficient table, h i According to the dependency relationship between the two underlying services, look up the corresponding value from the coefficient table;

[0081] The service dependency analysis processor obtains dependency tree information of the underlying service, and the process locking processor extracts part of the information from the dependency tree information to obtain dependency line information. The number of underlying services included in the dependency line is the length of the dependency line, and the nth underlying service in the dependency line is the target service;

[0082] The process locking processor relies on locking processes whose reasonable index is greater than a reasonable threshold as abnormal processes;

[0083] The real-time decision unit includes a freezing management processor, a restriction management processor and an isolation management processor, wherein the freezing management processor is used to record process information that needs to be frozen, the restriction management processor is used to record process information of resource restrictions, and the isolation management processor is used to record process information of access isolation;

[0084] The response execution unit includes a freeze execution processor, a restriction execution processor and an isolation execution processor, wherein the freeze execution processor is used to freeze the process in the freeze management processor, the restriction execution processor is used to perform resource restriction processing on the process in the restriction management processor, and the isolation execution processor is used to isolate the process in the isolation management processor;

[0085] The deep analysis unit includes a log parsing processor and an attack extraction processor, wherein the log parsing processor is used to obtain log information related to the abnormal process from the system log, and the attack extraction processor is used to extract all attack behaviors of the abnormal process from the obtained log information;

[0086] The content restoration unit includes an information comparison processor and an information restoration processor, wherein the information comparison processor is used to compare the target information before and after the attack, and the information restoration processor restores the changed target information to the information state before the attack;

[0087] The feature learning unit includes a dependency tree parsing processor and an attack feature extraction processor, wherein the dependency tree parsing processor is used to parse the dependency tree information of the archived case, and the attack feature extraction processor is used to extract the attack feature from the parsing result;

[0088] The dependency tree parsing processor quantifies the harm of each underlying service in the dependency tree to the system, and separates an attack unit from the dependency tree and sends it to the attack feature extraction processor, wherein the attack unit is composed of four underlying services, and the four underlying services in the attack unit are named first service, middle service, left service and right service, wherein the middle service depends on the first service, and the left service and the right service depend on the middle service;

[0089] The attack feature extraction processor calculates the attack index Atk of the attack unit according to the following formula:

[0090] ;

[0091] Among them, D i represents the correction coefficient of the i-th underlying service in the attack unit, dm i It represents the damage quantification value of the i-th underlying service in the attack unit;

[0092] Specifically, the first underlying service in the attack unit refers to the first service, the second underlying service refers to the middle service, the third underlying service refers to the left service, and the fourth underlying service refers to the right service;

[0093] The attack extraction processor uses the attack unit whose attack index is greater than the attack threshold and its attack index as the attack feature;

[0094] Combination Figure 5 The optimization and adjustment unit includes an attack unit integration processor and a coefficient adjustment processor. The attack unit integration processor is used to statistically integrate two underlying services with the same dependency relationship in the attack feature. The coefficient adjustment processor optimizes the reasonable coefficient based on the integration result.

[0095] The attack unit integration processor calculates the attack integration value Az according to the following formula:

[0096] ;

[0097] Among them, m is the number of attack features, Atk i represents the attack index in the ith attack feature, r i is the type coefficient;

[0098] When the dependency relationship between two underlying services belongs to the middle service depending on the first service in the attack signature, the type coefficient is 0.6; when the dependency relationship between two underlying services belongs to the left service or the right service depending on the middle service in the attack signature, the type coefficient is 0.4;

[0099] The coefficient adjustment processor adjusts the reasonable coefficient h according to the following formula:

[0100] ;

[0101] Among them, h' is the reasonable coefficient after adjustment, and A0 is the attack benchmark value;

[0102] The coefficient adjustment processor records the new reasonable coefficient in the coefficient table in the process locking processor;

[0103] The i appearing in the above text is an ordinal number used to indicate a sequence number.

[0104] The contents disclosed above are only preferred feasible embodiments of the present invention, and do not limit the protection scope of the present invention. Therefore, all equivalent technical changes made using the contents of the present invention specification and drawings are included in the protection scope of the present invention. In addition, the elements therein can be updated as technology develops.

Claims

1. An AI-based intrusion kernel defense system, It is characterized in that It includes intelligent monitoring module, decision response module, analysis and recovery module and learning and adaptation module; The intelligent monitoring module is used to intelligently monitor the process and detect the process that invades the kernel, the decision response module is used to generate and execute a response strategy for the abnormal process, the analysis and recovery module is used to analyze the historical operation of the process and repair the system content modified due to the invasion, and the learning and adaptation module is used to learn from actual cases and optimize the detection algorithm; The intelligent monitoring module includes a resource monitoring unit, a service monitoring unit and an intelligent detection unit. The resource monitoring unit is used to monitor system resources, the service monitoring unit is used to monitor the call status of the underlying service, and the intelligent detection unit is used to analyze the interaction between the process and the system resources and the underlying service and detect abnormal processes; The decision response module includes a real-time decision unit and a response execution unit, wherein the real-time decision unit is used to generate a corresponding decision for the abnormal process, and the response execution unit is used to execute specific decision content; The analysis and recovery module includes a depth analysis unit and a content restoration unit, wherein the depth analysis unit is used to perform a depth analysis on the historical call status of the process, and the content restoration unit is used to restore the system content destroyed by the process; The learning adaptation module includes a case archiving unit, a feature learning unit and an optimization adjustment unit. The case archiving unit is used to archive the cases of intrusion kernels, the feature learning unit is used to learn intrusion features from the archived cases, and the optimization adjustment unit adjusts and optimizes the detection algorithm based on the intrusion features. The intelligent detection unit includes an abnormality detection processor, a service locking processor and a process locking processor. The abnormality detection processor is used to detect abnormal conditions of resources. The service locking processor locks the target service based on abnormal resources. The process locking processor analyzes and locks the process that calls the target service. The anomaly detection processor calculates the resource anomaly value Z of each type of resource according to the following formula: ; Among them, w is the resource weight value, x is the real-time utilization rate of the resource, is the average resource usage rate in the current window. is the standard deviation of resource usage in the current window, is a resource-sensitive value; The anomaly detection processor calculates the anomaly threshold Yz according to the following formula: ; Among them, Y 0 is the baseline threshold, is the safety factor, Indicates the standard deviation of resource outliers in the previous standard window; Among them, the standard window refers to a pre-set fixed time period, and adjacent standard windows are seamlessly connected. The current window refers to a time period from the current time forward, and the standard window and the current window have the same length; When the resource abnormality value is greater than the abnormality threshold, the abnormality detection processor determines that an abnormal state is detected; The process lock processor obtains the dependency data including the target service and calculates the dependency rationality index Dp of the process according to the following formula: ; Where n is the length of the dependency line, f(i) represents the call frequency of the i-th underlying service on the dependency line, and h i A reasonable coefficient indicating that the i+1th underlying service depends on the ith underlying service.

2. The AI-based intrusion kernel defense system as claimed in claim 1, It is characterized in that The optimization and adjustment unit includes an attack unit integration processor and a coefficient adjustment processor, wherein the attack unit integration processor is used to statistically integrate two underlying services with the same dependency relationship in the attack characteristics, and the coefficient adjustment processor optimizes the reasonable coefficient based on the integration result; The coefficient adjustment processor adjusts the reasonable coefficient h according to the following formula: ; Among them, h' is the reasonable coefficient after adjustment, A 0 is the attack baseline value, and Az is the attack integration value.