Mimicry defense judgment method and device, equipment and storage medium

By combining real-time and historical security levels for multi-factor judgment, the problem of judgment errors of the existing mimic defense system in the case of common mode escape is solved, and the safety performance and reliability of the system are improved.

CN118694584APending Publication Date: 2024-09-24SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410783769.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing mimicry defense systems are difficult to effectively defend in the case of common model escape, especially when the maximum number of identical vulnerabilities is more than half, leading to judgment errors and system failure.

Method used

The mimic defense judgment method based on security situation awareness is used to make multi-factor judgments by combining the real-time safety and historical safety of the execution body. The unsupervised autoencoder learning model is used to evaluate the running status of the execution body and calculate the overall reliability coefficient to select The most reliable output results, and historical safety is updated to correct judgment errors.

Benefits of technology

It reduces the common-mode escape probability of the mimic defense system, improves the defense capability against unknown threats and common-mode escape, relaxes the requirements for heterogeneous structure, and improves the overall security performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694584A
    Figure CN118694584A
Patent Text Reader

Abstract

The invention discloses a mimicry defense judgment method and device, equipment and a storage medium, and belongs to the field of mimicry defense in a computer network security technology. The method comprises the following steps: aiming at a heterogeneous execution body of the mimicry defense system, collecting the running state of the execution body; after the mimicry defense system runs, state analysis is carried out on each execution body requested to be called, and the real-time security degree of the execution body is obtained; initializing the historical security degree of the executor; in the decision process of the mimicry defense system, performing multi-factor decision on the output result of the online executor in combination with the real-time security degree and the historical security degree of the executor to obtain the output result of the system; and updating the historical security degree of the executor. According to the method, the problem of judgment errors caused by common vulnerabilities under a traditional multi-selection judgment mechanism can be corrected, so that the defense capability of a mimicry defense system for unknown threats and common mode escape problems is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mimicry defense in computer network security technology, and in particular to a mimicry defense judgment method, device, equipment and storage medium. Background Art

[0002] With the rapid development of network communication technology, information systems running in open network environments are becoming increasingly complex. The amount of data carried is growing exponentially, the data sources are becoming richer, and the content is becoming more detailed, so cyberspace security faces many new challenges. Academician Wu Jiangxing of my country combined the dynamic nature of mobile target defense technology with the heterogeneous redundancy of N-variant systems, and proposed a cyberspace mimicry defense theory based on the dynamic heterogeneous redundancy (DHR) architecture. The working mechanism of the DHR architecture is to run multiple executive bodies with the same functions but different architectures at the same time to achieve parallel output results of multiple functions in the system, and select the correct results through mutual verification of parallel results to achieve the effect of blocking attacks and shielding general errors.

[0003] The existing mimicry defense system performs majority comparison on the processing results of n executors. If the output results of k (k>n / 2) executors are consistent, the consistent results of k executors are output based on the "relative correctness" axiom. If the maximum number of identical vulnerabilities is greater than k, the mimicry arbitrator cannot perceive the vulnerability threat and thus selects the wrong result for output, resulting in a common mode escape phenomenon.

[0004] At present, the common methods for defending against the common mode escape problem of the mimic defense system include the following: 1. Defense method based on maximizing the heterogeneity of online executors; 2. Defense method based on historical feedback results of the judge; 3. Defense method based on input network traffic detection. A brief introduction is as follows:

[0005] (1) Prior art 1: a defense method based on maximizing the heterogeneity of online executors.

[0006] Principle: During the scheduling process, a group of executors with the largest heterogeneity is selected from the redundant executor pool as the online executor set. Since the heterogeneity of online executors is the largest, the number of common vulnerabilities between multiple executors is the smallest. Under the mimic defense model, it is extremely difficult for attackers to simultaneously break through multiple executors with large heterogeneity. The greater the heterogeneity, the greater the difficulty of attack, and the stronger the system's defense capability against common mode attacks.

[0007] Disadvantages: In actual mimicry defense systems, the number of heterogeneous executors is limited, and it is almost impossible to achieve completely heterogeneous executors at the same time. Therefore, the defense method of maximizing heterogeneity is not effective when there are fewer heterogeneous executors.

