A security log analysis system and method

By introducing user analysis and log monitoring modules into the security log analysis system, the timing of security log upload is automatically determined, which solves the problem of insufficient log uploading timing in the existing technology, and improves the security protection effect and risk discovery speed.

CN115964702BActive Publication Date: 2024-12-06CHONGQING XINRUIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211732123.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-12-06
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

After detecting viruses or abnormal behaviors, the existing security log analysis system is unable to upload the log in time, resulting in the inability to fully reflect the attack behavior, there is "survivor bias", and the risk cannot be discovered in time.

Method used

A security log analysis system was designed, including protection module, behavioral recording module, user analysis module and log monitoring module. By recording user operation behavior, analyzing user familiarity, automatically determining the timing of uploading security logs, combining preset thresholds and analysis results , optimize log upload strategy to ensure timely upload and analyze logs of high-risk users.

Benefits of technology

It improves security protection effect, shortens risk discovery time, reduces invalid analysis, balances security and computing resource consumption, avoids premature or too late log uploads, and ensures efficient risk monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115964702B_ABST
    Figure CN115964702B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computer technology, and specifically discloses a security log analysis system and method, wherein the system includes: a behavior recording module for generating security logs; a user analysis module for determining the classification of users; the classification of users includes low-risk users, medium-risk users and high-risk users; a log monitoring module for determining whether the number of currently unuploaded security logs is greater than a first threshold, and if it is greater than the first threshold, uploading the unuploaded security logs; if it is not greater than the first threshold, determining whether the number of unuploaded security logs is greater than a second threshold, and if it is greater than the second threshold, determining whether the user is classified as a high-risk user, and if it is a high-risk user, uploading the unuploaded security logs, wherein the second threshold is less than the first threshold. The technical solution of the present invention can automatically determine the timing of uploading the security log, thereby improving the protection effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a security log analysis system and method. Background Art

[0002] With the rapid development of the Internet, many security applications are installed on computers to prevent network attacks, such as antivirus software and network security firewalls. These security applications can issue warnings for most network security threats, monitor the operation of the network and curb attacks to a certain extent.

[0003] When a security application detects a virus or successfully blocks abnormal behavior, a security log will be generated. By analyzing the security log, you can understand the current risks of the computer, discover deep-level attack intentions and behaviors, and improve security protection effectiveness.

[0004] At present, security log analysis is usually carried out after a certain number of security logs have been accumulated or they are uploaded periodically for unified analysis. However, the generation of security logs mainly comes from the identification of risks by security applications. For attacks that successfully bypass security applications, they are often not fully reflected in security logs, and there is a certain "survivor bias". Therefore, if we only rely on the accumulation of a certain number of security logs or regular uploads, we are likely to miss the best protection time.

[0005] Therefore, a security log analysis system and method are needed that can automatically determine the timing of uploading security logs. Summary of the invention

[0006] One of the purposes of the present invention is to provide a security log analysis system that can automatically determine the timing of uploading security logs to improve the protection effect.

[0007] In order to solve the above technical problems, this application provides the following technical solutions:

[0008] A security log analysis system includes a protection module for executing a preset protection operation when a virus or abnormal behavior is detected; and further includes:

[0009] The behavior recording module is used to record the protection operations of the protection module and generate security logs;

[0010] A user analysis module is used to record the user's computer operation behavior, analyze the user's computer familiarity based on the computer operation behavior, and determine the user's classification based on the preset classification rules and computer familiarity; the user classification includes low-risk users, medium-risk users and high-risk users;

[0011] The log monitoring module is used to determine whether the number of security logs that have not been uploaded is greater than a first threshold. If it is greater than the first threshold, the unuploaded security logs will be uploaded; if it is not greater than the first threshold, determine whether the number of security logs that have not been uploaded is greater than a second threshold. If it is greater than the second threshold, determine whether the user is classified as a high-risk user. If it is a high-risk user, upload the unuploaded security logs, wherein the second threshold is less than the first threshold.

[0012] The basic scheme principles and beneficial effects are as follows:

[0013] In this solution, by recording the user's computer operation behavior and then analyzing it, the user's familiarity with the corresponding computer can be obtained, and then combined with the preset classification rules, the user's classification can be obtained. For example, if the user is familiar with computers, it can be seen from the side that the user has rich computer-related knowledge and has a certain awareness of risk prevention. He can be determined as a low-risk user. If the user is not familiar with computers, his awareness of actively identifying risks is relatively poor, and he can be determined as a high-risk user. When the number of security logs that have not been uploaded is not greater than the first threshold, a second judgment condition is set up for high-risk users, that is, to determine whether the number of security logs that have not been uploaded is greater than the second threshold. If it is greater than the second threshold, the security logs that have not been uploaded will be uploaded, so that the security logs of high-risk users can be analyzed in time, and if there are risks, they can be discovered in time.

