Network security scanning risk management and control system and method based on multi-source data

By semantic understanding and feature extraction of security logs, system logs and vulnerability data, combined with the transfer matrix of traffic feature vectors, network security warning prompts are generated, which solves the problem of difficulty in correlation analysis of massive security data in the existing technology, and improves network security. Risk management and control capabilities.

CN115529166BActive Publication Date: 2024-09-20ZHEJIANG YUAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211080088.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2024-09-20
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

It is difficult for existing network security technology to uniformly display and correlate massive security data and identify malicious attacks, resulting in insufficient network security risk management and control capabilities.

Method used

Context encoder and convolutional neural network model are used to semantically understand security logs, system logs and vulnerability data, extract multi-scale correlation feature vectors, and calculate the transfer matrix of traffic feature vectors through the time series encoder, and fuse them into a classification feature matrix. The classifier generates network security warning prompts.

Benefits of technology

Effectively mine the hidden information and correlations of multi-source data, improve network security risk management and control capabilities, and enhance the ability to identify and warn against malicious attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529166B
    Figure CN115529166B
Patent Text Reader

Abstract

Disclosed is a network security scanning risk management system and method based on multi-source data, which uses a deep neural network model based on deep learning as a feature extractor to perform multi-source data encoding on security logs, system logs, vulnerability data, and traffic data generated by a network security system to fully mine their internal implicit information and associated features, and passes the mined feature representation through a classifier to obtain a classification result for indicating whether a network security early warning prompt is generated. In this way, the network security risk management capability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security, and more specifically to a network security scanning risk management and control system based on multi-source data and a method thereof. Background Art

[0002] Cybersecurity is an important part of national security, an important aspect of international competition and confrontation in the new situation and new era, and an important guarantee for the sustainable development and long-term stability of the country and society. As the scale and complexity of the network continue to increase, network attack technologies continue to innovate, and new attack tools emerge in large numbers, traditional network security technologies seem to be unable to cope with them, network intrusions are inevitable, and network security issues are becoming more and more serious. It is difficult to deal with complex security issues with one or several security technologies alone, and the focus of network security personnel has also evolved from solving single security issues to studying the security status of the entire network and its changing trends.

[0003] The existing massive security data lacks analysis. A large number of test results only reflect the problems existing in a certain system, and the presentation methods are also diverse. The alarms of various security devices and massive security data cannot be uniformly displayed, correlated, analyzed, data mined, and attacks traced. It is difficult to identify the internal connections among many security incidents manually, and it is likely to ignore the deliberate attacks of some malicious users.

[0004] Therefore, an optimized network security scanning risk management solution is expected. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. An embodiment of the present application provides a network security scanning risk management system and method based on multi-source data, which obtains corresponding semantic understanding feature vectors from security logs, system logs and vulnerability data through a context encoder, and obtains multi-scale two-dimensional correlation feature vectors and multi-scale neighborhood correlation feature vectors through a first convolutional neural network model and a multi-scale neighborhood feature extraction module. Then, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector, and the transfer matrix of the traffic feature vector obtained by the time series encoder of the traffic input vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix, and a classification result for indicating whether a network security warning prompt is generated can be obtained through a classifier. In this way, multi-source data is encoded to fully explore its internal implicit information and associations, thereby improving network security risk management capabilities.

[0006] According to one aspect of the present application, a network security scanning risk management and control system based on multi-source data is provided, which includes:

[0007] A scanning data collection unit is used to obtain security logs, system logs, vulnerability data and flow data collected from a network security server;

[0008] A security log semantic understanding unit, used for performing word segmentation processing on the security log and then passing it through a trained context encoder including an embedding layer to obtain a security log semantic understanding feature vector;

[0009] A system log semantic understanding unit, configured to obtain a system log semantic understanding feature vector after performing word segmentation processing on the system log through the trained context encoder including the embedding layer;

[0010] A vulnerability data semantic understanding unit, configured to obtain a vulnerability data semantic understanding feature vector after performing word segmentation processing on the vulnerability data through the trained context encoder including the embedding layer;

[0011] A multi-source data two-dimensional association encoding unit, used for arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then passing the matrix through a trained first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional association feature vector;

[0012] A multi-source data one-dimensional association encoding unit, used for arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then passing it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector;

[0013] A feature vector fusion unit, used for fusing the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector;

[0014] A flow data feature extraction unit, configured to arrange the flow data into a flow input vector according to a time dimension and then pass the vector through a trained temporal encoder including a one-dimensional convolutional layer to obtain a flow feature vector;

[0015] a transfer unit, used to calculate a transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; and

[0016] The risk management result generating unit is used to pass the classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security early warning prompt is generated.

[0017] According to another aspect of the present application, a network security scanning risk management method based on multi-source data is also provided, which includes:

[0018] Obtain security logs, system logs, vulnerability data, and traffic data collected from network security servers;

[0019] After word segmentation processing is performed on the security log, a context encoder including an embedding layer is trained to obtain a security log semantic understanding feature vector;

[0020] After word segmentation processing is performed on the system log, a semantic understanding feature vector of the system log is obtained by using the trained context encoder including the embedding layer;

[0021] After word segmentation processing is performed on the vulnerability data, a semantic understanding feature vector of the vulnerability data is obtained by using the trained context encoder including the embedding layer;

[0022] Arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then passing the matrix through a trained first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional correlation feature vector;

[0023] Arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then passing it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector;

[0024] Fusion of the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector;

