Computer internal risk monitoring and repairing method based on dynamic risk assessment
Through the combination of dynamic risk assessment and deep learning model, intelligent monitoring and repair of computer internal risks are realized, which solves the problems of complex monitoring methods, frequent false alarms and slow response in the existing technology, and improves the comprehensiveness and accuracy of risk analysis. The pertinence of early warning ensures computer security and saves resources.
Patent Information
- Application Number
- CN202410729525.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing computer internal risk monitoring methods have complex designs, high implementation and operating costs, false positives, lack of flexibility and customization, and are unable to adapt to the specific needs of different organizations. Their response speed is slow, resulting in limited monitoring effects and delayed handling of risk events. , increasing the risk of loss.
Using a method based on dynamic risk assessment, through the classification of computer security risks, the determination of risk weights by the AHP method, and the deep learning model for real-time monitoring and analysis, combined with sensitivity analysis and global risk functions, the assessment and priority of risk factor categories and priorities are achieved. Early warning, and automatic or manual repair according to the risk level.
It improves the comprehensiveness of risk analysis and intelligent early warning, realizes specific early warning for specific problems, saves resources, ensures computer security, and reduces the risk of false alarms and delayed processing.
Smart Images

Figure CN118734302A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer security, and in particular to a computer internal risk monitoring and repair method based on dynamic risk assessment. Background Art
[0002] With the accelerated advancement of digital transformation in all walks of life, a large amount of sensitive data and key business processes are stored in computer systems. At the same time, security risks such as cyber attacks, data leaks and internal threats have also increased. Therefore, establishing an effective computer internal risk monitoring mechanism is a key link in ensuring information security and business continuity. By monitoring computer internal risks, potential threats and vulnerabilities can be identified in a timely manner, and corresponding measures can be taken to strengthen security protection to avoid data leaks and system attacks. At the same time, monitoring computer internal risks can help understand the current security situation, discover security weaknesses and room for improvement, so as to continuously improve security strategies and strengthen employee training. However, some existing monitoring methods are too complex in design, resulting in high implementation and operation costs. A large amount of resources are required for configuration and management, making implementation difficult; there are false alarms, that is, false warnings or erroneous security incident reports are generated, which may lead to fatigue and ignore real threats; lack of flexibility and customization, unable to adapt to the specific needs and environments of different organizations, resulting in limited monitoring effects; slow response after the problem is discovered, resulting in delayed handling of risk events and increased loss risks. Summary of the invention
[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a computer internal risk monitoring and repair method based on dynamic risk assessment.
[0004] In order to achieve the purpose of the present invention, the present invention will be implemented by adopting the technical solution described below.
[0005] A computer internal risk monitoring and repair method based on dynamic risk assessment, characterized in that it includes the following steps:
[0006] Step S1: classify the security risks faced by existing computers and prove the completeness of the classification;
[0007] Step S2: Determine the classification risk weight by AHP method and obtain the global risk function;
[0008] Step S3: Taking the global risk function as the objective function, a sensitivity analysis is performed on the computer's internal software and hardware;
[0009] Step S4: The deep learning model detects and judges the real-time monitoring data stream of software and hardware and the physical hardware status characteristics. If it is judged that there is a risk, the risk factor category is given, and the obtained risk factor category is substituted into step S3 to obtain the dynamic risk priority; if it is judged that there is no risk, the deep learning model continues to detect the real-time monitoring data stream of software and hardware and the physical hardware status characteristics;
[0010] Step S5: Initiate an early warning based on the risk factor category and the dynamic risk priority of the corresponding software and hardware, and perform risk repair.
[0011] As a preferred solution of the present invention, the global privacy risk classification and completeness proof summarizes the security risks faced by existing computers into five categories: addition, deletion, modification, query, and restriction, and proves the completeness of the classification through a completeness proof;
[0012] As a preferred embodiment of the present invention, the global risk function based on the AHP method is to analyze the five categories of addition, deletion, modification, query and restriction according to the AHP method, obtain the risk weights of the five categories of risks, and obtain the global risk function:
[0013] f(A,D,M,R,L)=aA+bD+cM+dR+eL
[0014] Among them, f(A,D,M,R,L) represents the output result; A, D, M, R, L respectively represent the quantitative value sets of the five types of risks faced by the current software and hardware, namely, increase, delete, modify, query, and limit; a, b, c, d, e respectively represent the weight values of the five types of risks, namely, increase, delete, modify, query, and limit.
[0015] As a preferred solution of the present invention, the dynamic risk priority evaluation process includes the following steps:
[0016] Step S41: Determine key parameters, where the key parameters are the risk category values of the detected software and hardware.
[0017] Step S42: Calculate the sensitivity coefficients, for the above key parameters, calculate their sensitivity coefficients by solving the derivatives or partial derivatives of the global risk function with respect to these parameters.
[0018] Step S43: Analyze the results and determine the degree of influence of parameter changes on the optimal solution based on the calculated sensitivity coefficient. A high sensitivity coefficient means that a small parameter change will lead to a significant output change, while a low sensitivity coefficient means that the output is not very sensitive to parameter changes.
[0019] Step S44: Determine the current system software and hardware priority according to the sensitivity coefficient.
[0020] As a preferred solution of the present invention, the real-time software and hardware monitoring uses a deep learning model to perform risk detection and classification on factors such as monitored data flow and physical hardware status, provides risk factor categories, and initiates an early warning.
[0021] As a preferred solution of the present invention, the risk repair determines the risk level of the current risk software or hardware: if the risk level is low, the system's built-in automatic repair program will repair it according to the risk category; if the risk level is high, the equipment administrator is required to perform manual inspection and repair according to the risk category and sign a safety order.
[0022] As a preferred solution of the present invention, the risk level is defined as follows:
[0023] There are five categories of risks, with priorities 1-3 belonging to low priority and 4-5 belonging to high priority;
[0024] The weight range is [0,1], where [0,0.5] belongs to the low weight range and (0.5,1] belongs to the high weight range;
[0025] If the current risk priority is 1-3 and the weight range is [0,0.5], the current risk is defined as low level;
[0026] If the current risk priority is 1-3 and the weight range is (0.5,1], the current risk is defined as high level;
[0027] If the current risk priority is 4-5 and the weight range is (0.5,1], the current risk is defined as high level;
[0028] If the current risk priority is 4-5 and the weight range is [0,0.5], the current risk is defined as low level.
[0029] Beneficial Effects
[0030] The present invention has the following advantages: through extensive research, a computer-wide risk classification is given and the classification completeness is proved, thereby improving the comprehensiveness of risk analysis; based on the global risk function of the AHP method and the software and hardware risk priority based on sensitivity analysis, the dynamic change relationship between the risk category and the software and hardware inside the computer is given, and specific warnings are given for specific problems, thereby realizing intelligent risk warnings; a machine learning algorithm is used to realize real-time software and hardware risk detection, and different repair plans are provided for different risks, thereby ensuring computer security while saving resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is the overall flow chart of the present invention;
[0032] Figure 2It is a schematic diagram of the global risk classification and dynamic risk assessment process of the present invention;
[0033] Figure 3 It is a schematic diagram of the real-time software and hardware detection process of the present invention;
[0034] Figure 4 It is a schematic diagram of the risk repair solution matching process of the present invention. DETAILED DESCRIPTION
[0035] The present invention is further described in conjunction with the accompanying drawings and embodiments.
[0036] As the technical solution of the present invention, Figure 1 As shown, a computer internal risk monitoring and repair method based on dynamic risk assessment includes the following steps: Step S1: classify the security risks of existing computers and prove the completeness of risk categories; Step S2: determine the weights of risk categories by the AHP method to obtain the global risk function; Step S3: use the global risk function as the objective function to analyze the sensitivity of the software and hardware inside the computer; Step S4: use the deep learning model to detect and judge the real-time monitoring data flow of software and hardware and the physical hardware status characteristics. If it is judged that there is a risk, the risk factor category is given, and the obtained risk factor category is substituted into step S3 to obtain the dynamic risk priority; if it is judged that there is no risk, the deep learning model continues to detect the real-time monitoring data flow of software and hardware and the physical hardware status characteristics; Step 5: Initiate an early warning based on the risk factor category and the corresponding software and hardware priority, and perform risk repair.
[0037] As an embodiment of the present invention, Figure 2 As shown, classifying the security risks of existing computers and proving the completeness of risk categories is to summarize the global privacy risks, which are divided into five categories: addition, deletion, modification, query, and restriction, and the completeness of the classification is proved through completeness proof; wherein, the global privacy risks refer to all security risks faced by existing computers.
[0038] The specific classification and certification process is as follows:
[0039] Define a non-empty set X, X = {a, d, m, s, l} represents the five categories of network attack methods, where a = {a1, a2, ..., a q} represents the currently known q illegal increase network attack methods, d =
[0040] {d1,d2,...,d q} represents the currently known q illegal deletion network attack methods, m={m1,m2,...,m q} represents the currently known q illegal modification network attack methods, s={s1,s2,...,sq} represents the q known illegal query network attack methods, l={l1,l2,...,l q} represents the currently known q illegal restricted network attack methods, q∈Q (including the number of all new attacks in the future).
[0041] Given the distance measurement rule: the distance of the same classification result is 0, and the distance of different classification results is d. Since the five types of network attack methods {a, d, m, q, l} are not completely consistent, there is a distance between the classification results. Therefore, the distance function d(x, y) can be constructed. Construct the metric space based on the non-empty set X and the distance function d(x, y), we have:
[0042] Theorem 1: If d:X×X→R, and for As long as d has the following three properties, it can be shown that X is a metric space.
[0043] Property 1: d(x,y)≥0, the equality holds if and only if x=y.
[0044] Property 2: dx,y=d(y,x).
[0045] Property 3: dx,y+d(y,z)≥d(x,z).
[0046] Next, we will prove that the distance function d in this paper has the above three properties.
[0047] Proof: d(x,y)≥0, the equality holds if and only if x=y.
[0048] First, using proof by contradiction, assume that d(x,y)<0. From the definition of distance, we know that distance represents the physical length between two points, and there is no negative length. Therefore, this assumption is not true, and the original proposition is true, so d(x,y)>0 must exist.
[0049] Secondly, we can also use the proof by contradiction to prove that dx,y = 0 if and only if x = y. Assume that there are two different points x = y, such that dx,y = 0. According to the definition of distance, we can get d(x,y) ≥ 0, and dx,y = 0 means that the two points are at the same position. Therefore, x and y must be the same point, that is, x = y. This assumption is not true, and the original proposition is true.
[0050] Therefore, for any two points x and y, the distance between the two points satisfies d(x, y) ≥ 0, and dx, y = 0 if and only if x = y.
[0051] Proof: dx,y=d(y,x).
[0052] Suppose there are any two points A(x1, y1) and B(x2, y2) in X. Mapping these two points onto the plane coordinate system, the distance between A and B is as follows: Meanwhile, there is Moving (x1 - x2) 2 and (y1 - y2) 2 by transposition, That is, dA,B = dB,A. Therefore, the distance function has symmetry, meaning that the distance between two points is independent of the order of the two points. Whether from point A to point B or from point B to point A, the physical length of the distance between the two points is the same.
[0053] Proof: dx,y + d(y,z) ≥ d(x,z).
[0054] Consider using mathematical induction to prove this triangle inequality. First, prove that the inequality holds when n = 2, that is, the distance between two points satisfies this triangle inequality. Assume that when n = k, the inequality holds, that is, the distance between any k points satisfies the triangle inequality. Now consider the case of k + 1. Select any two points A and B among the k + 1 points, and the distance between them is d(A,B). According to the induction hypothesis, the distance between the remaining k - 1 points satisfies this triangle inequality. Now it only needs to be proved that the distances between A and B and the remaining k - 1 points also satisfy the triangle inequality.
[0055] Suppose there exists a point C such that dA,C + d(C,B) < d(A,B). Then, according to the triangle inequality, dA,C + d(C,B) ≥ d(A,B), which contradicts the assumption. That is, this triangle inequality also holds in the case of n = k + 1. Therefore, the triangle inequality of the distance function of the present invention holds for any n points.
[0056] In summary, it shows that the distance function d satisfies all the constraint conditions of the properties, further indicating that X is a metric space. To prove that X is a complete metric space and further show the completeness of the five categories of network attack methods divided based on the concept of distance, it is necessary to satisfy:
[0057] Theorem 2: In the metric space X, if there exists a real number sequence L (since the distance between any two points selected from the space is determined, a real number sequence L can be constructed to represent the distance between two points in the space), if for any positive real number φ, there exists a positive integer N such that when n > N, it satisfies: L - m < φ, where m is the convergence point (real number), then L is called a Cauchy sequence and X is a complete metric space. Therefore, only by proving that the real number sequence L is a Cauchy sequence and converges to a certain real number within this space, which conforms to the definition that the distance space constructed based on the real number distance is complete [1], it shows that the constructed metric space X has completeness, that is, the division of the five categories for network attacks is complete.
[0058] Proof: Assume that L converges to m. Then, for any positive real number φ, there exists a positive integer N such that when n > N, L - m < φ. Since φ is an arbitrary positive real number, we can take φ = 3, and we have: L - m < 3, that is, m - 3 < L < m + 3. Take Y = max{L1 - m, L2 - m,..., L n-1 - m, L + 1}. When n ≥ N, L - m ≤ Y ≤ ∞. Since φ > 0, take and we have L - m < φ. Therefore, the sequence L satisfies the definition of a Cauchy sequence and converges to m.
[0059] In summary, the constructed metric space X is complete, that is, the five - category division for network attacks is complete.
[0060] The global risk function based on the AHP method analyzes the above five categories of addition, deletion, modification, query, and restriction according to the AHP method, obtains the risk weights of the five types of risks, and gets the global risk function:
[0061] f(A, D, M, R, L) = aA + bD + cM + dR + eL
[0062] where f(A, D, M, R, L) represents the output result; A, D, M, R, L respectively represent the set of numerical values of the five types of risks of addition, deletion, modification, query, and restriction faced by the current software and hardware; a, b, c, d, e respectively represent the weight values of the five types of risks of addition, deletion, modification, query, and restriction.
[0063] The calculation process of the risk weight values of each index in the AHP - based risk system includes the following steps:
[0064] 1). Calculate the risk weight values of each index in the risk system according to AHP and construct a judgment matrix which is constructed by pairwise comparison of the 5 risk indicators of addition, deletion, modification, query, and restriction. The quantization judgment rules are as follows.
[0065]
[0066] (2) Use the square - root method to calculate the eigenvalues and eigenvectors of the judgment matrix. Calculate the product of each row element in the judgment matrix:
[0067]
[0068] Normalize the eigenvector to obtain the weight value. The formula is as follows:
[0069]
[0070] Calculate the largest eigenvalue.
[0071]
[0072] (AW) i It means that the weights of the judgment matrix J are normalized and then the values are accumulated row by row.
[0073] (3) Check consistency. Define the consistency index CI. This step is used to check whether the construction of the judgment matrix is reasonable.
[0074]
[0075] Generally speaking, CI ≤ 0.1 indicates that J is consistent.
[0076] Multiply the risk level by the weight corresponding to each indicator. Divide the risk assessment level into five levels: extreme, high, medium, low and lowest. Since the judgment error increases with the increase of n, we need to consider the influence of n and use CR for consistency judgment:
[0077]
[0078] RI is the average random consistency index. It is shown below.
[0079]
[0080] As an embodiment of the present invention, the dynamic risk priority evaluation process includes the following steps:
[0081] Step 1: Determine the key parameters, where the key parameters are the risk category values of the detected software and hardware; Step 2: Calculate the sensitivity coefficients, for the above key parameters, calculate their sensitivity coefficients. The sensitivity coefficient is achieved by solving the derivative or partial derivative of the global risk function with respect to these parameters; Step 3: Analyze the results, and judge the degree of influence of parameter changes on the optimal solution based on the calculated sensitivity coefficients. A high sensitivity coefficient means that a small parameter change will lead to a significant output change, while a low sensitivity coefficient means that the output is not very sensitive to parameter changes; Step 4: Determine the current system hardware and software priority according to the sensitivity coefficient. The specific process is:
[0082] Assume that the global risk function is:
[0083] f(A,D,M,R,L)=0.2A+0.1D+0.3M+0.05R+0.35L
[0084] The key parameters detected are A, D, M, and L. The sensitivity coefficients for risk factors A, D, M, and L are:
[0085]
[0086] The current system software and hardware priorities are processed according to risk factors L, M, A, and D.
[0087] As an embodiment of the present invention, Figure 3 As shown in the figure, real-time software and hardware monitoring uses deep learning models to perform risk detection and classification on factors such as monitoring data flow and physical hardware status, gives risk factor categories, and initiates early warnings. The specific process is as follows:
[0088] The current real-time software and hardware detection model adopts the CNN model, which takes monitoring data such as monitoring data flow and physical hardware status as model input and outputs risk factor categories, where category 0 is defined as no risk, and the five risk factors of adding, deleting, modifying, querying, and restricting are defined as 1, 2, 3, 4, and 5 respectively; if the model output is 0, it means that there is no risk in the current monitoring data; if the model output is 1, 2, 3, 4 or 5, it means that there is a risk in the current monitoring data and an early warning is initiated.
[0089] As an embodiment of the present invention, Figure 4 As shown, risk repair determines the risk level of the current risk software or hardware: if the risk level is low, the system's built-in automatic repair program will repair it according to the risk category; if the risk level is high, the device administrator is required to perform manual inspection and repair according to the risk category and sign a safety order; among them, low priority means that the risk priority is not high and the risk factor category weight is not high; otherwise, it is a high priority risk.
[0090] The risk levels are defined as follows:
[0091] There are five types of risks, with priorities 1-3 belonging to low priority and 4-5 belonging to high priority. The weight range is [0,1], where [0,0.5] belongs to the low weight range and (0.5,1] belongs to the high weight range.
[0092] If the current risk priority is 1-3 and the weight range is [0,0.5], the current risk is defined as low level;
[0093] If the current risk priority is 1-3 and the weight range is (0.5,1], the current risk is defined as high level;
[0094] If the current risk priority is 4-5 and the weight range is (0.5,1], the current risk is defined as high level;
[0095] If the current risk priority is 4-5 and the weight range is [0,0.5], the current risk is defined as low level.
Claims
1. A computer internal risk monitoring and repair method based on dynamic risk assessment, characterized in that: The steps include: Step S1, classifying the security risks of existing computers and proving the completeness of the risk classification; Step S2, determine the weight of the risk category by AHP method to obtain the global risk function; Step S3, taking the global risk function as the objective function, performing sensitivity analysis on the computer's internal software and hardware; Step S4: The deep learning model detects and judges the real-time monitoring data flow of software and hardware and the physical hardware status characteristics. If it is judged that there is a risk, the risk factor category is given, and the obtained risk factor category is substituted into step S3 to obtain the dynamic risk priority; If it is judged that there is no risk, the deep learning model will continue to detect the real-time monitoring data flow of software and hardware and the physical hardware status characteristics; Step S5: Initiate an early warning based on the risk factor category and the dynamic risk priority of the corresponding software and hardware, and perform risk repair.
2. According to claim 1, a computer internal risk monitoring and repair method based on dynamic risk assessment is characterized in that: The risk categories are divided into five categories: addition, deletion, modification, query, and restriction.
3. According to claim 1, a computer internal risk monitoring and repair method based on dynamic risk assessment is characterized in that: The global risk function is: f(A,D,M,R,L)=aA+bD+cM+dR+eL Among them, f(A,D,M,R,L) represents the output result; A, D, M, R, L respectively represent the quantitative value sets of the five types of risks faced by the current software and hardware, namely, increase, delete, modify, query, and limit; a, b, c, d, e respectively represent the weight values of the five types of risks, namely, increase, delete, modify, query, and limit.
4. A computer internal risk monitoring and repair method based on dynamic risk assessment according to claim 1, characterized in that: The dynamic risk priority evaluation process includes the following steps: Step S41: determining key parameters; Step S42: Calculate the sensitivity coefficient; Step S43: judging the influence of parameter changes on the optimal solution according to the sensitivity coefficient; Step S44: Determine the dynamic risk priority of software and hardware according to the sensitivity coefficient.
5. A computer internal risk monitoring and repair method based on dynamic risk assessment according to claim 4, characterized in that: The key parameter is the quantitative value of the risks faced by the software and hardware.
6. A computer internal risk monitoring and repair method based on dynamic risk assessment according to claim 4, characterized in that: The sensitivity coefficient is achieved by solving the derivative or partial derivative of the global risk function with respect to the key parameter.
7. A computer internal risk monitoring and repair method based on dynamic risk assessment according to claim 1, characterized in that: The risk repair is based on the risk level of the current software or hardware: if the risk level is low, the system's built-in automatic repair program will repair it according to the risk category; if the risk level is high, the device administrator is required to perform manual inspection and repair according to the risk category and sign a safety order.
8. A computer internal risk monitoring and repair method based on dynamic risk assessment according to claim 7, characterized in that: The risk levels are defined as follows: There are five categories of risks, with priorities 1-3 belonging to low priority and 4-5 belonging to high priority; The weight range is [0,1], where [0,0.5] belongs to the low weight range and (0.5,1] belongs to the high weight range; If the current risk priority is 1-3 and the weight range is [0,0.5], the current risk is defined as low level; If the current risk priority is 1-3 and the weight range is (0.5,1], the current risk is defined as high level; If the current risk priority is 4-5 and the weight range is (0.5,1], the current risk is defined as high level; If the current risk priority is 4-5 and the weight range is [0,0.5], the current risk is defined as low level.
Citation Information
Patent Citations
Risk assessment method and device, computer system and medium
CN111859400A
Network security risk assessment system
CN113225358A
Multi-dimensional software security risk assessment method based on CVSS
CN114065223A
Airport safety risk assessment method and system based on multi-dimensional risk indexes
CN116663883A
Dust removal system risk dynamic assessment and grading early warning method based on Internet of Things monitoring
CN117670028A
