Vulnerability discovery methods, systems, storage media, and terminal devices based on Bayesian networks

By analyzing the weak characteristic changes of industrial control equipment through Bayesian network, we build a fault tree model and Bayesian network, optimize the testing strategy, solve the problem of low accuracy and efficiency of vulnerability detection of industrial control equipment, and achieve efficient discovery of unknown vulnerabilities.

CN117009974BActive Publication Date: 2024-09-10JIANGSU BOZHI SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310783504.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2024-09-10
Estimated Expiration
2043-06-28

AI Technical Summary

Technical Problem

Existing industrial control equipment vulnerability detection methods are difficult to detect weak feature changes, resulting in low accuracy and efficiency of unknown vulnerability detection, and high requirements for detection personnel.

Method used

A vulnerability mining method based on Bayesian network is adopted to analyze known industrial control vulnerability samples, build a fault tree model and Bayesian network topology, set feature weights, calculate vulnerability suspicious scores, and perform reverse reasoning to optimize the testing strategy until Uncover unknown vulnerabilities.

Benefits of technology

It significantly improves the accuracy and efficiency of vulnerability detection, can automatically adjust strategies, accurately discover unknown vulnerabilities, and effectively solves the problem of reasoning about unknown vulnerabilities and complex causal relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117009974B
    Figure CN117009974B
Patent Text Reader

Abstract

The present application discloses a vulnerability mining method based on a Bayesian network, including extraction of target information, construction of a fault tree, construction of a Bayesian network topology, construction of a Bayesian network, setting weights, calculation of vulnerability suspicion scores, reverse reasoning, reasoning feedback, and optimization until vulnerability mining. The method can effectively solve the uncertainty of unknown vulnerabilities and the reasoning problems of complex causal relationships, and can automatically adjust strategies based on the features to be tested, discover unknown vulnerabilities more accurately and in a targeted manner, and significantly improve the efficiency of vulnerability mining.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a vulnerability mining method, system, storage medium and terminal device based on a Bayesian network, and belongs to the field of network security technology. Background Art

[0002] In recent years, how to effectively ensure the security of industrial control equipment itself has become a realistic challenge facing enterprise industrial control security operators. Currently, the detection of unknown vulnerabilities in industrial control equipment / industrial control protocols is mainly based on fuzz testing technology, which uses fuzzy test cases to generate mutated messages and send them to the device under test for detection. As long as it does not affect the continued execution of the test case, the changes in the weaker features of the device under test are often ignored, resulting in the inability to discover hidden unknown vulnerabilities. Therefore, how to make predictive inferences from the weaker feature changes of the device under test, enhance the features through subsequent more targeted tests, and further improve the accuracy and efficiency of vulnerability mining has become a problem that needs to be solved urgently. Summary of the invention

[0003] In order to solve the problem of uncertainty of unknown vulnerabilities and difficulty in reasoning about complex causal relationships, as well as the problems of large uncertainty in unknown vulnerability mining, high requirements for detection personnel, low accuracy and low efficiency that are common in existing vulnerability mining methods, the present application provides a vulnerability mining method based on a Bayesian network, which can perform predictive reasoning from changes in relatively subtle features of the device under test, enhance features through subsequent more targeted tests, and thus discover unknown vulnerabilities.

[0004] The steps include:

[0005] S1: Analyze and collect statistics of known industrial control vulnerability POC samples, apply them to target devices for verification, and extract target information, which includes target features of the target device;

[0006] The known vulnerability information obtained needs to cover the current mainstream industrial control equipment manufacturers, mainstream industrial control equipment models, and mainstream industrial control protocols, etc. These known industrial control vulnerability samples need to be manually verified and analyzed to obtain the triggering conditions of each sample vulnerability and summarize the corresponding vulnerability types.

[0007] S2: Construct a fault tree model and use it to build a Bayesian network topology structure.

[0008] S3: Build a Bayesian network.

[0009] S4: Setting a weight according to the degree of association between the target feature and the vulnerability.

[0010] S5: Calculate a vulnerability suspicion score by combining the weight with the tested features of the tested device.

[0011] S6: Making a judgment based on the vulnerability suspicion score, substituting the feature to be tested into the Bayesian network for reasoning, and reversely reasoning out the vulnerability type and vulnerability triggering condition with a higher probability based on the current feature.

