A computer system to ensure information security

By calculating the vulnerability repair complexity index and the system security index, the security status of the computer system is comprehensively assessed, which solves the problem of ignoring the overall security situation in the existing technology when dealing with vulnerabilities, and achieves effective management and rapid response to system security risks.

CN118410496BActive Publication Date: 2024-09-17QINGDAO UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410873980.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-17
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

When dealing with the security of computer systems, the existing technology only analyzes and processes based on vulnerability priority, which may ignore other potential risks in the system, resulting in the overall security situation not being fully identified and managed.

Method used

Through the vulnerability prioritization module, vulnerability repair prediction module and system security analysis module, the vulnerability repair complexity index and system security index are calculated, the repair time and security level are predicted, the security status of the system is comprehensively assessed, and appropriate security is selected based on the security index. Early warning processing strategy.

Benefits of technology

Effectively manage security risks, reduce potential threats and attack risks, ensure the system responds quickly and prioritize repairing high-priority vulnerabilities, allocate resources and time reasonably, improve repair efficiency, and reduce security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410496B
    Figure CN118410496B
Patent Text Reader

Abstract

The present invention discloses a computer system for ensuring information security, which relates to the field of information security technology and comprises a vulnerability priority division module, comprising a vulnerability detection unit, a vulnerability testing unit, a severity analysis unit and a priority determination unit; a vulnerability repair prediction module, comprising a code complexity analysis unit, a system complexity analysis unit, a vulnerability repair complexity analysis unit and a vulnerability repair prediction unit; a system security analysis module, comprising a real-time security analysis unit and a prediction compliance unit; by prioritizing the vulnerabilities, obtaining the vulnerability repair complexity index according to the code complexity coefficient and the system complexity coefficient, predicting the repair time of each vulnerability, calculating the security index of the entire system, and analyzing the time when the system security level reaches a high security level, the current and future security status of the system can be comprehensively evaluated, which is helpful to effectively manage security risks and reduce potential threats and attack risks faced by the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information security, and in particular to a computer system for ensuring information security. Background Art

[0002] With the rapid development and widespread application of information technology, the security of computer systems is particularly critical. At present, almost all industries and fields rely on computer systems for daily operations and management. From finance, medical care, government agencies to individual users, all rely on the convenient services and efficient operations provided by computer systems. However, the existence of security vulnerabilities may cause various threats to the system, including data leakage, service interruption and even remote attacks. These vulnerabilities not only threaten the stability and reliability of the system, but may also cause serious damage to personal privacy, business secrets and national security. Security vulnerabilities refer to defects or weaknesses in software or hardware systems that can be maliciously exploited. Attackers can use these vulnerabilities to conduct unauthorized access, data theft, malicious destruction and other activities, causing huge losses to the system and its users. In recent years, with the continuous upgrading and sophistication of network attack technology, the number and types of security vulnerabilities have also increased rapidly. Faced with such a severe security situation, traditional passive defense means are no longer sufficient to cope with increasingly complex security threats. In order to effectively respond to these security challenges, information security protection computer systems based on vulnerability repair have become an important technical means and strategy.

[0003] In the Chinese invention application with application publication number CN118101250A, a network security detection method and system are disclosed, including learning cognitive standards of network behavior through adaptive algorithms; combining multiple detection algorithms to build a multi-dimensional anomaly detection model by analyzing multiple variables of network traffic in different time windows; introducing real-time threat intelligence, combining field data to establish a dynamic vulnerability assessment model, and prioritizing vulnerabilities; formulating active defense strategies by imitating attack behaviors, and using reinforcement learning to automatically update security strategies; establishing a feedback loop mechanism, using real-time detection and analysis results to optimize the multi-dimensional anomaly detection model to adapt to the evolution of network threats.

[0004] In the above invention application, a dynamic vulnerability assessment model is established, vulnerabilities are prioritized, active defense strategies are formulated by imitating attack behaviors, and reinforcement learning is used to automatically update security strategies and adapt to the evolution of network threats. However, the vulnerabilities are only analyzed and processed based on priority, but the security of the entire system is not analyzed, and other potential risks in the system may be ignored. System security is a complex whole that includes multiple levels and links. Only focusing on a single vulnerability and ignoring the overall security situation may result in other risks not being identified and managed.

