An intelligent determination system and method for information security risk of industrial control systems
By using the random forest model optimized by the time series prediction method in the industrial control system, an intelligent information security risk measurement system is constructed, which solves the problem of the system being difficult to eliminate information risks and the lack of accuracy of existing technology, and achieves more efficient risk assessment and predict.
Patent Information
- Application Number
- CN202110505744.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for industrial control systems to eliminate information risks from the source. Existing technologies are prone to overfitting in risk assessment, are not accurate enough, and have high data requirements.
Using the random forest prediction model optimized by the time series prediction method, through data preprocessing, risk assessment model construction, model training and risk prediction modules, an industrial control system information security risk intelligent measurement system is constructed, including data set acquisition, data preprocessing, risk Evaluate model building, model training, risk prediction, information security assessment, early warning and data storage modules.
It improves the accuracy of information security risk prediction, reduces data requirements, enhances the stability and application scope of the model, and can predict future risk values more accurately.
Smart Images

Figure CN113159615B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security technology, and in particular relates to an industrial control system information security risk intelligent determination system and method. Background Art
[0002] At present, industrial control systems are necessary for high-speed transmission of large amounts of data (such as images and audio signals), thus forming a combination of Ethernet and control networks, which is currently very popular in the commercial field. This wave of industrial control system networks integrates various general technologies such as embedded technology, multi-standard industrial control network interconnection, and wireless technology, thereby expanding the development space and new development space in the field of industrial control, and bringing development opportunities.
[0003] With the development of computer technology, communication technology and control technology, the traditional control field has undergone unprecedented changes and has begun to develop in the direction of networking. With the rapid development of industrialization and informatization, industrial control systems are increasingly adopting information technology and communication network technology, and the information security of industrial control systems is facing severe challenges.
[0004] In some forecasting problems, the dependent variable is affected by the changes in multiple independent variables. For example, the subject of the survey is a house, and the relevant attributes include house price, number of rooms, floor, geographic location, or residential area. In this case, multiple linear regression or neural network models are needed to predict the dependent variable using independent variables. However, the analysis methods used in this forecast are different. Time series forecasting uses historical data of a specific variable to predict future data of that variable. It has two main features: first, the survey only includes certain variables and looks at how the variable has changed in the past; second, time series analysis does not need to pay attention to the properties of other variables that may affect the target. The implementation of time series relies on time series decomposition, that is, decomposing the data into trend, season, and noise components. The first two of these are called systematic components because they are predictable. However, because the noise component is random, it is sometimes called a non-systematic component.
[0005] The random forest algorithm has become a common tool for many researchers and is used in many fields. The random forest does not have high requirements for data when processing data. It can be either categorical variables or continuous variables, which makes it easier to process data and has a wider range of applications. Secondly, the random forest has the characteristics of being able to do discriminant analysis, logistic regression and multivariate linear regression; in general, the prerequisites for applying the random forest are relatively free, and there are no statistical parameters required for the normality and homogeneity of variance of any independent variables.
[0006] Through the above analysis, the problems and defects of the prior art are as follows:
[0007] (1) It is difficult for industrial control systems to eliminate information risks at the source.
[0008] (2) The core of risk assessment is to estimate the total amount of loss caused by various external threats or resource shortages to the industrial control system, and on this premise, to assess the vulnerabilities and threat levels in the entire system.
[0009] (3) The algorithms used in existing technologies have high data requirements, are prone to overfitting, and lack accuracy. Summary of the invention
[0010] In view of the problems existing in the prior art, the present invention provides an industrial control system information security risk intelligent determination system and method.
[0011] The present invention is implemented as follows: an industrial control system information security risk intelligent measurement system, the industrial control system information security risk intelligent measurement system comprising:
[0012] Data set acquisition module, data preprocessing module, central control module, risk assessment model building module, model training module, risk prediction module, information security assessment module, early warning module, data storage module, update display module.
[0013] A data set acquisition module, connected to the central control module, is used to acquire multiple risk impact factors of the industrial control system and multiple groups of evaluation values corresponding to the multiple risk impact factors through a data set acquisition device, and use the risk impact factors and the evaluation values as an initial sample data set;
[0014] The data preprocessing module is connected to the central control module and is used to preprocess the acquired initial sample data set of the industrial control system through a data preprocessing program, including:
[0015] (1) using a plurality of different types of annotation boxes to annotate a plurality of risk influencing factors of the industrial control system and a plurality of groups of evaluation values corresponding to the plurality of risk influencing factors to obtain a first data set;
[0016] (2) determining the data collection cost according to the anti-crawling mechanism triggered during the annotation process of the first data set; and determining the data cleaning cost according to the structure type of the collected test data packets;
[0017] (3) determining a data storage cost based on at least one data storage format and the amount of data corresponding to each data storage format;
[0018] (4) determining a data processing cost based on the data collection cost, the data cleaning cost, and the data storage cost, and processing the initial sample data set according to the data processing cost;
[0019] A central control module is connected to the data set acquisition module, the data preprocessing module, the risk assessment model construction module, the model training module, the risk prediction module, the information security assessment module, the early warning module, the data storage module, and the update display module, and is used to coordinate and control the normal operation of each module of the industrial control system information security risk intelligent determination system through the central processor;
[0020] The risk assessment model building module is connected to the central control module and is used to build a risk assessment model through a model building program, including:
[0021] (1) Obtain multiple sets of assessment value data corresponding to multiple risk impact factors;
[0022] (2) performing a correlation analysis on the evaluation value data and drawing a time series curve of the evaluation value data;
[0023] (3) obtaining the jump point and inflection point of the time series curve, and selecting a stationary time series ARMA model for curve fitting;
[0024] (4) constructing a risk assessment model based on the curve fitting data using a model building program;
[0025] The model training module is connected to the central control module and is used to use the preprocessed initial sample data set as a training sample, train the random forest optimized by the time series algorithm through the model training program, and obtain the final risk assessment model, including:
[0026] (1) using the preprocessed initial sample data set as a training sample, wherein the training sample data adopts time series prediction and uses the historical data of a single variable to predict the future data of the variable;
[0027] (2) Construct a random forest decision tree to determine the attribute test conditions;
[0028] (3) Use the regRF_train function defined in the RF toolkit to train the random forest risk assessment model;
[0029] A risk prediction module, connected to the central control module, is used to input the evaluation value of the risk influencing factor into the risk assessment model through a risk prediction program to obtain the predicted value of the information security risk of the industrial control system;
[0030] An information security assessment module, connected to the central control module, is used to assess the predicted value of the information security risk of the industrial control system obtained through an information security assessment program and generate an assessment report;
[0031] An early warning module, connected to the central control module, for issuing early warning notifications of abnormal information security risks of the industrial control system through an acoustic and optical early warning device;
[0032] A data storage module, connected to the central control module, for storing the initial sample data set of the industrial control system, data preprocessing results, risk assessment models, model training results, predicted values of information security risks of the industrial control system, information security assessment reports and early warning notifications acquired through the memory;
[0033] An update display module is connected to the central control module and is used to update and display the acquired initial sample data set of the industrial control system, data preprocessing results, risk assessment model, model training results, predicted value of information security risk of the industrial control system, information security assessment report and real-time data of early warning notification through a display.
[0034] Furthermore, in the data set acquisition module, the risk influencing factors include: enterprise management layer factors, process control layer factors and field control layer factors; the enterprise management layer factors include: unauthorized access, malicious code, distributed denial of service, virus Trojans and counterfeit attacks; the process control layer factors include: denial of service attacks, DOS attacks, flooding attacks, response spoofing and direction misleading attacks; the field control layer factors include: physical attacks, information theft, data tampering, denial of service attacks, illegal access and replay attacks.
[0035] Furthermore, in the data preprocessing module, determining the data collection cost includes:
[0036] 1) From the correspondence between the preset anti-climbing mechanism and the collection difficulty, find the collection difficulty corresponding to the triggered anti-climbing mechanism; wherein, the greater the difficulty of cracking the anti-climbing mechanism, the greater the collection difficulty corresponding to the anti-climbing mechanism;
[0037] 2) The product of the sum of the found collection difficulties and the basic collection cost is determined as the data collection cost.
[0038] Furthermore, in the model training module, the following statistics are required for time series analysis based on data:
[0039] (1) Time interval: t = 1, 2, 3, ..., n;
[0040] (2) Time series data: y1,y2,y3,...,y n ;
[0041] (3) Prediction value: F n+h, used to represent the predicted value at the h-th time interval after n; when h = 1, it represents the next time interval after the immediately following interval; h represents the time span and is set to a value greater than 1;
[0042] (4) Prediction error: at time t, e t = y t - F t .
[0043] Furthermore, in the model training module, the attribute test conditions include:
[0044] (1) Binary attribute: The test conditions for binary attributes produce two output results;
[0045] (2) Nominal attribute: Nominal attributes have multiple output results and there are two representation methods, namely multi-way partitioning and binary partitioning;
[0046] (3) Ordinal attribute: For the grouping of attribute values, without affecting the order of the values, it can be divided into binary or multi-way according to human will;
[0047] (4) Continuous attribute: For continuous attributes, the test condition is a comparison test with binary output (A < v) or (A > v), or it can also be a range query.
[0048] Furthermore, if multi-way partitioning is applied, all possible partitioning points and continuous intervals should be fully considered; for continuous attributes, the discretization method can be used to assign a new ordinal value to each discretization interval. If the order of the intervals is maintained, adjacent ordinal values can also be aggregated into relatively wide intervals, and the best feature attributes are selected, where:
[0049] Gini coefficient: The Gini coefficient index is a relative index and is widely used in economics or statistics; in the decision tree algorithm, the coefficient represents the degree of confusion of the attribute categories in the pre-classified dataset. Let P(X,Y) = P(X) * P(Y), and X and Y are two independent events, then:
[0050] Log(XY) = Log(X) + Log(Y);
[0051]
[0052]
[0053] Furthermore, in the model training module, the random forest also includes:
[0054] The main algorithm idea of random forest is random sampling, that is, randomly collecting a fixed number of samples from the preprocessed training set, and each extraction adopts the method of extraction with replacement; in this case, the same number of samples are collected each time, but their contents are not exactly the same. The specific algorithm flow is as follows:
[0055] Set the sample set D = {(x1, y1), (x2, y2), ... (xn, yn)}, the number of iterations of the weak classifier is T, and output the strong classifier f(x); for t = 1, 2, ..., T, we have:
[0056] ① Perform random sampling on the training set for the tth time, a total of m times, to obtain a sampling set Dt containing m samples;
[0057] ② Use the sampling set Dt to train the tth weak classifier;
[0058] ③Finally, the m results are combined into the result f(x) of the strong classifier.
[0059] Furthermore, in the model training module, the usage format of the regRF_train function defined in the RF toolkit is as follows:
[0060] model=regRF_train(X,Y,ntree,mtry,extra_options);
[0061] In the expression, there are two parameters that must be called in, and the rest of the parameters can be used freely. Among them, X represents the data matrix. When calling the function here, the normalized training set pn_train is input as the input data to be trained. Y represents the target value. Here, the output normalized training set tn_train is used as the output data set of this training. The second is an optional parameter. The number of trees constructed by the model is represented by ntree. This parameter is defined as 20100, that is, 20100 trees. mtry is the number of features in the tree, which is the sub-trunk of the tree. Set this parameter to 45 and return the trained model to model.
[0062] Finally, take an existing risk value and input it into the prediction model, and gradually predict the future risk value based on the trained model.
[0063] Another object of the present invention is to provide a computer program product stored on a computer-readable medium, including a computer-readable program, which, when executed on an electronic device, provides a user input interface to apply the industrial control system information security risk intelligent determination system.
[0064] Another object of the present invention is to provide a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to apply the industrial control system information security risk intelligent determination system.
[0065] Combining all the above-mentioned technical solutions, the advantages and positive effects of the present invention are as follows: the industrial control system information security risk intelligent measurement system provided by the present invention adopts the random forest prediction model optimized by the time series prediction method, which reduces the influence of multiple factors affecting the prediction value and greatly improves the prediction accuracy. Moreover, the random forest algorithm has more advantages when processing a large number of data samples, and the accuracy is more stable.
[0066] At the same time, the random forest provided by the present invention does not have high requirements for data when processing data. It can be either a categorical variable or a continuous variable, so it becomes easier to process data and has a wider range of applications. Secondly, random forest has the characteristics of being able to do discriminant analysis, logistic regression and multivariate linear regression; in general, the prerequisite for applying random forest is relatively free, and there are no statistical parameters required for the normality and homogeneity of variance of any independent variables. Therefore, the present invention improves the algorithm on the basis of existing technology, improves the model prediction accuracy value, and accurately predicts future risk values based on existing risk value predictions. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0068] Figure 1 It is a structural block diagram of an industrial control system information security risk intelligent determination system provided by an embodiment of the present invention;
[0069] In the figure: 1. Data set acquisition module; 2. Data preprocessing module; 3. Central control module; 4. Risk assessment model construction module; 5. Model training module; 6. Risk prediction module; 7. Information security assessment module; 8. Early warning module; 9. Data storage module; 10. Update display module.
[0070] Figure 2 It is a flow chart of an intelligent method for determining information security risks of an industrial control system provided by an embodiment of the present invention.
[0071] Figure 3 It is a flow chart of a method for preprocessing the acquired initial sample data set of the industrial control system by using a data preprocessing program through a data preprocessing module provided by an embodiment of the present invention.
[0072] Figure 4 It is a flow chart of a method for constructing a risk assessment model using a model construction program through a risk assessment model construction module provided by an embodiment of the present invention.
[0073] Figure 5 It is a flowchart of a method provided by an embodiment of the present invention, which uses a model training module to use a preprocessed initial sample data set as a training sample, and uses a model training program to train a random forest optimized by a time series algorithm to obtain a final risk assessment model.
[0074] Figure 6 It is a schematic diagram of the random forest bagging principle provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0076] In view of the problems existing in the prior art, the present invention provides an industrial control system information security risk intelligent determination system and method, and the present invention is described in detail below with reference to the accompanying drawings.
[0077] like Figure 1 As shown, the industrial control system information security risk intelligent measurement system provided by the embodiment of the present invention includes: a data set acquisition module 1, a data preprocessing module 2, a central control module 3, a risk assessment model construction module 4, a model training module 5, a risk prediction module 6, an information security assessment module 7, an early warning module 8, a data storage module 9, and an update display module 10.
[0078] The data set acquisition module 1 is connected to the central control module 3 and is used to acquire multiple risk impact factors of the industrial control system and multiple groups of evaluation values corresponding to the multiple risk impact factors through a data set acquisition device, and use the risk impact factors and the evaluation values as an initial sample data set;
[0079] A data preprocessing module 2, connected to the central control module 3, is used to preprocess the acquired initial sample data set of the industrial control system through a data preprocessing program;
[0080] The central control module 3 is connected with the data set acquisition module 1, the data preprocessing module 2, the risk assessment model construction module 4, the model training module 5, the risk prediction module 6, the information security assessment module 7, the early warning module 8, the data storage module 9, and the update display module 10, and is used to coordinate and control the normal operation of each module of the industrial control system information security risk intelligent measurement system through the central processor;
[0081] The risk assessment model building module 4 is connected to the central control module 3 and is used to build a risk assessment model through a model building program;
[0082] The model training module 5 is connected to the central control module 3 and is used to use the preprocessed initial sample data set as a training sample, train the random forest optimized by the time series algorithm through the model training program, and obtain the final risk assessment model;
[0083] The risk prediction module 6 is connected to the central control module 3 and is used to input the evaluation value of the risk influencing factor into the risk evaluation model through the risk prediction program to obtain the predicted value of the information security risk of the industrial control system;
[0084] An information security assessment module 7, connected to the central control module 3, is used to assess the predicted value of the information security risk of the industrial control system obtained through an information security assessment program and generate an assessment report;
[0085] An early warning module 8, connected to the central control module 3, is used to issue an early warning notification of abnormal information security risks of the industrial control system through an acoustic and optical early warning device;
[0086] The data storage module 9 is connected to the central control module 3 and is used to store the initial sample data set of the industrial control system, the data preprocessing results, the risk assessment model, the model training results, the predicted value of the information security risk of the industrial control system, the information security assessment report and the early warning notification acquired through the memory;
[0087] The update display module 10 is connected to the central control module 3 and is used to update and display the acquired initial sample data set of the industrial control system, data preprocessing results, risk assessment model, model training results, predicted value of information security risk of the industrial control system, information security assessment report and real-time data of early warning notification through the display.
[0088] like Figure 2 As shown, the method for intelligently determining information security risks of industrial control systems provided by an embodiment of the present invention comprises the following steps:
[0089] S101, using a data set acquisition device to acquire multiple risk impact factors of the industrial control system and multiple groups of evaluation values corresponding to the multiple risk impact factors through a data set acquisition module, and using the risk impact factors and the evaluation values as an initial sample data set;
[0090] S102, preprocessing the acquired initial sample data set of the industrial control system using a data preprocessing program through a data preprocessing module;
[0091] S103, using a central processor to coordinate and control the normal operation of each module of the industrial control system information security risk intelligent measurement system through a central control module; using a model building program to build a risk assessment model through a risk assessment model building module;
[0092] S104, using the preprocessed initial sample data set as a training sample through a model training module, and using a model training program to train a random forest optimized by a time series algorithm to obtain a final risk assessment model;
[0093] S105, inputting the evaluation value of the risk influencing factor into the risk assessment model by using the risk prediction program through the risk prediction module to obtain the predicted value of the information security risk of the industrial control system;
[0094] S106, using an information security assessment module to evaluate the predicted value of the information security risk of the industrial control system using an information security assessment program, and generating an assessment report; using an early warning module to use an acoustic and optical early warning device to issue an early warning notification of abnormal information security risks of the industrial control system;
[0095] S107, using a memory to store the acquired initial sample data set of the industrial control system, data preprocessing results, risk assessment model, model training results, predicted value of information security risk of the industrial control system, information security assessment report and early warning notification through a data storage module;
[0096] S108, updating and displaying the acquired initial sample data set of the industrial control system, data preprocessing results, risk assessment model, model training results, predicted value of information security risk of the industrial control system, information security assessment report and real-time data of early warning notification by using the display through the updating display module.
[0097] In step S101 provided in the embodiment of the present invention, the risk influencing factors include: enterprise management layer factors, process control layer factors and field control layer factors; the enterprise management layer factors include: unauthorized access, malicious code, distributed denial of service, virus Trojans and counterfeit attacks; the process control layer factors include: denial of service attacks, DOS attacks, flooding attacks, response spoofing and direction misleading attacks; the field control layer factors include: physical attacks, information theft, data tampering, denial of service attacks, illegal access and replay attacks.
[0098] The present invention will be further described below in conjunction with specific embodiments.
[0099] Example 1
[0100] The method for intelligently determining information security risks of industrial control systems provided by the embodiment of the present invention is as follows Figure 1 As shown, as a preferred embodiment, Figure 3 As shown, the method provided by the embodiment of the present invention for preprocessing the acquired initial sample data set of the industrial control system by using a data preprocessing program through a data preprocessing module includes:
[0101] S201, using a plurality of different types of annotation boxes to annotate a plurality of risk impact factors of the industrial control system and a plurality of groups of evaluation values corresponding to the plurality of risk impact factors to obtain a first data set;
[0102] S202, determining the data collection cost according to the anti-crawling mechanism triggered during the first data set annotation process; determining the data cleaning cost according to the structure type of the collected test data packet;
[0103] S203, determining a data storage cost according to at least one data storage format and data volumes corresponding to the various data storage formats;
[0104] S204: Determine a data processing cost based on the data collection cost, the data cleaning cost, and the data storage cost, and process the initial sample data set according to the data processing cost.
[0105] Example 2
[0106] The method for intelligently determining information security risks of industrial control systems provided by the embodiment of the present invention is as follows Figure 1 As shown, as a preferred embodiment, Figure 4 As shown, the method for constructing a risk assessment model by using a model construction program through a risk assessment model construction module provided by an embodiment of the present invention includes:
[0107] S301, obtaining multiple groups of assessment value data corresponding to multiple risk impact factors;
[0108] S302, performing correlation analysis on the evaluation value data and drawing a time series curve of the evaluation value data;
[0109] S303, obtaining the jump point and inflection point of the time series curve, and selecting a stationary time series ARMA model for curve fitting;
[0110] S304, constructing a risk assessment model according to the curve fitting data using a model building program.
[0111] Example 3
[0112] The method for intelligently determining information security risks of industrial control systems provided by the embodiment of the present invention is as follows Figure 1 As shown, as a preferred embodiment, Figure 5 As shown, the method provided by the embodiment of the present invention uses the preprocessed initial sample data set as a training sample through a model training module, and uses a model training program to train a random forest optimized by a time series algorithm to obtain a final risk assessment model, including:
[0113] S401, using the preprocessed initial sample data set as a training sample, wherein the training sample data adopts time series prediction, uses historical data of a single variable to predict future data of the variable;
[0114] S402, constructing a random forest decision tree and determining attribute test conditions;
[0115] S403, using the regRF_train function defined in the RF toolkit to train the random forest risk assessment model.
[0116] In step S401 provided in the embodiment of the present invention, the following statistics are required for time series analysis based on data:
[0117] (1) Time interval: t = 1, 2, 3, ..., n;
[0118] (2) Time series data: y1,y2,y3,...,y n ;
[0119] (3) Prediction value: F n+h , used to represent the predicted value of the hth time interval after n; when h = 1, it represents the next time interval after the interval immediately following the previous one; h represents the time span and is set to a value greater than 1;
[0120] (4) Prediction error: At time t, e t =y t -F t .
[0121] In step S402 provided by the embodiment of the present invention, the attribute test conditions include:
[0122] (1) Binary attribute: The test conditions of the binary attribute will generate two output results;
[0123] (2) Nominal attribute: The nominal attribute will have multiple output results, and there are two representation methods, namely multi-way partitioning and binary partitioning;
[0124] (3) Ordinal attribute: For the grouping of attribute values, without affecting the order of the values, it can be divided into binary or multi-way according to human will;
[0125] (4) Continuous attribute: For continuous attributes, the test condition is a comparison test (A < v) or (A > v) with binary output, or it can also be a range query.
[0126] If multi-way partitioning is applied, all possible partitioning points and continuous intervals should be fully considered. For continuous attributes, the discretization method can be used to assign a new ordinal value to each discretization interval. If the order of the intervals is maintained, adjacent ordinal values can also be aggregated into wider intervals.
[0127] Select the best feature attribute:
[0128] Gini coefficient: The Gini coefficient index is a relative index, which is widely used in economics or statistics. In the decision tree algorithm, the coefficient represents the degree of confusion of the attribute categories in the pre-classified dataset. Let P(X,Y) = P(X) * P(Y), and X and Y are two independent events, then:
[0129] Log(XY) = Log(X) + Log(Y);
[0130]
[0131]
[0132] The random forest provided by the embodiment of the present invention further includes:
[0133] The main algorithm idea of the random forest lies in random sampling, that is, randomly collecting a fixed number of samples from the preprocessed training set, and each extraction uses the method of sampling with replacement. In this case, the same number of samples is collected each time, but the content is different. The specific algorithm process is as follows:
[0134] Set the sample set D = {(x1,y1),(x2,y2),…(xn,yn)}, the number of iterations of the weak classifier is T, and the strong classifier f(x) is output; for t = 1, 2,..., T, there is:
[0135] ① Perform random sampling on the training set for the tth time, a total of m times, to obtain a sampling set Dt containing m samples;
[0136] ② Use the sampling set Dt to train the tth weak classifier;
[0137] ③Finally, the m results are combined into the result f(x) of the strong classifier.
[0138] In step S403 provided in the embodiment of the present invention, the usage format of the regRF_train function defined in the RF toolkit is as follows:
[0139] model=regRF_train(X,Y,ntree,mtry,extra_options);
[0140] In the expression, there are two parameters that must be used, and the rest of the parameters can be used freely. Among them, X represents the data matrix. When calling this function here, the input normalized training set pn_train is used as the input data to be trained; Y represents the target value, and the output normalized training set tn_train is used as the output data set for this training; the second is an optional parameter, and the number of trees constructed by the model is represented by ntree. In order to optimize the training results this time, this parameter is defined as 20100, that is, 20100 trees; mtry is the number of features in the tree, which is the sub-trunk of the tree. This parameter is set to 45 in this model. Finally, the trained model is returned to model.
[0141] Finally, take an existing risk value and input it into the prediction model, and gradually predict the future risk value based on the trained model.
[0142] The schematic diagram of the random forest bagging principle provided by the embodiment of the present invention is as follows Figure 6 shown.
[0143] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When the use is implemented in whole or in part in the form of a computer program product, the computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (e.g., infrared, wireless, microwave, etc.) mode) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk (SSD)), etc.
[0144] In the description of the present invention, unless otherwise specified, "plurality" means two or more than two; the orientations or positional relationships indicated by the terms "upper", "lower", "left", "right", "inner", "outer", "front end", "rear end", "head", "tail", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0145] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. An intelligent determination system for information security risks of industrial control systems, It is characterized in that The industrial control system information security risk intelligent determination system comprises: Data set acquisition module, data preprocessing module, central control module, risk assessment model building module, model training module, risk prediction module, information security assessment module, early warning module, data storage module, update display module; A data set acquisition module, connected to the central control module, is used to acquire multiple risk impact factors of the industrial control system and multiple groups of evaluation values corresponding to the multiple risk impact factors through a data set acquisition device, and use the risk impact factors and the evaluation values as an initial sample data set; The data preprocessing module is connected to the central control module and is used to preprocess the acquired initial sample data set of the industrial control system through a data preprocessing program, including: (1) using a plurality of different types of annotation boxes to annotate a plurality of risk influencing factors of the industrial control system and a plurality of groups of evaluation values corresponding to the plurality of risk influencing factors to obtain a first data set; (2) determining the data collection cost according to the anti-crawling mechanism triggered during the annotation process of the first data set; and determining the data cleaning cost according to the structure type of the collected test data packets; (3) determining a data storage cost based on at least one data storage format and the amount of data corresponding to each data storage format; (4) determining a data processing cost based on the data collection cost, the data cleaning cost, and the data storage cost, and processing the initial sample data set according to the data processing cost; A central control module is connected to the data set acquisition module, the data preprocessing module, the risk assessment model construction module, the model training module, the risk prediction module, the information security assessment module, the early warning module, the data storage module, and the update display module, and is used to coordinate and control the normal operation of each module of the industrial control system information security risk intelligent determination system through the central processor; The risk assessment model building module is connected to the central control module and is used to build a risk assessment model through a model building program, including: (1) Obtain multiple sets of assessment value data corresponding to multiple risk impact factors; (2) performing a correlation analysis on the evaluation value data and drawing a time series curve of the evaluation value data; (3) obtaining the jump point and inflection point of the time series curve, and selecting a stationary time series ARMA model for curve fitting; (4) constructing a risk assessment model based on the curve fitting data using a model building program; The model training module is connected to the central control module and is used to use the preprocessed initial sample data set as a training sample, train the random forest optimized by the time series algorithm through the model training program, and obtain the final risk assessment model, including: (1) using the preprocessed initial sample data set as a training sample, wherein the training sample data adopts time series prediction and uses the historical data of a single variable to predict the future data of the variable; (2) Construct a random forest decision tree to determine the attribute test conditions; (3) Use the regRF_train function defined in the RF toolkit to train the random forest risk assessment model; A risk prediction module, connected to the central control module, for inputting the evaluation values of risk impact factors into the risk assessment model through a risk prediction program to obtain the predicted value of the information security risk of the industrial control system; An information security assessment module, connected to the central control module, for evaluating the predicted value of the information security risk of the industrial control system obtained through an information security assessment program and generating an assessment report; An early warning module, connected to the central control module, for giving an early warning notice of the abnormal information security risk of the industrial control system through an acoustic-optic warning device; A data storage module, connected to the central control module, for storing the initial sample data set, data preprocessing result, risk assessment model, model training result, predicted value of the information security risk of the industrial control system, information security assessment report, and early warning notice of the industrial control system obtained through a memory; An update display module, connected to the central control module, for updating and displaying the real-time data of the initial sample data set, data preprocessing result, risk assessment model, model training result, predicted value of the information security risk of the industrial control system, information security assessment report, and early warning notice of the industrial control system obtained through a display; In the data preprocessing module, the determination of the data acquisition cost includes: 1) Search for the acquisition difficulty corresponding to the triggered anti-crawling mechanism from the preset correspondence between the anti-crawling mechanism and the acquisition difficulty; among them, the greater the cracking difficulty of the anti-crawling mechanism, the greater the acquisition difficulty corresponding to the anti-crawling mechanism; 2) Determine the product of the sum of the found acquisition difficulties and the basic acquisition cost as the data acquisition cost; In the model training module, the attribute test conditions include: (1) Binary attribute: The test condition of the binary attribute will produce two output results; (2) Nominal attribute: The nominal attribute will have multiple output results, and there are two representation methods, namely multi-way partitioning and binary partitioning; (3) Ordinal attribute: For the grouping of attribute values, without affecting the order of the values, it is divided into binary or multi-way according to human will; (4) Continuous attribute: For continuous attributes, the test condition is a comparison test A<v or A>v with binary output, or a range query; If multi-way partitioning is applied, all possible partitioning points and continuous intervals should be fully considered; for continuous attributes, the discretization method is adopted, so that each discretization interval is assigned a new ordinal value. If the order of the intervals is maintained, adjacent ordinal values can be aggregated into wider intervals, and the best feature attributes are selected, where: Gini coefficient: The Gini coefficient index is a relative index, which is widely used in economics or statistics; in the decision tree algorithm, the coefficient represents the degree of confusion of the attribute categories in the pre-classified data set. Let P(X,Y)=P(X)*P(Y), and X and Y are two independent events, then: Log(XY)=Log(X)+Log(Y); 2. The industrial control system information security risk intelligent determination system according to claim 1, It is characterized in that In the data set acquisition module, the risk influencing factors include: enterprise management layer factors, process control layer factors and field control layer factors; the enterprise management layer factors include: unauthorized access, malicious code, distributed denial of service, virus Trojans and counterfeit attacks; the process control layer factors include: denial of service attacks, DOS attacks, flooding attacks, response spoofing and direction misleading attacks; the field control layer factors include: physical attacks, information theft, data tampering, denial of service attacks, illegal access and replay attacks.
3. The industrial control system information security risk intelligent determination system according to claim 1, It is characterized in that In the model training module, the following statistics are required for time series analysis based on data: (1) Time interval: t = 1, 2, 3, ..., n; (2) Time series data: y 1 ,y 2 ,y 3 ,...,y n ; (3) Prediction value: F n+h , used to represent the predicted value of the hth time interval after n; when h = 1, it represents the next time interval after the interval immediately following the previous one; h represents the time span and is set to a value greater than 1; (4) Prediction error: At time t, e t =y t -F t .
4. The industrial control system information security risk intelligent determination system according to claim 1, It is characterized in that In the model training module, the random forest also includes: The main algorithm idea of random forest is random sampling, that is, randomly collecting a fixed number of samples from the preprocessed training set, and each extraction adopts the method of extraction with replacement; in this case, the same number of samples are collected each time, but their contents are not exactly the same. The specific algorithm flow is as follows: Set the sample set D = {(x1, y1), (x2, y2), ... (xn, yn)}, the number of iterations of the weak classifier is T, and output the strong classifier f(x); for t = 1, 2, ..., T, we have: ① Perform random sampling on the training set for the tth time, a total of m times, to obtain a sampling set Dt containing m samples; ② Use the sampling set Dt to train the tth weak classifier; ③Finally, the m results are combined into the result f(x) of the strong classifier.
5. The industrial control system information security risk intelligent determination system according to claim 1, It is characterized in that In the model training module, the usage format of the regRF_train function defined in the RF toolkit is as follows: model=regRF_train(X,Y,ntree,mtry,extra_options); In the expression, there are two parameters that must be called in, and the rest of the parameters are optional. Among them, X represents the data matrix. When calling the function here, the normalized training set pn_train is used as the input data to be trained. Y represents the target value. Here, the output normalized training set tn_train is used as the output data set of this training. The second is an optional parameter. The number of trees constructed by the model is represented by ntree. This parameter is defined as 20100, that is, 20100 trees. mtry is the number of features in the tree, which is the sub-trunk of the tree. Set this parameter to 45 and return the trained model to model. Finally, take an existing risk value and input it into the prediction model, and gradually predict the future risk value based on the trained model.
6. A computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to apply the industrial control system information security risk intelligent determination system as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
A method of prediction model based on random forest algorithm
AU2020100709A4
Improved BP neural network security situation assessment algorithm based on genetic algorithm
CN108400895A
An information security risk assessment method for an industrial control system
CN109359469A
Power grid real-time operation risk assessment method and system based on random forest
CN111292020A
Business risk prediction model construction method and device and computer equipment
CN111784486A
Cited By
Information security risk early warning and cooperative defense system oriented to optimal allocation of industrial control environment resources
CN121037189A
An information security risk early warning and cooperative defense system for resource optimization allocation in an industrial control environment
CN121037189B
