Honeypot deployment method, device and equipment in honeynet, storage medium and product

By calculating the importance of honeynet nodes and dynamically deploying honeypots, the problem that the honeynet system cannot adapt to different network conditions and customer needs is solved, and the flexibility and pertinence of network protection are achieved.

CN118802292AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ANHUI +1

Patent Information

Application Number
CN202410374105.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-10-18
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

Due to the over-reliance on pre-configured honeywall security policies, the existing honeynet system is difficult to adjust according to actual network conditions and protection priorities, resulting in a single defense function that cannot cope with different scenarios and network architectures, and cannot meet the needs of different customers.

Method used

By obtaining the number of connections between the target node and other nodes in the honeynet and the node threat degree, the importance of the node is calculated from two aspects, and the node is determined based on the relationship between the preset node importance, the number of honeypots and the node revenue value. The number of honeypots when the revenue value is maximum, and honeypots are dynamically deployed to adapt to the network structure.

Benefits of technology

It achieves accurate and effective deployment of honeynets, can dynamically adjust the number of honeypots according to network structure and threat conditions, and improves the adaptability and pertinence of network protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802292A_ABST
    Figure CN118802292A_ABST
Patent Text Reader

Abstract

The invention provides a honeypot deployment method and device in a honeynet, equipment, a storage medium and a product. The method comprises the steps that the connection number of a target node in the honeynet and other nodes in the honeynet is acquired, the node threat degree of the target node is acquired, and the target node is any node in the honeynet; respectively calculating the sum of the connection number of the target node and the threat degree of the target node to obtain the target node importance degree of the target node; according to a preset corresponding relationship among the node importance, the honeypot number and the node revenue value, determining the honeypot number corresponding to the target node importance when the node revenue value is maximum; and deploying honeypots with the number of honeypots on the target node of the honeynet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and in particular to a method, device, equipment, storage medium and product for deploying a honeypot in a honeynet. Background Art

[0002] In the process of maintaining network security, honeynet systems are often used. Honeynet is a network system consisting of multiple honeypots, which are deliberately designed as fake systems with vulnerabilities to attract the attention of attackers.

[0003] Most of the current honeynets are static systems formed by a combination of open source honeypots. At the same time, due to excessive reliance on pre-configured honeywall security policies, it is difficult to make changes based on actual network conditions and protection priorities in the network. The defense function is single and cannot cope with different scenarios, different network architectures and the needs of different customers. It is difficult to cope with different network conditions in actual application processes. Summary of the invention

[0004] The present application provides a method, apparatus, device, storage medium and product for deploying honeypots in a honeynet, which can obtain a composition scheme of a honeynet that is compatible with a network structure.

[0005] In a first aspect, the present application provides a method for deploying a honeypot in a honeynet, the method comprising:

[0006] Obtaining the number of connections between a target node in the honeynet and other nodes in the honeynet, and obtaining the node threat degree of the target node, wherein the target node is any node in the honeynet;

[0007] Respectively calculating the sum of the number of connections of the target node and the threat degree of the target node to obtain the target node importance of the target node;

[0008] According to the preset correspondence between the node importance, the number of honeypots and the node benefit value, determine the number of honeypots corresponding to the target node importance when the node benefit value is the maximum;

[0009] Deploy the number of honeypots on the target node of the honeynet.

[0010] The above method of the present application obtains the number of connections between the target node in the honeynet and other nodes in the honeynet and the node threat degree of the node, and calculates the importance of the node from two aspects. Then, according to the preset correspondence between the node importance, the number of honeypots and the node benefit value, the number of honeypots corresponding to the importance of the target node when the node benefit value is the largest is determined, and the number of honeypots corresponding to each node in the network is determined, so as to deploy the honeypots in the honeynet and obtain a composition scheme of the honeynet that is adapted to the network structure.

[0011] In some possible implementations, before obtaining the node threat level of the target node, the method further includes:

[0012] Acquire a first user authority threat level and a second user authority threat level of the target node, wherein the first user authority and the second user authority have different operation authorities on the target node;

[0013] The larger value between the first authority threat level and the second user authority threat level is used as the node threat level of the target node.

[0014] In a network node, different user rights may be set for different types of users, and different user rights have different operation permissions. The above method of the present application obtains the first user right threat level and the second user right threat level of the target node respectively, and takes the larger value as the node threat level of the target node. It is possible to accurately obtain the node threat level when different user rights exist on the node.

[0015] In some possible implementations, obtaining the first user authority threat level and the second user authority threat level of the target node includes:

[0016] Acquire a first user right acquisition probability, a first threat coefficient corresponding to the first user right acquisition probability, and acquire a second user right acquisition probability, a second threat coefficient corresponding to the second user right acquisition probability;

[0017] The product of the first user authority acquisition probability of the target node and the first threat coefficient is calculated to obtain the first user authority threat degree; and the product of the second user authority acquisition probability of the target node and the second threat coefficient is calculated to obtain the second user authority threat degree.

[0018] The above method of the present application uses the first threat coefficient and the second threat coefficient to describe the threat degree of obtaining the first user authority and the second user authority, and uses the first user authority acquisition probability and the second user authority acquisition probability to describe the difficulty of obtaining the corresponding user authority. Then, the product of the threat coefficient corresponding to the user authority and the acquisition probability is calculated to represent the user authority threat degree, and the user authority threat degree can be accurately obtained.

[0019] In some possible implementations, the first threat coefficient and the second threat coefficient include a direct threat coefficient and an indirect threat coefficient, respectively. The direct threat coefficient indicates the amount of damage caused by attacking files stored and programs running in the target node, and the indirect threat coefficient indicates the amount of damage caused by attacking other nodes in the network through the node after obtaining relevant permissions of the corresponding node.

[0020] The above-mentioned method of the present application can measure the possible harm caused by the invasion of the target node from two aspects by respectively obtaining the direct threat coefficient representing the damage caused to the target node by the attack, and the second threat coefficient representing the damage caused to other nodes through the target node.

[0021] In some possible implementations, obtaining the number of connections between the target node in the honeynet and other nodes in the honeynet includes:

[0022] Obtaining an attack graph corresponding to the network structure of the honeynet, wherein the vertices in the attack graph represent device nodes in the network, and the directed edges in the attack graph represent possible attack paths between nodes;

[0023] The vertices corresponding to the nodes in the honeynet in the attack graph are determined, and the number of connections of the target node is obtained according to the in-degree of the target vertex.

[0024] The above-mentioned method of the present application uses an attack graph to represent the network structure, and uses the attack graph to determine the number of connections of the target node, which can more accurately describe the situation in which the network is attacked.