[0025] Arranging the traffic data into a traffic input vector according to the time dimension and passing it through a trained temporal encoder including a one-dimensional convolutional layer to obtain a traffic feature vector;

[0026] Calculating a transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; and

[0027] The classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security early warning prompt is generated.

[0028] Compared with the prior art, the network security scanning risk management system and method based on multi-source data provided by the present application obtains corresponding semantic understanding feature vectors from security logs, system logs and vulnerability data through context encoders, and obtains multi-scale two-dimensional correlation feature vectors and multi-scale neighborhood correlation feature vectors through a first convolutional neural network model and a multi-scale neighborhood feature extraction module. Then, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector, and the transfer matrix of the traffic feature vector obtained by the time series encoder of the traffic input vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix, and a classification result indicating whether a network security warning prompt is generated can be obtained through a classifier. In this way, multi-source data is encoded to fully explore its internal implicit information and associations, thereby improving network security risk management capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0030] Figure 1 The figure illustrates a block diagram of a network security scanning risk management system based on multi-source data according to an embodiment of the present application.

[0031] Figure 2 The diagram illustrates a system architecture diagram of a network security scanning risk management system based on multi-source data according to an embodiment of the present application.

[0032] Figure 3 The figure illustrates a block diagram of a security log semantic understanding unit in a network security scanning risk management system based on multi-source data according to an embodiment of the present application.

[0033] Figure 4 The diagram illustrates a block diagram of a multi-source data one-dimensional association encoding unit in a network security scanning risk management system based on multi-source data according to an embodiment of the present application.

[0034] Figure 5 The figure illustrates a block diagram of a training module in a network security scanning risk management system based on multi-source data according to an embodiment of the present application.

[0035] Figure 6 The figure illustrates a flow chart of a network security scanning risk management method based on multi-source data according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0037] Application Overview

[0038] During the operation of the network security system, security logs, system logs, vulnerability data and traffic data will be generated. That is, multi-source data will be generated during the operation of the network security system. Encoding the multi-source data in an appropriate manner to fully explore its internal implicit information and associations is conducive to improving network security risk management capabilities.

[0039] Specifically, in the technical solution of the present application, firstly, security logs, system logs, vulnerability data and traffic data are collected from a network security server. Then, a context encoder including an embedding layer is used to perform context semantic encoding on the security logs, system logs and vulnerability data to obtain a security log semantic understanding feature vector, a system log semantic understanding feature vector and a vulnerability data semantic understanding feature vector. That is, the security logs, system logs and vulnerability data are regarded as text data, and a converter-based context encoder is used to perform high-dimensional semantic encoding on the security logs, system logs and vulnerability data to fully mine the high-dimensional semantic information in the security logs, system logs and vulnerability data to obtain the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector.

[0040] Next, the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector are arranged into a two-dimensional feature matrix and then passed through a first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional correlation feature vector. That is, the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector are two-dimensionally structured at the data level, and then a convolutional neural network with excellent performance in the field of local feature extraction is used as a feature extractor to extract high-dimensional local implicit features in the two-dimensional feature matrix. In the technical solution of the present application, the high-dimensional local implicit features in the two-dimensional feature matrix include the association information between the data items in the security log and the data items in the system log, the association information between the data items in the system log and the data items in the vulnerability data, and the association information between the data items in the security log and the data items in the vulnerability data.

[0041] Here, in the technical solution of the present application, it is considered that the two-dimensional feature matrix composed of the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector has different association patterns in different local fields of view, that is, the association between the security log, the system log and the vulnerability data is multi-scale and anisotropic. In order to adapt to this feature distribution, in the technical solution of the present application, the structure of the convolutional neural network model is improved, specifically, a convolutional neural network model with a multi-scale convolution structure is used as a feature extractor, wherein the multi-scale convolution structure indicates that each layer of the convolutional neural network uses convolution kernels with different sizes to perform group feature extraction based on different receptive fields on the input data to extract two-dimensional correlation features of different scales in the two-dimensional feature matrix.

[0042] At the same time, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are arranged into a one-dimensional feature vector and then passed through a multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector. That is, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are regarded as independent semantic units, and the multi-scale neighborhood semantic association information is extracted using a multi-scale neighborhood feature extraction module. More specifically, because the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are generated by encoding using a converter-based context encoder, although they have the advantage of being able to extract long-dependency semantic information, they are relatively weak in the performance of extracting local semantic association features. Therefore, the multi-scale neighborhood feature extraction module including multiple one-dimensional convolutional layers is further used to perform multi-scale one-dimensional convolutional coding on the one-dimensional feature vector composed of the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector to extract local semantic association information of different scales, that is, high-dimensional implicit semantic association information between multiple data items in the security log, high-dimensional implicit association information between multiple data items in the system log, high-dimensional implicit association information between multiple data items in the vulnerability data, high-dimensional implicit association information between some data items in the security log and some data items in the system log, and high-dimensional implicit association information between some data items in the system log and some data items in the vulnerability data. Then, the multi-scale two-dimensional association feature vector and the multi-scale neighborhood association feature vector are fused to obtain a multi-dimensional multi-scale association feature vector.

[0043] In the technical solution of the present application, the system log, security log and vulnerability data are all response data of the flow data to some extent, that is, the network security server performs rule-based processing on the flow data based on preset rules to generate the system log, the security log and the vulnerability data. Making full use of the responsive association between the flow data and the above three can improve the network security management performance.

