Vulnerability resource fusion method and device

Collect and preprocess vulnerability data through web crawlers, combine it with deep learning models for entity recognition and relationship extraction, and build knowledge graphs to solve the problems of data heterogeneity and redundancy in existing vulnerability databases and achieve efficient and intelligent vulnerability data chemical analysis and query.

CN118568660APending Publication Date: 2024-08-30DALIAN UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410655538.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing vulnerability databases have different data sources, uneven quality, lack of correlation and contextual information, and are unable to provide comprehensive and accurate vulnerability analysis. As the number of vulnerabilities increases, data redundancy and heterogeneity are serious, which makes vulnerability analysis difficult.

Method used

Collect vulnerability data through web crawlers, perform preprocessing, knowledge extraction and fusion, build a knowledge graph, and store it in the Neo4j graph database to achieve visual display and relationship analysis. Specific steps include data cleaning, classification, word segmentation, text feature extraction, entity recognition and relationship extraction. The rule-based method and the deep learning Bi LSTM-CRF model are combined for entity recognition and relationship extraction. Finally, the data is processed through the Py2neo library and the Load-CSV statement. Stored in Neo4j database.

Benefits of technology

It realizes the integration and correlation of multiple vulnerability data, provides rich contextual information and related query functions, supports visual reasoning analysis, improves the analysis efficiency and intelligence of vulnerability data, and solves the problems of data heterogeneity and redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568660A
    Figure CN118568660A
Patent Text Reader

Abstract

The invention discloses a vulnerability data resource fusion method. The method comprises the following steps: collecting vulnerability data; performing data collection on vulnerability information of the selected vulnerability database through a web crawler; preprocessing vulnerability data; performing knowledge extraction on the preprocessed vulnerability data; performing knowledge fusion on the vulnerability data after knowledge extraction; and constructing a knowledge graph based on the data after knowledge fusion, storing node sets, attributes and edge sets of the obtained knowledge graph in a Neo4j graph database in batches, and storing vulnerability semantic information in the Neo4j graph database in batches in two modes of a Py2neo library and a Load-CSV statement, thereby realizing visual display of the relationship between nodes. According to the method, data of a plurality of vulnerability databases can be integrated, comprehensive and accurate vulnerability information can be provided, visual reasoning analysis is supported, a user is helped to deeply understand the relationship and influence between vulnerabilities, an intelligent vulnerability analysis tool is provided, and the user is helped to quickly identify and solve vulnerability security problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network security and relates to a vulnerability resource fusion method and device, in particular to vulnerability management and vulnerability resource integration technology. Background Art

[0002] With the rapid development of computer technology and the popularization of the Internet, network security issues have become increasingly prominent, and vulnerabilities in various software and systems have become the focus of hacker attacks. Therefore, it is crucial to study and integrate vulnerability resources and provide efficient and accurate vulnerability information analysis and management tools to protect network security.

[0003] The current vulnerability database has the following problems: data sources are different, the quality is uneven, and there is a lack of association and context information, which makes it impossible to provide comprehensive and accurate vulnerability analysis. In addition, due to the increasing number of vulnerabilities, data redundancy and heterogeneity problems are becoming increasingly serious, which brings difficulties to vulnerability analysis. Summary of the invention

[0004] In order to solve the above problems, the technical solution adopted by the present invention is: a vulnerability data resource fusion method, comprising the following steps:

[0005] Step 1: Vulnerability data collection: collect vulnerability information of the selected vulnerability database through web crawlers;

[0006] Step 2: Vulnerability data preprocessing;

[0007] Step 3: Extract knowledge from the pre-processed vulnerability data;

[0008] Step 4: Perform knowledge fusion on the vulnerability data after knowledge extraction;

[0009] Step 5: Build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes, and edge set of the obtained knowledge graph in the Neo4j graph database in batches. Use the Py2neo library and Load-CSV statement to store the vulnerability semantic information in the Neo4j graph database in batches to visualize the relationship between nodes.

[0010] Further: the vulnerability data preprocessing includes cleaning, classification, word segmentation and text feature extraction of the data;