[0025] In some possible implementations, determining the number of honeypots corresponding to the target node importance when the node benefit value is maximum according to the preset correspondence between the node importance, the number of honeypots, and the node benefit value includes:

[0026] According to the edge in the attack graph with the target node as the end point, searching from a database to obtain the vulnerability exploitation difficulty of each vulnerability corresponding to the edge;

[0027] The difficulty of exploiting each vulnerability is summed to obtain the path attack difficulty;

[0028] Determine the failure probability of multiple intrusion nodes by using the path attack difficulty and the number of multiple initial honeypots;

[0029] According to the preset node importance, number of honeypots and the failure probability of the intruding node, and the corresponding relationship with the node benefit value, determine the target initial number of honeypots when the node benefit value is the largest among the node benefit values ​​corresponding to the multiple intruding node failure probabilities, and use the target initial number of honeypots as the number of honeypots corresponding to the target node importance.

[0030] The above method of the present application obtains the corresponding vulnerability exploitation difficulty according to the attack graph, thereby obtaining the path attack difficulty, and then determines the failure probability of the intrusion node. The failure probability of the intrusion node can be used to more accurately calculate the required number of honeypots.

[0031] In some possible implementations, before searching from a database for the edge with the target node as the end point in the attack graph to obtain the vulnerability exploitation difficulty of each vulnerability corresponding to the edge, the method further includes:

[0032] Obtaining at least one of a metric of an attack vector, a metric of attack complexity, a metric of permission requirements, and a metric of user interaction for the vulnerability;

[0033] The product of the obtained metric values ​​is calculated to obtain the vulnerability exploitation difficulty of the vulnerability.

[0034] The above method of the present application can accurately obtain the difficulty of vulnerability exploitation by obtaining information related to vulnerability exploitation, such as the measurement value of the attack vector, the measurement value of the attack complexity, the measurement value of the permission requirement, and the measurement value of the user interaction.

[0035] In some possible implementations, after deploying the number of honeypots on the target node of the honeynet, the method further includes:

[0036] Obtaining the initial pheromone of each node in the honeynet, wherein the initial pheromone represents the visit volume of the corresponding node;

[0037] According to the initial pheromone of each node, and using the minimum path principle, obtaining the updated pheromone of each node within a preset time period;

[0038] Based on a preset pheromone volatility factor, the pheromone is removed to obtain the target pheromone of each node;

[0039] A path consisting of nodes with the most target pheromones is determined as the optimal attack path.

[0040] The above-mentioned method of the present application obtains the initial pheromone of each node in the honeynet and iteratively calculates to determine the optimal attack path. The optimal attack path can be calculated according to the access volume, and then security protection or temptation strategy is deployed.

[0041] In some possible implementations, the obtaining, based on the initial pheromone of each node and using the minimum path principle, updated pheromones of each node within a preset time period includes:

[0042] Obtaining the amount of all attack data collected by the honeypot corresponding to each node in the honeynet, and the amount of available information in the collected attack data, wherein the amount of available information represents the amount of information in the attack data used for analyzing the attack behavior;

[0043] Calculate the ratio of the available information amount to the total attack data amount to obtain the honeypot benefit;

[0044] Based on the current pheromone of the node, the preliminary pheromone is obtained by using the minimum path principle;

[0045] The preliminary pheromone and the honeypot benefit are summed to obtain the updated pheromone.

[0046] The above-mentioned method of the present application can obtain more reasonable pheromone results by redefining the updating of pheromones with the help of the validity ratio of data when updating pheromones.

[0047] In a second aspect, the present application provides a device for deploying a honeypot in a honeynet, the device comprising:

[0048] An acquisition module, used to acquire the number of connections between a target node in the honeynet and other nodes in the honeynet, and to acquire the node threat degree of the target node, wherein the target node is any node in the honeynet;

[0049] A calculation module, used to respectively calculate the sum of the number of connections of the target node and the threat level of the target node to obtain the target node importance of the target node;

[0050] A determination module, used to determine the number of honeypots corresponding to the target node importance when the node benefit value is the maximum according to the preset correspondence between the node importance, the number of honeypots and the node benefit value;

[0051] A deployment module is used to deploy the number of honeypots on the target node of the honeynet.

[0052] In a third aspect, an embodiment of the present application provides a device for deploying honeypots in a honeynet, the device comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the method for deploying honeypots in a honeynet as described above.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method for deploying honeypots in a honeynet as described above is implemented.

[0054] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for deploying a honeypot in a honeynet as described above.

[0055] The method, device, equipment, storage medium and product for deploying honeypots in the honeynet of the present application calculate the importance of the node from two aspects by obtaining the number of connections between the target node in the honeynet and other nodes in the honeynet and the node threat degree of the node. Then, according to the preset correspondence between the node importance, the number of honeypots and the node benefit value, the number of honeypots corresponding to the importance of the target node when the node benefit value is the largest is determined, and the number of honeypots corresponding to each node in the network is determined, so as to deploy the honeypots in the honeynet and obtain a composition scheme of the honeynet that is compatible with the network structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The present application can be better understood from the following description of the specific embodiments of the present application in conjunction with the accompanying drawings, in which:

[0057] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features.

[0058] Figure 1 It is a flowchart of a method for deploying honeypots in a honeynet provided by an embodiment of the present application;

[0059] Figure 2 It is a flowchart of a method for deploying honeypots in a honeynet provided by another embodiment of the present application;

[0060] Figure 3 It is a flowchart of a method for deploying honeypots in a honeynet provided by another embodiment of the present application;

[0061] Figure 4 It is a structural schematic diagram of a device for deploying honeypots in a honeynet provided by an embodiment of the present application;

[0062] Figure 5 It is a schematic diagram of the hardware structure of the device deployed in the honeypot in the honeynet provided in the embodiment of the present application. DETAILED DESCRIPTION

[0063] The features and exemplary embodiments of various aspects of the application will be described in detail below. In the detailed description below, many specific details are proposed to provide a comprehensive understanding of the application. However, it is obvious to those skilled in the art that the application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the application by illustrating the example of the application. The application is by no means limited to any specific configuration and algorithm proposed below, but covers any modification, replacement and improvement of elements, parts and algorithms without departing from the spirit of the application. In the accompanying drawings and the following description, known structures and technologies are not shown to avoid causing unnecessary ambiguity to the application.

[0064] With the rapid development of informatization, various new network technologies emerge in an endless stream, and network attack methods are also constantly updated and iterated. In the process of maintaining network security, honeypot technology is sometimes used. However, due to the complexity of attackers' penetration attack behaviors and the diversity of host vulnerabilities, a simple honeypot cannot meet the defense requirements, so the honeynet system appears. Honeynet is a network system consisting of multiple honeypots, which are deliberately designed as fake systems with vulnerabilities to attract the attention of attackers.