[0005] To this end, the present invention provides a computer system for ensuring information security. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] In view of the shortcomings of the prior art, the present invention provides a computer system that ensures information security. The present invention prioritizes the vulnerabilities existing in the system and and system complexity factor Calculate the vulnerability repair complexity index Fz, predict the repair time Xsj for each vulnerability, and calculate the security index of the entire system ,Analyzing the time As when the system security level reaches the high security level ,can comprehensively evaluate the current and future security status of the system, which helps ,to effectively manage security risks. By planning and implementing necessary ,security measures in advance, the potential threats and attack risks faced by the ,system can be reduced, thus solving the technical problems recorded in the ,background technology.

[0008] (II) Technical solution

[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions: A computer system for ensuring information security, comprising:

[0010] The vulnerability prioritization module includes a vulnerability detection unit, a vulnerability testing unit, a severity analysis unit, and a priority determination unit. The vulnerability detection unit uses a vulnerability scanning tool to regularly scan the computer system, detect the vulnerabilities in the system, and classify and number them. The vulnerability testing unit uses a vulnerability scoring system to obtain the CVSS score Cv of the vulnerability, and uses the DAST tool to test the system during operation to obtain the specific number of trigger points Cf, the number of affected functions Gn, the resource usage rate Zy, the data leakage index Xz, and the remote code execution degree Yz of the vulnerability. The severity analysis unit analyzes the funnel operation data tested by the vulnerability testing unit to obtain the funnel severity index. ; Prioritization unit based on funnel severity index Prioritize the vulnerabilities that exist in the system;

[0011] Vulnerability repair prediction module, including code complexity analysis unit, system complexity analysis unit, vulnerability repair complexity analysis unit and vulnerability repair prediction unit; the code complexity analysis unit analyzes the affected code and calculates the code complexity coefficient ; The system complexity analysis unit is used to analyze the system complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient ; Vulnerability repair complexity analysis unit based on code complexity coefficient and system complexity factor The vulnerability repair complexity index Fz is calculated and obtained; the vulnerability repair prediction unit predicts the repair time Xsj of each vulnerability according to the vulnerability repair complexity index Fz;

[0012] The system security analysis module includes a real-time security analysis unit and a prediction compliance unit; the real-time security analysis unit calculates the vulnerability severity index of all detected vulnerabilities. , calculate the safety index of the entire system , determine the system safety level; predict the compliance unit based on the safety index of the entire system and the time it takes to fix each vulnerability ,Analyze the time As when the system security level reaches the high security level.

[0013] Furthermore, we simulate attacks through penetration testing to determine the specific attack conditions under which the vulnerability is exploited, which are recorded as the number of specific trigger points of the vulnerability Cg, monitor the behavior of the system during runtime, capture abnormal activities when the vulnerability is triggered, and locate the functions and modules affected by the vulnerability, which are recorded as the number of affected functions Gn;

[0014] Track the data flow path when the vulnerability is running, record the leakage amount Xm and tampering amount Cg of sensitive data per unit time, and calculate the data leakage index Xz:

[0015]

[0016] Through stress testing and boundary testing, the system resource occupancy rate Zy of the vulnerability is evaluated, and it is analyzed whether the vulnerability allows attackers to inject malicious code, which is recorded as the remote code execution degree Yz. If remote code execution is allowed, the remote code execution degree Yz is recorded as 1, otherwise it is 0.

[0017] Further, get the CVSS score of the vulnerability , Specific number of trigger points , Number of affected functions , Resource occupancy rate , Data Breach Index and remote code execution , calculate the vulnerability severity index :

[0018]

[0019] Among them, i represents the sequence number of the vulnerabilities in the vulnerability detection system. ;

[0020] Vulnerability Severity Index Sort from largest to smallest, based on vulnerability severity index The order of sorting determines the processing priority of each vulnerability, that is, the vulnerability in the front order has a higher priority.

[0021] Furthermore, the specific location of the affected code is extracted from the vulnerability report given by the vulnerability scanning tool, and the static code analysis tool is used to evaluate the complexity indicators of each affected location code, including cyclomatic complexity , Lines of code and nesting depth , calculate the code complexity coefficient :

[0022]

[0023] Where j represents the sequence number of each affected location code of the same vulnerability. .

[0024] Affected code refers to the code parts that a vulnerability scanning tool finds when analyzing an application or system that have potential vulnerabilities. Specifically, when a vulnerability scanning tool detects a vulnerability, it usually provides detailed information about the vulnerability, including which code files the vulnerability appears in, the specific code line or function location, and the possible vulnerability type and impact.

[0025] Furthermore, static code analysis tools are used to analyze the system cyclomatic complexity of the entire system. , Number of system code lines and system nesting depth , calculate the system complexity coefficient :

[0026] Among them, k represents the time sequence number of each time the static code analysis tool is used to analyze the entire system, .

[0027] Further, obtain the code complexity coefficient and system complexity factor , calculate the vulnerability repair complexity index Fz:

[0028]

[0029] in, It refers to the system cyclomatic complexity obtained by the most recent analysis of the entire system using static code analysis tools;

[0030] Furthermore, historical vulnerability repair records are obtained, including the vulnerability repair complexity index Fz and repair time Xsj of historical vulnerabilities, and the data is divided into training and test sets. A vulnerability repair time prediction model is constructed based on the linear regression model. After training and testing, the vulnerability repair time prediction model is output, and the repair time Xsj of each vulnerability is predicted based on the vulnerability repair time prediction model.

[0031] Further, obtain the vulnerability severity index of all vulnerabilities , renumbered in order of repair priority , calculate the safety index of the entire system :

[0032]

[0033] Among them, they are renumbered according to the repair priority order: , the higher the priority, the smaller the ranking;

[0034] Furthermore, based on the safety index of the entire system Determine the system security level and select the corresponding security warning processing strategy, specifically:

[0035] when At the second safety threshold, the feedback is that the current system safety level is high and no measures need to be taken. Monitoring should be continued to prevent abnormal situations.

[0036] When the second safety threshold When the first security threshold is reached, the system's security level is reported as medium, and a second-level security warning command is issued, requiring the system to repair vulnerabilities faster to ensure basic security.

[0037] When the first safety threshold When the system is detected as low-security, it will issue a first-level security warning command, requiring emergency measures to repair vulnerabilities and eliminate potential safety hazards.

[0038] Furthermore, when the security level of the system is medium or low, the security index of the entire system is obtained. , predict the security index of the entire system after each vulnerability is repaired, recorded as the predicted system security index :

[0039] Among them, c is the number of vulnerabilities repaired, .

[0040] Further, obtain the predicted system safety index , sequentially judge the relationship between each predicted system safety index and the first safety threshold and the second safety threshold, determine the corresponding system safety level, until the system safety level reaches a high level, output the predicted system safety index at this time , recorded as the safety index of the qualified system .

[0041] Further, obtain the safety index of the qualified system and the time it takes to fix each vulnerability , calculate the time As when the system security level reaches the high security level:

[0042]

[0043] The calculation formula for the time As when the corresponding system security level reaches the high security level is as above.

[0044] (III) Beneficial effects

[0045] The present invention provides a computer system for ensuring information security, which has the following beneficial effects:

[0046] 1. Detect vulnerabilities in the system, analyze and obtain the CVSS score Cv, the number of specific trigger points Cf, the number of affected functions Gn, the resource usage rate Zy, the data leakage index Xz and the remote code execution degree Yz of the vulnerability, and obtain the vulnerability severity index after analysis ,Prioritizing the vulnerabilities existing in the system can help allocate resources and ,efforts effectively. High priority vulnerabilities can be repaired first, and critical vulnerabilities can be responded and ,repaired more quickly, reducing the impact of security risks.

[0047] 2. Analyze the code affected by the vulnerability and calculate the code complexity coefficient , and analyze the system cyclomatic complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient , according to the code complexity coefficient and system complexity factor Calculating the vulnerability repair complexity index Fz and predicting the repair time Xsj for each vulnerability can help to conduct reasonable time management and resource allocation, avoid underestimating or overestimating the repair work, arrange appropriate personnel and tools, improve repair efficiency, and reduce unnecessary delays.

[0048] 3. Vulnerability severity index based on all detected vulnerabilities , calculate the safety index of the entire system , and based on the safety index of the entire system and the time it takes to fix each vulnerability , analyze the time As when the system security level reaches the high security level. It can comprehensively evaluate the current security status of the system, help to effectively manage security risks, and reduce potential threats and attack risks faced by the system by planning and implementing necessary security measures in advance. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 The present invention is a schematic diagram of a computer system structure for ensuring information security. DETAILED DESCRIPTION

[0050] 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.

[0051] See also Figure 1 The present invention provides a computer system for ensuring information security, comprising:

[0052] The vulnerability prioritization module includes a vulnerability detection unit, a vulnerability testing unit, a severity analysis unit, and a priority determination unit. The vulnerability detection unit uses a vulnerability scanning tool to regularly scan the computer system, detect the vulnerabilities in the system, and classify and number them; the vulnerability testing unit uses a vulnerability scoring system to obtain the CVSS score Cv of the vulnerability, and uses the DAST tool to test the system during operation to obtain the specific number of trigger points Cf, the number of affected functions Gn, the resource usage rate Zy, the data leakage index Xz, and the remote code execution degree Yz of the vulnerability; the severity analysis unit analyzes the funnel operation data tested by the vulnerability testing unit to obtain the funnel severity index ; Prioritization unit based on funnel severity index Prioritize the vulnerabilities present in the system.

[0053] Vulnerability scanning tools include Nessus and OpenVAS. DAST tools include OWASP ZAP and Burp Suite. CVSS (Common Vulnerability Scoring System) is a widely used vulnerability scoring system with a score range from 0 to 10. The CVSS score takes into account multiple aspects of the vulnerability, including attack vector, attack complexity, authentication requirements, confidentiality impact, integrity impact, and availability impact. Attack vector: for example, local, adjacent, network. Attack complexity: for example, low, high. Required privileges: for example, none, low, high. User interaction: for example, none, required.

[0054] Through penetration testing, we simulate attacks, determine the specific attack conditions under which the vulnerability is exploited, and record them as the specific trigger point number Cg of the vulnerability. We monitor the runtime behavior of the application, capture abnormal activities when the vulnerability is triggered, and locate the affected functions and modules, which are recorded as the number of affected functions Gn.

[0055] Track the data flow path when the vulnerability is running, record the leakage amount Xm and tampering amount Cg of sensitive data per unit time, and calculate the data leakage index Xz:

[0056]

[0057] Through stress testing and boundary testing, the system resource occupancy rate Zy of the vulnerability is evaluated, and it is analyzed whether the vulnerability allows attackers to inject malicious code, which is recorded as the remote code execution degree Yz. If remote code execution is allowed, the remote code execution degree Yz is recorded as 1, otherwise it is 0.

[0058] Get the CVSS score of the vulnerability , Specific number of trigger points , Number of affected functions , Resource occupancy rate , Data Breach Index and remote code execution , calculate the vulnerability severity index :

[0059]

[0060] Among them, i represents the sequence number of the vulnerabilities in the vulnerability detection system. .

[0061] Vulnerability Severity Index Sort from largest to smallest, based on vulnerability severity index The order of sorting determines the processing priority of each vulnerability, that is, the vulnerability in the front order has a higher priority.

[0062] Detect vulnerabilities in the system, analyze and obtain the CVSS score Cv, the number of specific trigger points Cf, the number of affected functions Gn, the resource usage Zy, the data leakage index Xz and the remote code execution degree Yz of the vulnerability, and obtain the vulnerability severity index after analysis ,Prioritizing the vulnerabilities existing in the system can help allocate resources and ,efforts effectively. High priority vulnerabilities can be repaired first, and critical vulnerabilities can be responded and ,repaired more quickly, reducing the impact of security risks.

[0063] The vulnerability repair prediction module includes a code complexity analysis unit, a system complexity analysis unit, a vulnerability repair complexity analysis unit, and a vulnerability repair prediction unit. The code complexity analysis unit analyzes the affected code and calculates the code complexity coefficient. ; The system complexity analysis unit is used to analyze the system complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient ; Vulnerability repair complexity analysis unit based on code complexity coefficient and system complexity factor The vulnerability repair complexity index Fz is calculated and obtained; the vulnerability repair prediction unit predicts the repair time Xsj of each vulnerability according to the vulnerability repair complexity index Fz.

[0064] Extract the specific location of the affected code from the vulnerability report given by the vulnerability scanning tool, and use static code analysis tools (such as SonarQube, ESLint, etc.) to evaluate the complexity indicators of each affected location code, including cyclomatic complexity , Lines of code and nesting depth , calculate the code complexity coefficient :

[0065]

[0066] Where j represents the sequence number of each affected location code of the same vulnerability. .

[0067] Cyclomatic complexity is a measure of code complexity, representing the number of possible independent paths in the code. Generally speaking, the lower the cyclomatic complexity, the better, because lower cyclomatic complexity means simpler code, easier to understand and maintain; nesting depth refers to the number of nesting levels of control flow statements (such as if statements, for loops, etc.) in the code. Similar to cyclomatic complexity, deeper nesting increases the complexity and difficulty of the code, and shallower nesting helps improve the readability and maintainability of the code because they are easier to understand and debug.

[0068] Affected code refers to the code parts that a vulnerability scanning tool finds when analyzing an application or system that have potential vulnerabilities. Specifically, when a vulnerability scanning tool detects a vulnerability, it usually provides detailed information about the vulnerability, including which code files the vulnerability appears in, the specific code line or function location, and the possible vulnerability type and impact.

[0069] Use static code analysis tools to analyze the system cyclomatic complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient :

[0070]

[0071] Among them, k represents the time sequence number of each time the static code analysis tool is used to analyze the entire system, .

[0072] Get code complexity coefficient and system complexity factor , calculate the vulnerability repair complexity index Fz:

[0073]

[0074] in, It refers to the system cyclomatic complexity obtained by the most recent analysis of the entire system using a static code analysis tool.

[0075] Obtain historical vulnerability repair records, including the vulnerability repair complexity index Fz and repair time Xsj of historical vulnerabilities, divide the data into training set and test set, build a vulnerability repair time prediction model based on the linear regression model, and output the vulnerability repair time prediction model after training and testing, and predict the repair time Xsj of each vulnerability based on the vulnerability repair time prediction model.

[0076] The sample code for using Python to build a vulnerability repair time prediction model is as follows:

[0077] import pandas as pd

[0078] import numpy as np

[0079] from sklearn.model_selection import train_test_split

[0080] from sklearn.linear_model import LinearRegression

[0081] from sklearn.metrics import mean_squared_error, r2_score

[0082] # Read data

[0083] data = pd.read_csv('historical_vulnerability_data.csv')

[0084] # Separate features and target variables

[0085] X = data[['Fz']].values

[0086] y = data['Xsj'].values

[0087] # Divide the data into training and testing sets

[0088] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

[0089] # Create a linear regression model

[0090] model = LinearRegression()

[0091] # Train the model

[0092] model.fit(X_train, y_train)

[0093] # Use the trained model to make predictions

[0094] y_pred_train = model.predict(X_train)

[0095] y_pred_test = model.predict(X_test)

[0096] # Evaluate the model

[0097] train_mse = mean_squared_error(y_train, y_pred_train)

[0098] test_mse = mean_squared_error(y_test, y_pred_test)

[0099] train_r2 = r2_score(y_train, y_pred_train)

[0100] test_r2 = r2_score(y_test, y_pred_test)

[0101] print(f'Training MSE: {train_mse}')

[0102] print(f'Testing MSE: {test_mse}')

[0103] print(f'Training R^2: {train_r2}')

[0104] print(f'Testing R^2: {test_r2}')

[0105] # Define prediction function

[0106] def predict_repair_time(Fz):

[0107] return model.predict(np.array([[Fz]]))[0]

[0108] Analyze the code affected by the vulnerability and calculate the code complexity coefficient , and analyze the system cyclomatic complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient , according to the code complexity coefficient and system complexity factor Calculating the vulnerability repair complexity index Fz and predicting the repair time Xsj for each vulnerability can help to conduct reasonable time management and resource allocation, avoid underestimating or overestimating the repair work, arrange appropriate personnel and tools, improve repair efficiency, and reduce unnecessary delays.

[0109] The system security analysis module includes a real-time security analysis unit and a prediction compliance unit. The real-time security analysis unit calculates the vulnerability severity index of all detected vulnerabilities. , calculate the safety index of the entire system , determine the system safety level; predict the compliance unit based on the safety index of the entire system and the time it takes to fix each vulnerability , analyze the time As when the system security level reaches the high security level.

[0110] Get the vulnerability severity index of all vulnerabilities , renumbered in order of repair priority , calculate the safety index of the entire system :

[0111]

[0112] Among them, they are renumbered according to the repair priority order: , the higher the priority, the smaller the ranking.

[0113] Get the security index of the entire system , based on the safety index of the entire system Determine the system security level and select the corresponding security warning processing strategy, specifically:

[0114] when At the second safety threshold, the feedback is that the current system safety level is high and no measures need to be taken. Monitoring should be continued to prevent abnormal situations.

[0115] When the second safety threshold When the first security threshold is reached, the system's security level is reported as medium, and a second-level security warning command is issued, requiring the system to repair vulnerabilities faster to ensure basic security.

[0116] When the first safety threshold When the system is detected as low-security, it will issue a first-level security warning command, requiring emergency measures to repair vulnerabilities and eliminate potential safety hazards.

[0117] Among them, the first safety threshold is 0.5 , the second safety threshold is , Safety index for all systems The mean of .

[0118] When the system's security level is medium or low, obtain the security index of the entire system , predict the security index of the entire system after each vulnerability is repaired, recorded as the predicted system security index :

[0119]

[0120] Among them, c is the number of vulnerabilities repaired, .

[0121] Get the predicted system safety index , in order (i.e. first determine ) Determine the relationship between each predicted system safety index and the first safety threshold and the second safety threshold, determine the corresponding system safety level, and output the predicted system safety index when the system safety level reaches a high level. , recorded as the safety index of the qualified system .

[0122] Obtaining the safety index of the qualified system and the time it takes to fix each vulnerability , calculate the time As when the system security level reaches the high security level:

[0123]

[0124] The calculation formula for the time As when the corresponding system security level reaches the high security level is as above.

[0125] Vulnerability severity index based on all detected vulnerabilities , calculate the safety index of the entire system , and based on the safety index of the entire system and the time it takes to fix each vulnerability , analyze the time As when the system security level reaches the high security level. It can comprehensively evaluate the current security status of the system, help to effectively manage security risks, and reduce potential threats and attack risks faced by the system by planning and implementing necessary security measures in advance.

[0126] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. A person of ordinary skill in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution.

[0127] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0128] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A computer system for ensuring information security, characterized in that: include: The vulnerability prioritization module includes a vulnerability detection unit, a vulnerability testing unit, a severity analysis unit, and a priority determination unit; the vulnerability detection unit uses a vulnerability scanning tool to regularly scan the computer system, detect the vulnerabilities in the system, and classify and number them; the vulnerability testing unit uses a vulnerability scoring system to obtain the CVSS score Cv of the vulnerability, and uses the DAST tool to test the system during operation to obtain the specific number of trigger points Cf, the number of affected functions Gn, the resource occupancy rate Zy, the data leakage index Xz, and the remote code execution degree Yz of the vulnerability; the severity analysis unit analyzes the vulnerability operation data tested by the vulnerability testing unit to obtain the vulnerability severity index ; Prioritization unit based on vulnerability severity index Prioritize the vulnerabilities that exist in the system; Vulnerability repair prediction module, including code complexity analysis unit, system complexity analysis unit, vulnerability repair complexity analysis unit and vulnerability repair prediction unit; the code complexity analysis unit analyzes the affected code and calculates the code complexity coefficient ; The system complexity analysis unit is used to analyze the system complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient ; Vulnerability repair complexity analysis unit based on code complexity coefficient and system complexity factor The vulnerability repair complexity index Fz is calculated and obtained; the vulnerability repair prediction unit predicts the repair time Xsj of each vulnerability according to the vulnerability repair complexity index Fz; System safety analysis module, including real-time safety analysis unit and prediction and compliance unit; The real-time security analysis unit calculates the vulnerability severity index of all detected vulnerabilities , calculate the safety index of the entire system , determine the system safety level; predict the compliance unit based on the safety index of the entire system and the time it takes to fix each vulnerability , analyze the time As when the system security level reaches the high security level.