[0012] S7: Optimize the mutation test direction and mutation degree according to the inference result until the vulnerability is discovered.

[0013] Optionally, the target information further includes: trigger conditions and vulnerability types;

[0014] The target feature is associated with the vulnerability type and the trigger condition.

[0015] Optionally, the construction of the Bayesian network topology structure in S2 specifically includes:

[0016] According to the logical causal relationship between the vulnerability and the equipment failure, the vulnerability triggering condition, i.e., the initial cause of the failure, is taken as the basic event;

[0017] The vulnerability type is an intermediate event. It is the result of the basic event and also the reason why the target to be tested appears abnormal.

[0018] The target feature is used as the top event to construct a fault tree model;

[0019] The basic events, intermediate events and top events correspond to the parent node, intermediate node and child node in the Bayesian network respectively;

[0020] The input-output relationship of events in the fault tree model corresponds to the causal relationship between parent and child nodes in the Bayesian network.

[0021] Optionally, the construction of the Bayesian network in S3 specifically includes:

[0022] According to the fuzzy set theory, the prior probability and conditional probability of each node are calculated respectively to complete the Bayesian network model;

[0023] Before learning the network parameters, the initial conditional probabilities of each node are defined based on prior knowledge;

[0024] N experienced experts are selected to judge the probability of occurrence of various abnormal states of industrial control targets, with a 7-point scale of 1 to 7, corresponding to the possibilities {very low (VL), low (L), relatively low (FL), medium (M), relatively high (FH), high (H), very high (VH)}. Here we use the triangular (trapezoidal) fuzzy function F = (a, b, c, d) to represent the membership degree corresponding to each possibility, where a and d represent the lower limit and upper limit respectively, and [b, c] represents the area with a membership degree of 1;

[0025] The specific 7 levels of fuzzy numbers are:

[0026] f(VL)=(0,0,0.1,0.2);

[0027] f(L)=(0.1,0.2,0.3);

[0028] f(FL)=(0.2,0.3,0.4,0.5);

[0029] f(M)=(0.4,0.5,0.6);

[0030] f(FH)=(0.5,0.6,0.7,0.8);

[0031] f(H)=(0.7,0.8,0.9);

[0032] f(VH)=(0.8,0.9,1,1);

[0033] Among them, F ji represents the fuzzy number of the semantic judgment of the jth expert (j=1,2,..n) on the i-th preset abnormal state (i=1,2,...,m). The comprehensive judgment result of the event is obtained by calculating the average. The comprehensive judgment of n experts can be expressed as:

[0034]

[0035] where p i is the comprehensive evaluation result of the event, which is still a fuzzy number set;

[0036] Need to p i Defuzzification is performed and the weighted average algorithm commonly used in industrial control systems is used to obtain a specific probability value, which is used as the prior probability of the node in the Bayesian network.

[0037] Similarly, the prior probabilities and conditional probabilities of other nodes are calculated respectively.

[0038] Optionally, the setting of the weight in S4 specifically includes:

[0039] The less the target feature is affected by accidental factors, the greater its weight is. Different features have different weights. For example, the DO output and AO output in industrial control equipment are highly stable and less affected by accidental factors. The weight of this feature is higher. ICMP delay and ARP delay are greatly affected by accidental factors such as the test environment network, so the weight of this feature is lower.

[0040] Optionally, the S6 includes:

[0041] A monitoring unit is set to monitor the device under test in real time during the vulnerability mining test, and obtain the target features in real time.

[0042] Optionally, the S7 further includes:

[0043] An appropriate interval of the vulnerability suspicion score is set to adjust the subsequent test strategy and / or determine whether a vulnerability has been discovered.

[0044] Optionally, the setting of the moderate interval specifically includes:

[0045] Set the vulnerability suspicious score interval [P1, P2];

[0046] If the vulnerability suspicion score of the device under test is less than P1, the test in the next time period resumes the execution of the initial test case;

[0047] If the vulnerability suspicion score of the device under test is greater than P2, it is determined that the vulnerability has been discovered, and the POC script consisting of the sub-tests in the current stage is output, and the vulnerability type with the highest probability that the vulnerability belongs is calculated based on the Bayesian network;

[0048] If the vulnerability suspicion score of the device to be tested is within the interval, the feature to be tested is continuously substituted into the Bayesian network for reasoning and optimization is performed according to the reasoning result until the vulnerability is discovered.