[0044] Specifically, the traffic data is first arranged into a traffic input vector according to the time dimension and then passed through a time series encoder including a one-dimensional convolutional layer to obtain a traffic feature vector. That is, a time series encoder including a one-dimensional convolutional layer is used to extract the high-dimensional implicit features of the traffic data in the time dimension. Then, the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale associated feature vector is calculated as a classification feature matrix, and the classification feature matrix is ​​passed through a classifier to obtain a classification result indicating whether a network security warning prompt is generated. That is, in the technical solution of the present application, the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale associated feature vector is used to represent the high-dimensional responsiveness association pattern between the traffic data and the system log, security log and vulnerability data.

[0045] In particular, in the technical solution of the present application, when calculating the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector, assuming that the traffic feature vector and the multi-dimensional multi-scale correlation feature vector are both column vectors, the row distribution between each row of the transfer matrix corresponds to the time series distribution of the traffic feature vector. Therefore, in order to enable the transfer matrix to have a good distribution expression effect in a predetermined direction in the time series distribution direction of the traffic feature vector, it is expected that the transfer matrix has good dimensional monotonicity in the column direction.

[0046] Based on this, the parsimonious decomposition of the transfer matrix is ​​calculated to encourage the loss function:

[0047]

[0048] where τ is a penalty factor as a hyperparameter, and ||·||2 represents the bi-norm of the vector.

[0049] Here, by grouping the features of the transfer matrix along the column direction and imposing a penalty on the overlap of elements within the group in the row direction, the distance union of symbolized functions activated by the ReLU activation function can be calculated by the second norm of the vector, thereby promoting the frugal decomposition of the high-dimensional manifold represented by the transfer matrix. This can be understood as constructing the geometry of the high-dimensional manifold based on a set of convex polyhedrons distributed along the column direction to improve the dimensional monotonicity of the high-dimensional manifold along the column direction.

[0050] Based on this, the present application proposes a network security scanning risk management system based on multi-source data, which includes: a scanning data acquisition unit, used to obtain security logs, system logs, vulnerability data and traffic data collected from a network security server; a security log semantic understanding unit, used to perform word segmentation processing on the security log and then pass it through a trained context encoder containing an embedding layer to obtain a security log semantic understanding feature vector; a system log semantic understanding unit, used to perform word segmentation processing on the system log and then pass it through a trained context encoder containing an embedding layer to obtain a system log semantic understanding feature vector; a vulnerability data semantic understanding unit, used to perform word segmentation processing on the vulnerability data and then pass it through a trained context encoder containing an embedding layer to obtain a vulnerability data semantic understanding feature vector; a multi-source data two-dimensional association encoding unit, used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then pass it through a trained multi-scale convolution structure. A first convolutional neural network model constructed to obtain a multi-scale two-dimensional correlation feature vector; a multi-source data one-dimensional correlation encoding unit, which is used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then pass it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood correlation feature vector; a feature vector fusion unit, which is used to fuse the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector; a flow data feature extraction unit, which is used to arrange the flow data into a flow input vector according to the time dimension and then pass it through a trained temporal encoder including a one-dimensional convolution layer to obtain a flow feature vector; a transfer unit, which is used to calculate the transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; and a risk management result generation unit, which is used to pass the classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security early warning prompt is generated.

[0051] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0052] Exemplary Systems

[0053] Figure 1 The figure shows a block diagram of a network security scanning risk management system based on multi-source data according to an embodiment of the present application. Figure 1As shown, according to the embodiment of the present application, the network security scanning risk management system 100 based on multi-source data includes: a scanning data acquisition unit 110, which is used to obtain security logs, system logs, vulnerability data and traffic data collected from the network security server; a security log semantic understanding unit 120, which is used to obtain a security log semantic understanding feature vector after word segmentation processing through a trained context encoder containing an embedding layer; a system log semantic understanding unit 130, which is used to obtain a system log semantic understanding feature vector after word segmentation processing through a trained context encoder containing an embedding layer; a vulnerability data semantic understanding unit 140, which is used to obtain a vulnerability data semantic understanding feature vector after word segmentation processing through a trained context encoder containing an embedding layer; a multi-source data two-dimensional association encoding unit 150, which is used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then pass it through a trained multi-scale convolution. The first convolutional neural network model of the structure is used to obtain a multi-scale two-dimensional correlation feature vector; a multi-source data one-dimensional correlation encoding unit 160 is used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then pass it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood correlation feature vector; a feature vector fusion unit 170 is used to fuse the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector; a flow data feature extraction unit 180 is used to arrange the flow data into a flow input vector according to the time dimension and then pass it through a trained temporal encoder including a one-dimensional convolution layer to obtain a flow feature vector; a transfer unit 190 is used to calculate the transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; and a risk management result generation unit 200 is used to pass the classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security warning prompt is generated.

[0054] Figure 2 The diagram shows a system architecture diagram of a network security scanning risk management system 100 based on multi-source data according to an embodiment of the present application. Figure 2As shown, in the system architecture of the network security scanning risk management system 100 based on multi-source data, first, the security log, system log, vulnerability data and traffic data collected from the network security server are obtained. Then, the security log, system log and vulnerability data are respectively subjected to word segmentation processing and then passed through a trained context encoder containing an embedding layer to obtain a security log semantic understanding feature vector, a system log semantic understanding feature vector and a vulnerability data semantic understanding feature vector. Then, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are arranged into a two-dimensional feature matrix and then passed through a trained first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional correlation feature vector. Then, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are arranged into a one-dimensional feature vector and then passed through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood correlation feature vector. Then, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector. Next, the traffic data is arranged into a traffic input vector according to the time dimension and then passed through a trained temporal encoder containing a one-dimensional convolutional layer to obtain a traffic feature vector. Then, the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix. Next, the classification feature matrix is ​​passed through a classifier to obtain a classification result, which is used to indicate whether a network security warning prompt is generated.