2. A computer system for ensuring information security according to claim 1, characterized in that: Through penetration testing, attacks are simulated to determine the specific attack conditions under which the vulnerability is exploited, which are recorded as the specific trigger point number Cg of the vulnerability. The system runtime behavior is monitored to capture abnormal activities when the vulnerability is triggered, and the functions and modules affected by the vulnerability are located, which are recorded as the number of affected functions Gn. Track the data flow path when the vulnerability is running, record the leakage amount Xm and tampering amount Cg of sensitive data per unit time, and calculate the data leakage index Xz: ; Through stress testing and boundary testing, the system resource occupancy rate Zy of the vulnerability is evaluated, and it is analyzed whether the vulnerability allows attackers to inject malicious code, which is recorded as the remote code execution degree Yz. If remote code execution is allowed, the remote code execution degree Yz is recorded as 1, otherwise it is 0.

3. A computer system for ensuring information security according to claim 2, characterized in that: Get the CVSS score of the vulnerability , Specific number of trigger points , Number of affected functions , Resource occupancy rate , Data Breach Index and remote code execution , calculate the vulnerability severity index : ; Among them, i represents the sequence number of the vulnerabilities in the vulnerability detection system. ; Vulnerability Severity Index Sort from largest to smallest, based on vulnerability severity index The order of sorting determines the processing priority of each vulnerability, that is, the vulnerability in the front order has a higher priority.