[0049] Optionally, the S7 specifically includes:

[0050] S7-1: Calculate the probability of each vulnerability triggering condition according to the Bayesian formula, and select the vulnerability triggering condition with the highest probability;

[0051] S7-2: Select the acquired T according to the vulnerability triggering condition n For the relevant test messages within the time period, select the corresponding abnormal fields or abnormal message structures to cover, increase the number of variant sub-tests or enhance the degree of variation, and then proceed to the next time period T n+1 Testing to enhance vulnerability trends;

[0052] S7-3: If the next time period T n+1 If the vulnerability suspicion level does not increase significantly after testing, the default benchmark test case will be restored to continue testing;

[0053] If the vulnerability suspicion level increases significantly after testing in the next time period, the device feature value is again brought into the Bayesian network for reasoning, and new vulnerability triggering conditions are derived based on the new reasoning results;

[0054] S7-4: Further adjust and optimize the test case mutation direction and degree according to the new vulnerability triggering condition until the vulnerability is discovered.

[0055] Optionally, the variation degree is controlled by increasing the discreteness of the variation value of the corresponding field;

[0056] The degree of variation includes the number of mutated messages and boundary value coverage of the corresponding message field.

[0057] Optionally, the trigger condition includes at least one of the following conditions:

[0058] Abnormal length field, illegal parameters, abnormal data packet check, connection exhaustion, abnormal heartbeat packet, illegal boundary.

[0059] Optionally, the trigger type includes at least one of the following types:

[0060] Denial of service vulnerabilities, buffer overflows, SQL injections, information leaks.

[0061] Optionally, the target feature includes at least one of the following features: memory, CPU, process, voltage analog output value, voltage digital output value, port status, Internet Protocol response delay time, register status, coil status.

[0062] The present application also provides a vulnerability mining system based on a Bayesian network, the system comprising:

[0063] A monitoring module, used to monitor the characteristics of the device under test during the test;

[0064] A calculation module, used to calculate the conditional probability and posterior probability of each node in the Bayesian network, and also used to calculate the vulnerability suspicion score according to the features to be tested combined with pre-set weights;

[0065] The strategy module is used to adjust and optimize the mutation strategy based on the vulnerability triggering conditions with the highest probability;

[0066] The system can implement the above-mentioned vulnerability mining method based on Bayesian network.

[0067] The present application also provides a storage medium storing instructions, wherein the instructions are used to implement the above method when executed by a processor.

[0068] The present application also provides a terminal device, including a processor and a memory, wherein the memory stores instructions, and the instructions are used to enable the terminal device to execute the above method.

[0069] In this application, the known industrial control vulnerability POC can be analyzed to extract the target features when the target device triggers the corresponding vulnerability, and the Bayesian topology structure can be constructed through the fault tree model. The prior probability and conditional probability of each node can be calculated according to the fuzzy set theory to generate a Bayesian network.

[0070] During the test, the test features of the device under test are monitored and substituted into the Bayesian network to reversely infer the vulnerability triggering conditions. The test engine adjusts the mutation strategy for subsequent testing based on the inference results and the vulnerability suspicion score, which can effectively improve the efficiency of vulnerability mining.

[0071] The beneficial effects of this application include:

[0072] 1) This application can automatically adjust the strategy based on the features to be tested, and can discover unknown vulnerabilities more accurately and in a targeted manner, significantly improving the efficiency of vulnerability mining;

[0073] 2) This application can effectively solve the uncertainty of unknown vulnerabilities and the reasoning problems of complex causal relationships. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a flowchart of the steps of a vulnerability mining method based on a Bayesian network in one embodiment of the present application. DETAILED DESCRIPTION

[0075] The present application is described in detail below with reference to embodiments, but the present application is not limited to these embodiments.

[0076] The execution subject of the vulnerability mining method can be any terminal device;

[0077] According to an implementation of the present application, the present application provides a vulnerability mining method based on a Bayesian network, comprising the following steps:

[0078] S1: Analyze and collect statistics of known industrial control vulnerability POC samples, apply them to target devices for verification, extract target information, the target information includes target features, trigger conditions and vulnerability types of the target devices, and associate the target features with the vulnerability types and trigger conditions;