[0008] (2) Prior art 2: Defense method based on historical feedback results of the judge.

[0009] Principle: At the end of the judgment, the historical judgment information of each executor is recorded, and the historical judgment information is used as the basis for the next judgment. Thus, the executor with a high historical judgment accuracy has a greater influence on the next judgment, achieving the effect of adaptive feedback control.

[0010] Disadvantages: Although the defense method based on the historical feedback results of the judge has a cumulative effect on correct judgment, once an attack occurs and a common mode escape occurs, it will also cause the cumulative effect of the escape event, thereby causing the system to fail completely.

[0011] (3) Existing technology three: defense method based on network traffic detection.

[0012] Principle: By constructing a heterogeneous executor output data set and training a deep learning anomaly detection model for quantification, the voting output accuracy of the mimic judge can be improved, and it has a certain common mode escape detection capability.

[0013] Disadvantages: With the increase of encrypted network traffic, anomaly detection based on network traffic is difficult to process and analyze malicious traffic on encrypted networks. At the same time, deploying traffic-based detection models may reduce the speed of network traffic, thereby reducing the service quality of the mimicry defense system. Summary of the invention

[0014] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the purpose of the present invention is to provide a mimicry defense judgment method, device, equipment and storage medium based on security situation awareness.

[0015] The first technical solution adopted by the present invention is:

[0016] A mimicry defense judgment method comprises the following steps:

[0017] For the heterogeneous executors of the mimicry defense system, the running status of the executors is collected;

[0018] When the mimic defense system is running, the status of each executable body called by the request is analyzed to obtain the real-time security of the executable body;

[0019] Initialize the historical safety of the executable;

[0020] In the judgment process of the mimic defense system, the output result of the online executor is judged by multiple factors in combination with the real-time security and historical security of the executor to obtain the output result of the system;

[0021] Update the historical safety of the executable.

[0022] Furthermore, the collecting of the running status of the execution body includes:

[0023] External sensor information collection: By collecting the CPU usage, memory usage, network and disk usage of the running devices of the heterogeneous functional execution bodies, the external operation status of each functional execution body is obtained;

[0024] Internal receptor information collection: The key execution functions of the functional execution body are recorded through software instrumentation, and the system call status of each process is recorded at the same time to obtain the internal operation status of each functional execution body.

[0025] Furthermore, the state analysis is performed on each executable body called by the request to obtain the real-time safety of the executable body, including:

[0026] The vectors collected by the exteroceptors and interoceptors are aggregated and fused to obtain the comprehensive state vector of a single executive in this time slice;

[0027] Encoding the integrated state vector;

[0028] The encoded comprehensive state vector is used to perform learning analysis and abnormality perception using an unsupervised autoencoder learning model to evaluate the degree of deviation between the running state of the actuator in the current time slice and the normal running state;

[0029] The evaluation results are quantified to obtain the real-time safety degree S_N of each executive body.

[0030] Furthermore, the encoding process of the comprehensive state vector includes:

[0031] Normalizing each component of the collected comprehensive state vector;

[0032] One-Hot Encoding is used to encode non-data components.

[0033] Furthermore, the historical safety of the initialization execution body includes:

[0034] At the beginning of the operation of the mimic defense system, the overall score of the executable is calculated based on the scores of the heterogeneous components of different executables in the common vulnerability scoring system;

[0035] According to the differences in software and hardware between the components that make up different executives, the second-order difference scores between the executives are calculated;

[0036] The vulnerability security score of the executable body and the second-order difference score between the executable bodies are manually weighted and summed, and the historical security degree S_H of the executable body is initialized therefrom.

[0037] Furthermore, the real-time security and historical security of the combined executor are used to perform a multi-factor judgment on the output result of the online executor to obtain the output result of the system, including:

[0038] The multi-factor comprehensive judgment first counts all the output result sets that appear, and calculates the average real-time security and average historical security of the result set based on the real-time security and historical security of the executable body in each result set;

[0039] Count the number of execution bodies of each output result set, use the weighted sum method to calculate the overall reliability coefficient S_T of the execution result set, and select the result set with the largest overall reliability coefficient for output.