[0065] However, when deploying a honeynet, there are no specific criteria for what kind of honeypots are included in the honeynet, how the honeypots are connected, and what is the reasonable size of the honeynet. Most of the current honeynets are static systems formed by a combination of open source honeypots. At the same time, due to excessive reliance on pre-configured honeywall security policies, it is difficult to change according to the actual network conditions and the focus of protection in the network. The defense function is single and cannot cope with different scenarios, different network architectures and different customer needs. It is difficult to cope with different network conditions in actual application processes.

[0066] The inventors have studied the above problems and found that if the vulnerability and importance of nodes in the network are analyzed, a honeynet deployment strategy can be formulated. Specifically, the importance of nodes is evaluated by comprehensively considering the centrality and threat of nodes, and the importance of nodes is used as the basis for the deployment of honeypots, which can achieve accurate and effective network protection.

[0067] In one embodiment of the method for deploying honeypots in the honeynet of the present application, reference can be made to Figure 1 In this embodiment, the method can be executed by a device deployed in a honeypot in the above-mentioned honeynet, and the method includes the following steps S101 to S104.

[0068] Step S101: obtaining the number of connections between a target node in the honeynet and other nodes in the honeynet, and obtaining the node threat degree of the target node, wherein the target node is any node in the honeynet.

[0069] The node threat level can be an indicator to measure the degree of threat to the overall network security after a network node is attacked. It can be measured by the importance of the node and the vulnerability of the node.

[0070] In the specific implementation, when actually processing, a suitable data structure is used to represent the nodes in the honeynet and the connection relationship between them. For example, a graph data structure can be used to represent it, where the nodes represent the nodes in the honeynet and the edges represent the connection relationship between the nodes. When obtaining the number of connections between the target node and other nodes in the honeynet, the number of connections can be calculated by traversing the neighboring nodes of the target node. For example, algorithms such as depth-first search or breadth-first search are used to traverse the nodes. And the corresponding node threat level that has been calculated is obtained.

[0071] Step S102: respectively calculating the sum of the number of connections of the target node and the threat level of the target node to obtain the target node importance of the target node.

[0072] In a specific implementation, the weights of the number of connections and the threat level can be determined according to actual needs, and the number of connections and the threat level of the target node are weighted and summed to obtain the target node importance of the target node.

[0073] Step S103: According to the preset correspondence between the node importance, the number of honeypots and the node benefit value, the number of honeypots corresponding to the target node importance when the node benefit value is the maximum is determined.

[0074] In the specific implementation, the corresponding relationship between the node importance, the number of honeypots and the node benefit value is predefined, which can be some preset rules, functions or models to describe the relationship between them.

[0075] The node revenue value can be used to evaluate the network contribution and business value of a specific node in the network, and is a measure of the node's value.

[0076] According to the correspondence between the preset node importance, the number of honeypots and the node benefit value, an algorithm is designed to calculate the number of honeypots corresponding to the target node importance. Specifically, this is an optimization problem, that is, given the node importance, find the most appropriate number of honeypots to maximize the node benefit value. Numerical optimization algorithms, such as linear programming and integer programming, can be used to solve the optimal number of honeypots. In actual use, constraints may also need to be considered, such as the number of honeypots cannot be negative, the number of honeypots must be an integer, etc.

[0077] Step S104: deploying the number of honeypots on the target node of the honeynet.

[0078] In the specific implementation, according to the determined number of honeypots, the deployment operation is implemented on the target node using the pre-defined deployment strategy, such as remote deployment, automated deployment or manual deployment. The honeypot deployment strategy can also be continuously optimized according to the actual situation and attack data, and the number, type or location of honeypots can be adjusted to improve the network security protection effect.

[0079] The above method of the present application obtains the number of connections between the target node in the honeynet and other nodes in the honeynet and the node threat degree of the node, and calculates the importance of the node from two aspects. Then, according to the preset correspondence between the node importance, the number of honeypots and the node benefit value, the number of honeypots corresponding to the importance of the target node when the node benefit value is the largest is determined, and the number of honeypots corresponding to each node in the network is determined, so as to deploy the honeypots in the honeynet and obtain a composition scheme of the honeynet that is adapted to the network structure.

[0080] In some embodiments, reference Figure 2 Before obtaining the node threat level of the target node, the method further includes steps S201 to S202.

[0081] Step S201: Acquire a first user authority threat level and a second user authority threat level of the target node, wherein the first user authority and the second user authority have different operation permissions on the target node.

[0082] In the specific implementation, the node defines the specific operation permission range of the first user permission and the second user permission, which are clearly different on the target node. For example, the first user permission can access sensitive data, while the second user permission can only perform basic operations. You can simulate the attack scenario and try to access the target node with the first user permission and the second user permission to evaluate the actual threat level of the first user permission and the second user permission to the target node.

[0083] Step S202: taking the larger value of the first authority threat level and the second user authority threat level as the node threat level of the target node.

[0084] In a specific implementation, the threat level of the first user authority and the threat level of the second user authority are compared, and the larger value is used as the node threat level of the target node, indicating the maximum threat level to the node, taking into account the different potential risks of attacks on the first user authority and the second user authority.

[0085] In a network node, different user rights may be set for different types of users, and different user rights have different operation permissions. The above method of the present application obtains the first user right threat level and the second user right threat level of the target node respectively, and takes the larger value as the node threat level of the target node. It is possible to accurately obtain the node threat level when different user rights exist on the node.

[0086] In some implementations, obtaining the first user authority threat level and the second user authority threat level of the target node includes:

[0087] A first user right acquisition probability and a first threat coefficient corresponding to the first user right acquisition probability are obtained, and a second user right acquisition probability and a second threat coefficient corresponding to the second user right acquisition probability are obtained.

[0088] In a specific implementation, the probability of obtaining the first user's permission and the second user's permission on the target node can be calculated by simulating attacks, vulnerability scanning or other means.

[0089] The product of the first user authority acquisition probability of the target node and the first threat coefficient is calculated to obtain the first user authority threat degree; and the product of the second user authority acquisition probability of the target node and the second threat coefficient is calculated to obtain the second user authority threat degree.

[0090] In a specific implementation, the first user permission acquisition probability is multiplied and associated with the corresponding first threat coefficient to indicate the threat level when the first user permission is successfully acquired. Similarly, the second user permission acquisition probability is multiplied and associated with the corresponding second threat coefficient.

[0091] The above method of the present application uses the first threat coefficient and the second threat coefficient to describe the threat degree of obtaining the first user authority and the second user authority, and uses the first user authority acquisition probability and the second user authority acquisition probability to describe the difficulty of obtaining the corresponding user authority. Then, the product of the threat coefficient corresponding to the user authority and the acquisition probability is calculated to represent the user authority threat degree, and the user authority threat degree can be accurately obtained.

