Intelligent protection method and system capable of elastically expanding capacity
By extracting instructions, signatures, fields and timestamps from massive log data, analyzing event behavior characteristics, generating feature vectors, building intelligent models, and predicting changes in feature vectors, we solve the problem of inability to conduct self-research, analysis and elastic expansion in existing technologies, and achieve It provides automatic attack identification and architecture adjustment, improving the security and scalability of the artificial intelligence system.
Patent Information
- Application Number
- CN202411183762.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technology cannot effectively self-research and analyze massive log data and achieve elastic expansion of artificial intelligence systems, resulting in the inability to effectively identify and defend against network attacks.
By collecting log data, extracting instructions, signatures, fields and timestamps to generate fingerprint sequence sets, analyzing event behavior characteristics, generating feature vectors, building intelligent models, learning and optimizing the traceability graph of feature vectors, predicting feature vector change trends, and realizing attack detection and Positioning and adjusting architectural layout based on predictions.
It has realized automatic identification of attacks and improved the security performance and elastic expansion capabilities of the artificial intelligence system. It can self-research and analyze daily data, locate and block attacks, adjust the architecture layout based on predictions, and enhance the security and expansion capabilities of the system.
Smart Images

Figure CN118869342A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to an intelligent protection method and system that can be elastically expanded. Background Art
[0002] With the rapid development of artificial intelligence technology, the number of covert attacks against artificial intelligence is increasing. We use the characteristics of artificial intelligence systems to conduct self-developed analysis, that is, we use the characteristics of massive log data that does not need to be modified, a large number of fields are repeated, and there are timestamps, but further optimization is needed. In addition, further improvements are needed in the architecture, so that the system can be elastically expanded according to the actual needs of the enterprise.
[0003] Therefore, there is an urgent need for a targeted intelligent protection method and system that can be elastically expanded. Summary of the invention
[0004] The purpose of the present invention is to provide an intelligent protection method and system with elastic expansion, which can improve the security and elastic expansion capability of artificial intelligence systems.
[0005] In a first aspect, the present application provides an intelligent protection method capable of elastic expansion, the method comprising:
[0006] Collecting daily data, the collection includes scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, dividing them according to events, and generating fingerprint sequence sets for instructions, signatures, fields and timestamps belonging to the same event;
[0007] Analyze the behavior operation of the event and extract features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a character string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation;
[0008] Select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector;
[0009] Again, according to the event division, the feature vectors of the same event are associated with the fingerprint sequence set to obtain a composite vector sequence set, which includes feature vectors of different timestamps and different behaviors and can be used for feature vector tracing;
[0010] Construct and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set;
[0011] In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph;
[0012] The above learning process also includes analyzing the meanings of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking the attack according to the predicted change trend;
[0013] The data storage and computing involved in the elastically scalable intelligent protection are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
[0014] In a second aspect, the present application provides an intelligent protection system that can be elastically expanded, the system comprising:
[0015] A sequence generation module is used to collect daily data, wherein the collection includes scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, and dividing the instructions, signatures, fields and timestamps belonging to the same event into a fingerprint sequence set according to the event.
[0016] An analysis module, used for analyzing the behavior operation of the event, and extracting features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation;
[0017] A vector generation module is used to select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector;
[0018] An association module is used to associate the feature vectors of the same event with the fingerprint sequence set according to the event division again, so as to obtain a composite vector sequence set, wherein the composite vector sequence set includes feature vectors of different timestamps and different behaviors, and can be used for feature vector tracing;
[0019] A model detection module is used to build and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set;
[0020] In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph;
[0021] The above learning process also includes analyzing the meanings of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking the attack according to the predicted change trend;
[0022] The data storage and computing involved in the elastically scalable intelligent protection system are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
[0023] In a third aspect, the present application provides an intelligent protection system that can be elastically expanded, the system comprising a processor and a memory:
[0024] The memory is used to store program code and transmit the program code to the processor;
[0025] The processor is used to execute any one of the four possible methods of the first aspect according to the instructions in the program code.
[0026] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to be executed by a processor to implement any one of the four possible methods in the first aspect.
[0027] Beneficial Effects
[0028] The present invention provides an intelligent protection method and system with elastic expansion, which generates a fingerprint sequence set by extracting instructions, signatures, fields and timestamps of massive daily data; analyzes corresponding event behaviors, extracts features with special meanings or signs, generates feature vectors, and obtains a composite vector sequence set that is related to each other; constructs an intelligent model, optimizes the traceability diagram of the feature vector through learning, and predicts the change trend of the feature vector, performs attack detection, realizes attack positioning and blocks attacks according to predictions, and temporarily adjusts the architecture layout according to predictions, thereby overcoming the problems of the prior art that artificial intelligence cannot be self-developed and analyzed and the system cannot be elastically expanded.
[0029] The artificial intelligence security protection method and system of the present invention have the following advantages and effects:
[0030] It is able to independently analyze daily data and automatically identify attacks. The intelligent model optimizes the traceability graph of feature vectors through learning and predicts the changing trend of feature vectors, so as to locate attacks and block attacks based on predictions, and adjust the architectural layout based on predictions, thereby improving the security performance and elastic expansion capabilities of the artificial intelligence system. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A general flow chart of the elastically scalable intelligent protection method of the present invention;
[0033] Figure 2 It is a schematic diagram of the architecture of the elastically scalable intelligent protection system of the present invention. DETAILED DESCRIPTION
[0034] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0035] Existing technologies are unable to automatically identify network attacks and conduct network defense, and there is a need to improve the security and elastic expansion capabilities of artificial intelligence systems.
[0036] Figure 1 A general flow chart of the elastically scalable intelligent protection method provided in this application, the method comprising:
[0037] Collect daily data, including scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, and dividing them into events to generate fingerprint sequence sets for instructions, signatures, fields and timestamps belonging to the same event; since the generated fingerprint sequences correspond to different timestamps, the fingerprint sequence set here includes fingerprint sequences with multiple different timestamps.
[0038] Analyze the behavior operation of the event and extract features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a character string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation;
[0039] Select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector;
[0040] Again, according to the event division, the feature vectors of the same event are associated with the fingerprint sequence set to obtain a composite vector sequence set, which includes feature vectors of different timestamps and different behaviors and can be used for feature vector tracing;
[0041] Construct and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set;
[0042] In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph. The learning process here is the process of using an intelligent model to learn a set of composite vector sequences.
[0043] The above learning process also includes analyzing the meaning of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking attacks according to the predicted change trend; the so-called attack detection results include the results of four tests: maliciousness detection, malicious group detection, malicious behavior identification, and malicious attack location. The malicious group here refers to whether there are multiple malicious sources and whether they are highly correlated groups.
[0044] The data storage and computing involved in the elastically scalable intelligent protection are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
[0045] Adjusting the architecture layout according to the predicted change trend here means that when there is an attack on the predicted change trend, the resources on the trajectory corresponding to the change trend will be transferred, and other adjacent resources will be used as carriers of storage and computing. When the attack is eliminated, the original functions of the resources will be restored.
[0046] The embodiments may further include, on the one hand, building a fingerprint library by collecting historical attack data, and obtaining newly discovered network attack protocols in recent years to obtain IP fragment messages corresponding to response messages; on the other hand, filtering out traffic that meets predetermined conditions to filter out traffic that meets potential reflection attacks, and then extracting features of the traffic according to the fragment message fields, matching the features with the features of the fingerprint library to determine whether it belongs to a new type of network attack protocol; if not, detecting it according to the above artificial intelligence security protection method and taking corresponding defense strategies.
[0047] In some preferred embodiments, targeted defense measures taken after the attack is located include: data encryption, firewall settings, intrusion blocking, and redirection.
[0048] In some preferred embodiments, there is a mapping relationship between the daily data and the behavioral operations of the event, and according to the mapping relationship, the feature vector of the same event can be associated with the fingerprint sequence set to obtain a composite vector sequence set.
[0049] In some preferred embodiments, in the process of learning the above-mentioned composite vector sequence set, the two steps of constructing the traceability graph of the feature vector and analyzing the meaning of different feature vector representations are performed in parallel or the traceability graph is constructed first. That is, there is no necessary order between the two steps of constructing the traceability graph and analyzing the meaning of the representation, and they can be performed simultaneously, or the traceability graph can be constructed first.
[0050] At the same time, reflection network attacks often use defects or loopholes in certain protocols to spoof IP. Therefore, it is necessary to analyze the protocol types used in the traffic, especially those protocols that do not authenticate the source IP, such as ICMP, UDP, etc. If these protocols are used in a large number of attack traffic and the source IP address is forged, it may be a reflection network attack. The above approach can also be added to the embodiments of the present application as a factor of fuzzy judgment.
[0051] Figure 2 The architecture diagram of the elastically scalable intelligent protection system provided in this application includes:
[0052] A sequence generation module is used to collect daily data, wherein the collection includes scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, and dividing the instructions, signatures, fields and timestamps belonging to the same event into a fingerprint sequence set according to the event.
[0053] An analysis module, used for analyzing the behavior operation of the event, and extracting features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation;
[0054] A vector generation module is used to select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector;
[0055] An association module is used to associate the feature vectors of the same event with the fingerprint sequence set according to the event division again, so as to obtain a composite vector sequence set, wherein the composite vector sequence set includes feature vectors of different timestamps and different behaviors, and can be used for feature vector tracing;
[0056] A model detection module is used to build and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set;
[0057] In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph;
[0058] The above learning process also includes analyzing the meanings of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking the attack according to the predicted change trend;
[0059] The data storage and computing involved in the elastically scalable intelligent protection system are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
[0060] The present application provides an intelligent protection system capable of elastic expansion, the system comprising: the system comprising a processor and a memory:
[0061] The memory is used to store program code and transmit the program code to the processor;
[0062] The processor is used to execute the method described in any one of all embodiments of the first aspect according to the instructions in the program code.
[0063] The present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to be executed by a processor to implement the method described in any one of all the embodiments of the first aspect.
[0064] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the present invention. The storage medium may be a disk, an optical disk, a read-only storage memory (abbreviated as: ROM) or a random access memory (abbreviated as: RAM), etc.
[0065] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0066] The same and similar parts between the various embodiments of this specification can be referred to each other. In particular, for the embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
[0067] The above-described embodiments of the present invention do not limit the protection scope of the present invention.
Claims
1. An intelligent protection method with elastic expansion capability. It is characterized in that The method comprises: Collecting daily data, the collection includes scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, dividing them according to events, and generating fingerprint sequence sets for instructions, signatures, fields and timestamps belonging to the same event; Analyze the behavior operation of the event and extract features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a character string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation; Select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector; Again, according to the event division, the feature vectors of the same event are associated with the fingerprint sequence set to obtain a composite vector sequence set, which includes feature vectors of different timestamps and different behaviors and can be used for feature vector tracing; Construct and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set; In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph; The above learning process also includes analyzing the meanings of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking the attack according to the predicted change trend; The data storage and computing involved in the elastically scalable intelligent protection are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
2. The method according to claim 1, Features: After the attack is located, targeted defense measures are taken, including: data encryption, firewall settings, intrusion blocking, and redirection.
3. The method according to claim 1, Features: There is a mapping relationship between the daily data and the behavior operations of the events. According to the mapping relationship, the feature vector of the same event can be associated with the fingerprint sequence set to obtain a composite vector sequence set.
4. The method according to any one of claims 2 or 3, Features: In the process of learning the above-mentioned composite vector sequence set, the two steps of constructing a traceability graph of feature vectors and analyzing the meanings represented by different feature vectors are performed in parallel or the traceability graph is constructed first.
5. An intelligent protection system with elastic expansion capacity, It is characterized in that The system comprises: A sequence generation module is used to collect daily data, wherein the collection includes scanning log files and system files, extracting instructions, signatures, fields and timestamps contained therein, and dividing the instructions, signatures, fields and timestamps belonging to the same event into a fingerprint sequence set according to the event. An analysis module, used for analyzing the behavior operation of the event, and extracting features with special meanings or signs therefrom, wherein the features with special meanings or signs include one or more of a string, a control flow graph, a bytecode sequence, PE file header information, an API sequence, a system call behavior, runtime state information, a process operation, a file operation, and a registry operation; A vector generation module is used to select representative features from the extracted features by using feature selection, alignment and disambiguation, and convert them into a vector form that can be recognized by the model through vector representation to generate a feature vector; An association module is used to associate the feature vectors of the same event with the fingerprint sequence set according to the event division again, so as to obtain a composite vector sequence set, wherein the composite vector sequence set includes feature vectors of different timestamps and different behaviors, and can be used for feature vector tracing; A model detection module is used to build and train an intelligent model, and use the trained intelligent model to learn the above composite vector sequence set; In the above learning process, a traceability graph of the feature vector is constructed, and an optimized traceability graph is obtained through pruning and reorganization. The change trend of the feature vector is predicted based on the optimized traceability graph; The above learning process also includes analyzing the meanings of different feature vector representations in the composite vector sequence set, calculating the weights corresponding to the feature vectors, comparing the weights with the thresholds, obtaining the results of attack detection, combining the optimized traceability graph to achieve attack location, and blocking the attack according to the predicted change trend; The data storage and computing involved in the elastically scalable intelligent protection system are separated in architecture, and are implemented in a plug-in manner, which facilitates elastic expansion for multiple instances and multiple users, and adjusts the architectural layout of data storage and computing according to predicted change trends.
6. An intelligent protection system with elastic expansion capacity, It is characterized in that The system comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the method according to any one of claims 1 to 4 according to the instructions in the program code.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store program codes, and the program codes are used to be executed by a processor to implement the method according to any one of claims 1 to 4.