[0079] The trigger conditions include but are not limited to length field anomaly, illegal parameters, data packet check anomaly, connection exhaustion, heartbeat packet anomaly, and illegal boundaries;

[0080] The trigger types include but are not limited to denial of service vulnerabilities, buffer overflows, SQL injections, and information leaks;

[0081] The target features include, but are not limited to: memory, CPU, process, voltage analog output value, voltage digital output value, port status, Internet Protocol response delay time, register status, and coil status.

[0082] S2: Construct a fault tree model and use it to construct a Bayesian network topology:

[0083] According to the logical causal relationship between the vulnerability and the equipment failure, the vulnerability triggering condition, i.e., the initial cause of the failure, is taken as the basic event;

[0084] The vulnerability type is an intermediate event. It is the result of the basic event and also the reason why the target to be tested appears abnormal.

[0085] The target feature is used as the top event to construct a fault tree model;

[0086] The basic events, intermediate events and top events correspond to the parent node, intermediate node and child node in the Bayesian network respectively;

[0087] The input-output relationship of events in the fault tree model corresponds to the causal relationship between parent and child nodes in the Bayesian network.

[0088] S3: Constructing Bayesian network: According to fuzzy set theory, calculate the prior probability and conditional probability of each node respectively to complete the Bayesian network model;

[0089] Before learning the network parameters, the initial conditional probabilities of each node are defined based on prior knowledge;

[0090] N experienced experts are selected to judge the probability of occurrence of various abnormal states of industrial control targets, with a 7-point scale of 1 to 7, corresponding to the possibilities {very low (VL), low (L), relatively low (FL), medium (M), relatively high (FH), high (H), very high (VH)}. Here we use the triangular (trapezoidal) fuzzy function F = (a, b, c, d) to represent the membership degree corresponding to each possibility, where a and d represent the lower limit and upper limit respectively, and [b, c] represents the area with a membership degree of 1;

[0091] The specific 7 levels of fuzzy numbers are:

[0092] f(VL)=(0,0,0.1,0.2);

[0093] f(L)=(0.1,0.2,0.3);

[0094] f(FL)=(0.2,0.3,0.4,0.5);

[0095] f(M)=(0.4,0.5,0.6);

[0096] f(FH)=(0.5,0.6,0.7,0.8);

[0097] f(H)=(0.7,0.8,0.9);

[0098] f(VH)=(0.8,0.9,1,1);

[0099] Among them, F ji represents the fuzzy number of the semantic judgment of the jth expert (j=1,2,..n) on the i-th preset abnormal state (i=1,2,...,m). The comprehensive judgment result of the event is obtained by calculating the average. The comprehensive judgment of n experts can be expressed as:

[0100]

[0101] where p i is the comprehensive evaluation result of the event, which is still a fuzzy number set;

[0102] Need to p i Defuzzification is performed and the weighted average algorithm commonly used in industrial control systems is used to obtain a specific probability value, which is used as the prior probability of the node in the Bayesian network.

[0103] Similarly, the prior probabilities and conditional probabilities of other nodes are calculated respectively.

[0104] S4: setting a weight according to the degree of association between the target feature and the vulnerability. The less the target feature is affected by accidental factors, the greater the weight it occupies.

[0105] S4-1: Execute the initial fuzz test case, which can be customized according to the protocol;

[0106] S4-2: After the test execution time period T, the features of the current device under test are obtained, that is, the number M of features hit by the device under test at the current moment.

[0107] S5: Calculate a vulnerability suspicion score by combining the weight with the tested features of the tested device.

[0108] S6: judging according to the vulnerability suspicion score, the higher the score, the greater the vulnerability suspicion, that is, the greater the probability of the vulnerability occurring or the probability of the vulnerability occurring in the future;

[0109] S6-1: Set the vulnerability suspicion score range [P1, P2].

[0110] S6-2: If the vulnerability suspicion score of the device under test is less than P1, it is considered that the vulnerability suspicion level at the current moment is low and can be ignored, and the test in the next time period resumes the execution of the initial test case, that is, continues to return to S4-1 for execution;

[0111] S6-3: If the vulnerability suspicion score of the device under test is greater than P2, it is determined that the vulnerability has been discovered, and the POC script consisting of the sub-tests in the current stage is output. At the same time, the vulnerability type with the highest probability that the vulnerability belongs is calculated based on the Bayesian network, and the vulnerability mining test ends;