[0011] The cleaning includes removing noise and useless information;

[0012] The classification is performed according to CWE-ID and CVE-ID information, and the classification standard is that CWE-ID is the root node and CVE-ID is the leaf node;

[0013] The word segmentation is the process of converting a continuous string sequence into a word sequence according to certain rules; the text feature uses the word vector technology to obtain the word vector trained on the data vulnerability as the input of the model, and uses the word2ve model to embed the label sequence represented by the one-hot encoding generated by the text segmentation and convert it into a vector.

[0014] Further: the knowledge extraction includes entity recognition and relationship extraction;

[0015] The entity recognition is to detect named entities from the text, including vulnerability name, affected product, version number, vulnerability type and manufacturer name;

[0016] The relationship extraction is to determine the relationship between entities, including the relationship between vulnerabilities and affected products.

[0017] Furthermore: the knowledge fusion of the vulnerability data after knowledge extraction is performed by aligning the cross-complementary entity information between vulnerability libraries to unify them into the standardized entity and attribute fields constructed in this article; at the same time, cross-complementation is performed between vulnerability databases.

[0018] Furthermore: it also includes entity recognition through a rule-based method and a deep learning Bi LSTM-CRF model, wherein the deep learning Bi LSTM-CRF model uses a method combining a long short-term memory neural network with CRF for entity recognition, including CRF, a forward LSTM network layer, a backward LSTM network layer and an Embedding layer from top to bottom; and relationship extraction is performed on entities.

[0019] Further: The process of entity recognition by rule-based method and deep learning Bi LSTM-CRF model is as follows:

[0020] First, the word vectors of each word in the sentence are taken as input and passed into the Bi LSTM network layer.

[0021] Then the forward LSTM and backward LSTM are used as the initial sequential sequence and reverse sequence respectively, and are projected onto a new vector sequence with a length equal to the sequence length and a width equal to the number of token types through the projection layer to obtain the basic features of the input word sequence; the results are provided to the final CRF layer.

[0022] Finally, dependency constraints are added to the sequence tags through the CRF layer to achieve accurate classification of the labeled data.

[0023] Furthermore: the vulnerability database includes NVD and CVE.

[0024] A vulnerability data resource fusion device, comprising:

[0025] Data collection module: used for vulnerability data collection; collects vulnerability information of the selected vulnerability database through web crawlers;

[0026] Data preprocessing module: used for vulnerability data preprocessing;

[0027] Knowledge extraction module: used to extract knowledge from pre-processed vulnerability data;

[0028] Knowledge fusion module: used to perform knowledge fusion on vulnerability data after knowledge extraction;

[0029] Knowledge graph construction module: used to build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes and edge set of the obtained knowledge graph in batches into the Neo4j graph database. The vulnerability semantic information is stored in batches in the Neo4j graph database through the Py2neo library and Load-CSV statements to realize the visual display of the relationship between nodes.

[0030] In order to solve these problems, the present invention proposes a vulnerability resource fusion method and device, crawls the selected vulnerability database through a web crawler, pre-processes the obtained data, extracts entities, extracts relationships, and fuses knowledge in turn to obtain the point set and edge set of the knowledge graph, i.e., the attribute set, stores the vulnerability semantic information in batches in the Neo4j graph database by calling the Py2neo library in Python and combining the Load-CSV statement, and visualizes the relationship between nodes, which can well integrate various types of vulnerability data, and finally achieve functions such as visual reasoning analysis and associated query, so as to achieve the goal of more efficient and intelligent vulnerability data analysis; the knowledge graph is a technology that organizes and represents data in a graphical structure, and can integrate and associate vulnerability information from different data sources. By constructing a vulnerability knowledge graph, the system can classify and associate vulnerability data according to specific rules, provide accurate vulnerability information, and support functions such as visual reasoning analysis and associated query.

[0031] The system uses web crawler technology to collect data from various vulnerability databases, and cleans the data and extracts key information through data preprocessing and knowledge extraction technology. Then, the vulnerability information from different data sources is integrated using knowledge fusion technology to solve the problems of data heterogeneity and redundancy. Finally, a vulnerability knowledge graph is constructed and stored in a graph database for visualization and relationship analysis.