[0040] Furthermore, the updating of the historical security of the executable body includes:

[0041] After each mimicry judge completes its judgment, the difference frequency is statistically analyzed based on the results of each judgment of different executors and the final judgment output of the mimicry defense system to obtain the historical performance of different executors, which is then updated as the historical safety degree of each executor.

[0042] The second technical solution adopted by the present invention is:

[0043] A mimicry defense judgment device, comprising:

[0044] Input proxy module, which acts as a proxy gateway to receive external requests;

[0045] Heterogeneous executive set: It is composed of multiple executives with the same functions but different structures;

[0046] Mimic scheduler: selects a suitable set of heterogeneous executors as online executors based on scheduling rules;

[0047] Executor running status collection module: used to collect the real-time running status of heterogeneous executables, including changes in the external environment and the execution of internal functions, to obtain a high-dimensional state perception vector;

[0048] Real-time safety quantification module: The real-time running status of the collected executable body is evaluated through the anomaly detection model to obtain the real-time degree of deviation of the executable body from the normal value, and normalized to obtain the real-time safety of the executable body;

[0049] Historical safety update module: Based on the historical output results of the executable body, the historical safety of the executable body is obtained by comparison and calculation;

[0050] Multi-factor comprehensive judgment module: Based on the real-time security and historical security of the executor, it assists the mimicry defense judge to make multi-mode judgments and selects the most reliable result in the result set as the output;

[0051] Output agent: responds to the requester with the decision result of the mimic judger.

[0052] The execution body operation status acquisition module, real-time security quantification module and historical security update module are the key points of this system. Each time a request is processed, the real-time security must first be analyzed from the status acquisition module, and the historical security must be initialized or updated based on historical performance. The information from the two time dimensions is combined to assist the mimicry defense judge in making a decision.

[0053] The third technical solution adopted by the present invention is:

[0054] A mimicry defense judgment device, comprising:

[0055] at least one processor;

[0056] at least one memory for storing at least one program;

[0057] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0058] The fourth technical solution adopted by the present invention is:

[0059] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.

[0060] The beneficial effect of the present invention is that the present invention starts from the business subjectivity of the heterogeneous functional executor in the mimetic defense system, integrates the security status of the executor on the basis of the traditional mimetic defense scheduling and judgment model, and remodels and analyzes it to design a judgment algorithm with better performance. Through the system design of the present invention, the actual mimetic defense system will obtain lower operating costs and higher security performance, and the construction requirements of the strong heterogeneity of the mimetic defense system can be relaxed. At the same time, the probability of mimetic defense common mode escape vulnerabilities caused by the coarse granularity of heterogeneity evaluation is reduced, and the overall security performance of the system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0062] Figure 1is a schematic diagram of a mimicry defense judgment device based on security situation awareness in an embodiment of the present invention;

[0063] Figure 2 It is a flowchart of the steps of a mimicry defense judgment method based on security situation awareness in an embodiment of the present invention. DETAILED DESCRIPTION

[0064] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0065] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0066] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0067] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0068] In view of the existing technical problems, the purpose of the present invention is to provide a mimetic defense judgment scheme based on security situation awareness, improve the existing mimetic defense mode, add a situation awareness module to obtain the execution body parameters, including a real-time security situation awareness module based on state sampling and a historical security situation awareness module based on historical performance, use an artificial weighted summation method to generate the overall reliability coefficient of the execution body result set, and make a preferential judgment based on the overall reliability coefficient when judging. The present invention provides a new dimension for the judgment source of the mimetic defense judge, by increasing the judgment of its state perception ability of the heterogeneous execution bodies involved in the judgment, correcting the judgment error problem caused by common vulnerabilities, and reducing the common mode escape probability of the mimetic defense system. Specifically, the present invention comprehensively evaluates the reliability of the mimetic defense execution body from two dimensions: real-time security status and historical security status. In the first stage, the host security situation awareness based on the bionic human nervous system is used to judge and quantify the real-time security of the execution body; in the second stage, the historical security of the execution body is initialized using the execution body vulnerability score and the second-order heterogeneity, and the historical security is updated based on the correctness of the historical output results of the execution body; in the third stage, the real-time security and historical security are used for multi-factor judgment. The present invention can correct the judgment error problem caused by common vulnerabilities under the traditional majority judgment mechanism, thereby improving the defense capability of the mimicry defense system against unknown threats and common mode escape problems.