[0092] In some embodiments, the first threat coefficient and the second threat coefficient include a direct threat coefficient and an indirect threat coefficient, respectively. The direct threat coefficient indicates the amount of damage caused by attacking files stored and programs running in the target node, and the indirect threat coefficient indicates the amount of damage caused by attacking other nodes in the network through the node after obtaining relevant permissions of the corresponding node.

[0093] In the specific implementation, when the node is attacked, the extent of the damage to the internal files and programs of the target node is evaluated to determine the size of the damage. And the potential damage caused by the node attacking other nodes in the network. The size of the indirect threat coefficient can be calculated by simulating the attack path, privilege escalation and lateral movement. The direct threat coefficient and the indirect threat coefficient are combined to form a complete first threat coefficient and second threat coefficient. In this way, the threat level of the attack to a single node and the entire network can be comprehensively considered.

[0094] The above-mentioned method of the present application can measure the possible harm caused by the invasion of the target node from two aspects by respectively obtaining the direct threat coefficient representing the damage caused to the target node by the attack, and the second threat coefficient representing the damage caused to other nodes through the target node.

[0095] In some embodiments, reference may be made to Figure 3 , the step of obtaining the number of connections between the target node in the honeynet and other nodes in the honeynet includes steps S301 to S302.

[0096] Step S301: obtaining an attack graph corresponding to the network structure of the honeynet, wherein the vertices in the attack graph represent device nodes in the network, and the directed edges in the attack graph represent possible attack paths between nodes.

[0097] In the specific implementation, the network structure of the honeynet is topologically detected in advance to obtain the connection relationship between device nodes and the network topology structure. For example, network devices, ports and services are scanned to collect information about the network topology, such as device IP addresses, subnet relationships, routing information, etc. Based on the obtained network topology information, an attack graph can be constructed, in which each vertex represents a network device node, and directed edges represent possible attack paths between nodes. Subsequently, an attack graph corresponding to the network structure of the honeynet can be obtained.

[0098] Step S302: Determine the vertex corresponding to each node in the honeynet in the attack graph, and obtain the number of connections of the target node according to the in-degree of the target vertex.

[0099] In the specific implementation, for the target node, the software can determine the number of connections by calculating its in-degree in the attack graph. The in-degree indicates the number of edges pointing to the target node, that is, how many attack paths point to the node. Based on the obtained in-degree of the target node, the software can use the in-degree value as the number of connections of the target node. This number of connections can reflect the number of potential attack paths for the target node.

[0100] The above-mentioned method of the present application uses an attack graph to represent the network structure, and uses the attack graph to determine the number of connections of the target node, which can more accurately describe the situation in which the network is attacked.

[0101] In some implementations, determining the number of honeypots corresponding to the target node importance when the node benefit value is maximum according to the preset correspondence between the node importance, the number of honeypots, and the node benefit value includes:

[0102] According to the edge with the target node as the end point in the attack graph, the vulnerability exploitation difficulty of each vulnerability corresponding to the edge is obtained from the database.

[0103] In the specific implementation, a vulnerability database is pre-established, which contains information about known vulnerabilities, including vulnerability name, description, CVE number, affected devices, vulnerability exploitation difficulty, etc. This information can be obtained through vulnerability public databases or vulnerability information provided by security vendors. According to the edges in the attack graph with the target node as the end point, the possible vulnerability and the corresponding vulnerability exploitation difficulty corresponding to each edge are determined.

[0104] The difficulty of exploiting each vulnerability is summed to obtain the path attack difficulty.

[0105] In the specific implementation, the difficulty of exploiting each vulnerability on the path is summed up to obtain the attack difficulty of the path. This can be done by simply adding up the difficulty of exploiting each vulnerability on the path to get the total, or by considering the weight relationship between the difficulty of exploiting different vulnerabilities to perform a weighted summation calculation.

[0106] The failure probability of multiple intrusion nodes is determined by the path attack difficulty and the number of initial honeypots.

[0107] In the specific implementation, based on the attack model, a mathematical model or association rule between the path attack difficulty and the number of honeypots is established to describe the relationship between the path attack difficulty and the probability of intrusion failure. According to the established relationship between the path attack difficulty and the number of honeypots, calculations are performed, and the path attack difficulty and the number of honeypots are used as input parameters to obtain the failure probability of multiple intrusion nodes.

[0108] According to the preset node importance, number of honeypots and the failure probability of the intruding node, and the corresponding relationship with the node benefit value, determine the target initial number of honeypots when the node benefit value is the largest among the node benefit values ​​corresponding to the multiple intruding node failure probabilities, and use the target initial number of honeypots as the number of honeypots corresponding to the target node importance.

[0109] In the specific implementation, the node benefit values ​​corresponding to the failure probabilities of multiple intrusion nodes are compared, and the target initial number of honeypots corresponding to the maximum benefit value is found. This means that under certain conditions, by setting this number of honeypots, the benefit or value of the network node can be maximized. The target initial number of honeypots is used as the number of honeypots corresponding to the importance of the target node.

[0110] The above method of the present application obtains the corresponding vulnerability exploitation difficulty according to the attack graph, thereby obtaining the path attack difficulty, and then determines the failure probability of the intrusion node. The failure probability of the intrusion node can be used to more accurately calculate the required number of honeypots.

[0111] In some implementations, before searching from a database for the edge with the target node as the end point according to the attack graph to obtain the vulnerability exploitation difficulty of each vulnerability corresponding to the edge, the method further includes:

[0112] At least one of a metric value of an attack vector, a metric value of an attack complexity, a metric value of a permission requirement, and a metric value of a user interaction of the vulnerability is obtained.

[0113] In a specific implementation, vulnerability related information is collected, and a predefined measurement model or algorithm is used to obtain at least one of the measurement values ​​of the vulnerability in attack vectors, attack complexity, permission requirements, and user interaction.

[0114] The product of the obtained metric values ​​is calculated to obtain the vulnerability exploitation difficulty of the vulnerability.

[0115] In a specific implementation, a weight of each metric value can be set to determine the degree of influence of different metric values ​​on the difficulty of vulnerability exploitation. The obtained vulnerability metric value is multiplied by its corresponding weight, and the products are multiplied to obtain the vulnerability exploitation difficulty of the vulnerability.

[0116] The above method of the present application can accurately obtain the difficulty of vulnerability exploitation by obtaining information related to vulnerability exploitation, such as the measurement value of the attack vector, the measurement value of the attack complexity, the measurement value of the permission requirement, and the measurement value of the user interaction.

[0117] In some implementations, after deploying the number of honeypots on the target node of the honeynet, the method further includes:

[0118] The initial pheromone of each node in the honeynet is obtained, and the initial pheromone represents the visit volume of the corresponding node.

[0119] In the specific implementation, an initial pheromone value is assigned to each node according to the number of visits to the node, and then the pheromone of each node in the honeynet is obtained.

[0120] According to the initial pheromone of each node, and using the minimum path principle, the updated pheromone of each node within a preset time period is obtained.

[0121] In the specific implementation, for each node in the honeynet, the software will calculate the pheromone update status of each node within a preset time period according to the minimum path principle, and update the pheromone value of each node.

[0122] The pheromone is removed based on a preset pheromone volatility factor to obtain the target pheromone of each node.

[0123] In the specific implementation, the value of the pheromone volatilization factor is preset. The volatilization factor represents the proportion of pheromone volatilized or reduced in each time period. At the end of each time period, the software will update the pheromone of each node. During the update process, the amount of pheromone volatilized from each node is calculated according to the preset pheromone volatilization factor. After the pheromone is volatilized and removed, the pheromone value of each node will be updated, that is, the target pheromone.

[0124] A path consisting of nodes with the most target pheromones is determined as the optimal attack path.

[0125] In the specific implementation, the node with the most pheromones is taken as the starting point. According to the preset rules and algorithms, the next node is gradually selected so that the path contains as many nodes with large amounts of pheromones as possible, and the optimal attack path is obtained.

[0126] The above-mentioned method of the present application obtains the initial pheromone of each node in the honeynet and iteratively calculates to determine the optimal attack path. The optimal attack path can be calculated according to the access volume, and then security protection or temptation strategy is deployed.

[0127] In some embodiments, the method of obtaining updated pheromones of each node within a preset time period based on the initial pheromone of each node and using the minimum path principle includes:

[0128] The total attack data amount collected by the honeypot corresponding to each node in the honeynet and the available information amount in the collected attack data are obtained, where the available information amount represents the information amount of the data in the attack data used for analyzing the attack behavior.

[0129] In the specific implementation, because the honeypot corresponding to each node in the honeynet will actively attract attackers and record attack behaviors, the attack data in the honeypot can be monitored and collected. For the collected attack data, information extraction and analysis are performed to determine the amount of available information.

[0130] The ratio of the available information volume to the total attack data volume is calculated to obtain the honeypot benefit.

[0131] Based on the current pheromone of the node, the preliminary pheromone is obtained using the minimum path principle.

[0132] The preliminary pheromone and the honeypot benefit are summed to obtain the updated pheromone.

[0133] In the specific implementation, the ratio of available information to the total attack data volume is calculated to obtain the honeypot's revenue. Then, according to the minimum path principle, the software will calculate the preliminary pheromone value on each path, sum the preliminary pheromone with the honeypot revenue value, and obtain the updated pheromone. This step is to comprehensively consider the impact of the honeypot revenue on the actual situation.

[0134] The above-mentioned method of the present application can obtain more reasonable pheromone results by redefining the updating of pheromones with the help of the validity ratio of data when updating pheromones.

[0135] As another implementation of the present application, an attack graph AG is first designed, which is a directed graph, AG = (N, E). N represents the host in the system, E is the edge of the connection, and represents the attack from node N. i To N j Connection, Where N i ,N j ∈N and The edge is also an attack path, indicating that the pre Arrival node N post Each attack path has a corresponding attack difficulty (AD), which means that pre To N post The difficulty of attack.

[0136] Specifically, the exploitability of a vulnerability can be quantified through four basic dimensions, including attack vector (AV), attack complexity (AC), permission requirement (PR), and user interaction (UI). Based on this metric, the formula is used:

[0137] ED=(AV*AC*PR*UI) -1

[0138] Get the exploit difficulty (ED) of the vulnerability. Since each vulnerability has its own characteristics, different vulnerabilities contained in the node will have different effects on the node. At the same time, we do not know the purpose and ability of the attacker, and each vulnerability in the node may be an attack target. Therefore, we calculate the AD of the node based on the ED of the node vulnerability. Specifically, we can use the formula:

[0139]

[0140] Considering that the usual attack sequence starts from a damaged node and gradually spreads to other nodes, thus penetrating the entire network. In order to evaluate the importance of each node, the present invention introduces the concept of centrality. In traditional networks, centrality is simply defined as the number of links associated with a node, that is, the number of edges a node has, which can be used to represent the vulnerability of a node. In a network, the more other nodes a node is connected to, the more central the node is, the greater its impact on the entire network, and the stronger its coverage of the entire system. In other words, nodes with higher centrality are more likely to be selected by attackers for attack penetration. C(N i ) represents the centrality of the target node, and the specific calculation formula is:

[0141]

[0142] Where i is the target node, j is all other nodes, n is the total number of nodes, and x is the adjacency matrix, where if node i is connected to node j, x ij It is defined as 1 if it is not, and 0 otherwise.

[0143] Furthermore, considering that in a real network, the most connections do not necessarily mean the most important, each node poses a different threat to the entire network security. Therefore, the threat coefficient is introduced to measure the danger level of a node. When an attacker obtains the relevant permissions of a host through a series of attack methods, the victim host poses a certain threat to the entire network.

[0144] For example, if only user management permissions are obtained, there may be important confidential information on the victim host, such as personal identity information, commonly used password records, important files, etc., which will lead to the theft of personal information; if administrator permissions are obtained, hackers can use this to damage the victim's system, such as tampering, deleting, encrypting the victim's data, and destroying system files. These attacks will cause the victim's system to crash and affect the normal operation of the business. This type of threat can be considered a direct threat. According to the importance of the information in the host, the direct threat coefficient w can be used k (0≤w k ≤1) indicates that when the asset information in the host is very important, it is represented by 1, and when there is no important information, it is represented by 0. Secondly, in a network cluster, there is a close connection between the victim host and other hosts. When the attacker has a certain access right, it is possible to use this relationship as a springboard to launch an attack. This situation is called an indirect threat.

[0145] Assume that any host H in the network k (1≤k≤n), if the attacker exploits the vulnerability, the probability of obtaining the host user's access rights is u ik, and set the potential threat it may cause to the entire network after obtaining user permissions to If an attacker exploits a vulnerability, the probability of obtaining the host administrator privilege is r ik , and assuming that the potential threat to the entire network after obtaining administrator privileges is Then, since the attacker breaks H i This creates a potential risk to the entire network, which can be expressed as:

[0146]

[0147] Among them, the node host is H0, and TDH0 is used to measure the threat level of the node.

[0148] In actual use, TDH can be i The values ​​are prioritized, TDH i The higher the value, the greater the threat the node poses to the network. Network administrators should adjust corresponding access permissions and implement more robust security protection.