[0055] In the above-mentioned network security scanning risk management system 100 based on multi-source data, the scanning data acquisition unit 110 is used to obtain security logs, system logs, vulnerability data and flow data collected from the network security server. During the operation of the network security system, it will generate security logs, system logs, vulnerability data and flow data, that is, multi-source data will be generated during the operation of the network security system. Encoding the multi-source data in an appropriate manner to fully explore its internal implicit information and associations is conducive to improving the network security risk management and control capabilities.

[0056] In the above-mentioned network security scanning risk management system 100 based on multi-source data, the security log semantic understanding unit 120 is used to obtain the security log semantic understanding feature vector after word segmentation processing through a trained context encoder containing an embedding layer. That is, the security log is regarded as text data, and the context encoder based on the converter is used to perform high-dimensional semantic encoding on the security log respectively to fully mine the high-dimensional semantic information in the security log to obtain the security log semantic understanding feature vector.

[0057] Figure 3The figure shows a block diagram of a security log semantic understanding unit in a network security scanning risk management system based on multi-source data according to an embodiment of the present application. Figure 3 As shown, the security log semantic understanding unit 120 includes: a word segmentation subunit 121, used to perform word segmentation processing on the security log to obtain a word sequence; a word embedding subunit 122, used to input each word in the word sequence into the embedding layer of the context encoder respectively so that the embedding layer converts each word into a word embedding vector to obtain a sequence of word embedding vectors; a context semantic understanding subunit 123, used to input the sequence of word embedding vectors into the converter-based Bert model of the context encoder to obtain multiple word semantic feature vectors; and a cascade subunit 124, used to cascade the multiple word semantic feature vectors to obtain the security log semantic understanding feature vector.

[0058] In the network security scanning risk management system 100 based on multi-source data, the system log semantic understanding unit 130 is used to obtain the system log semantic understanding feature vector after word segmentation processing of the system log through the trained context encoder including the embedding layer. That is, the system log is regarded as text data, and the system log is respectively high-dimensionally semantically encoded using the converter-based context encoder to fully mine the high-dimensional semantic information in the system log to obtain the system log semantic understanding feature vector.

[0059] In the network security scanning risk management system 100 based on multi-source data, the vulnerability data semantic understanding unit 140 is used to obtain the vulnerability data semantic understanding feature vector after word segmentation processing through the trained context encoder including the embedding layer. That is, the vulnerability log is regarded as text data, and the context encoder based on the converter is used to perform high-dimensional semantic encoding on the vulnerability log respectively to fully mine the high-dimensional semantic information in the vulnerability log to obtain the vulnerability log semantic understanding feature vector.

[0060] In the above-mentioned network security scanning risk management system 100 based on multi-source data, the multi-source data two-dimensional association encoding unit 150 is used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix, and then pass it through a first convolutional neural network model with a multi-scale convolution structure that has been trained to obtain a multi-scale two-dimensional association feature vector. That is, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are two-dimensionally structured at the data level, and then a convolutional neural network with excellent performance in the field of local feature extraction is used as a feature extractor to extract high-dimensional local implicit features in the two-dimensional feature matrix. In the technical solution of the present application, the high-dimensional local implicit features in the two-dimensional feature matrix include the association information between the data items in the security log and the data items in the system log, the association information between the data items in the system log and the data items in the vulnerability data, and the association information between the data items in the security log and the data items in the vulnerability data. Here, in the technical solution of the present application, it is considered that the two-dimensional feature matrix composed of the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector has different association patterns in different local fields of view, that is, the association between the security log, the system log and the vulnerability data is multi-scale and anisotropic. In order to adapt to this feature distribution, in the technical solution of the present application, the structure of the convolutional neural network model is improved, specifically, a convolutional neural network model with a multi-scale convolution structure is used as a feature extractor, wherein the multi-scale convolution structure indicates that each layer of the convolutional neural network uses convolution kernels with different sizes to perform group feature extraction based on different receptive fields on the input data to extract two-dimensional correlation features of different scales in the two-dimensional feature matrix.

[0061] In one example, in the above-mentioned network security scanning risk management system 100 based on multi-source data, the multi-source data two-dimensional association encoding unit 150 is further used to: use each layer of the first convolutional neural network model to perform the following on the input data in the forward pass of the layer: use the first convolution kernel to convolve the input data to obtain a first convolutional feature map; use the second convolution kernel to convolve the input data to obtain a second convolutional feature map; use the third convolution kernel to convolve the input data to obtain a third convolutional feature map; use the fourth convolution kernel to convolve the input data to obtain a fourth convolutional feature map; cascade the first convolutional feature map, the second convolutional feature map, the third convolutional feature map and the fourth convolutional feature map to obtain a convolutional feature map; perform pooling processing based on a feature matrix on the convolutional feature map to obtain a pooled feature map; and, perform nonlinear activation processing on the pooled feature map to obtain an activated feature map; wherein the output of the last layer of the first convolutional neural network model is the multi-scale two-dimensional association feature vector.

[0062] In one example, in the above-mentioned network security scanning risk management system 100 based on multi-source data, the size of the first convolution kernel is 7×7, the size of the second convolution kernel is 5×5, the size of the third convolution kernel is 3×3 and the size of the fourth convolution kernel is 1×1.