[0069] like Figure 1 and Figure 2 As shown, this embodiment provides a mimicry defense judgment method based on security situation awareness, including the following specific steps:

[0070] S1. Use a large number of terminal sensors (internal and external sensors) to sense the real-time operating status of each actuator and collect the state perception vector.

[0071] In some embodiments, the real-time running state of the executive body is detected by modularizing the executive body during its construction based on kernel monitoring and software plugging technology. The running state collection of the executive body draws on the way of human nerve conduction and information processing, and a large number of receptors, including external receptors and internal receptors, are deployed on the functional executive body.

[0072] The external receptor is responsible for detecting the external operating environment of the executive body, using the system interface to detect CPU usage, memory usage, network and disk usage, and recording a tuple information vector of four types of data. In network attack and defense, once the attacker launches an attack, the external operating state of the attacked target often changes significantly. For example, when a Web server encounters a SYN flood attack, its CPU occupancy rate will increase sharply, and the network bandwidth usage rate will also increase significantly.

[0073] The internal sensor is responsible for detecting the internal operating environment of the executable body, monitoring the key functions of the functional executable body based on the instrumentation technology, and monitoring the operating behavior of the executable body based on the system call sequence. Software instrumentation technology can record the call status of the function and the call order between different functions over a period of time, while the system call sequence can record the number and type of kernel operations requested by the process. The internal sensor mainly detects the attacker's privilege escalation and overstepping attack behavior. By detecting the system call sequence, it monitors the behavior of the application in the kernel space and outputs a multi-dimensional vector containing the key function call status and the system call sequence. Once unreasonable calling behavior occurs, it will be reflected through monitoring.

[0074] S2. Initialize the historical security degree according to the scores of heterogeneous components of different executables in the common vulnerability scoring system and the second-order heterogeneity between different executables.

[0075] Regarding the perception of the historical status information of the executable body, the embodiment of the present invention first obtains the security score of each component from a preset universal vulnerability scoring system based on the heterogeneous component composition of each executable body, that is, the CPU layer, operating system layer, and application layer of the heterogeneous executable body are scored separately. The embodiment of the present invention considers that the closer the system component is to the application layer, the more important the security is, and manually weighted calculation is performed to obtain the overall score of the heterogeneous executable body. At the same time, the second-order heterogeneity evaluation method is used to evaluate the degree of difference in the software and hardware platforms between the various components that make up different executable bodies, and the overall score of the executable body and the second-order heterogeneity evaluation are manually weighted and summed to initialize the historical security degree S_H of the executable body.

[0076] S3. After the state perception vector is fused and encoded, an automatic encoder is used to perform anomaly detection analysis on the state perception vector to quantify the real-time safety of each execution body.

[0077] The real-time status information parameters obtained by security situation awareness are complex and involve multiple state space dimensions. They need to be merged and aggregated. After the processing is completed, the corresponding state vector is generated and transmitted to the processing unit through the information channel for analysis and processing.

[0078] The processing unit collects the comprehensive state vector submitted by each sensor, inputs it into the analysis component based on the autoencoder, compares the degree of deviation between the current state and the normal state, and evaluates the final real-time safety degree S_N of the execution body.

[0079] S4. Calculate the average real-time security and average historical security of different result sets, count the number of executables contained in each output result set, use manual weighted summation to calculate the overall reliability coefficient of the executable result set, and select the result with the largest overall reliability coefficient in the output result set as the output.

[0080] After each mimicry defense judge makes a judgment, the judgment result is recorded and analyzed, and the historical safety degree S_H of the same executor is updated based on frequency calculation according to the historical performance results of the same executor.