[0032] The beneficial effects of the present invention are as follows: first, vulnerability information can be automatically collected through web crawlers, which can not only obtain the latest vulnerability data in a timely manner, but also solve the problems of low efficiency and missing vulnerabilities faced by traditional manual collection. Secondly, the data preprocessing link can clean, classify, segment and extract text features of the collected data, thereby providing a high-quality data foundation for subsequent knowledge extraction. In addition, the knowledge extraction stage adopts a combination of rule-based methods and deep learning models, which can accurately identify entities and extract the relationships between entities, thereby improving the accuracy of knowledge fusion. Finally, by constructing a knowledge graph, multivariate information can be integrated, and the Neo4j graph database can be used for storage and visualization, making the analysis and query of vulnerability data more efficient and intelligent. In summary, the vulnerability resource fusion system of the present invention has high practical value and application prospects.

[0033] The vulnerability resource fusion system of the present invention has the following advantages:

[0034] 1. It can integrate data from multiple vulnerability databases to provide comprehensive and accurate vulnerability information.

[0035] 2. The data representation method based on knowledge graph can provide rich contextual information and associated query functions.

[0036] 3. Support visual reasoning analysis to help users gain in-depth understanding of the relationships and impacts of vulnerabilities.

[0037] 4. Provide intelligent vulnerability analysis tools to help users quickly identify and resolve vulnerability security issues. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 It is a flow chart of vulnerability data fusion system.

[0040] Figure 2 (a) is the ontology model diagram I of the knowledge graph; (b) is the ontology model diagram II of the knowledge graph;

[0041] Figure 3 This is the BiLSTM-CRF entity recognition model diagram. DETAILED DESCRIPTION

[0042] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Figure 1 It is a flow chart of the vulnerability data fusion system.

[0045] A vulnerability data resource fusion method includes the following steps:

[0046] Step 1: Vulnerability data collection: collect vulnerability information of the selected vulnerability database through web crawlers; deeply analyze the release mechanism of public disclosure websites of vulnerability databases such as NVD and CVE through web crawlers to obtain vulnerability information, and crawl immediately when new vulnerabilities are discovered to ensure the timeliness and accuracy of the data.

[0047] Step 2: Vulnerability data preprocessing: The vulnerability data preprocessing includes data cleaning, classification, word segmentation and text feature extraction for subsequent knowledge extraction and knowledge fusion; by optimizing the crawler code, the less relevant and useless information obtained from individual vulnerability data is processed, and the processed vulnerability data is still stored in the local vulnerability source code database;

[0048] Step 3: Extract knowledge from the pre-processed vulnerability data;

[0049] Step 4: Perform knowledge fusion on the vulnerability data after knowledge extraction; the essence of knowledge fusion is to integrate multiple information to form the entity description we need, which can effectively deal with the heterogeneous problems between some entities. It mainly includes entity disambiguation, entity alignment and attribute alignment. It is necessary to align the cross-complementary entity information between vulnerability libraries and unify them into the standardized entity and attribute fields constructed in this article; at the same time, cross-complementation can also be performed between vulnerability databases to solve the problem of missing some attribute fields. The entity relationship is as follows:

[0050]

[0051] Figure 2(a) is the ontology model diagram I of the knowledge graph; (b) is the ontology model diagram II of the knowledge graph;

[0052] Step 5: Build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes, and edge set of the obtained knowledge graph in the Neo4j graph database in batches. Use the Py2neo library and Load-CSV statement to store the vulnerability semantic information in the Neo4j graph database in batches to visualize the relationship between nodes.

[0053] Step 1, step 2, step 3, step 4, and step 5 are performed in sequence;

[0054] The vulnerability data preprocessing includes cleaning, classification, word segmentation and text feature extraction of data;

[0055] The cleaning includes removing noise and useless information;