[0149] After selecting the node, the next step is to determine the number of honeypots to be implemented around the node. Deploying more honeypots may make it more difficult for attackers to find real working nodes and launch attacks, but at the same time, deployment will increase the cost of the system. There are many factors that affect the cost of each honeypot, such as power loss, service performance degradation, and increased system complexity. The present invention defines the total cost as cost, and it is measured based on the actual environment. Let R(N i ) represents the profit, because successfully protecting a node is the purpose of a honeypot. The profit calculation formula is:

[0150] R(N i )=C(N i )+TDH i

[0151] On the other hand, the success probability of attacking a node is related to the node's AD. The larger the AD value, the smaller the success probability value. Therefore, the success probability can be defined as At the same time, before the attacker breaks into the node, they cannot distinguish whether the node is a honeypot or a real working node. It can be set that when there are m honeypots to protect the actual working node N i When N i The probability of successful destruction is

[0152] Finally, the number of honeypots is determined by calculating the revenue F(m) of the protected nodes. The specific calculation formula of F(m) is:

[0153]

[0154] When F(m) is the largest, the value of m corresponds to the number of nodes that are honeypots.

[0155] After the honeypot is deployed, further optimization can be performed. Specifically, the idea of ​​the ant colony algorithm is to borrow the idea of ​​ant colony algorithm. The idea of ​​ant colony algorithm is that ants choose paths based on pheromone concentration. Ants will increase the concentration of pheromones, and pheromones will attract more ants, forming a positive feedback. Analogous to the game relationship between honeypots and attackers, by introducing the ant colony algorithm into the honeynet deployment strategy, dynamic optimization of the honeynet can be achieved.

[0156] In the specific honeynet optimization strategy, the number of visits to the honeypot is used as pheromone. The number of visits is used to determine the position of a honeypot in the protection process and the protection strength of the entire system in the honeynet, so as to judge the value of the honeypot. At the same time, the administrator can calculate the optimal attack path based on the number of visits, and perform security protection or arrange temptation strategies.

[0157] Specifically, there are some related quantities, specifically, τ ij Indicates the pheromone intensity on the node; d ij Represents the distance between node i and node j; represents the heuristic information transferred from position i to position j; P ij represents the probability that an ant at node i chooses to go to node j; α represents the parameter of pheromone ratio, that is, the importance of pheromone; β represents the parameter of heuristic information ratio, that is, the influence of distance on the selection of the next node; allowed k Represents the node set that the ant chooses next; ρ represents the pheromone volatilization factor, which affects the convergence speed of the algorithm. If it is too large, the pheromone will evaporate too quickly and the algorithm will converge slowly, but it can traverse all paths and achieve global search. Otherwise, the algorithm will converge quickly and fall into local search. It is generally set to 0.1; P k ij (t) represents the transition probability of ant k from i to j. The specific update calculation formula is:

[0158]

[0159] After a few moments, the ant colony completes the search of the entire space. There is a certain amount of pheromone on each path. If the pheromone evaporates too slowly, too much pheromone may remain on the path, thus drowning out the heuristic information. To avoid this, it is necessary to set an optimized interval period, that is, to set a period of time for honeynet reconstruction to eliminate the pheromone flooding the heuristic information. ij (t) represents the pheromone concentration at time n (i, j), and the specific calculation formula is:

[0160] τ ij (t+n)=(1-ρ)τij (t)+Δτ ij

[0161] It adopts the ant-week system mode update, that is, when the current cycle ends, the pheromone will be updated. The specific update is:

[0162]

[0163] Among them, Q is a constant, which is the total amount of pheromone on all paths, L k Represents the distance between node i and node j.

[0164] Furthermore, for honeynets, useful honeypots should be saved, but the number of visits is not the only criterion for judging the value of honeypots. For honeypots, the most important function is to collect attack data, which is convenient for managers to analyze and process, and obtain useful attack behaviors from it. Therefore, the validity of data is also an important basis for judging honeypots. Therefore, the update of pheromones can be redefined with the help of the validity ratio of data.

[0165] In this way, the update rule of the above ant colony algorithm is improved, and the update rule is as follows:

[0166] τ ij (t+n)=(1-ρ)τ ij (t)+Δτ ij +θ

[0167] Among them, E i represents the amount of available information in the attack data collected by the honeypots around node i;

[0168] C i represents the total amount of attack data collected by the honeypots around node i;

[0169] It indicates the proportion of valid data in the total data volume. The larger the value, the more useful data the honeypot collects, and the greater the honeypot profit.

[0170] Based on the method for deploying honeypots in a honeynet provided in the above embodiment, the present application also provides a specific implementation of a device for deploying honeypots in a honeynet. Please refer to the following embodiment.

[0171] See first Figure 4 The device 400 for deploying honeypots in a honeynet provided in an embodiment of the present application includes the following modules:

[0172] The acquisition module 401 is used to acquire the number of connections between a target node in the honeynet and other nodes in the honeynet, and to acquire the node threat degree of the target node, wherein the target node is any node in the honeynet.

[0173] The calculation module 402 is used to respectively calculate the sum of the number of connections of the target node and the threat level of the target node to obtain the target node importance of the target node.

[0174] The determination module 403 is used to determine the number of honeypots corresponding to the target node importance when the node benefit value is the maximum according to the preset correspondence between the node importance, the number of honeypots and the node benefit value.

[0175] The deployment module 404 is configured to deploy the number of honeypots on the target node of the honeynet.

[0176] The above method of the present application obtains the number of connections between the target node in the honeynet and other nodes in the honeynet and the node threat degree of the node, and calculates the importance of the node from two aspects. Then, according to the preset correspondence between the node importance, the number of honeypots and the node benefit value, the number of honeypots corresponding to the importance of the target node when the node benefit value is the largest is determined, and the number of honeypots corresponding to each node in the network is determined, so as to deploy the honeypots in the honeynet and obtain a composition scheme of the honeynet that is adapted to the network structure.

[0177] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0178] The acquisition module is used to acquire a first user authority threat level and a second user authority threat level of the target node, wherein the first user authority and the second user authority have different operation authorities on the target node.

[0179] The selection module is used to use the larger value of the first permission threat level and the second user permission threat level as the node threat level of the target node.

[0180] In a network node, different user rights may be set for different types of users, and different user rights have different operation permissions. The above method of the present application obtains the first user right threat level and the second user right threat level of the target node respectively, and takes the larger value as the node threat level of the target node. It is possible to accurately obtain the node threat level when different user rights exist on the node.

[0181] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0182] The acquisition module is used to acquire a first user right acquisition probability and a first threat coefficient corresponding to the first user right acquisition probability, and to acquire a second user right acquisition probability and a second threat coefficient corresponding to the second user right acquisition probability.