[0063] In the above-mentioned network security scanning risk management system 100 based on multi-source data, the multi-source data one-dimensional association encoding unit 160 is used to arrange the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then pass it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector. That is, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are regarded as independent semantic units, and the multi-scale neighborhood feature extraction module is used to extract the multi-scale neighborhood semantic association information. More specifically, because the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are generated by encoding with a converter-based context encoder, although it has the advantage of being able to extract long-dependency semantic information, it is relatively weak in the performance of extracting local semantic association features. Therefore, the multi-scale neighborhood feature extraction module including multiple one-dimensional convolutional layers is further used to perform multi-scale one-dimensional convolution encoding on the one-dimensional feature vector composed of the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector to extract local semantic association information of different scales, that is, high-dimensional implicit semantic association information between multiple data items in the security log, high-dimensional implicit association information between multiple data items in the system log, high-dimensional implicit association information between multiple data items in the vulnerability data, high-dimensional implicit association information between some data items in the security log and some data items in the system log, and high-dimensional implicit association information between some data items in the system log and some data items in the vulnerability data.

[0064] Figure 4 The figure shows a block diagram of a multi-source data one-dimensional association encoding unit in a network security scanning risk management system based on multi-source data according to an embodiment of the present application. Figure 4As shown, the multi-source data one-dimensional association encoding unit 160 includes: a first neighborhood scale encoding subunit 161, which is used to input the one-dimensional feature vector into the first convolution layer of the multi-scale neighborhood feature extraction module, wherein the first convolution layer uses a one-dimensional convolution kernel with a first length to perform one-dimensional convolution encoding on the one-dimensional feature vector to obtain a first-scale neighborhood association feature vector; a second neighborhood scale encoding subunit 162, which is used to input the one-dimensional feature vector into the second convolution layer of the multi-scale neighborhood feature extraction module, wherein the second convolution layer uses a one-dimensional convolution kernel with a second length to perform one-dimensional convolution encoding on the one-dimensional feature vector to obtain a second-scale neighborhood association feature vector; and a multi-scale cascade subunit 163, which is used to cascade the first-scale neighborhood association feature vector and the second-scale neighborhood association feature vector to obtain the multi-scale neighborhood association feature vector.

[0065] In the network security scanning risk management system 100 based on multi-source data, the feature vector fusion unit 170 is used to fuse the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector. That is, the multi-dimensional multi-scale correlation feature vector combines the advantages of the context encoder in extracting long-dependency semantic information and the advantages of the multi-scale neighborhood feature extraction module in extracting local semantic correlation information of different scales.

[0066] In the above-mentioned network security scanning risk management and control system 100 based on multi-source data, the flow data feature extraction unit 180 is used to arrange the flow data into a flow input vector according to the time dimension and then pass it through a trained time series encoder including a one-dimensional convolution layer to obtain a flow feature vector. In the technical solution of the present application, the system log, security log and vulnerability data are all response data of the flow data to a certain extent, that is, the network security server performs rule-based processing on the flow data based on preset rules to generate the system log, the security log and the vulnerability data. Making full use of the responsive association between flow data and the above three can improve the network security management performance. Specifically, the flow data is first arranged into a flow input vector according to the time dimension and then passed through a time series encoder including a one-dimensional convolution layer to obtain a flow feature vector. That is, the high-dimensional implicit features of the flow data in the time dimension are extracted using a time series encoder including a one-dimensional convolution layer.

[0067] In the above-mentioned network security scanning risk management system 100 based on multi-source data, the transfer unit 190 is used to calculate the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector as the classification feature matrix. That is, in the technical solution of the present application, the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector is used to represent the high-dimensional responsiveness association pattern between the traffic data and the system log, security log and vulnerability data.

[0068] In one example, in the network security scanning risk management system 100 based on multi-source data, the transfer unit 190 is further used to calculate the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector as the classification feature matrix using the following formula;

[0069] Wherein, the formula is: v1 is the traffic feature vector, v2 is the multi-dimensional and multi-scale correlation feature vector, M c is the classification feature matrix.

[0070] In the above-mentioned network security scanning risk management and control system 100 based on multi-source data, the risk management result generation unit 200 is used to pass the classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security warning prompt is generated.

[0071] In one example, in the network security scanning risk management system 100 based on multi-source data, the risk management result generation unit 200 is further used to use the classifier to process the classification feature matrix to obtain the classification result using the following formula; wherein the formula is: O = softmax{(W n , B n ): ...: (W1, B1) | Project (F)}, where Project (F) represents the projection of the classification feature matrix into a vector, W1 to W n is the weight matrix of each fully connected layer, B1 to B n Represents the bias matrix of each fully connected layer.