[0056] The classification classifies the disordered data obtained after data cleaning according to CWE-ID and CVE-ID information, and the classification standard is to use CWE-ID as the root node and CVE-ID as the leaf node;

[0057] After data classification, the vulnerability data description file obtained by the early web crawler contains a lot of important vulnerability information, such as affected products, version numbers, vulnerability types, manufacturer names, etc. Word segmentation is the process of converting continuous string sequences into word sequences according to certain rules, which is convenient for subsequent analysis and entity recognition.

[0058] The word segmentation is a process of converting a continuous string sequence into a word sequence according to certain rules; then the word segmentation is performed using existing word segmentation tools (such as SpaCy, NLTK, etc.).

[0059] The text feature extraction is used to generate word vectors. The text features use word vector technology to train data vulnerabilities to obtain word vectors as the input of the model. The word2ve model is used to embed the annotation sequence represented by one-hot encoding generated by text segmentation and convert it into a vector. The grammatical and semantic related features of the word are obtained by mathematical expression.

[0060] The knowledge extraction includes entity recognition and relationship extraction;

[0061] The entity recognition is to detect named entities from the text, including vulnerability names, affected products, version numbers, vulnerability types, and manufacturer names;

[0062] The relationship extraction is to determine the relationship between entities, including the relationship between vulnerabilities and affected products.

[0063] The knowledge fusion of vulnerability data after knowledge extraction is performed by aligning the cross-complementary entity information between vulnerability libraries to unify them into the standardized entity and attribute fields constructed in this article; at the same time, cross-complementation is performed between vulnerability databases to solve the problem of missing certain attribute fields.

[0064] Integrating multiple information to form the entity description we need can effectively deal with the heterogeneous problems between some entities, mainly including entity disambiguation, entity alignment and attribute alignment.

[0065] Figure 3 This is the BiLSTM-CRF entity recognition model diagram;

[0066] Furthermore: it also includes entity recognition through a rule-based method and a deep learning Bi LSTM-CRF model, wherein the deep learning Bi LSTM-CRF model uses a method combining a long short-term memory neural network with CRF for entity recognition, including CRF, a forward LSTM network layer, a backward LSTM network layer and an Embedding layer from top to bottom; and relationship extraction is performed on entities.

[0067] The process of entity recognition using the rule-based method and the deep learning Bi LSTM-CRF model is as follows:

[0068] Software entity recognition is performed through Bi LSTM-CRF. The model uses a method that combines long short-term memory neural network with CRF. From top to bottom, it includes CRF, forward LSTM network layer, backward LSTM network layer and Embedding layer.

[0069] First, the word vectors of each word in the sentence are taken as input (in fact, in addition to the word vector dimension, additional dimensions can be added, such as unigram or bigram), and passed into the Bi LSTM network layer.

[0070] Then the forward LSTM and backward LSTM are used as the initial sequential sequence and reverse sequence respectively, and are projected onto a new vector sequence with a length equal to the sequence length and a width equal to the number of token types through the projection layer to obtain the basic features of the input word sequence; the results are provided to the final CRF layer.

[0071] Finally, dependency constraints are added to the sequence tags through the CRF layer to achieve accurate classification of the labeled data.

[0072] A vulnerability data resource fusion device, comprising:

[0073] Data collection module: used for vulnerability data collection; collects vulnerability information of the selected vulnerability database through web crawlers;

[0074] Data preprocessing module: used for vulnerability data preprocessing;

[0075] Knowledge extraction module: used to extract knowledge from pre-processed vulnerability data;

[0076] Knowledge fusion module: used to perform knowledge fusion on vulnerability data after knowledge extraction;

[0077] Knowledge graph construction module: used to build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes and edge set of the obtained knowledge graph in batches into the Neo4j graph database. The vulnerability semantic information is stored in batches in the Neo4j graph database through the Py2neo library and Load-CSV statements to realize the visual display of the relationship between nodes.

[0078] Embodiment 1:

