A system, method and medium for enterprise security analysis based on big data
Through the enterprise security analysis system based on big data, we extract the characteristics of enterprise intelligence data, build frequent pattern trees and feature correlations, and generate threat event portraits and risk levels. This solves the data integrity and quality problems in traditional technologies and improves security. the accuracy of sexual analysis and the reliability of decision-making.
Patent Information
- Application Number
- CN202410751991.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-12
AI Technical Summary
Traditional technology cannot ensure the integrity and quality of data, resulting in low accuracy of enterprise security analysis and affecting the correctness of decision-making.
Adopt an enterprise security analysis system based on big data, including a threat event portrait generation module, a frequent pattern tree building module, a feature correlation generation module, a threat event portrait update module, a hierarchical risk indicator generation module and a risk level generation module. By analyzing the enterprise The intelligence data is used for feature extraction, frequent pattern tree construction, feature correlation calculation and risk indicator extraction to generate the enterprise's threat event portrait and risk level.
It improves the accuracy of enterprise security analysis, enables a more comprehensive and in-depth understanding of security threats, provides quantitative risk assessment, and adapts to the ever-changing security environment.
Smart Images

Figure CN118333405B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an enterprise security analysis system, method and medium based on big data. Background Art
[0002] As the digital transformation of enterprises accelerates and the amount of data surges, enterprises are increasingly relying on information systems and network technologies to support their businesses, which makes them more vulnerable to cybersecurity threats such as data leaks. Therefore, more precise and systematic security analysis is needed to protect their assets.
[0003] Data is the basis for security analysis, but traditional technologies may not be able to ensure the integrity and quality of data. Missing or inaccurate data will directly affect the reliability of the analysis results, and then affect the correctness of the decision, resulting in lower accuracy in enterprise security analysis. Summary of the invention
[0004] The present invention provides an enterprise security analysis system, method and medium based on big data, the main purpose of which is to solve the problem of low accuracy in enterprise security analysis.
[0005] To achieve the above-mentioned purpose, the present invention provides an enterprise security analysis system based on big data, characterized in that the system includes a threat event portrait generation module, a frequent pattern tree construction module, a feature correlation generation module, a threat event portrait update module, a hierarchical risk indicator generation module and a risk level generation module, wherein:
[0006] The threat event portrait generation module is used to extract features from the pre-acquired enterprise intelligence data to obtain data features of the target enterprise, and generate a threat event portrait of the target enterprise based on the data features;
[0007] The frequent pattern tree construction module is used to calculate the characteristic frequencies of the data features one by one, and construct the frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies;
[0008] The feature relevance generation module is used to generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, and generate feature relevance of the data feature according to the frequent item sets;
[0009] The threat event portrait updating module is used to update the threat event portrait by using the feature correlation to obtain an updated threat event portrait;
[0010] The hierarchical risk indicator generation module is used to extract the hierarchical risk indicator of the target enterprise according to the updated threat event portrait;
[0011] The risk level generation module is used to generate the risk level of the target enterprise according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the said level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limit risk indicator, is the indicator weight of the environmental risk indicator.
[0012] Optionally, when the threat event profile generation module extracts features from the pre-acquired enterprise intelligence data to obtain data features of the target enterprise, it includes:
[0013] Generate attack types of security threats to target enterprises based on pre-acquired enterprise intelligence data;
[0014] Determine the attack target of the security threat and generate the attack source of the security threat;
[0015] Collect the attack time of the security threat;
[0016] Obtaining the attack method of the security threat;
[0017] Determine the scope of impact of the security threat;
[0018] The attack type, attack target, attack source, attack time, attack method and impact scope are collected as data features of the target enterprise.
[0019] Optionally, when the threat event portrait generation module generates the threat event portrait of the target enterprise according to the data features, the following steps are included:
[0020] Generating feature labels for the data features;
[0021] Subdividing the characteristic tags layer by layer, and generating a label system for the target enterprise according to the subdivided characteristic tags layer by layer;
[0022] The tag system is used to generate a threat event profile of the target enterprise.
[0023] Optionally, when the frequent pattern tree construction module calculates the feature frequencies of the data features one by one, it includes:
[0024] Counting the number of times the data features appear in the preset data feature samples one by one;
[0025] The frequency of the data feature is calculated according to the number of times and the total number of data features in the data feature sample.
[0026] Optionally, when the frequent pattern tree construction module constructs the frequent pattern tree of the enterprise intelligence data according to the characteristic frequency, it includes:
[0027] Sorting the processing order of the characteristic items corresponding to the characteristic frequencies according to the characteristic frequencies;
[0028] The nodes of the preset initial pattern tree are expanded according to the sorted characteristic items to obtain a frequent pattern tree of the enterprise intelligence data.
[0029] Optionally, when the frequent pattern tree construction module performs node expansion on a preset initial pattern tree according to the sorted characteristic items to obtain the frequent pattern tree of the enterprise intelligence data, it includes:
[0030] Performing feature item check on the target node of the preset initial pattern tree;
[0031] When there are characteristic items to be checked in the target node, updating the data of the counter corresponding to the target node;
[0032] When the target node does not contain the characteristic item to be checked, generating a child node of the target node, and updating a list of child nodes corresponding to the target node according to the child node;
[0033] A frequent pattern tree of the enterprise intelligence data is generated according to the update result of the data update and the update result of the list update.
[0034] Optionally, when the feature relevance generation module generates frequent item sets of the enterprise intelligence data using the frequent pattern tree, the following steps are performed:
[0035] Determine a header table corresponding to the frequent pattern tree, and determine corresponding nodes of frequent items in the header table in the frequent pattern tree one by one;
[0036] Recursively traverse all descendant nodes of the corresponding node to obtain frequent item sets of the frequent items;
[0037] Generate the support of the frequent itemsets, and filter the frequent itemsets according to a preset support threshold and the support;
[0038] When the support is greater than or equal to the preset support threshold, the frequent itemset corresponding to the support is the target frequent itemset, and the target frequent itemset is determined to be the frequent itemset of the enterprise intelligence data.
[0039] Optionally, when the feature relevance generation module generates the feature relevance of the data feature according to the frequent item set, the module includes:
[0040] The lift of the data feature is generated according to a preset lift algorithm and the frequent itemsets, wherein the preset lift algorithm is: in, is the lift of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset The support of is the item set in the frequent itemset support level;
[0041] According to a preset confidence algorithm and the confidence of the data feature generated according to the frequent item set, the preset confidence algorithm is: in, is the confidence of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset support level;
[0042] The interest level of the data feature is generated according to the lift and the confidence level, and the feature relevance of the data feature is generated according to the interest level.
[0043] In order to solve the above problems, the present invention also provides an enterprise security analysis method based on big data, the method comprising:
[0044] Extracting features from pre-acquired enterprise intelligence data to obtain data features of the target enterprise, and generating a threat event profile of the target enterprise based on the data features;
[0045] Calculating the characteristic frequencies of the data characteristics one by one, and constructing a frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies;
[0046] Generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, and generate feature relevance of the data features according to the frequent item sets;
[0047] Using the feature correlation to update the threat event portrait, to obtain an updated threat event portrait;
[0048] Extracting the hierarchical risk index of the target enterprise according to the updated threat event portrait;
[0049] The risk level of the target enterprise is generated according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limit risk indicator, is the indicator weight of the environmental risk indicator.
[0050] In order to solve the above problems, the present invention also provides a storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned big data-based enterprise security analysis method.
[0051] The present invention conducts in-depth analysis on a large amount of enterprise intelligence data to extract key data features related to security. These features can reflect the various threats and weaknesses that an enterprise may face. The extracted data features are used to create a threat event portrait of the target enterprise. This portrait integrates the security threats that the enterprise may suffer, calculates the frequency of data features, and constructs a frequent pattern tree based on this. This helps to identify which features often appear together, thereby revealing potential threat patterns. Through the frequent pattern tree, the feature combinations that often appear together (frequent item sets) are determined, and the correlation between features is calculated, which helps to understand how different threat factors are related to each other. The threat event portrait is updated using feature correlation to ensure that the portrait contains the latest threat information and data trends. This step enables the analysis to adapt to changes in the threat environment. In view of the ever-changing security environment, the hierarchical risk indicators of the enterprise are extracted according to the updated threat event portrait, including basic risk, time risk and environmental risk. The preset risk level generation algorithm is applied, combined with the hierarchical risk indicators and their weights, to calculate the comprehensive risk level of the enterprise. The relative importance of different risk indicators is taken into account to provide a quantitative risk assessment. These steps extract valuable information from large amounts of multi-dimensional data, not only focusing on single data points, but also identifying complex relationships and patterns between data, so that enterprises can understand security threats more comprehensively and deeply, and the accuracy of enterprise security analysis is significantly improved. Therefore, the enterprise security analysis system, method and medium based on big data proposed in the present invention can improve the accuracy of enterprise security analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A system architecture diagram of an enterprise security analysis system based on big data provided by an embodiment of the present invention;
[0053] Figure 2 A flowchart of a method for enterprise security analysis based on big data provided in accordance with an embodiment of the present invention.
[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. 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.
[0056] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0057] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0058] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0059] In fact, the server-side device deployed by the enterprise security analysis system based on big data may be composed of one or more devices. The above-mentioned enterprise security analysis system based on big data can be implemented as: business instance, virtual machine, hardware device. For example, the enterprise security analysis system based on big data can be implemented as a business instance deployed on one or more devices in the cloud node. In simple terms, the enterprise security analysis system based on big data can be understood as a software deployed on the cloud node, which is used to provide an enterprise security analysis system based on big data for each user terminal. Alternatively, the enterprise security analysis system based on big data can also be implemented as a virtual machine deployed on one or more devices in the cloud node. The virtual machine is installed with application software for managing each user terminal. Alternatively, the enterprise security analysis system based on big data can also be implemented as a server consisting of many hardware devices of the same or different types, and one or more hardware devices are set to provide an enterprise security analysis system based on big data for each user terminal.
[0060] In terms of implementation, the enterprise security analysis system based on big data and the user end are mutually adapted. That is, the enterprise security analysis system based on big data is an application installed on the cloud service platform, and the user end is a client that establishes a communication connection with the application; or the enterprise security analysis system based on big data is implemented as a website, and the user end is implemented as a web page; or the enterprise security analysis system based on big data is implemented as a cloud service platform, and the user end is implemented as a small program in the instant messaging application.
[0061] like Figure 1 , which is a system architecture diagram of a big data-based enterprise security analysis system provided by an embodiment of the present invention.
[0062] The enterprise security analysis system 100 based on big data of the present invention can be set in a cloud server. In terms of implementation, it can be used as one or more service devices, or it can be installed as an application on the cloud (such as a server of a mobile service operator, a server cluster, etc.), or it can be developed as a website. According to the functions implemented, the enterprise security analysis system 100 based on big data can include a threat event portrait generation module 101, a frequent pattern tree construction module 102, a feature correlation generation module 103, a threat event portrait update module 104, a hierarchical risk indicator generation module 105 and a risk level generation module 106. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0063] In the embodiment of the present invention, in the enterprise security analysis system based on big data, each of the above modules can be implemented independently and called with other modules. The call here can be understood as a module that can connect to multiple modules of another type and provide corresponding services to the multiple modules connected to it. For example, the sharing evaluation module can call the same information collection module to obtain the information collected by the information collection module. Based on the above characteristics, in the enterprise security analysis system based on big data provided by the embodiment of the present invention, the scope of application of the enterprise security analysis system architecture based on big data can be adjusted by adding modules and directly calling them without modifying the program code, so as to achieve cluster-based horizontal expansion, so as to achieve the purpose of quickly and flexibly expanding the enterprise security analysis system based on big data.
[0064] The following is a description of each component and specific workflow of the enterprise security analysis system based on big data in conjunction with a specific embodiment:
[0065] The threat event portrait generation module 101 is used to extract features from pre-acquired enterprise intelligence data to obtain data features of a target enterprise, and generate a threat event portrait of the target enterprise based on the data features.
[0066] In the embodiment of the present invention, when the threat event profile generation module 101 extracts features from the pre-acquired enterprise intelligence data to obtain data features of the target enterprise, it includes:
[0067] Generate attack types of security threats to target enterprises based on pre-acquired enterprise intelligence data;
[0068] Determine the attack target of the security threat and generate the attack source of the security threat;
[0069] Collect the attack time of the security threat;
[0070] Obtaining the attack method of the security threat;
[0071] Determine the scope of impact of the security threat;
[0072] The attack type, attack target, attack source, attack time, attack method and impact scope are collected as data features of the target enterprise.
[0073] In detail, identify various types of attacks that the enterprise may face, such as malware, ransomware, phishing, etc.; determine the attack target of the security threat refers to determining the key assets or systems of the enterprise that the attacker may target, such as customer data, financial information, intellectual property, etc.; generate the attack source of the security threat includes: analyzing the geographical location of the attack source, IP address, network nodes and other information; the attack method includes the specific technical means used in the attack, vulnerability exploitation method, attack payload and other information; the impact scope of the security threat refers to the scope of the system, network, business process, etc. that the attack incident may affect; the attack time records the time period when the attack occurs, so as to analyze the patterns and trends of attack activities.
[0074] In the embodiment of the present invention, when the threat event profile generating module 101 generates the threat event profile of the target enterprise according to the data features, the following steps are included:
[0075] Generating feature labels for the data features;
[0076] Subdividing the characteristic tags layer by layer, and generating a label system for the target enterprise according to the subdivided characteristic tags layer by layer;
[0077] The tag system is used to generate a threat event profile of the target enterprise.
[0078] In detail, key information is extracted from the previously collected data features (such as attack type, attack target, attack source, attack time, attack method and impact range). For example, for the enterprise's security log data, features such as attack type, attack source, and attack time can be extracted, and a label is assigned to each feature. These labels are a kind of encoding of the original data to facilitate subsequent processing.
[0079] Furthermore, after generating feature labels, these labels are subdivided layer by layer to establish a hierarchical relationship so that similar labels can be grouped together to form a hierarchical structure. For example, attack types can be further subdivided into subcategories of malware, such as ransomware, Trojans, etc., or attack types can be divided into DDoS attacks, malware attacks, etc., and attack sources can be divided into internal attacks, external attacks, etc.
[0080] In detail, based on the feature labels that are subdivided layer by layer, a comprehensive labeling system is constructed. This system reflects the relationship between different data features and can be used to organize and retrieve information related to threat events. The labeling system helps to understand complex security threats and provides a structured perspective for analysis and response.
[0081] Finally, the established labeling system is used to create a threat event portrait of the target enterprise. This portrait integrates all relevant data features and labels to provide a comprehensive threat overview. The threat event portrait is a model that describes and summarizes the threat events faced by the target enterprise, helping enterprises understand the types, sources, potential impacts and other relevant factors of risks and threats they may face.
[0082] The frequent pattern tree construction module 102 is used to calculate the characteristic frequencies of the data characteristics one by one, and construct a frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies.
[0083] In the embodiment of the present invention, when the frequent pattern tree construction module 102 calculates the characteristic frequencies of the data features one by one, it includes:
[0084] Counting the number of times the data features appear in the preset data feature samples one by one;
[0085] The frequency of the data feature is calculated according to the number of times and the total number of data features in the data feature sample.
[0086] In detail, the preset data feature samples refer to all samples or instances in the enterprise intelligence data set, and calculating the feature frequency of the data features one by one means that for each data feature, all samples or instances in the enterprise intelligence data set are traversed, and the number of times the data feature appears in the sample is counted, that is, the number of occurrences of the data feature is divided by the total number of samples. For example, assuming that a data feature sample contains 100 data features, and a certain data feature appears 30 times, then the frequency of the data feature is 30 / 100=0.3.
[0087] In detail, by calculating the feature frequency, we can understand the importance and distribution of different features. A higher feature frequency may mean that the feature has a greater impact in the enterprise intelligence data and requires more attention and processing, while a lower feature frequency may mean that the feature appears less frequently in the data but may still pose a potential threat and require further analysis and evaluation.
[0088] In the embodiment of the present invention, when the frequent pattern tree construction module 102 constructs the frequent pattern tree of the enterprise intelligence data according to the characteristic frequency, it includes:
[0089] Sorting the processing order of the characteristic items corresponding to the characteristic frequencies according to the characteristic frequencies;
[0090] The nodes of the preset initial pattern tree are expanded according to the sorted characteristic items to obtain a frequent pattern tree of the enterprise intelligence data.
[0091] In detail, the occurrence frequency of each characteristic item corresponding to the characteristic frequency in the transaction data set is counted, and the items are sorted from high to low according to the characteristic frequency.
[0092] Furthermore, the preset initial pattern tree refers to an empty frequent pattern tree with only one root node. Each transaction is traversed and processed in the sorted order of items. For each transaction, items are inserted into the frequent pattern tree in sequence. If the characteristic item already exists in the child node of the current node, the counter of the node is increased. If the characteristic item does not exist in the child node of the current node, a new child node is created, the counter of the child node is initialized to 1, and it is added to the child node list of the current node. The header table is updated to record the occurrence position of each characteristic item in all transactions. The above steps are repeated until all transactions are processed.
[0093] In detail, the constructed frequent pattern tree can be used for frequent pattern mining. By traversing the frequent pattern tree, frequent item sets that meet the minimum support can be found.
[0094] Specifically, the frequent pattern tree attempts to merge the same characteristic items together to form a node, and sets the counter of the node to the total number of these items. If there are repeated characteristic items in the transaction, then the counter is increased on the existing node. If there is no such node, a new node is created. At the same time, the characteristic items also need to maintain a linked list for each item to record the position of the item in all transactions, where the counter records the number of times the characteristic item appears in all transactions.
[0095] Finally, the root node of the frequent pattern tree represents the empty set, and each child node represents a feature item. Its counter represents the number of times the feature item appears in the transaction data set. Each node also contains a pointer to the head of the linked list of the feature item in the header table, which is used to quickly access the occurrence position of the feature item.
[0096] Specifically, the feature items are sorted according to the feature frequencies, and the feature items with high frequency are placed in front, so as to build the frequent pattern tree more quickly.
[0097] In detail, when the frequent pattern tree construction module 102 performs node expansion on the preset initial pattern tree according to the sorted characteristic items to obtain the frequent pattern tree of the enterprise intelligence data, it includes:
[0098] Performing feature item check on the target node of the preset initial pattern tree;
[0099] When there are characteristic items to be checked in the target node, updating the data of the counter corresponding to the target node;
[0100] When the target node does not contain the characteristic item to be checked, generating a child node of the target node, and updating a list of child nodes corresponding to the target node according to the child node;
[0101] A frequent pattern tree of the enterprise intelligence data is generated according to the update result of the data update and the update result of the list update.
[0102] In detail, expanding the nodes of the preset initial pattern tree to obtain the frequent pattern tree of the enterprise intelligence data means starting from the root node, checking whether the target node contains the characteristic items to be checked. If the characteristic items to be checked exist in the target node, the counter corresponding to the target node is updated. If the characteristic items to be checked do not exist in the target node, a child node of the target node is generated and added to the child node list of the target node. The header table is updated to record the occurrence positions of the characteristic items in all transactions. According to the results of data update and list update, a frequent pattern tree of the enterprise intelligence data is generated. Through such a node expansion process, the preset initial pattern tree will gradually expand according to the order of the characteristic items, and finally form a frequent pattern tree of the enterprise intelligence data.
[0103] Specifically, the purpose of updating the counter is to maintain the frequency of occurrence of each feature item in the data set.
[0104] In detail, when there is no feature item to be checked in the child node, a child node of the target node is generated, and the child node list corresponding to the target node is updated according to the child node. This means that if the feature item to be checked is not found in a certain node, a new child node is created under this node, and the name of the new child node is set to the current feature item. At the same time, the counter of the new child node is initialized to 1, indicating that this is the first time this feature item is encountered, and the child node list of the parent node is updated, adding a reference to the newly created child node.
[0105] The feature relevance generation module 103 is used to generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, and generate feature relevance of the data features according to the frequent item sets.
[0106] In the embodiment of the present invention, when the feature relevance generation module 103 generates frequent item sets of the enterprise intelligence data using the frequent pattern tree, the following steps are performed:
[0107] Determine a header table corresponding to the frequent pattern tree, and determine corresponding nodes of frequent items in the header table in the frequent pattern tree one by one;
[0108] Recursively traverse all descendant nodes of the corresponding node to obtain frequent item sets of the frequent items;
[0109] Generate the support of the frequent itemsets, and filter the frequent itemsets according to a preset support threshold and the support;
[0110] When the support is greater than or equal to the preset support threshold, the frequent itemset corresponding to the support is the target frequent itemset, and the target frequent itemset is determined to be the frequent itemset of the enterprise intelligence data.
[0111] Specifically, determine the header table corresponding to the frequent pattern tree, and determine the corresponding nodes of the frequent items in the header table in the frequent pattern tree one by one. For each node corresponding to a frequent item, recursively traverse all its descendant nodes to obtain the frequent item set of the frequent item. For all generated frequent item sets, calculate their support, filter the frequent item sets according to the preset support threshold and support, and retain the frequent item sets with support greater than or equal to the minimum support threshold. The final frequent item set is the frequent item set of the enterprise intelligence data.
[0112] In other words, select a frequent item from the header table as the starting point, and traverse the frequent pattern tree to find the node corresponding to the frequent item according to the occurrence position of the frequent item in all transactions recorded in the header table. Recursively traverse all descendant nodes of the node to generate all frequent item sets prefixed with the frequent item. Repeat the above steps, traverse all frequent items, generate all frequent item sets, calculate the support of each frequent item set, retain the frequent item sets with support greater than or equal to the minimum support threshold, and the final frequent item set is the frequent item set of enterprise intelligence data. Through such steps, the frequent pattern tree can be efficiently used to generate frequent item sets of enterprise intelligence data.
[0113] Furthermore, the header table is a list containing all nodes in the frequent pattern tree, usually arranged in the sorted order of the nodes (i.e., frequent items). Each node appears only once in the header table, and the counter value of the node is not less than the preset minimum support threshold.
[0114] In detail, recursively traversing all descendant nodes of a corresponding node means starting from each corresponding node in the frequent pattern tree, recursively traversing all its descendant nodes. Through this traversal, all paths containing the frequent item can be found, and each path represents a potential frequent item set.
[0115] In detail, the traversed path is converted into frequent item sets, which are composed of nodes on the path, each node represents a frequent item, and each frequent item set has a support, that is, the frequency of the item set appearing in all data transactions; the support of each frequent item set is calculated, that is, the ratio of the number of times the item set appears in all data transactions to the total number of transactions, and the preset minimum support threshold is used to filter the frequent item sets. Only when the support of the frequent item set is greater than or equal to this threshold, it is considered to be a truly meaningful frequent item set. The filtered frequent item sets, that is, the frequent item sets whose support is greater than or equal to the preset support threshold, are called target frequent item sets. These target frequent item sets constitute the frequent item sets of enterprise intelligence data, which are the basis of data analysis and mining.
[0116] In the embodiment of the present invention, when the feature relevance generating module 103 generates the feature relevance of the data feature according to the frequent item set, the following steps are included:
[0117] The lift of the data feature is generated according to a preset lift algorithm and the frequent itemsets, wherein the preset lift algorithm is: in, is the lift of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset The support of is the item set in the frequent itemset support level;
[0118] According to a preset confidence algorithm and the confidence of the data feature generated according to the frequent item set, the preset confidence algorithm is: in, is the confidence of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset support level;
[0119] The interest level of the data feature is generated according to the lift and the confidence level, and the feature relevance of the data feature is generated according to the interest level.
[0120] In detail, the lift is used to measure the dependency between two features; the confidence is used to measure the probability of one feature appearing given another feature; and the interest is used to measure the correlation between two features.
[0121] Furthermore, generating the interest level of the data feature according to the lift and the confidence level means that a result obtained by subtracting the lift from the confidence level is the interest level.
[0122] In detail, A and B represent individual items, and the lift is an indicator for measuring an association rule, which is used to determine whether the occurrence of A increases the probability of the occurrence of B.
[0123] Further, is the item set in the frequent itemset and item sets The support of represents the frequency of co-occurrence of A and B; is the item set in the frequent itemset The support of represents the frequency of occurrence of A. is the item set in the frequent itemset The support of represents the frequency of occurrence of B.
[0124] In detail, in order to calculate the lift, we need to know the support of each frequent item set and their intersection in the data set, which are usually obtained through frequency statistics in the data mining process.
[0125] Furthermore, the value of lift can be used to judge the strength of the association rule. , it means that there is a positive correlation between A and B, that is, the appearance of A increases the probability of B appearing; if , then A and B are independent, that is, the occurrence of A does not affect the probability of B appearing; if , it means that there is a negative correlation between A and B, that is, the appearance of A reduces the probability of B appearing. Ultimately, lift can help identify which features are more likely to appear together in a data set, so that this information can be used in feature selection and association rule mining.
[0126] Furthermore, the lift can also be used as an intermediate value in the interest calculation.
[0127] Furthermore, interestingness is an indicator that comprehensively considers lift and confidence, and is used to evaluate the correlation between data features. If the interestingness is greater than 1, it means that the rule is more interesting than expected; if it is equal to 1, it means that the rule does not provide additional information; if it is less than 1, it means that the rule is less interesting than expected.
[0128] The threat event portrait updating module 104 is used to update the threat event portrait by using the feature correlation to obtain an updated threat event portrait.
[0129] In the embodiment of the present invention, when the threat event portrait updating module 104 executes the updating of the threat event portrait by using the feature correlation to obtain the updated threat event portrait, it includes: according to the feature correlation analysis result, it can be found that some features are weakly correlated with the existing features of the portrait, or there are more representative features related to them. At this time, it can be considered to delete or replace these features to improve the accuracy and expression ability of the portrait.
[0130] Furthermore, when the portrait is updated using feature relevance, based on the feature relevance analysis results, the features most relevant to the target task can be selected for retention and enhancement, while features that are irrelevant to the target task or have low relevance can be eliminated. This can help improve the focus and accuracy of the portrait. Alternatively, through feature relevance analysis, it can be found that some features are highly correlated. During the portrait update process, these related features can be combined to form new features to provide more comprehensive and integrated information. Feature relevance can be used to update the portrait in a more comprehensive and systematic manner, thereby improving the quality and usability of the portrait.
[0131] The hierarchical risk indicator generating module 105 is used to extract the hierarchical risk indicator of the target enterprise according to the updated threat event portrait.
[0132] In the embodiment of the present invention, when the hierarchical risk indicator generating module 105 extracts the hierarchical risk indicator of the target enterprise according to the updated threat event portrait, it includes:
[0133] Extracting the basic risk indicators, time-limited risk indicators and environmental risk indicators of the target enterprise according to the updated threat event portrait;
[0134] The basic risk index, the time risk index and the environmental risk index are collected as the hierarchical risk index of the target enterprise.
[0135] In detail, basic risk indicators usually involve the basic attributes and inherent characteristics of the enterprise, such as the historical security incidents of the enterprise; time risk indicators are related to time, including the enterprise's security incident response time, security vulnerability repair time, security training frequency, etc.; environmental risk indicators involve external environmental factors in which the enterprise is located, such as the network security situation.
[0136] Furthermore, the basic risk indicators, time risk indicators and environmental risk indicators are integrated to form the hierarchical risk indicators of the target enterprise. The hierarchical risk indicators provide a comprehensive risk assessment for the enterprise, covering multiple aspects from basic attributes to the external environment.
[0137] The risk level generating module 106 is used to generate the risk level of the target enterprise according to a preset risk level generating algorithm and the hierarchical risk index.
[0138] In an embodiment of the present invention, the risk level generation module 106 generates the risk level of the target enterprise according to the preset risk level generation algorithm and the hierarchical risk indicators, which means that the overall risk level of the target enterprise is calculated by weighted averaging the data using the preset risk level generation algorithm based on the values of the previously extracted basic risk indicators, time risk indicators and environmental risk indicators.
[0139] In detail, the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limit risk indicator, is the indicator weight of the environmental risk indicator.
[0140] Assume that the following data are available: basic risk index: 0.6, time risk index: 0.4, environmental risk index: 0.5, and the weight of the basic risk index: 0.4, the weight of the time risk index: 0.3, and the weight of the environmental risk index: 0.3. Now, use the above data to calculate the risk level of the target enterprise using the preset risk level generation algorithm, and the risk level of the target enterprise is 0.51. This value can be further compared with the preset risk level standard to determine the risk level category of the enterprise (such as low risk, medium risk, high risk, etc.).
[0141] Reference Figure 2 FIG. 1 is a flow chart of a method for analyzing enterprise security based on big data provided by an embodiment of the present invention. In this embodiment, the method for analyzing enterprise security based on big data includes:
[0142] S1. Extracting features from pre-acquired enterprise intelligence data to obtain data features of the target enterprise, and generating a threat event profile of the target enterprise based on the data features;
[0143] S2, calculating the characteristic frequencies of the data characteristics one by one, and constructing a frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies;
[0144] S3, using the frequent pattern tree to generate frequent item sets of the enterprise intelligence data, and generating feature relevance of the data features according to the frequent item sets;
[0145] S4, updating the threat event portrait using the feature correlation to obtain an updated threat event portrait;
[0146] S5. Extracting the hierarchical risk index of the target enterprise according to the updated threat event portrait;
[0147] S6. Generate the risk level of the target enterprise according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limit risk indicator, is the indicator weight of the environmental risk indicator.
[0148] The present invention extracts key data features related to security by conducting in-depth analysis on a large amount of enterprise intelligence data. These features can reflect the various threats and weaknesses that an enterprise may face. The extracted data features are used to create a threat event portrait of the target enterprise. This portrait integrates the security threats that the enterprise may suffer, calculates the frequency of data features, and constructs a frequent pattern tree based on this. This helps to identify which features often appear together, thereby revealing potential threat patterns. Through the frequent pattern tree, feature combinations that often appear together (frequent item sets) are determined, and the correlation between features is calculated, which helps to understand how different threat factors are related to each other. The threat event portrait is updated using feature correlation to ensure that the portrait contains the latest threat information and data trends. This step enables the analysis to To adapt to the ever-changing security environment, based on the updated threat event portrait, the hierarchical risk indicators of the enterprise are refined, including basic risk, time risk and environmental risk. The preset risk level generation algorithm is applied, combined with the hierarchical risk indicators and their weights, to calculate the comprehensive risk level of the enterprise. The relative importance of different risk indicators is taken into account to provide a quantitative risk assessment. These steps extract valuable information from large amounts of multi-dimensional data, not only focusing on single data points, but also identifying complex relationships and patterns between data, so that enterprises can understand security threats more comprehensively and deeply, and the accuracy of enterprise security analysis is significantly improved. Therefore, the enterprise security analysis method based on big data proposed in the present invention can improve the accuracy of enterprise security analysis.
[0149] The present invention further provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can achieve:
[0150] Extracting features from pre-acquired enterprise intelligence data to obtain data features of the target enterprise, and generating a threat event profile of the target enterprise based on the data features;
[0151] Calculating the characteristic frequencies of the data characteristics one by one, and constructing a frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies;
[0152] Generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, and generate feature relevance of the data features according to the frequent item sets;
[0153] Using the feature correlation to update the threat event portrait, to obtain an updated threat event portrait;
[0154] Extracting the hierarchical risk index of the target enterprise according to the updated threat event portrait;
[0155] The risk level of the target enterprise is generated according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limit risk indicator, is the indicator weight of the environmental risk indicator.
[0156] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0157] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0158] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0159] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0160] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. An enterprise security analysis system based on big data, characterized in that: The system includes a threat event profile generation module, a frequent pattern tree construction module, a feature correlation generation module, a threat event profile update module, a hierarchical risk indicator generation module and a risk level generation module, wherein: The threat event portrait generation module is used to generate the attack type of the security threat of the target enterprise according to the pre-acquired enterprise intelligence data, determine the attack target of the security threat, generate the attack source of the security threat, collect the attack time of the security threat, obtain the attack method of the security threat, determine the impact range of the security threat, collect the attack type, attack target, attack source, attack time, attack method and the impact range as the data features of the target enterprise, generate feature labels of the data features, subdivide the feature labels layer by layer, generate the label system of the target enterprise according to the subdivided feature labels, and use the label system to generate the threat event portrait of the target enterprise, wherein the attack type includes malware, ransomware, and phishing, the attack target includes customer data, financial information, and intellectual property, the attack source includes the geographical location of the attack source, IP address, and network node, the attack method includes vulnerability exploitation method and attack payload, the impact range of the security threat refers to the system, network, and business process affected by the attack event, and the attack time records the time period when the attack occurs; The frequent pattern tree construction module is used to calculate the characteristic frequencies of the data features one by one, and construct the frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies; The feature relevance generation module is used to generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, generate feature relevance of the data feature according to the frequent item sets, generate lift of the data feature according to a preset lift algorithm and the frequent item sets, generate confidence of the data feature according to a preset confidence algorithm and the frequent item sets, generate interest of the data feature according to the lift and the confidence, generate feature relevance of the data feature according to the interest, and the interest of the data feature generated according to the lift and the confidence is a result obtained by subtracting the lift from the confidence; The threat event portrait updating module is used to update the threat event portrait using the feature relevance to obtain an updated threat event portrait, wherein, according to the analysis result of the feature relevance, the features most relevant to the target task are selected for retention and enhancement, and the features irrelevant to the target task or with low relevance are eliminated; The hierarchical risk indicator generation module is used to extract the hierarchical risk indicator of the target enterprise according to the updated threat event portrait; The risk level generation module is used to generate the risk level of the target enterprise according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limited risk indicator, It is the indicator weight of the environmental risk indicator. The basic risk indicator includes the company's historical security incidents. The time risk indicator includes the company's security incident response time, security vulnerability repair time, and security training frequency. The environmental risk indicator includes the network security situation.
2. The enterprise security analysis system based on big data according to claim 1, characterized in that: When the frequent pattern tree construction module calculates the characteristic frequencies of the data features one by one, it includes: Counting the number of times the data features appear in the preset data feature samples one by one; The frequency of the data feature is calculated according to the number of times and the total number of data features in the data feature sample.
3. The enterprise security analysis system based on big data according to claim 1, characterized in that: When executing the construction of the frequent pattern tree of the enterprise intelligence data according to the characteristic frequency, the frequent pattern tree construction module includes: Sorting the processing order of the characteristic items corresponding to the characteristic frequencies according to the characteristic frequencies; The nodes of the preset initial pattern tree are expanded according to the sorted characteristic items to obtain a frequent pattern tree of the enterprise intelligence data.
4. The enterprise security analysis system based on big data as claimed in claim 3, characterized in that: When the frequent pattern tree construction module performs node expansion on the preset initial pattern tree according to the sorted characteristic items to obtain the frequent pattern tree of the enterprise intelligence data, it includes: Performing feature item check on the target node of the preset initial pattern tree; When there are characteristic items to be checked in the target node, updating the data of the counter corresponding to the target node; When the target node does not contain the characteristic item to be checked, generating a child node of the target node, and updating a list of child nodes corresponding to the target node according to the child node; A frequent pattern tree of the enterprise intelligence data is generated according to the update result of the data update and the update result of the list update.
5. The enterprise security analysis system based on big data according to claim 1, characterized in that: When the feature relevance generation module generates frequent item sets of the enterprise intelligence data using the frequent pattern tree, the feature relevance generation module includes: Determine a header table corresponding to the frequent pattern tree, and determine corresponding nodes of frequent items in the header table in the frequent pattern tree one by one; Recursively traverse all descendant nodes of the corresponding node to obtain frequent item sets of the frequent items; Generate the support of the frequent itemsets, and filter the frequent itemsets according to a preset support threshold and the support; When the support is greater than or equal to the preset support threshold, the frequent itemset corresponding to the support is the target frequent itemset, and the target frequent itemset is determined to be the frequent itemset of the enterprise intelligence data.
6. The enterprise security analysis system based on big data according to any one of claims 1 to 5, characterized in that: When the feature relevance generation module generates the feature relevance of the data feature according to the frequent item set, the module includes: The preset lifting algorithm is: in, is the lift of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset The support of is the item set in the frequent itemset support level; The preset confidence algorithm is: in, is the confidence of the data feature, is the item set in the frequent itemset and item sets The support of is the item set in the frequent itemset support.
7. A method for enterprise security analysis based on big data, characterized in that: The method comprises: Generate the attack type of the security threat of the target enterprise according to the pre-acquired enterprise intelligence data, determine the attack target of the security threat, generate the attack source of the security threat, collect the attack time of the security threat, obtain the attack method of the security threat, determine the impact range of the security threat, collect the attack type, attack target, attack source, attack time, attack method and the impact range as the data features of the target enterprise, generate feature labels of the data features, subdivide the feature labels layer by layer, generate the label system of the target enterprise according to the subdivided feature labels, and use the label system to generate the threat event portrait of the target enterprise, wherein the attack types include malware, ransomware, and phishing, the attack targets include customer data, financial information, and intellectual property rights, the attack sources include the geographical location of the attack source, IP address, and network nodes, the attack methods include vulnerability exploitation methods and attack payloads, the impact range of the security threat refers to the system, network, and business process affected by the attack event, and the attack time records the time period when the attack occurs; Calculating the characteristic frequencies of the data characteristics one by one, and constructing a frequent pattern tree of the enterprise intelligence data according to the characteristic frequencies; Generate frequent item sets of the enterprise intelligence data using the frequent pattern tree, generate feature relevance of the data feature according to the frequent item sets, generate lift of the data feature according to a preset lift algorithm and the frequent item sets, generate confidence of the data feature according to a preset confidence algorithm and the frequent item sets, generate interest of the data feature according to the lift and the confidence, generate feature relevance of the data feature according to the interest, and generating interest of the data feature according to the lift and the confidence is a result obtained by subtracting the lift from the confidence; The threat event portrait is updated by using the feature relevance to obtain an updated threat event portrait, wherein, according to the analysis result of the feature relevance, the features most relevant to the target task are selected to be retained and enhanced, and the features irrelevant to the target task or with low relevance are eliminated; Extracting the hierarchical risk index of the target enterprise according to the updated threat event portrait; The risk level of the target enterprise is generated according to a preset risk level generation algorithm and the hierarchical risk index, wherein the preset risk level generation algorithm is: in, is the risk level of the target enterprise, It is the basic risk indicator among the risk indicators of the above mentioned levels. It is the time-limited risk indicator among the risk indicators of the above mentioned level. It is the environmental risk indicator among the risk indicators of the above mentioned level. is the indicator weight of the basic risk indicator, is the indicator weight of the time-limited risk indicator, It is the indicator weight of the environmental risk indicator. The basic risk indicator includes the company's historical security incidents. The time risk indicator includes the company's security incident response time, security vulnerability repair time, and security training frequency. The environmental risk indicator includes the network security situation.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the enterprise security analysis method based on big data as described in claim 7 is implemented.