4. A computer system for ensuring information security according to claim 1, characterized in that: Extract the specific location of the affected code from the vulnerability report given by the vulnerability scanning tool, and use static code analysis tools to evaluate the complexity indicators of each affected location code, including cyclomatic complexity , Lines of code and nesting depth , calculate the code complexity coefficient : ; Where j represents the sequence number of each affected location code of the same vulnerability. .

5. A computer system for ensuring information security according to claim 4, characterized in that: Use static code analysis tools to analyze the system cyclomatic complexity of the entire system , Number of system code lines and system nesting depth , calculate the system complexity coefficient : ; Among them, k represents the time sequence number of each time the static code analysis tool is used to analyze the entire system, .

6. A computer system for ensuring information security according to claim 5, characterized in that: Get code complexity coefficient and system complexity factor , calculate the vulnerability repair complexity index Fz: ; in, It refers to the system cyclomatic complexity obtained by the most recent analysis of the entire system using static code analysis tools; Obtain historical vulnerability repair records, including the vulnerability repair complexity index Fz and repair time Xsj of historical vulnerabilities, divide the data into training set and test set, build a vulnerability repair time prediction model based on the linear regression model, and output the vulnerability repair time prediction model after training and testing, and predict the repair time Xsj of each vulnerability based on the vulnerability repair time prediction model.