[0079] Ontology construction. Ontology is usually represented by a triple, that is, O = (C, A, R). Among them, O represents the ontology, C represents the concept class set, A represents the attribute set, and R represents the relationship set between classes. Figure 2 As shown in the figure, an ontology model of the knowledge graph is constructed. Among them, the concept classes include the copyright owner (Vendor, Ven), the affected product (Product, Prod), the vulnerability (Vulnerability, Vul) and the vulnerability type (Vulnerability Type, VT); the relationship between classes includes Belong TO, Affect and Has CWE (Has C-WE); the attribute set includes the version number (Version), vulnerability description (Description), etc.; the axiom set is usually used for knowledge reasoning, such as buffer overflow will cause the program to crash; the instance set, such as the specific vulnerabilities in the "Vulnerability" class in the software security ontology, such as CNVD-2022-70025, CNVD-2022-69473, etc. The relationship between entities is shown by the vulnerability instance CNVD-2022-69473, combined with the formal definition as follows:

[0080] C={Ven='Apache',Prod='loTDB',Vul='CNVD-2022-69473',VT='Genericvulnerability'}

[0081] A={Version='0.13.0',Cvss='3.1',CWE-ID='CWE-862'}

[0082]

[0083] S1: Through web crawlers, we can obtain vulnerability information by deeply analyzing the release mechanism of public disclosure websites of vulnerability databases such as NVD and CVE. Once a new vulnerability is released, we will immediately crawl and obtain vulnerability information;

[0084] S2: Preprocess the collected unstructured data;

[0085] By optimizing the crawler code, the less relevant and useless information obtained from individual vulnerability data is processed, and the processed vulnerability data is still stored in the local vulnerability source code database.

[0086] The disordered data obtained after data cleaning is classified according to information such as CWE-ID and CVE-ID. The classification standard is to use CWE-ID as the root node and CVE-ID as the leaf node.

[0087] After data classification, the vulnerability data description file obtained by the early web crawler contains a lot of important vulnerability information, such as affected products, version numbers, vulnerability types, manufacturer names, etc. Word segmentation is the process of converting continuous string sequences into word sequences according to certain rules, which is convenient for subsequent analysis and entity recognition.

[0088] The word vector obtained by data vulnerability training using word vector technology is used as the input of the model, which is conducive to improving the performance of model training. The word2ve model is used to embed the annotation sequence represented by one-hot encoding generated by text segmentation and convert it into a vector, and the grammatical and semantic related features of the word are obtained by mathematical expression.

[0089] S3: Software entity recognition through Bi LSTM-CRF. This model uses a method that combines long short-term memory neural network with CRF. From top to bottom, it includes CRF, forward LSTM network layer, backward LSTM network layer and Embedding layer. First, the word vectors of each word in the sentence are passed into the Bi LSTM network layer as input (in fact, in addition to the word vectorization dimension, additional dimensions can be added to the input, such as unigram or bigram). Then the forward LSTM and backward LSTM are used as the initial sequential sequence and reverse sequence respectively. They are projected to a new vector sequence with a length equal to the sequence length and a width equal to the number of tag types through the projection layer to obtain the basic features of the input word sequence. The results are provided to the final CRF layer. Finally, the CRF layer adds dependency constraints to the sequence tags to achieve accurate classification of the label data. See the model. Figure 3 .

[0090] Extract relations for the selected entities. The software relations extracted include Belong To, Affect, and Has CWE. For details, see Figure 3 .

[0091] S4: Knowledge fusion is essentially about integrating multiple information to form the entity description we need, which can effectively handle the heterogeneous problems between some entities. It mainly includes entity disambiguation, entity alignment, and attribute alignment. It is necessary to align the cross-complementary entity information between vulnerability databases and unify them into the standardized entity and attribute fields constructed in this paper; at the same time, cross-complementation can also be performed between vulnerability databases to solve the problem of missing some attribute fields.