[0081] The historical safety of the executor is initialized to S_H_0. If the output result of the nth executor is the same as the judgment result, a positive score is fed back as a reward, and the historical safety is updated to S_H_n=f(S_H_n-1+B). If the output result of the last executor is different from the judgment result, a negative value is fed back as a penalty, and the historical safety is updated to S_H_n=f(S_H_n-1–B), where B is calculated by the frequency that the executor participates in the judgment and is correct.

[0082] After calculating the reward B of the executor, the historical safety degree S_H needs to be normalized. Use the Min-Max normalization method to perform a linear transformation on the historical data so that the result is mapped between 0 and 1.

[0083] Finally, a multi-factor decision is made based on the real-time security level S_N of the executor and the historical security level S_H of the executor.

[0084] First, all the output results of the execution bodies are classified to obtain the execution body result set U with the number of elements less than or equal to the number of online execution bodies m. U contains the execution results of k different outputs. The average real-time safety degree S_N_average and the average historical safety degree S_H_average of the elements in each result set are calculated, and the comprehensive reliability R_U of the execution body output result set is obtained through manual weighted calculation.

[0085] S5. Based on the difference between the output results of each executor and the voting results, update the historical safety of each executor.

[0086] Finally, the result output with the maximum reliability R_U is selected, and the historical safety S_H of all executables in the executable set is updated at the same time.

[0087] See also Figure 1 , this embodiment also provides a mimetic defense judgment device based on security situation awareness, including the following multiple units: including input agent, heterogeneous executor set, mimetic scheduler, executor running status collection, executor real-time security quantification, executor historical security update, multi-factor judgment module and output agent. Based on the traditional mimetic defense architecture, the device of this embodiment takes into account the historical and real-time security status of the executor, and adds status collection, real-time security quantification and historical security quantification modules, which can reduce the probability of the judge making an erroneous judgment when more than half of the outputs are erroneous. When the mimetic defense system is actually constructed, a certain degree of heterogeneity requirements can be reduced, thereby reducing the difficulty of mimetic transformation of traditional information systems. The units are as follows:

[0088] The input agent can be implemented by a software virtual agent or a hardware agent, which mainly acts as a proxy gateway to receive external requests and distribute the input requests to all online executors.

[0089] A set of heterogeneous executors is composed of several equivalent executors with the same functions but different structures. Heterogeneous executors are composed of components that differ in hardware and software, usually including multiple heterogeneous levels such as CPU architecture, operating system, container platform, compiler platform, and service software. Heterogeneous functional executors built with different components can meet the diversity requirements of the mimicry defense system in terms of functional implementation.

[0090] The mimicry scheduler is a module for scheduling online executors in traditional mimicry defense systems. It selects a suitable set of heterogeneous executors as online executors based on scheduling rules.

[0091] The execution body running status collection, real-time security quantification, and historical security update are the key differences between the embodiments of the present invention and the traditional mimicry defense system, which will be described in detail later.

[0092] The multi-factor comprehensive judgment is used to receive the processing results of the online executor, and based on the real-time security and historical security of the executor, assist the mimicry defense judge to make multi-mode judgments, and select the result with the highest reliability in the result set as the output.

[0093] The output agent is used to respond the decision result of the mimicry judge to the requester, so as to achieve the whole mimicry defense process without any impact on the user or client.

[0094] This embodiment also provides a mimicry defense judgment device, including:

[0095] at least one processor;

[0096] At least one memory, a mimicry defense decision method based on security situation awareness stores at least one program;

[0097] When the at least one program is executed by the at least one processor, the at least one processor implements Figure 2 The method shown.

[0098] A mimicry defense judgment device of this embodiment can execute a mimicry defense judgment method based on security situation awareness provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0099] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 2 The method shown.

[0100] This embodiment also provides a storage medium, which stores instructions or programs that can execute a mimicry defense judgment method based on security situation awareness provided by an embodiment of the method of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.

[0101] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0102] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0103] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0104] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0105] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0106] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0107] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0108] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0109] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A mimicry defense judgment method, characterized in that: The following steps are involved: For the heterogeneous executors of the mimicry defense system, the running status of the executors is collected; When the mimic defense system is running, the status of each executable body called by the request is analyzed to obtain the real-time security of the executable body; Initialize the historical safety of the executable; In the judgment process of the mimic defense system, the output result of the online executor is judged by multiple factors in combination with the real-time security and historical security of the executor to obtain the output result of the system; Update the historical safety of the executable.