[0112] S6-4: If the vulnerability suspicion score of the device under test is within the interval, it is considered that the vulnerability suspicion level at the current moment is moderate, and S6-5 is continued;

[0113] S6-5: Substitute the feature to be tested into the Bayesian network for reasoning, and reversely infer the vulnerability type and vulnerability triggering condition with a higher probability based on the current feature.

[0114] S7: Optimizing the mutation test direction and mutation degree according to the inference result until the vulnerability is discovered;

[0115] S7-1: Calculate the probability of each vulnerability triggering condition according to the Bayesian formula, and select the vulnerability triggering condition with the highest probability.

[0116] S7-2: Select the relevant test messages obtained within the Tn time period according to the vulnerability triggering condition, select the corresponding abnormal field or abnormal message structure to cover, increase the number of variant sub-tests or enhance the degree of variation, and control the degree of variation by increasing the discrete degree of the corresponding field variation value;

[0117] Then, the next time period Tn+1 is tested to enhance the vulnerability trend.

[0118] For example, in S7-1, the vulnerability trigger condition with the highest probability inferred based on the current hit features is an illegal boundary. In the next time period, the number of variant sub-tests related to illegal boundaries needs to be increased to cover the illegal boundaries of all string type fields in the test message.

[0119] S7-3: If the vulnerability suspicion level does not increase significantly after testing in the next time period Tn+1, the default benchmark test case is restored to continue testing;

[0120] If the vulnerability suspicion level increases significantly after testing in the next time period, the device feature values ​​are again brought into the Bayesian network for reasoning, and new vulnerability triggering conditions are derived based on the new reasoning results.

[0121] S7-4: Further adjust and optimize the test case mutation direction and degree according to the new vulnerability triggering condition until the vulnerability is discovered.

[0122] The present application also provides a vulnerability mining system based on a Bayesian network, comprising:

[0123] A monitoring module, used to monitor the characteristics of the device under test during the test;

[0124] A calculation module, used to calculate the conditional probability and posterior probability of each node in the Bayesian network, and also used to calculate the vulnerability suspicion score according to the features to be tested combined with pre-set weights;

[0125] The strategy module is used to adjust and optimize the mutation strategy based on the vulnerability triggering conditions with the highest probability;

[0126] The system can implement the above-mentioned vulnerability mining method based on Bayesian network.

[0127] The present application also provides a storage medium storing instructions, wherein the instructions are used to implement the above method when executed by a processor.

[0128] The present application also provides a terminal device, including a processor and a memory, wherein the memory stores instructions, and the instructions are used to enable the terminal device to execute the above method.

[0129] It should be noted that, for the above method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited to the described action sequence, because according to the present disclosure, some steps can be performed in other sequences or simultaneously;

[0130] Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure;

[0131] The above description is only a partial embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application is disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technician familiar with the profession, without departing from the scope of the technical solution of the present application, using the above disclosed technical content to make slight changes or modifications are equivalent to equivalent implementation cases and fall within the scope of the technical solution.

Claims