[0092] S5: Construct a knowledge graph, that is, according to the above steps, crawl the selected vulnerability database through a web crawler, preprocess the obtained data, extract entities, extract relationships, and fuse knowledge in turn to obtain the point set and edge set of the knowledge graph, that is, the attribute set. The vulnerability semantic information is stored in batches in the Neo4j graph database by calling the Py2neo library in Python and combining the Load-CSV statement. The relationship between nodes is visualized, and the relationship between vulnerability entities can also be analyzed using Cypher query results.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vulnerability data resource fusion method, characterized by: The following steps are involved: Step 1: Vulnerability data collection; Collect data on vulnerability information of the selected vulnerability database through web crawlers; Step 2: Vulnerability data preprocessing; Step 3: Extract knowledge from the pre-processed vulnerability data; Step 4: Perform knowledge fusion on the vulnerability data after knowledge extraction; Step 5: Build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes, and edge set of the obtained knowledge graph in the Neo4j graph database in batches. Use the Py2neo library and Load-CSV statement to store the vulnerability semantic information in the Neo4j graph database in batches to visualize the relationship between nodes.

2. A vulnerability data resource fusion method according to claim 1, characterized in that: The vulnerability data preprocessing includes cleaning, classification, word segmentation and text feature extraction of data; The cleaning includes removing noise and useless information; The classification is performed according to CWE-ID and CVE-ID information, and the classification standard is that CWE-ID is the root node and CVE-ID is the leaf node; The word segmentation is a process of converting a continuous string sequence into a word sequence according to certain rules; The text features use word vector technology to obtain word vectors trained on data vulnerabilities as the input of the model, and use the word2ve model to embed the annotation sequence represented by one-hot encoding generated by text segmentation and convert it into a vector.

3. A vulnerability data resource fusion method according to claim 1, characterized in that: The knowledge extraction includes entity recognition and relationship extraction; The entity recognition is to detect named entities from the text, including vulnerability name, affected product, version number, vulnerability type and manufacturer name; The relationship extraction is to determine the relationship between entities, including the relationship between vulnerabilities and affected products.

4. The vulnerability data resource fusion method according to claim 1, characterized in that: The knowledge fusion of vulnerability data after knowledge extraction is performed by aligning cross-complementary entity information between vulnerability libraries to unify them into standardized entity and attribute fields constructed in this article; at the same time, cross-complementation is performed between vulnerability databases.

5. A vulnerability data resource fusion method according to claim 3, characterized in that: It also includes entity recognition through a rule-based method and a deep learning Bi LSTM-CRF model. The deep learning Bi LSTM-CRF model uses a method of combining a long short-term memory neural network with CRF to perform entity recognition, including CRF, a forward LSTM network layer, a backward LSTM network layer and an Embedding layer from top to bottom; and relationship extraction is performed on entities.

6. A vulnerability data resource fusion method according to claim 5, characterized in that: The process of entity recognition using the rule-based method and the deep learning Bi LSTM-CRF model is as follows: First, the word vectors of each word in the sentence are taken as input and passed into the Bi LSTM network layer. Then the forward LSTM and backward LSTM are used as the initial sequential sequence and reverse sequence respectively, and are projected onto a new vector sequence with a length equal to the sequence length and a width equal to the number of token types through the projection layer to obtain the basic features of the input word sequence; The result is fed into the final CRF layer, Finally, dependency constraints are added to the sequence tags through the CRF layer to achieve accurate classification of the labeled data.

7. A vulnerability data resource fusion method according to claim 1, characterized in that: The vulnerability databases include NVD and CVE.

8. A vulnerability data resource fusion device, characterized in that: include: Data collection module: used for vulnerability data collection; collects vulnerability information of the selected vulnerability database through web crawlers; Data preprocessing module: used for vulnerability data preprocessing; Knowledge extraction module: used to extract knowledge from pre-processed vulnerability data; Knowledge fusion module: used to perform knowledge fusion on vulnerability data after knowledge extraction; Knowledge graph construction module: used to build a knowledge graph based on the data after knowledge fusion, and store the node set, attributes and edge set of the obtained knowledge graph in batches into the Neo4j graph database. The vulnerability semantic information is stored in batches in the Neo4j graph database through the Py2neo library and Load-CSV statements to realize the visual display of the relationship between nodes.

Citation Information

Cited By

  • Vulnerability checking method based on deep neural network model and related product

    CN119203165A