[0072] In one example, in the above-mentioned network security scanning risk management system 100 based on multi-source data, the network security scanning risk management system based on multi-source data also includes a training module 300 for training the context encoder including the embedding layer, the first convolutional neural network model, the multi-scale neighborhood feature extraction module and the temporal encoder including the one-dimensional convolutional layer. Figure 5 The diagram shows a block diagram of a training module in a network security scanning risk management system based on multi-source data according to an embodiment of the present application. Figure 5As shown, the training module 300 includes: a training data acquisition unit 310, which is used to obtain training data, and the training data includes security logs, system logs, vulnerability data, flow data and a label value of whether a network security warning is generated; a training security log semantic understanding unit 320, which is used to perform word segmentation processing on the security log and then pass it through the context encoder containing the embedding layer to obtain a training security log semantic understanding feature vector; a training system log semantic understanding unit 330, which is used to perform word segmentation processing on the system log and then pass it through the context encoder containing the embedding layer to obtain a training system log semantic understanding feature vector; a training vulnerability data semantic understanding unit The unit 340 is used to perform word segmentation on the vulnerability data and then pass it through the context encoder including the embedding layer to obtain the training vulnerability data semantic understanding feature vector; the training multi-source data two-dimensional association encoding unit 350 is used to arrange the training security log semantic understanding feature vector, the training system log semantic understanding feature vector and the training vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then pass it through the first convolutional neural network model with a multi-scale convolution structure to obtain the training multi-scale two-dimensional association feature vector; the training multi-source data one-dimensional association encoding unit 360 is used to arrange the training security log semantic understanding feature vector, the training system log semantic understanding feature vector and the training vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then pass it through the first convolutional neural network model with a multi-scale convolution structure to obtain the training multi-scale two-dimensional association feature vector. The semantic understanding feature vector and the training vulnerability data semantic understanding feature vector are arranged into a one-dimensional feature vector and then passed through the multi-scale neighborhood feature extraction module to obtain a training multi-scale neighborhood association feature vector; a training feature vector fusion unit 370 is used to fuse the training multi-scale two-dimensional association feature vector and the training multi-scale neighborhood association feature vector to obtain a training multi-dimensional multi-scale association feature vector; a training flow data feature extraction unit 380 is used to arrange the flow data into a flow input vector according to the time dimension and then pass it through the temporal encoder including a one-dimensional convolutional layer to obtain a training flow feature vector; a training transfer unit 390 is used to calculate the training flow feature vector. The transfer matrix of the eigenvector relative to the training multi-dimensional and multi-scale associated eigenvector is used as a training classification feature matrix; a classification loss unit 400 is used to pass the training classification feature matrix through a classifier to obtain a classification loss function value; a frugal decomposition encouragement loss unit 410 is used to calculate the frugal decomposition encouragement loss function value of the transfer matrix; and a training unit 420 is used to train the context encoder including the embedding layer, the first convolutional neural network model, the multi-scale neighborhood feature extraction module and the temporal encoder including the one-dimensional convolutional layer using the weighted sum of the frugal decomposition encouragement loss function value and the classification loss function value as the loss function value.

[0073] In particular, in the technical solution of the present application, when calculating the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector, assuming that the traffic feature vector and the multi-dimensional multi-scale correlation feature vector are both column vectors, the row distribution between each row of the transfer matrix corresponds to the time series distribution of the traffic feature vector. Therefore, in order to enable the transfer matrix to have a good distribution expression effect in a predetermined direction in the time series distribution direction of the traffic feature vector, it is expected that the transfer matrix has good dimensional monotonicity in the column direction.

[0074] In one example, in the network security scanning risk management system 100 based on multi-source data, the frugal decomposition encouragement loss unit 410 is further used to calculate the frugal decomposition encouragement loss function value of the transfer matrix using the following formula:

[0075] Wherein, the formula is:

[0076]

[0077] Where τ is the penalty factor of the hyperparameter, ||·||2 represents the bi-norm of the vector, and m i,j represents the eigenvalue of each position in the transfer matrix, and ReLU(·) represents a nonlinear activation function.

[0078] Here, by grouping the features of the transfer matrix along the column direction and imposing a penalty on the overlap of elements within the group in the row direction, the distance union of symbolized functions activated by the ReLU activation function can be calculated by the second norm of the vector, thereby promoting the frugal decomposition of the high-dimensional manifold represented by the transfer matrix. This can be understood as constructing the geometry of the high-dimensional manifold based on a set of convex polyhedrons distributed along the column direction to improve the dimensional monotonicity of the high-dimensional manifold along the column direction.

[0079] In summary, according to the network security scanning risk management system 100 based on multi-source data of the embodiment of the present application, it is explained that the security log, system log and vulnerability data are respectively obtained through the context encoder to obtain the corresponding semantic understanding feature vector, and the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are respectively obtained through the first convolutional neural network model and the multi-scale neighborhood feature extraction module. Then, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector, and the transfer matrix of the traffic feature vector obtained by the time series encoder of the traffic input vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix, and the classification result used to indicate whether a network security warning prompt is generated can be obtained through the classifier. In this way, the multi-source data is encoded to fully explore its internal implicit information and associations, and improve the network security risk management capabilities.

[0080] As described above, the network security scanning risk management system 100 based on multi-source data according to the embodiment of the present application can be implemented in various terminal devices, such as a server with a network security scanning risk management function based on multi-source data. In one example, the network security scanning risk management system 100 based on multi-source data according to the embodiment of the present application can be integrated into the terminal device as a software module and / or a hardware module. For example, the network security scanning risk management system 100 based on multi-source data can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the network security scanning risk management system 100 based on multi-source data can also be one of the many hardware modules of the terminal device.

[0081] Alternatively, in another example, the network security scanning risk management system 100 based on multi-source data and the terminal device may also be separate devices, and the network security scanning risk management system 100 based on multi-source data may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.

[0082] Exemplary Methods

