Abnormal behavior detection method based on public cloud log
Through log collection, structuring and feature extraction technology, the problem of unity and complexity of public cloud log behavior detection is solved, the detection of multiple object behaviors is realized, and the security of the public cloud environment is ensured.
Patent Information
- Application Number
- CN202410764795.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing public cloud log behavior detection methods are difficult to analyze and process uniformly in different public cloud services, and it is difficult to discover real abnormal behaviors, especially complex behavior patterns for multiple objects.
Through log collection, structuring, field standardization and feature extraction technology, public cloud logs are collected and detected in the log center to discover abnormal behaviors. The collector is deployed in a public cloud environment to perform classification labeling and data processing, standardize log fields, and detect abnormal behavior through feature extraction technology.
It realizes the unified detection and analysis of different public cloud logs, can detect the behavior time series and historical behavior data of multiple objects, improves the ability to detect abnormal behaviors, and ensures the security of enterprise workloads in the public cloud.
Smart Images

Figure CN118567896A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud computing, and in particular to an abnormal behavior detection method based on public cloud logs. Background Art
[0002] The structure of similar products or methods for public cloud log behavior detection is as follows:
[0003] Collect public cloud operation audit logs;
[0004] Perform data cleaning, parsing, filtering and other data processing operations on the log;
[0005] Write detection rules, regularly query operation behaviors in logs and generate alarms.
[0006] The shortcomings and defects of existing similar products or methods for public cloud log behavior detection are as follows:
[0007] The existing log specifications of various public clouds are not unified. The log fields and formats obtained by similar products in different public cloud services are different, which increases the difficulty of log analysis and processing.
[0008] Similar products that detect operational behaviors in the public cloud only detect a single behavior generated by a single object, making it difficult to detect truly abnormal behaviors. Summary of the invention
[0009] The purpose of the present invention is to provide an abnormal behavior detection method based on public cloud logs, so as to discover abnormal behaviors in the public cloud through real-time monitoring and ensure the security of the enterprise's workload in the public cloud.
[0010] To achieve the above object, the present invention provides the following technical solution: a method for detecting abnormal behavior based on public cloud logs, comprising the following steps:
[0011] S1. Collect public cloud logs through the log collector;
[0012] S2. Structuring the log content;
[0013] S3. Perform field standardization;
[0014] S4. Collect the public cloud logs in S2 and S3 and send them to the log center;
[0015] S5. Check the public cloud logs in the log center in S4 and find abnormal behavior.
[0016] Preferably, in step S1, a collector for uploading operation audit logs to the cloud is deployed in a public cloud environment where public cloud logs need to be obtained. After the collector obtains the operation audit logs in the public cloud environment, it generates classification tags for the logs, caches them locally, and then sends them to the cloud log center.
[0017] Further preferably, the step S2 processes the public cloud logs through data cleaning, parsing, filtering and other technologies, and structures the log contents in the template for converting the public cloud logs.
[0018] Further preferably, the step S3 performs field standardization on the structured logs in S2 through field standardization technology, and standardizes and unifies different log fields in different public cloud logs.
[0019] Further preferably, the step S4 collects the structured and standardized public cloud logs in S2 and S3 and sends them to a log center.
[0020] Further preferably, the step S5 detects the public cloud logs in the log center in S4 by using feature extraction technology to find abnormal behaviors.
[0021] Compared with the prior art, the present invention has the following beneficial effects: standardizing the fields of the operation audit logs generated by mainstream public clouds, renaming different original fields into standard unified names, simplifying the detection and analysis of different public cloud logs, and enabling correlation detection and analysis of public cloud logs;
[0022] The present invention not only detects a single behavior generated by a single object, but also has the following multiple detection methods:
[0023] Detection is performed based on the time series of multiple behaviors generated by the object.
[0024] Use the historical behavior data of an object as a baseline and detect behaviors that exceed the baseline.
[0025] Detection is based on the number of times an object performs a single or multiple actions. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a schematic diagram of the steps of the cloud log anomaly detection method of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] See also Figure 1 , this embodiment provides a technical solution: a method for detecting abnormal behavior based on public cloud logs, comprising the following steps:
[0029] S1. Collect public cloud logs through the log collector;
[0030] Furthermore, in step S1, a collector for uploading operation audit logs to the cloud is deployed in the public cloud environment where the public cloud logs need to be obtained. After the collector obtains the operation audit logs in the public cloud environment, it generates classification tags for the logs, caches them locally, and then sends them to the cloud log center.
[0031] S2. Structuring the log content;
[0032] Furthermore, step S2 processes the public cloud logs through data cleaning, parsing, filtering and other technologies, and structures the log contents in the template for public cloud log conversion.
[0033] S3. Perform field standardization;
[0034] Furthermore, the step S3 standardizes the fields of the structured logs in S2 by using field standardization technology, and standardizes and unifies different log fields in different public cloud logs;
[0035] This embodiment will standardize the fields of the operation audit logs generated by mainstream public clouds, rename different original fields into standard unified names, thereby simplifying the detection and analysis of different public cloud logs, and enabling correlation detection and analysis of public cloud logs.
[0036] S4. Collect the public cloud logs in S2 and S3 and send them to the log center;
[0037] Furthermore, the step S4 collects the structured and standardized public cloud logs in S2 and S3 and sends them to the log center.
[0038] S5. Check the public cloud logs in the log center in S4 and find abnormal behavior.
[0039] Furthermore, the step S5 detects the public cloud logs in the log center in S4 by using feature extraction technology to find abnormal behaviors.
[0040] This embodiment not only detects a single behavior generated by a single object, but also has the following multiple detection methods:
[0041] Detection is performed based on the time series of multiple behaviors generated by the object.
[0042] Use the historical behavior data of an object as a baseline and detect behaviors that exceed the baseline.
[0043] Detection is based on the number of times an object performs a single or multiple actions.
[0044] 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 appended claims and their equivalents.
Claims
1. A method for detecting abnormal behavior based on public cloud logs, characterized in that: The steps include: S1. Collect public cloud logs through the log collector; S2. Structuring the log content; S3. Perform field standardization; S4. Collect the public cloud logs in S2 and S3 and send them to the log center; S5. Check the public cloud logs in the log center in S4 and find abnormal behavior.
2. According to claim 1, a method for detecting abnormal behavior based on public cloud logs is characterized in that: The step S1 deploys a collector that uploads operation audit logs to the cloud in a public cloud environment where public cloud logs need to be obtained. After the collector obtains the operation audit logs in the public cloud environment, it generates classification tags for the logs, caches them locally, and then sends them to the cloud log center.
3. According to claim 2, a method for detecting abnormal behavior based on public cloud logs is characterized in that: The step S2 processes the public cloud logs through data cleaning, parsing, filtering and other technologies, and structures the log contents in the template for public cloud log conversion.
4. The method for detecting abnormal behavior based on public cloud logs according to claim 3 is characterized in that: The step S3 performs field standardization on the structured logs in S2 through field standardization technology, and standardizes and unifies different log fields in different public cloud logs.
5. The method for detecting abnormal behavior based on public cloud logs according to claim 4 is characterized in that: The step S4 collects the structured and standardized public cloud logs in S2 and S3 and sends them to the log center.
6. The method for detecting abnormal behavior based on public cloud logs according to claim 5, characterized in that: The step S5 detects the public cloud logs in the log center in S4 by using feature extraction technology to find abnormal behaviors.