[0014] In summary, this solution can automatically determine the timing of uploading security logs according to the user's situation, thereby improving the protection effect.

[0015] Furthermore, it also includes a log analysis module, which is used to analyze the uploaded security logs and generate analysis results; it is also used to count the correspondence between the number of security logs and the efficiency of the analysis results, screen out the analysis results with an efficiency greater than a first set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as a first threshold; it is also used to screen out the analysis results with an efficiency greater than a second set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as a second threshold, wherein the first set value is greater than the second set value.

[0016] Through this preferred solution, the most appropriate first setting value can be determined under the premise of ensuring efficiency, reducing the situation of invalid analysis. It can also balance security and computing resources to determine the second setting value, avoid the security log efficiency of the second setting value being too low, and waste computing resources unnecessarily, and also avoid the security log efficiency of the second setting value being too high, requiring more time to accumulate the number of security logs, and failing to discover risks early.

[0017] Furthermore, the log analysis module is also used to screen out analysis results whose effectiveness is greater than a first set value, and after determining the number of security logs corresponding to the analysis results, use the lowest number of security logs as the first threshold.

[0018] Using the lowest number of security logs as the first threshold can shorten the upload interval and thus shorten the risk discovery time.

[0019] Furthermore, the log analysis module is also used to recalculate the first threshold and the second threshold every preset period.

[0020] Furthermore, the log monitoring module is also used to analyze the number of security logs that have not been uploaded by high-risk users and generate a curve when it is determined that the number of security logs that have not been uploaded is not greater than a second threshold, and to determine whether the generated curve is in a stable state. If it is in a stable state, the security logs that have not been uploaded will not be uploaded at this time.

[0021] Furthermore, the log monitoring module is also used to determine whether the user's single computer usage time exceeds the set time. If it exceeds the set time, the number of security logs generated each time the computer is used is counted and fitted into a curve;

[0022] If the set time is not exceeded, the number of security logs generated by the computer within each set time is counted and fitted into a curve.

[0023] According to the actual usage of users, two methods are used to count the number of security logs and fit the curve so that the curve can more accurately reflect the risks currently faced by users.

[0024] Furthermore, the log monitoring module is also used to determine whether the generated curve is in a decreasing state when analyzing the generated curve of the security log that is not currently uploaded. If it is in a decreasing state, determine whether the number of times the security software is used within a set time in the computer operation behavior is higher than a preset number. If it is higher than the preset number, upload the security log that has not been uploaded.

[0025] If the number of times the security software is used within the set time is higher than the preset number, it means that the user uses the security software frequently. The user feels that the probability of computer problems is relatively high, but the curve is in a downward state. The actual protection behavior of the security software is less, which is inconsistent with the user's feelings. Therefore, uploading the unuploaded security logs will help to detect risks in a timely manner.

[0026] Further, the log monitoring module is also used to determine whether the generated curve is in an ascending state when analyzing the generated curve of the security log that is not currently uploaded, and if it is in an ascending state, determine whether the current maximum value exceeds the historical maximum value, and if it exceeds, upload the security log that has not been uploaded;

[0027] The historical maximum value is the maximum value of the number of security logs generated by the computer each time it is used in history or the maximum value of the number of security logs generated by the computer within a set time.

[0028] The curve is in an upward state, and the current maximum value exceeds the historical maximum value, indicating that the current security software protection behavior has increased and the risks faced by computers have increased. Uploading unuploaded security logs will help to detect risks in a timely manner.

[0029] Furthermore, the log monitoring module is also used to determine whether the number of unuploaded security logs is lower than a third threshold when the judgment curve is in an ascending state. If it is lower than the third threshold, the unuploaded security logs are not uploaded.

[0030] For example, the efficiency of the security log analysis results under the third threshold quantity is extremely low, and not uploading the unuploaded security logs below the third threshold quantity can reduce the waste of computing resources.

[0031] A second object of the present invention is to provide a security log analysis method using the above system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a logic block diagram of a security log analysis system according to Example 1. DETAILED DESCRIPTION

[0033] The following is further described in detail through specific implementation methods:

[0034] Embodiment 1

[0035] like Figure 1 As shown, a security log analysis system of this embodiment includes a protection module, a behavior recording module, a user analysis module, a log monitoring module and a log analysis module.

[0036] The protection module is used to execute preset protection operations when a virus or abnormal behavior is detected; in this embodiment, the abnormal behavior is defined by the developer of the security software, such as tampering with the browser homepage.

[0037] The behavior recording module is used to record the protection operation of the protection module and generate a security log; in this embodiment, the security log includes time, type and summary, where the types include virus protection, system protection and network protection.

[0038] The user analysis module is used to record the user's computer operation behavior, analyze the user's computer familiarity according to the computer operation behavior, and determine the user's classification based on the preset classification rules and computer familiarity; the user classification includes low-risk users and high-risk users. In this embodiment, the computer operation behavior includes using security software, updating patches for the computer, downloading software from the official website, removing the option of installing the accompanying software during the software installation process, not setting up the software during the software installation process, etc. Different scores are set for different computer operation behaviors, for example, removing the option of installing the accompanying software during the software installation process +2 points, not setting up the software during the software installation process -1 point, and then the user's computer familiarity is reflected according to the total score. The higher the score, the higher the user's computer familiarity. Then, different score intervals are delineated for low-risk users and high-risk users, and the score interval is determined by the above total score to find the corresponding classification.

[0039] The log monitoring module is used to determine whether the number of security logs that have not been uploaded is greater than a first threshold; if it is greater than the first threshold, upload the unuploaded security logs; if it is not greater than the first threshold, determine whether the number of security logs that have not been uploaded is greater than a second threshold; if it is greater than the second threshold, determine whether the user is classified as a high-risk user; if it is a high-risk user, upload the unuploaded security logs, wherein the second threshold is less than the first threshold.

[0040] The log analysis module is used to analyze the uploaded security logs and generate analysis results. In this embodiment, the analysis result is data validity or data invalid, where the data is valid, and the further result is no security risk or security risk exists.

[0041] The log analysis module is also used to count the correspondence between the number of security logs and the efficiency of the analysis results, screen out analysis results with an efficiency greater than a first set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as the first threshold; it is also used to screen out analysis results with an efficiency greater than a second set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as the second threshold, wherein the first set value is greater than the second set value.

[0042] For example, 1,000 users each upload 100 security logs, among which the analysis results of the security logs uploaded by 981 users are valid data. It can be concluded that the effectiveness of the 100 security logs is 98.1%. If the first set value is 98%, the effectiveness of the 100 security logs is greater than the first set value and meets the requirements. The number of security logs corresponding to the analysis result is 100, and 100 can be used as the first threshold.

[0043] In this embodiment, after screening out the analysis results with an efficiency greater than the first set value and determining the number of security logs corresponding to the analysis results, the lowest number of security logs is used as the first threshold; the second threshold is the same. For example, the efficiency of 100 security logs is 98.1%, and the efficiency of 150 security logs is 98.7%. 100 is the lowest and is used as the first threshold.

[0044] The log analysis module is also used to recalculate the first threshold and the second threshold every preset period. The preset period is 6-12 months, and in this embodiment, it is 6 months.

[0045] This embodiment also provides a security log analysis method using the above system.

[0046] Embodiment 2

[0047] The difference between this embodiment and the first embodiment is that the log monitoring module in this embodiment is further used to analyze the number of security logs not uploaded by high-risk users and generate a curve when it is determined that the number of security logs not uploaded is not greater than the second threshold.

[0048] Specifically, the log monitoring module determines whether the user's single computer usage time exceeds the set time. If it exceeds the set time, the number of security logs generated by each use of the computer is counted and fitted into a curve; in this embodiment, the set time is 5 hours. If it does not exceed the set time, the number of security logs generated by using the computer within each set time is counted and fitted into a curve. In this embodiment, in the fitted curve, the number is the ordinate and the number of counts is the abscissa.

[0049] The log monitoring module is also used to determine whether the generated curve is in a stable state. If it is in a stable state, the unuploaded security log is not uploaded. In this embodiment, the stable state means that the difference between the maximum and minimum values ​​of a single statistic is less than 5% of the average value.