1. The vulnerability mining method based on Bayesian network is characterized by: The steps include: S1: Analyze and collect statistics of known industrial control vulnerability POC samples, apply them to target devices for verification, and extract target information, which includes target features of the target device; S2: Construct a fault tree model and use it to construct a Bayesian network topology structure; S3: Building a Bayesian network; S4: setting a weight according to the degree of association between the target feature and the vulnerability; S5: Calculate a vulnerability suspicion score by combining the weight with the tested features of the tested device; S6: Making a judgment based on the vulnerability suspicion score, substituting the feature to be tested into the Bayesian network for reasoning; S7: Optimizing the mutation test direction and mutation degree according to the inference result until the vulnerability is discovered; The target information also includes: trigger conditions and vulnerability types; Associating the target feature with the vulnerability type and the trigger condition; The target feature includes at least one of the following features: memory, CPU, process, voltage analog output value, voltage digital output value, port status, Internet protocol response delay time, register status, coil status; The construction of the Bayesian network topology structure in S2 specifically includes: According to the logical causal relationship of the vulnerability causing the equipment failure, the vulnerability triggering condition is used as the basic event, the vulnerability type is used as the intermediate event, and the target feature is used as the top event to build a fault tree model; The basic events, intermediate events and top events correspond to the parent node, intermediate node and child node in the Bayesian network respectively; The input-output relationship of the events in the fault tree model corresponds to the causal relationship between the parent-child nodes in the Bayesian network; The construction of the Bayesian network in S3 specifically includes: According to the fuzzy set theory, the prior probability and conditional probability of each node are calculated to complete the Bayesian network; The setting of the weight in S4 specifically includes: The less the target feature is affected by accidental factors, the greater its weight; S4-1: Execute an initial fuzz test case, which can be customized according to the protocol; S4-2: After the test execution time period T, the features of the current device under test are obtained, that is, the number of features hit by the device under test at the current moment M; The S6 includes: Setting a monitoring unit to monitor the device under test in real time during the vulnerability mining test and obtain the target features in real time; The S7 specifically includes: S7-1: Calculate the probability of each vulnerability triggering condition according to the Bayesian formula, and select the vulnerability triggering condition with the highest probability; S7-2: Select the acquired T according to the vulnerability triggering condition n For the relevant test messages within the time period, select the corresponding abnormal fields or abnormal message structures to cover, increase the number of variant sub-tests or enhance the degree of variation, and then proceed to the next time period T n+1 Testing to enhance vulnerability trends; S7-3: If the next time period T n+1 If the vulnerability suspicion level does not increase significantly after testing, the default benchmark test case will be restored to continue testing; If the vulnerability suspicion level increases significantly after the next test, the feature to be tested is again brought into the Bayesian network for reasoning, and a new vulnerability triggering condition is derived based on the new reasoning result; S7-4: Further adjust and optimize the test case mutation direction and degree according to the new vulnerability triggering condition until the vulnerability is discovered.

2. The vulnerability mining method based on Bayesian network according to claim 1 is characterized in that: The S6 further includes: An appropriate interval of the vulnerability suspicion score is set to adjust the subsequent test strategy and / or determine whether a vulnerability has been discovered.

3. The vulnerability mining method based on Bayesian network according to claim 2 is characterized in that: The setting of the moderate interval specifically includes: Set the vulnerability suspicious score interval [P1, P2]; If the vulnerability suspicion score of the device under test is less than P1, the test in the next time period resumes the execution of the initial test case; If the vulnerability suspicion score of the device under test is greater than P2, it is determined that the vulnerability has been discovered, and the POC script consisting of the sub-tests in the current stage is output, and the vulnerability type with the highest probability that the vulnerability belongs is calculated based on the Bayesian network; If the vulnerability suspicion score of the device to be tested is within the interval, the feature to be tested is continuously substituted into the Bayesian network for reasoning and optimization is performed according to the reasoning result until the vulnerability is discovered.

4. The vulnerability mining method based on Bayesian network according to claim 1 is characterized in that: Controlling the degree of variation by increasing the discreteness of the corresponding field variation value; The degree of variation includes the number of mutated messages and boundary value coverage of the corresponding message field.

5. The vulnerability mining method based on Bayesian network according to claim 1 is characterized in that: The trigger condition includes at least one of the following conditions: Abnormal length field, illegal parameters, abnormal data packet check, connection exhaustion, abnormal heartbeat packet, illegal boundary.

6. The vulnerability mining method based on Bayesian network according to claim 1 is characterized in that: The trigger type includes at least one of the following types: Denial of service vulnerabilities, buffer overflows, SQL injections, information leaks.

7. The vulnerability mining system based on Bayesian network is characterized by: The system comprises: A monitoring module, used to monitor the characteristics of the device under test during the test; A calculation module, used to calculate the conditional probability and posterior probability of each node in the Bayesian network, and also used to calculate the vulnerability suspicion score according to the features to be tested combined with pre-set weights; The strategy module is used to adjust and optimize the mutation strategy based on the vulnerability triggering conditions with the highest probability; The system can implement the Bayesian network-based vulnerability mining method described in any one of claims 1 to 6.

8. A storage medium, characterized in that: Instructions are stored, and the instructions are used to implement the Bayesian network-based vulnerability mining method described in any one of claims 1 to 6 when executed by a processor.

9. A terminal device, characterized in that: It includes a processor and a memory, wherein the memory stores instructions, and the instructions are used to enable a terminal device to execute the Bayesian network-based vulnerability mining method described in any one of claims 1 to 6.