7. A computer system for ensuring information security according to claim 6, characterized in that: Get the vulnerability severity index of all vulnerabilities , renumbered in order of repair priority Calculate the safety index of the entire system : ; Among them, they are renumbered according to the repair priority order: , the higher the priority, the smaller the ranking; Based on the safety index of the entire system Determine the system security level and select the corresponding security warning processing strategy, specifically: when At the second safety threshold, the system will be fed back with a high safety level and no action is required. When the second safety threshold When the first safety threshold is reached, the system will report that the safety level of the current system is medium, and issue a second-level safety warning command. When the first safety threshold When the system is at a low security level, it will send out a first-level security warning command. Among them, the first safety threshold is 0.5 , the second safety threshold is , Safety index for all systems The mean of .

8. A computer system for ensuring information security according to claim 7, characterized in that: When the system's security level is medium or low, obtain the security index of the entire system , predict the security index of the entire system after each vulnerability is repaired, recorded as the predicted system security index : ; Among them, c is the number of vulnerabilities repaired, .

9. A computer system for ensuring information security according to claim 8, characterized in that: Get the predicted system safety index , sequentially judge the relationship between each predicted system safety index and the first safety threshold and the second safety threshold, determine the corresponding system safety level, until the system safety level reaches a high level, output the predicted system safety index at this time , recorded as the safety index of the qualified system .

10. A computer system for ensuring information security according to claim 9, characterized in that: Obtaining the system safety index that meets the standards and the time it takes to fix each vulnerability , calculate the time As when the system security level reaches the high security level: ; The calculation formula for the time As when the corresponding system security level reaches the high security level is as above.

Citation Information

Patent Citations

  • Network security detection method and system

    CN118101250A

  • Program vulnerability path tracking method and device, computer equipment and storage medium

    CN111625835A

  • Vulnerability remediation complexity (VRC) system

    US20210273968A1

  • Vulnerability assessment method and analysis device

    WO2023179467A1

  • Method for optimizing vulnerability remediation priority

    WO2024131206A1