[0183] The calculation module is used to calculate the product of the first user authority acquisition probability of the target node and the first threat coefficient to obtain the first user authority threat level; and calculate the product of the second user authority acquisition probability of the target node and the second threat coefficient to obtain the second user authority threat level.

[0184] The above method of the present application uses the first threat coefficient and the second threat coefficient to describe the threat degree of obtaining the first user authority and the second user authority, and uses the first user authority acquisition probability and the second user authority acquisition probability to describe the difficulty of obtaining the corresponding user authority. Then, the product of the threat coefficient corresponding to the user authority and the acquisition probability is calculated to represent the user authority threat degree, and the user authority threat degree can be accurately obtained.

[0185] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0186] The acquisition module is used to acquire an attack graph corresponding to the network structure of the honeynet, wherein the vertices in the attack graph represent device nodes in the network, and the directed edges in the attack graph represent possible attack paths between nodes.

[0187] The determination module is used to determine the vertices corresponding to each node in the honeynet in the attack graph, and obtain the number of connections of the target node according to the in-degree of the target vertex.

[0188] The above-mentioned method of the present application uses an attack graph to represent the network structure, and uses the attack graph to determine the number of connections of the target node, which can more accurately describe the situation in which the network is attacked.

[0189] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0190] The search module is used to search from a database for the vulnerability exploitation difficulty of each vulnerability corresponding to an edge with a target node as an end point in the attack graph.

[0191] The summing module is used to sum the difficulty of exploiting each vulnerability to obtain the path attack difficulty.

[0192] The determination module is used to determine the failure probability of multiple intrusion nodes through the path attack difficulty and the number of multiple initial honeypots.

[0193] The determination module is also used to determine the target initial number of honeypots when the node benefit value is the largest among the node benefit values ​​corresponding to the multiple intrusion node failure probabilities based on the preset node importance, the number of honeypots and the failure probability of the intrusion node, and the corresponding relationship with the node benefit value, and use the target initial number of honeypots as the number of honeypots corresponding to the target node importance.

[0194] The above method of the present application obtains the corresponding vulnerability exploitation difficulty according to the attack graph, thereby obtaining the path attack difficulty, and then determines the failure probability of the intrusion node. The failure probability of the intrusion node can be used to more accurately calculate the required number of honeypots.

[0195] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0196] An acquisition module, used to acquire at least one of a metric value of an attack vector, a metric value of attack complexity, a metric value of permission requirements, and a metric value of user interaction of a vulnerability;

[0197] The calculation module is used to calculate the product of the obtained metric values ​​to obtain the vulnerability exploitation difficulty of the vulnerability.

[0198] The above method of the present application can accurately obtain the difficulty of vulnerability exploitation by obtaining information related to vulnerability exploitation, such as the measurement value of the attack vector, the measurement value of the attack complexity, the measurement value of the permission requirement, and the measurement value of the user interaction.

[0199] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0200] The acquisition module is used to acquire the initial pheromone of each node in the honeynet, and the initial pheromone represents the visit volume of the corresponding node.

[0201] The updating module is used to obtain the updated pheromone of each node within a preset time period according to the initial pheromone of each node and the minimum path principle.

[0202] The removal module is used to remove the pheromone based on a preset pheromone volatility factor to obtain the target pheromone of each node.

[0203] The determination module is used to determine the path composed of nodes with the most target pheromones as the optimal attack path.

[0204] The above-mentioned method of the present application obtains the initial pheromone of each node in the honeynet and iteratively calculates to determine the optimal attack path. The optimal attack path can be calculated according to the access volume, and then security protection or temptation strategy is deployed.

[0205] As an implementation of the present application, the device 400 for deploying honeypots in a honeynet also includes:

[0206] The acquisition module is used to obtain the total attack data collected by the honeypot corresponding to each node in the honeynet, and the amount of available information in the collected attack data, wherein the available information amount represents the amount of data in the attack data used for analyzing the attack behavior.

[0207] The calculation module is used to calculate the ratio of the available information volume to the total attack data volume to obtain the honeypot benefit.

[0208] The calculation module is also used to obtain preliminary pheromones based on the current pheromones of the node using the minimum path principle.

[0209] The summing module is used to sum the preliminary pheromone and the honeypot benefit to obtain the updated pheromone.

[0210] The above-mentioned method of the present application can obtain more reasonable pheromone results by redefining the updating of pheromones with the help of the validity ratio of data when updating pheromones.

[0211] The various modules in the device for deploying a honeypot in a honeynet provided in the embodiment of the present application can implement the various steps in the method for deploying a honeypot in a honeynet described above and achieve the corresponding effects, which will not be described in detail here for the sake of brevity.

[0212] Figure 5 A schematic diagram of the structure of the hardware for deploying honeypots in a honeynet provided in an embodiment of the present application is shown.

[0213] The device deployed as a honeypot in a honeynet may include a processor 501 and a memory 502 storing computer program instructions.

[0214] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0215] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0216] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method for deploying a honeypot in a honeynet according to any one of the embodiments of the present disclosure.

[0217] The processor 501 implements any one of the methods for deploying honeypots in a honeynet in the above embodiments by reading and executing computer program instructions stored in the memory 502 .

[0218] In one example, the device deployed in the honeypot in the honeynet may also include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0219] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0220] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0221] In addition, in combination with the method for deploying honeypots in a honeynet in the above embodiments, the present application embodiment may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any method for deploying honeypots in a honeynet in the above embodiments is implemented.

[0222] However, it should be clear that the present application is not limited to the specific configurations and processes described above and shown in the figures. Moreover, for the sake of brevity, a detailed description of known methods and techniques is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0223] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0224] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0225] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0226] The application can be implemented in other specific forms without departing from its spirit and essential characteristics. For example, the algorithm described in the specific embodiment can be modified, and the system architecture does not depart from the basic spirit of the application. Therefore, the current embodiment is regarded as exemplary and non-restrictive in all aspects, and the scope of the application is defined by the attached claims rather than the above description, and all changes falling within the meaning of the claims and the scope of equivalents are thereby included in the scope of the application.

[0227] Those skilled in the art should understand that the above embodiments are exemplary rather than restrictive. Different technical features appearing in different embodiments can be combined to achieve beneficial effects. Based on the study of the drawings, the specification and the claims, those skilled in the art should be able to understand and implement other variations of the disclosed embodiments. In the claims, the term "comprising" does not exclude other devices or steps; the indefinite article "a" does not exclude a plurality; the terms "first" and "second" are used to indicate names rather than to indicate any specific order. Any figure marks in the claims should not be understood as limiting the scope of protection. The functions of multiple parts appearing in the claims can be implemented by a single hardware or software module. The appearance of certain technical features in different dependent claims does not mean that these technical features cannot be combined to achieve beneficial effects.