[0050] The log monitoring module is also used to determine whether the generated curve is in a declining state. If it is in a declining state, it is determined whether the number of times the security software is used within the set time in the computer operation behavior is higher than the preset number. If it is higher than the preset number, the unuploaded security log is uploaded. In this embodiment, the preset number is 5 times. In other embodiments, it can also be determined according to the length of the set time. In this embodiment, the declining state refers to not meeting the conditions of the stable state, and the number of security logs counted for at least 3 times continuously decreases. In other embodiments, the decrease amount of two statistics can also be specified to determine the declining state.

[0051] The log monitoring module is also used to determine whether the generated curve is in an ascending state. If it is in an ascending state, it is determined whether the number of unuploaded security logs is lower than a third threshold value. If it is lower than the third threshold value, the unuploaded security logs are not uploaded. If it is higher than the third threshold value, it is determined whether the current maximum value exceeds the historical maximum value. If it exceeds, the unuploaded security logs are uploaded; wherein the historical maximum value is the maximum value of the number of security logs generated by the computer each time in history or the maximum value of the number of security logs generated by the computer within each set time. In this embodiment, the third threshold value is the number of security logs determined by the log analysis module with an effective rate of 0. In this embodiment, the ascending state refers to not meeting the conditions of the steady state, and the number of security logs counted at least 3 times rises continuously. In other embodiments, the rising amount of two statistics can also be specified to determine the ascending state.

[0052] The above are only embodiments of the present invention. The invention is not limited to the fields involved in this implementation case. The common sense such as the known specific structures and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field to which the invention belongs before the application date or the priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to explain the content of the claims.

Claims

1. A security log analysis system, comprising a protection module, for executing a preset protection operation when a virus or abnormal behavior is detected; characterized in that: Also includes: The behavior recording module is used to record the protection operations of the protection module and generate security logs; A user analysis module is used to record the user's computer operation behavior, analyze the user's computer familiarity based on the computer operation behavior, and determine the user's classification based on the preset classification rules and computer familiarity; the user classification includes low-risk users, medium-risk users and high-risk users; A log monitoring module, used to determine whether the number of security logs that are not uploaded is greater than a first threshold, and if it is greater than the first threshold, upload the security logs that are not uploaded; If it is not greater than the first threshold, determine whether the number of unuploaded security logs is greater than the second threshold, if it is greater than the second threshold, determine whether the user is classified as a high-risk user, and if it is a high-risk user, upload the unuploaded security logs, wherein the second threshold is less than the first threshold; It also includes a log analysis module, which is used to analyze the uploaded security logs and generate analysis results; it is also used to count the corresponding relationship between the number of security logs and the efficiency of the analysis results, screen out the analysis results with an efficiency greater than a first set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as a first threshold; it is also used to screen out the analysis results with an efficiency greater than a second set value, determine the number of security logs corresponding to the analysis results, and use the number of security logs as a second threshold, wherein the first set value is greater than the second set value; The log analysis module is also used to screen out analysis results with an efficiency greater than a first set value, and after determining the number of security logs corresponding to the analysis results, use the lowest number of security logs as the first threshold; The log analysis module is also used to recalculate the first threshold and the second threshold every preset period; The log monitoring module is also used to analyze the number of security logs that have not been uploaded by high-risk users and generate a curve when it is determined that the number of security logs that have not been uploaded is not greater than the second threshold value, and to determine whether the generated curve is in a stable state. If it is in a stable state, the security logs that have not been uploaded are not uploaded at this time; The log monitoring module is also used to determine whether the user's single computer usage time exceeds the set time. If it exceeds the set time, the number of security logs generated each time the computer is used is counted and fitted into a curve; If the set time is not exceeded, the number of security logs generated by the computer within each set time is counted and fitted into a curve; The log monitoring module is also used to determine whether the generated curve is in a decreasing state when analyzing the generated curve of the currently unuploaded security log, and if it is in a decreasing state, determine whether the number of times the security software is used within a set time in the computer operation behavior is higher than a preset number of times, and if it is higher than the preset number of times, upload the unuploaded security log; The log monitoring module is also used to determine whether the generated curve is in an ascending state when analyzing the generated curve of the security log that is not currently uploaded, and if it is in an ascending state, determine whether the current maximum value exceeds the historical maximum value, and if it exceeds, upload the security log that has not been uploaded; The historical maximum value is the maximum value of the number of security logs generated by the computer each time in the history or the maximum value of the number of security logs generated by the computer within a set time; The log monitoring module is also used to determine whether the number of unuploaded security logs is lower than a third threshold when the judgment curve is in an ascending state. If it is lower than the third threshold, the unuploaded security logs are not uploaded.

2. A security log analysis method, characterized in that: Use of the system of claim 1.