2. A mimicry defense judgment method according to claim 1, characterized in that: The collecting of the running status of the execution body includes: External sensor information collection: By collecting the CPU usage, memory usage, network and disk usage of the running devices of heterogeneous functional execution bodies, the external operating status of each functional execution body is obtained; Internal receptor information collection: The key execution functions of the functional execution body are recorded through software instrumentation, and the system call status of each process is recorded at the same time to obtain the internal operating status of each functional execution body.

3. A mimicry defense judgment method according to claim 1, characterized in that: The state analysis is performed on each executable body called by the request to obtain the real-time safety of the executable body, including: The vectors collected by the exteroceptors and interoceptors are aggregated and fused to obtain the comprehensive state vector of a single executive in this time slice; Encoding the integrated state vector; The encoded comprehensive state vector is used to perform learning analysis and abnormality perception using an unsupervised autoencoder learning model to evaluate the degree of deviation between the running state of the actuator in the current time slice and the normal running state; The evaluation results are quantified to obtain the real-time safety degree S_N of each executive body.

4. A mimicry defense judgment method according to claim 3, characterized in that: The encoding process of the comprehensive state vector includes: Normalizing each component of the acquired comprehensive state vector; One-hot encoding is used to encode non-data components.

5. A mimicry defense judgment method according to claim 1, characterized in that: The historical safety of the initialization execution body includes: At the beginning of the operation of the mimic defense system, the overall score of the executable is calculated based on the scores of the heterogeneous components of different executables in the common vulnerability scoring system; According to the differences in software and hardware between the components that make up different executives, the second-order difference scores between the executives are calculated; The vulnerability security score of the executable body and the second-order difference score between the executable bodies are manually weighted and summed, and the historical security degree S_H of the executable body is initialized therefrom.

6. A mimicry defense judgment method according to claim 1, characterized in that: The output result of the online execution body is judged by multiple factors in combination with the real-time safety degree and the historical safety degree of the execution body to obtain the output result of the system, including: The multi-factor comprehensive judgment first counts all the output result sets that appear, and calculates the average real-time security and average historical security of the result set based on the real-time security and historical security of the executable body in each result set; Count the number of execution bodies of each output result set, use the weighted sum method to calculate the overall reliability coefficient S_T of the execution result set, and select the result set with the largest overall reliability coefficient for output.

7. A mimicry defense judgment method according to claim 1, characterized in that: The historical security of the update execution body includes: After each mimicry judge completes its judgment, the difference frequency is statistically analyzed based on the results of each judgment of different executors and the final judgment output of the mimicry defense system to obtain the historical performance of different executors, which is then updated as the historical safety degree of each executor.

8. A mimicry defense judgment device, characterized in that: include: Input proxy module, which acts as a proxy gateway to receive external requests; Heterogeneous executive set: It is composed of multiple executives with the same functions but different structures; Mimic scheduler: selects a suitable set of heterogeneous executors as online executors based on scheduling rules; Executor running status collection module: used to collect the real-time running status of heterogeneous executables, including changes in the external environment and the execution of internal functions, to obtain a high-dimensional state perception vector; Real-time security quantification module: The real-time running status of the collected executable body is evaluated through the anomaly detection model. The real-time degree of deviation of the execution body from the normal value is obtained, and the real-time safety degree of the execution body is normalized; Historical safety update module: Based on the historical output results of the executor, the historical safety of the executor is obtained by comparison and calculation; Multi-factor comprehensive judgment module: Based on the real-time safety and historical safety of the executor, the mimic defense judge is assisted to make multi-mode judgments, and the result with the highest reliability in the result set is selected as the output; Output agent: responds to the requester with the decision result of the mimic judger.

9. A mimicry defense judgment device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Cited By

  • Mimicry defense method, system and equipment based on lightweight architecture, medium and product

    CN119254513A

  • Mimicry defense scheduling method and device based on load balancing

    CN119996033A