Claims

1. A method for deploying honeypots in a honeynet, characterized in that: The method comprises: Obtaining the number of connections between a target node in the honeynet and other nodes in the honeynet, and obtaining the node threat degree of the target node, wherein the target node is any node in the honeynet; Respectively calculating the sum of the number of connections of the target node and the threat degree of the target node to obtain the target node importance of the target node; According to the preset correspondence between the node importance, the number of honeypots and the node benefit value, determine the number of honeypots corresponding to the target node importance when the node benefit value is the maximum; Deploy the number of honeypots on the target node of the honeynet.

2. The method for deploying honeypots in a honeynet according to claim 1, characterized in that: Before obtaining the node threat level of the target node, the method further includes: Acquire a first user authority threat level and a second user authority threat level of the target node, wherein the first user authority and the second user authority have different operation authorities on the target node; The larger value between the first authority threat level and the second user authority threat level is used as the node threat level of the target node.

3. The method for deploying honeypots in a honeynet according to claim 2, characterized in that: The obtaining of the first user authority threat level and the second user authority threat level of the target node includes: Acquire a first user right acquisition probability, a first threat coefficient corresponding to the first user right acquisition probability, and acquire a second user right acquisition probability, a second threat coefficient corresponding to the second user right acquisition probability; The product of the first user authority acquisition probability of the target node and the first threat coefficient is calculated to obtain the first user authority threat degree; and the product of the second user authority acquisition probability of the target node and the second threat coefficient is calculated to obtain the second user authority threat degree.

4. The method for deploying honeypots in a honeynet according to claim 3, characterized in that: The first threat coefficient and the second threat coefficient respectively include a direct threat coefficient and an indirect threat coefficient. The direct threat coefficient indicates the amount of damage caused by attacking files stored in the target node and programs running therein, and the indirect threat coefficient indicates the amount of damage caused by attacking other nodes in the network through the node after obtaining relevant permissions of the corresponding node.

5. The method for deploying honeypots in a honeynet according to claim 1, characterized in that: The obtaining of the number of connections between the target node in the honeynet and other nodes in the honeynet includes: Obtaining an attack graph corresponding to the network structure of the honeynet, wherein the vertices in the attack graph represent device nodes in the network, and the directed edges in the attack graph represent possible attack paths between nodes; The vertices corresponding to the nodes in the honeynet in the attack graph are determined, and the number of connections of the target node is obtained according to the in-degree of the target vertex.

6. The method for deploying honeypots in a honeynet according to claim 5, characterized in that: The step of determining the number of honeypots corresponding to the target node importance when the node benefit value is the largest according to the preset correspondence between the node importance, the number of honeypots, and the node benefit value includes: According to the edge in the attack graph with the target node as the end point, searching from a database to obtain the vulnerability exploitation difficulty of each vulnerability corresponding to the edge; The difficulty of exploiting each vulnerability is summed to obtain the path attack difficulty; Determine the failure probability of multiple intrusion nodes by using the path attack difficulty and the number of multiple initial honeypots; According to the preset node importance, number of honeypots and the failure probability of the intruding node, and the corresponding relationship with the node benefit value, determine the target initial number of honeypots when the node benefit value is the largest among the node benefit values ​​corresponding to the multiple intruding node failure probabilities, and use the target initial number of honeypots as the number of honeypots corresponding to the target node importance.

7. The method for deploying honeypots in a honeynet according to claim 5, characterized in that: Before searching from a database for the edge with the target node as the end point according to the attack graph to obtain the vulnerability exploitation difficulty of each vulnerability corresponding to the edge, the method further includes: Obtaining at least one of a metric of an attack vector, a metric of attack complexity, a metric of permission requirements, and a metric of user interaction for the vulnerability; The product of the obtained metric values ​​is calculated to obtain the vulnerability exploitation difficulty of the vulnerability.

8. The method for deploying honeypots in a honeynet according to any one of claims 1 to 7, characterized in that: After deploying the number of honeypots on the target node of the honeynet, the method further includes: Obtaining the initial pheromone of each node in the honeynet, wherein the initial pheromone represents the visit volume of the corresponding node; According to the initial pheromone of each node, and using the minimum path principle, obtaining the updated pheromone of each node within a preset time period; Based on a preset pheromone volatility factor, the pheromone is removed to obtain the target pheromone of each node; A path consisting of nodes with the most target pheromones is determined as the optimal attack path.

9. The method for deploying honeypots in a honeynet according to claim 8, characterized in that: The method of obtaining updated pheromones of each node within a preset time period based on the initial pheromone of each node and using the minimum path principle includes: Obtaining the amount of all attack data collected by the honeypot corresponding to each node in the honeynet, and the amount of available information in the collected attack data, wherein the amount of available information represents the amount of information in the attack data used for analyzing the attack behavior; Calculate the ratio of the available information volume to the total attack data volume to obtain the honeypot benefit; Based on the current pheromone of the node, the preliminary pheromone is obtained by using the minimum path principle; The preliminary pheromone and the honeypot benefit are summed to obtain the updated pheromone.

10. A device for deploying honeypots in a honeynet, characterized in that: The device comprises: An acquisition module, used to acquire the number of connections between a target node in the honeynet and other nodes in the honeynet, and to acquire the node threat degree of the target node, wherein the target node is any node in the honeynet; A calculation module, used to respectively calculate the sum of the number of connections of the target node and the threat level of the target node to obtain the target node importance of the target node; A determination module, used to determine the number of honeypots corresponding to the target node importance when the node benefit value is the maximum according to the preset correspondence between the node importance, the number of honeypots and the node benefit value; A deployment module is used to deploy the number of honeypots on the target node of the honeynet.

11. A device for deploying honeypots in a honeynet, characterized in that: The device comprises: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the method for deploying honeypots in a honeynet according to any one of claims 1-9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for deploying honeypots in a honeynet according to any one of claims 1 to 9 is implemented.

13. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for deploying honeypots in a honeynet as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • SDN-based virtual honeynet dynamic deployment method and system

    CN110768987A

  • Internet of Things botnet tracking method and device based on honeypot and sandbox

    CN112788065A

  • Honeynet configuration optimization method based on non-cooperative incomplete information game

    CN117061224A

  • Dynamic honey spot placing method and device

    CN117176452A

  • Network spoofing defense strategy optimization method and system based on intelligent real-time game

    CN117220995A

Cited By

  • Network security monitoring method, system and device of industrial internet and storage medium

    CN119652676A

  • Honeynet and honey pot integrated intelligent threat sensing method and system

    CN121530748A

  • An intelligent threat perception method and system fusing honeynet and honeypot

    CN121530748B