[0083] According to another aspect of the present application, a network security scanning risk management method based on multi-source data is also provided. Figure 6As shown, according to the network security scanning risk management method based on multi-source data in the embodiment of the present application, the steps include: S110, obtaining security logs, system logs, vulnerability data and traffic data collected from the network security server; S120, performing word segmentation on the security log and then passing it through a trained context encoder containing an embedding layer to obtain a security log semantic understanding feature vector; S130, performing word segmentation on the system log and then passing it through a trained context encoder containing an embedding layer to obtain a system log semantic understanding feature vector; S140, performing word segmentation on the vulnerability data and then passing it through a trained context encoder containing an embedding layer to obtain a vulnerability data semantic understanding feature vector; S150, arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then passing it through a trained multi-scale convolution structure. The first convolutional neural network model is used to obtain a multi-scale two-dimensional correlation feature vector; S160, the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector are arranged into a one-dimensional feature vector and then passed through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood correlation feature vector; S170, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector; S180, the traffic data is arranged into a traffic input vector according to the time dimension and then passed through a trained temporal encoder including a one-dimensional convolutional layer to obtain a traffic feature vector; S190, the transfer matrix of the traffic feature vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix; and, S200, the classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security warning prompt is generated.

[0084] In summary, the network security scanning risk management method based on multi-source data according to the embodiment of the present application is explained, which obtains corresponding semantic understanding feature vectors for security logs, system logs and vulnerability data through context encoders, and obtains multi-scale two-dimensional correlation feature vectors and multi-scale neighborhood correlation feature vectors through the first convolutional neural network model and the multi-scale neighborhood feature extraction module. Then, the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector are fused to obtain a multi-dimensional multi-scale correlation feature vector, and the transfer matrix of the traffic feature vector obtained by the time series encoder of the traffic input vector relative to the multi-dimensional multi-scale correlation feature vector is calculated as a classification feature matrix, and the classification result used to indicate whether a network security warning prompt is generated can be obtained through the classifier. In this way, multi-source data is encoded to fully explore its internal implicit information and associations, thereby improving network security risk management capabilities.

Claims

1. A network security scanning risk management system based on multi-source data, It is characterized in that include: A scanning data collection unit is used to obtain security logs, system logs, vulnerability data and flow data collected from a network security server; A security log semantic understanding unit, used for performing word segmentation processing on the security log and then passing it through a trained context encoder including an embedding layer to obtain a security log semantic understanding feature vector; A system log semantic understanding unit, configured to obtain a system log semantic understanding feature vector after performing word segmentation processing on the system log through the trained context encoder including the embedding layer; A vulnerability data semantic understanding unit, configured to obtain a vulnerability data semantic understanding feature vector after performing word segmentation processing on the vulnerability data through the trained context encoder including the embedding layer; A multi-source data two-dimensional association encoding unit, used for arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then passing the matrix through a trained first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional association feature vector; A multi-source data one-dimensional association encoding unit, used for arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then passing it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector; A feature vector fusion unit, used for fusing the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector; A flow data feature extraction unit, configured to arrange the flow data into a flow input vector according to a time dimension and then pass the vector through a trained temporal encoder including a one-dimensional convolutional layer to obtain a flow feature vector; A transfer unit, used for calculating a transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; as well as A risk management result generating unit, used for passing the classification feature matrix through a classifier to obtain a classification result, wherein the classification result is used to indicate whether a network security early warning prompt is generated; Among them, the network security scanning risk management and control system based on multi-source data also includes a training module for training the context encoder including the embedding layer, the first convolutional neural network model, the multi-scale neighborhood feature extraction module and the temporal encoder including the one-dimensional convolutional layer; Wherein, the training module includes: A training data acquisition unit, used to obtain training data, wherein the training data includes security logs, system logs, vulnerability data, flow data, and a label value indicating whether a network security warning is generated; A training security log semantic understanding unit is used to perform word segmentation processing on the security log and then pass it through the context encoder including the embedding layer to obtain a training security log semantic understanding feature vector; A training system log semantic understanding unit, used for performing word segmentation processing on the system log and then passing it through the context encoder including the embedding layer to obtain a training system log semantic understanding feature vector; A training vulnerability data semantic understanding unit, used for performing word segmentation processing on the vulnerability data and then passing it through the context encoder including the embedding layer to obtain a training vulnerability data semantic understanding feature vector; A training multi-source data two-dimensional association encoding unit is used to arrange the training security log semantic understanding feature vector, the training system log semantic understanding feature vector and the training vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then pass it through the first convolutional neural network model with a multi-scale convolution structure to obtain a training multi-scale two-dimensional association feature vector; A training multi-source data one-dimensional association encoding unit is used to arrange the training security log semantic understanding feature vector, the training system log semantic understanding feature vector and the training vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then pass it through the multi-scale neighborhood feature extraction module to obtain a training multi-scale neighborhood association feature vector; A training feature vector fusion unit, used for fusing the training multi-scale two-dimensional correlation feature vector and the training multi-scale neighborhood correlation feature vector to obtain a training multi-dimensional multi-scale correlation feature vector; A training flow data feature extraction unit, used for arranging the flow data into a flow input vector according to the time dimension and then passing it through the temporal encoder including the one-dimensional convolutional layer to obtain a training flow feature vector; A training transfer unit, used for calculating a transfer matrix of the training flow feature vector relative to the training multi-dimensional multi-scale correlation feature vector as a training classification feature matrix; A classification loss unit, used for passing the training classification feature matrix through a classifier to obtain a classification loss function value; A frugal decomposition encouragement loss unit, used to calculate a frugal decomposition encouragement loss function value of the transfer matrix; and A training unit, configured to train the context encoder including the embedding layer, the first convolutional neural network model, the multi-scale neighborhood feature extraction module, and the temporal encoder including the one-dimensional convolutional layer by taking the weighted sum of the frugal decomposition encouragement loss function value and the classification loss function value as the loss function value; The frugal decomposition encouraging loss unit is further used to calculate the frugal decomposition encouraging loss function value of the transfer matrix using the following formula: Wherein, the formula is: , in is the penalty factor of the hyperparameter, represents the two-norm of a vector, represents the eigenvalue of each position in the transfer matrix, represents a non-linear activation function.

2. The network security scanning risk management and control system based on multi-source data according to claim 1, It is characterized in that The security log semantic understanding unit includes: A word segmentation subunit, used for performing word segmentation processing on the security log to obtain a word sequence; A word embedding subunit, configured to input each word in the word sequence into an embedding layer of the context encoder so that the embedding layer converts each word into a word embedding vector to obtain a sequence of word embedding vectors; A context semantic understanding subunit, configured to input the sequence of word embedding vectors into a transformer-based Bert model of the context encoder to obtain a plurality of word semantic feature vectors; and The cascading subunit is used to cascade the multiple word semantic feature vectors to obtain the security log semantic understanding feature vector.

3. The network security scanning risk management and control system based on multi-source data according to claim 2, It is characterized in that The multi-source data two-dimensional association encoding unit is further used to: use each layer of the first convolutional neural network model to respectively perform the following on the input data in the forward transfer of the layer: Using a first convolution kernel to perform convolution processing on the input data to obtain a first convolution feature map; Using a second convolution kernel to perform convolution processing on the input data to obtain a second convolution feature map; Using a third convolution kernel to perform convolution processing on the input data to obtain a third convolution feature map; Using a fourth convolution kernel to perform convolution processing on the input data to obtain a fourth convolution feature map; Cascading the first convolution feature map, the second convolution feature map, the third convolution feature map, and the fourth convolution feature map to obtain a convolution feature map; Performing a pooling process based on a feature matrix on the convolution feature map to obtain a pooled feature map; and Performing nonlinear activation processing on the pooled feature map to obtain an activated feature map; Among them, the output of the last layer of the first convolutional neural network model is the multi-scale two-dimensional correlation feature vector.

4. The network security scanning risk management and control system based on multi-source data according to claim 3, It is characterized in that The size of the first convolution kernel is 7×7, the size of the second convolution kernel is 5×5, the size of the third convolution kernel is 3×3, and the size of the fourth convolution kernel is 1×1.

5. The network security scanning risk management and control system based on multi-source data according to claim 4, It is characterized in that The multi-source data one-dimensional association encoding unit comprises: A first neighborhood scale encoding subunit, configured to input the one-dimensional feature vector into a first convolutional layer of the multi-scale neighborhood feature extraction module, wherein the first convolutional layer uses a one-dimensional convolutional kernel with a first length to perform one-dimensional convolution encoding on the one-dimensional feature vector to obtain a first-scale neighborhood association feature vector; A second neighborhood scale encoding subunit, configured to input the one-dimensional feature vector into a second convolutional layer of the multi-scale neighborhood feature extraction module, wherein the second convolutional layer uses a one-dimensional convolutional kernel with a second length to perform one-dimensional convolution encoding on the one-dimensional feature vector to obtain a second-scale neighborhood association feature vector; and The multi-scale cascading subunit is used to cascade the first-scale neighborhood association feature vector and the second-scale neighborhood association feature vector to obtain the multi-scale neighborhood association feature vector.

6. The network security scanning risk management and control system based on multi-source data according to claim 5, It is characterized in that The transfer unit is further used to calculate the transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as the classification feature matrix using the following formula; Wherein, the formula is: , is the flow characteristic vector, is the multi-dimensional and multi-scale correlation feature vector, is the classification feature matrix.

7. The network security scanning risk management and control system based on multi-source data according to claim 6, It is characterized in that The risk management result generating unit is further used to use the classifier to process the classification feature matrix according to the following formula to obtain the classification result; Wherein, the formula is: ,in Represents projecting the classification feature matrix into a vector, to is the weight matrix of each fully connected layer, to Represents the bias matrix of each fully connected layer.

8. A network security scanning risk management method based on multi-source data according to the network security scanning risk management system based on multi-source data according to claim 1, It is characterized in that include: Obtain security logs, system logs, vulnerability data, and traffic data collected from network security servers; After word segmentation processing is performed on the security log, a context encoder including an embedding layer is trained to obtain a security log semantic understanding feature vector; After word segmentation processing is performed on the system log, a semantic understanding feature vector of the system log is obtained by using the trained context encoder including the embedding layer; After word segmentation processing is performed on the vulnerability data, a semantic understanding feature vector of the vulnerability data is obtained by using the trained context encoder including the embedding layer; Arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector into a two-dimensional feature matrix and then passing the matrix through a trained first convolutional neural network model with a multi-scale convolution structure to obtain a multi-scale two-dimensional correlation feature vector; Arranging the security log semantic understanding feature vector, the system log semantic understanding feature vector, and the vulnerability data semantic understanding feature vector into a one-dimensional feature vector and then passing it through a trained multi-scale neighborhood feature extraction module to obtain a multi-scale neighborhood association feature vector; Fusion of the multi-scale two-dimensional correlation feature vector and the multi-scale neighborhood correlation feature vector to obtain a multi-dimensional multi-scale correlation feature vector; Arranging the traffic data into a traffic input vector according to the time dimension and passing it through a trained temporal encoder including a one-dimensional convolutional layer to obtain a traffic feature vector; Calculating a transfer matrix of the flow feature vector relative to the multi-dimensional multi-scale correlation feature vector as a classification feature matrix; as well as The classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether a network security early warning prompt is generated.