Method and system for evaluating threat trapping process of hybrid honeypot
By establishing the threat trapping process system model and SPN model diagram of the hybrid honeypot, an isomorphic Markov chain is constructed, which solves the problem of the lack of analysis of the threat trapping process of the hybrid honeypot in the existing technology, and realizes the method and method of its evaluation. system, enhanced network security protection.
Patent Information
- Application Number
- CN202311085683.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-08-25
AI Technical Summary
The existing technology lacks analysis of the hybrid honeypot threat trapping process and cannot effectively evaluate its construction effect, which affects network security protection.
By establishing a system model of the threat trapping process of hybrid honeypots, constructing an isomorphic Markov chain based on the Stochastic Petri net (SPN) model diagram, and evaluating its various indicators, a method and system for evaluating the threat trapping process of hybrid honeypots are provided.
It realizes the evaluation of the hybrid honeypot threat trapping process, provides more appropriate defense methods, and helps network security personnel make up for their shortcomings and enhance enterprise network security.
Smart Images

Figure CN117118708B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of threat trapping process evaluation of hybrid honeypots, and in particular to a method and system for threat trapping process evaluation of hybrid honeypots. Background Art
[0002] In the field of threat trapping technology research, it mainly includes two main parts: the construction of threat trapping environment and the analysis of threat trapping process. Analyzing the trapping process of threat trapping environment and then evaluating the construction effect of threat trapping environment can provide network security personnel with a more appropriate perception of defense measures. At the same time, specific indicators can be provided to network security personnel to modify the construction of threat trapping environment, make up for shortcomings, and further ensure the network security of enterprises. In the analysis of threat trapping process based on Stochastic Petri net (SPN), previous experts have analyzed threat trapping environments such as ordinary honeypots, business simulation systems and dynamic honeypots. However, there is a lack of analysis of the threat trapping process of hybrid honeypots. Summary of the invention
[0003] The object of the present invention is to provide a method and system for evaluating the threat trapping process of a hybrid honeypot, aiming to solve the problem of evaluating the threat trapping process of a hybrid honeypot.
[0004] The present invention provides a method for evaluating a threat trapping process of a hybrid honeypot, comprising:
[0005] S1. Establish a system model of the threat trapping process of hybrid honeypot;
[0006] S2, establish the SPN model diagram based on the system model;
[0007] S3, construct an isomorphic Markov chain based on the SPN model graph;
[0008] S4. Based on the isomorphic Markov chain, various indicators of the threat trapping process of the hybrid honeypot are evaluated.
[0009] The present invention also provides a hybrid honeypot threat trapping process evaluation system, comprising:
[0010] The process module is used to establish a system model of the threat trapping process of the hybrid honeypot;
[0011] SPN module, used to establish SPN model diagram based on system model;
[0012] Markov chain, used to construct an isomorphic Markov chain based on the SPN model graph;
[0013] The evaluation module is used to evaluate various indicators of the threat trapping process of the hybrid honeypot based on the isomorphic Markov chain.
[0014] By adopting the embodiment of the present invention, the threat trapping process evaluation of the hybrid honeypot can be implemented.
[0015] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it is implemented in accordance with the contents of the specification, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a flow chart of a method for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention;
[0018] Figure 2 It is a Markov chain schematic diagram of a hybrid honeypot threat trapping model of a method for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention;
[0019] Figure 3 It is a schematic diagram of a Markov chain of a service proxy hybrid honeypot threat trapping model in a method for evaluating a hybrid honeypot threat trapping process according to an embodiment of the present invention;
[0020] Figure 4 4 is a schematic diagram of a system for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than 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.
[0022] Method Embodiment
[0023] According to an embodiment of the present invention, a method for evaluating a threat trapping process of a hybrid honeypot is provided. Figure 1 is a flow chart of a method for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention. Figure 1As shown, specifically including:
[0024] S1. Establish a system model of the threat trapping process of hybrid honeypot;
[0025] S2, establish the SPN model diagram based on the system model;
[0026] S3, construct an isomorphic Markov chain based on the SPN model graph;
[0027] S4. Based on the isomorphic Markov chain, various indicators of the threat trapping process of the hybrid honeypot are evaluated.
[0028] Establishing the SPN model diagram based on the system model specifically includes: based on the relationship between states in the system model, using the constituent elements of SPN to describe the changes between the activities and states of the system model, linking the states of the library and the system, the changes and events occurring during the system activities, and establishing the SPN model diagram of the system.
[0029] Constructing an isomorphic Markov chain based on the SPN model graph specifically includes: constructing a reachable graph of the system model state, and based on the reachable graph, replacing the transition set in the reachable graph with the average implementation rate of each transition to obtain a Markov chain isomorphic to the SPN model graph.
[0030] Constructing a reachable graph of the system model state specifically includes: starting from the initial state, gradually generating new states based on possible changes until there are no implementable changes, then analyzing the next state, marking all implemented changes and generated states, until the analysis of all states of the system model is completed and the reachable graph is constructed.
[0031] The various indicators of the threat trapping process of the hybrid honeypot are evaluated based on the isomorphic Markov chain, specifically including: calculating the stable probability of the reachable graph logo based on the isomorphic Markov chain, and solving the performance indicators based on the stable probability to obtain the evaluation results.
[0032] The specific implementation methods are as follows:
[0033] Based on the connection information collected by experts and scholars through the deployment of industrial control honeypots such as Conpot and Gridpot, in the attack and defense process of industrial control networks, there is a certain proportion of scanning and malicious connection attacks whose intentions are not obvious and whose attack lethality is not strong. Many attackers do not have the experience of penetrating industrial control networks, or only implant worms or viruses through automated scanning to obtain control rights of computing and network resources. For this part of the attack, the effect of entrapment is mainly reflected in the proportion of fake services exposed to the outside and real services. In order to better analyze the defensive effect of increasing service agents in resisting network attacks with certain industrial control network penetration experience and certain targeting, the present invention makes the following assumptions about the attackers who conduct penetration and intrusion.
[0034] The attacker should have certain experience in penetrating industrial control networks, be able to identify basic honeypot features, and have the awareness to avoid industrial control honeypots; before conducting a penetration attack, the attacker should have a certain understanding of the network to be attacked through the industrial Internet information platform and information collection, and prepare corresponding attack resources, including IP proxy pools, Nday vulnerabilities, 0day vulnerabilities, etc.; the attacker's infiltration attack has certain intentions, hoping to obtain undisclosed operating data of the industrial control network or gain control of key equipment through penetration, rather than preparing for other malicious attacks such as distributed denial of service attacks by establishing connections through the deployment of worms and Trojans. Based on the above assumptions about the attacker, the trapping process is modeled and analyzed from the attacker's perspective.
[0035] In a continuous-time random Petri net, the implementation of a transition requires a time delay from the implementable state to the completed implementation, which is described as a continuous random variable x i And obey a distribution function F i (x) = P{x i ≤x}. In the definitions of different types of SPN networks, the random variables describing continuous time are different. The present invention adopts the exponential distribution function proposed by Molloy with no memory and identity countability to describe the time delay.
[0036] The performance analysis of SPN is divided into three steps: First, the system process needs to be modeled and the corresponding SPN model is given. Then, an isomorphic Markov chain (MC) is constructed based on the SPN model. Finally, the various performance indicators of the system are analyzed based on the isomorphism.
[0037] The SPN modeling process of the system is an abstraction of the system's operating process. It is necessary to determine the possible states of the system during operation and the changes that can cause the system state to change, and to clearly define the physical meaning of the system state and changes.
[0038] Determine the state set and event set of the system according to the state of the system and the time when the transition occurs. Based on the state of the system and the relationship between the states, use the constituent elements of SPN to describe the system's activities and the transitions between states. Connect the library with the state of the system, the transition and the events that occur during the system's activities, and establish the system's SPN model diagram.
[0039] To construct an MC that is isomorphic to the system's SPN model graph, you need to first construct a reachable graph of the system's states. Starting from the initial state, new states are gradually generated based on the possible transitions until there are no feasible transitions, and then the next state is analyzed. All feasible transitions and generated states are marked until the analysis of all states of the system is completed, and the construction of the reachable graph is completed.
[0040] Assuming that the average implementation rate of the transitions of the model is λ = {λ1,λ2,λ3,λ4,λ5}, the average implementation rate λ of each transition is used on the basis of the reachability graph. i Replace T in the reachability graph i A Markov chain isomorphic to the SPN model can be obtained. After completing the construction of the system isomorphic MC, the system performance analysis can be performed based on this MC. The following is a study of the analysis method for solving the stability probability and performance index of the reachable graph identification. Assuming that there is a Markov chain isomorphic to SPN, where [M0> has n states, first define an infinitesimal generator, namely the transfer matrix, Q = [q i,j ], 1≤i,j≤n.
[0041] (1) When i≠j, [M i >M j :
[0042]
[0043] else: q i,j =0
[0044] (2) When i=j,
[0045]
[0046] Among them, k≠i and M'∈[M0>, M i [t k >M',λ k Yes k rate.
[0047]
[0048] Suppose the stable state probability of n states in MC is a row vector X = (x1, x2, ..., x n ), according to the Markov process, we can have the following linear equations:
[0049]
[0050] By solving this system of equations constructed by n+1 equations, we can find the solution P[M i ] = x i (1≤i≤n). After obtaining the stability probability, we can further construct new performance indicators to analyze the performance of the system. The constructed indicators can correspond to the actual physical meaning through the system's activities and state transitions.
[0051] Hybrid Honeypot Analysis:
[0052] The present invention analyzes and organizes the process of extracting threat trapping using hybrid honeypots to obtain a state (repository) set:
[0053] P={P noraml ,P analyse ,P checkhoney ,P checkREAL ,P lserveract ,P lserverpoc ,P OOC},
[0054] Transition (event) collection:
[0055] T={T scan ,T interacthoney ,T interactREAL ,T changetarget ,T attackhoney ,T honeywarnact ,T attackREAL ,T systemwarndes}.
[0056] The specific meanings of the states and transition sets in the hybrid honeypot threat trapping process are shown in Tables 5 and 6. Based on the above states and transitions, the threat trapping process of the hybrid honeypot is analyzed and constructed.
[0057] Table 5. Hybrid honeypot threat trapping process status set
[0058]
[0059] Table 6. Transition set of hybrid honeypot trapping process
[0060]
[0061]
[0062] The SPN model of the hybrid honeypot threat trapping process is constructed as follows: The hybrid honeypot is initially in the deceptive initial state P normal When an attacker begins to invade an industrial control network, he first scans the entire network. scan All host nodes and services are obtained. The attacker then begins to analyze the scan results obtained. analysis , determine the host or service to attack.
[0063] Assume that among the many network services obtained, the attacker first interacts with a honeypot service T interacthoney Then, the authenticity of the service provided by the hybrid honeypot is analyzed and judged according to the response results given by the hybrid honeypot service. checkhoney If the attacker determines that the service provided by the hybrid honeypot is a fake service, the attacker will change the IP proxy and other attack resources and give up attacking the current service. changetarget At this time, the honeypot enters state P lserveract The interaction process is recorded, and then the honeypot issues an alarm message based on the interaction process. honeywarnact If the attacker does not identify the fake service, he will launch an attack on the simulated device using the attack payload prepared in advance. attackhoney The hybrid honeypot will record the attack payload and interaction process delivered by the attacker. lserverpoc , and send warning information to the administrator based on the recorded interaction process and attack load honeywarnpoc .
[0064] The construction process of the present invention does not consider the situation where the attacker misjudges the response of the real system and bypasses the real system as a honeypot. interactREAL , after analyzing the interaction with the real system checkREAL The attacker will then choose to attack the real system T attackREAL The present invention considers that the attacker can successfully infiltrate the real host P after careful preparation including Nday or 0day vulnerabilities. OOC The attacker will then use the system vulnerabilities to perform destructive actions such as privilege escalation, maintenance, information collection, and lateral scanning. When the attacker achieves the goal of the attack, network security maintenance personnel can receive the perception of the intruder in the network based on their years of experience in fighting against attackers. systemwarndes When the administrator receives the warning information, he will rearrange the threat trapping environment to return to the original deception state. The present invention does not consider the time it takes for network security personnel to restore the trapping environment to the initial state, because in any case, if the administrator can receive the warning information, he will immediately take corresponding measures.
[0065] According to the performance analysis process of SPN, all possible states, i.e., reachable states, in the threat trapping process are first analyzed. A Markov chain isomorphic to SPN is constructed based on the set of reachable states, and the construction process requires replacing the transitions with corresponding implementation rates. The reachable states of the threat trapping process of the hybrid honeypot constructed by the present invention are marked with S = {S0, S1, S2, S3, S4, S5, S6}, where each row represents a reachable state, and each column represents whether the library is included in the reachable state. Replacing the transitions between reachable states with the implementation rate of the transitions can obtain an isomorphic Markov chain;
[0066] Figure 2 It is a Markov chain schematic diagram of a hybrid honeypot threat trapping model of a method for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention;
[0067] like Figure 2 As shown. Combining the Markov chain of the hybrid honeypot threat trapping model and the definition of the transfer matrix in the performance analysis of the random Petri net, the current transfer matrix Q = [q i,j ],1≤i,j≤7, as shown in formula (1).
[0068] Table 7. Reachable states of hybrid honeypot threat trapping process
[0069]
[0070]
[0071] Assuming that the row vector of the stable probability of each state in the random Petri net model of the hybrid honeypot threat trapping process is P = {P0, P1, P2, P3, P4, P5, P6}, the solution of the stable state probability can be obtained according to the random performance analysis theory: Combining the stable probabilities of all states to 1, we can get the equation system:
[0072]
[0073] Solving the system of equations, we can get the stability probability of each state as follows:
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081] Based on the obtained stability probabilities of each state, the performance evaluation index of the trapping process is calculated. The present invention evaluates the performance of the trapping process by the probability of the honeypot system capturing attacks, the probability of successful defense, and the probability of system collapse. The probability of system collapse is the probability P of the state S6 that the attacker successfully invades and implements damage. fall =P6, the probability of system safety is P succsess =1-P3-P6, the probability of the honeypot system capturing an attack is the sum of the probability of the attacker interacting with the hybrid honeypot P defense =P2+P4+P5.
[0082] Figure 3 It is a schematic diagram of a Markov chain of a service proxy hybrid honeypot threat trapping model in a method for evaluating a hybrid honeypot threat trapping process according to an embodiment of the present invention;
[0083] Analysis of hybrid honeypot based on service proxy:
[0084] Based on the above analysis and research on the threat trapping process of hybrid honeypots, the service agent is added to analyze the threat trapping process of hybrid honeypots based on service agents. The service agent can add a path for managers to perceive threats when attackers invade real services. By adding the service agent's alarm information processing state and the transitions that express the attacker's contact with the bait file and the bait file's alarm information, we can get the transition set state set P of the threat trapping process of hybrid honeypots based on service agents. agent =P∪P{P lserverloss} and T agent =T∪{T interactbait ,T baitwarnloss The meanings of the state set and transition set added to the threat trapping process of the hybrid honeypot based on the service proxy compared to the threat trapping process of the hybrid honeypot are described in Tables 7 and 8.
[0085] Table 7. The state set added in the hybrid honeypot threat trapping process based on service proxy
[0086]
[0087] Table 8. Transition set added in the hybrid honeypot threat trapping process based on service proxy
[0088]
[0089] Based on the analysis of the threat trapping process of the hybrid honeypot and the newly determined state and transition set, the construction of the SPN model of the hybrid honeypot threat trapping process based on the service agent is completed as shown in the figure above. The threat trapping process of the attacker interacting with the hybrid honeypot after completing the scan is the same as the threat trapping process described in the previous section. When the attacker infiltrates the real host to collect information and other destructive behaviors, if the attacker touches the bait file T deployed in advance intearactbait , the monitoring program of the bait file will record the attacker's relevant information and action information lserverloss . Then send an alarm message to the network security maintenance personnel T baitwarnloss As a result, network security personnel can detect the host's compromise before the attacker achieves his or her attack objectives and enter the maintenance and processing process.
[0090] The same performance analysis process is performed on the hybrid honeypot based on service proxy according to the performance analysis process of random Petri net. First, the reachable state is analyzed. The reachable state of the hybrid honeypot model based on service proxy is marked by S'={S'0, S1', S'2, S3', S'4, S5', S'6, S'7}.
[0091] Table 9. Reachability status of hybrid honeypot based on service proxy
[0092]
[0093] Similarly, the implementation rate of transitions is used to replace the transitions between reachable states to obtain an isomorphic Markov chain. Combining the Markov chain of the hybrid honeypot threat trapping model based on service proxy, the transitions are replaced by the corresponding implementation rate. According to the definition of the transfer matrix in the performance analysis of random Petri nets, the current transfer matrix Q' = [q i,j ],1≤i,j≤8, as shown in formula (3). Assume that the row vector of the stable probability of each state in the hybrid honeypot model based on service proxy is, thus we can get the set of equations for solving the stable probability of the model.
[0094]
[0095]
[0096] Solving the system of equations, we can get the stability probability of each state as follows:
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105] According to the obtained stability probability of each state, the same performance evaluation index as the hybrid honeypot model is constructed, where the probability of system collapse is the probability P of state S6. fall =P6, the probability of system safety is P success =1-P3-P6-P7, the probability of the honeypot system based on the service proxy capturing an attack is the sum of the probabilities of the attacker interacting with the hybrid honeypot and the service proxy. defense =P2+P4+P5+P7.
[0106] System Example 1
[0107] According to an embodiment of the present invention, a system for evaluating a threat trapping process of a hybrid honeypot is provided. Figure 4 is a schematic diagram of a system for evaluating a threat trapping process of a hybrid honeypot according to an embodiment of the present invention. Figure 4 As shown, specifically including:
[0108] The process module is used to establish a system model of the threat trapping process of the hybrid honeypot;
[0109] SPN module, used to establish SPN model diagram based on system model;
[0110] Markov chain, used to construct an isomorphic Markov chain based on the SPN model graph;
[0111] The evaluation module is used to evaluate various indicators of the threat trapping process of the hybrid honeypot based on the isomorphic Markov chain.
[0112] The SPN module is specifically used to: Based on the relationship between states in the system model, use the constituent elements of SPN to describe the activities of the system model and the changes between states, link the state of the library with the system, the changes and events occurring during the system activities, and establish the SPN model diagram of the system.
[0113] The Markov chain module is specifically used to construct a reachable graph of the system model state. Based on the reachable graph, the average implementation rate of each transition is used to replace the transition set in the reachable graph to obtain a Markov chain isomorphic to the SPN model graph.
[0114] The Markov chain module is specifically used to: start from the initial state, gradually generate new states according to the possible changes, until there are no feasible changes, then analyze the next state, mark all the implemented changes and generated states, until the analysis of all states of the system model is completed and the reachable graph is constructed.
[0115] The evaluation module is specifically used to calculate the stability probability of the reachable graph logo based on the isomorphic Markov chain, and solve the performance index based on the stability probability to obtain the evaluation result.
[0116] The embodiment of the present invention is a system embodiment corresponding to the above-mentioned method embodiment. The specific operations of each module can be understood by referring to the description of the method embodiment, which will not be repeated here.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements of the technical solutions of the embodiments of the present invention do not cause the essence of the corresponding technical solutions to deviate from the scope of this solution.
Claims
1. A method for evaluating the threat trapping process of a hybrid honeypot, characterized in that: include: S1. Establish a system model of the threat trapping process of hybrid honeypot; S2, establish the SPN model diagram based on the system model; S3, construct an isomorphic Markov chain based on the SPN model graph; S4, evaluate various indicators of the threat trapping process of hybrid honeypot based on isomorphic Markov chain; The SPN model diagram based on the system model specifically includes: determining the state set and event set of the system according to the state of the system and the time when the transition occurs; describing the system activities and the transition between the states according to the state of the system and the relationship between the states by using the constituent elements of SPN; linking the state of the library with the system, the transition and the events occurring during the system activity to establish the SPN model diagram of the system; Library collection: P={P noraml ,P analyse ,P checkhoney ,P checkREAL ,P lserveract ,P lserverpoc ,P OOC }; Transition Set: T={T scan ,T interacthoney ,T interactREAL ,T changetarget ,T attackhoney ,T honeywarnact ,T attackREAL ,T systemwarndes }; P normal The threat trapping environment is in the initial trapping state; analyse The attacker analyzes the scan results; checkhoney The attacker analyzes the intrusion method of the simulated PLC and identifies the response given by the simulated PLC; checkREAL The attacker analyzes the intrusion method of the real service and identifies the response given by the real service; lserveract The hybrid honeypot records and organizes the interaction process; lserverpoc The hybrid honeypot records and organizes the interaction process and attack payload; OOC The attacker successfully hacked into the real system; T scan The attacker scans the entire network environment and detects services; interacthoney The attacker interacts with the hybrid honeypot; T interactREAL The attacker interacts with the real service; T changetargethoney The attacker identifies the honeypot characteristics of the hybrid honeypot and changes the attack resources and targets; attackhoney The attacker uses the prepared weapon resources to attack the fake service of the hybrid honeypot; honeywarnact The hybrid honeypot organizes the interaction process and issues warning information; T honeywarnpoc The hybrid honeypot organizes the interaction process and attack payload to issue warning information; attackREAL The attacker uses the prepared attack resources to attack the real service; systemwarndes The attacker achieves his / her attack objective, and the system is damaged as perceived by the maintenance personnel; The SPN model of the hybrid honeypot threat trapping process is constructed as follows: the hybrid honeypot is initially in the initial state of deception; when the attacker begins to invade the industrial control network, he first scans the entire network to obtain all host nodes and services; then the attacker begins to analyze the scan results to determine the host or service to attack; Assume that among the many network services obtained, the attacker first interacts with a honeypot service; then analyzes and judges the authenticity of the service provided by the hybrid honeypot based on the response results given by the hybrid honeypot service; if the attacker determines that the service provided by the hybrid honeypot is a false service, the attacker will change the IP proxy and other attack resources and give up attacking the current service; at this time, the honeypot enters the state to record the interaction process, and then the honeypot issues an alarm message based on the interaction process; if the attacker does not identify the false service, he will attack the simulated device through the attack payload prepared in advance; the hybrid honeypot will record the attack payload and interaction process delivered by the attacker, and issue an alarm message to the administrator based on the recorded interaction process and attack payload; S3 is specifically: the constructing of an isomorphic Markov chain based on the SPN model graph specifically includes: constructing a reachable graph of the system model state, and based on the reachable graph, replacing the transition set in the reachable graph with the average implementation rate of each transition to obtain a Markov chain isomorphic to the SPN model graph; All possible states in the threat trapping process are analyzed, and based on the place set, a reachable state set is obtained. Each row in the reachable state set represents a reachable state, and each column represents whether the reachable state contains this place. The reachable states are shown in the following table: Replacing the transition states in the reachable state set with the implementation rate to construct an isomorphic Markov chain; According to the isomorphic Markov chain, based on the definition of transfer matrix in the performance analysis of random Petri nets, a transfer matrix is obtained; The transfer matrix Q is: Among them, λ1-λ9 are the average implementation rates of transitions; According to the transfer matrix, determine the stable probability equation group; Among them, p0-p7 is used to characterize the stability probability; Solving the system of equations to obtain a stability probability; The evaluation of various indicators of the threat trapping process of the hybrid honeypot based on the isomorphic Markov chain specifically includes: calculating the stability probability of the reachable graph identification based on the isomorphic Markov chain, and solving the performance indicator based on the stability probability to obtain the evaluation result; Based on the obtained stability probabilities of each state, the performance evaluation index of the trapping process is calculated; the performance of the trapping process is evaluated by the probability of the honeypot system capturing attacks, the probability of successful defense, and the probability of system collapse; the probability of system collapse is the probability P of the state S6 that the attacker successfully invades and implements damage fall =P6, the probability of system safety is P succsess =1-P3-P6, the probability of the honeypot system capturing an attack is the sum of the probability of the attacker interacting with the hybrid honeypot P defense =P2+P4+P5.
2. The method according to claim 1, characterized in that The construction of the reachable graph of the system model state specifically includes: starting from the initial state, gradually generating new states according to possible changes until there are no implementable changes, and then analyzing the next state, marking all implemented changes and generated states, until the analysis of all states of the system model is completed and the construction of the reachable graph is completed.
3. A system for evaluating the threat trapping process of a hybrid honeypot, characterized in that: include: The process module is used to establish a system model of the threat trapping process of the hybrid honeypot; SPN module, used to establish SPN model diagram based on system model; Markov chain, used to construct an isomorphic Markov chain based on the SPN model graph; The evaluation module is used to evaluate various indicators of the threat trapping process of the hybrid honeypot based on the isomorphic Markov chain; The SPN module is specifically used to: determine the state set and event set of the system according to the state of the system and the time when the transition occurs; based on the relationship between the states in the system model, use the constituent elements of SPN to describe the transition between the activities and states of the system model, link the library with the state of the system, the transition and the events occurring during the system activity, and establish the SPN model diagram of the system; Library collection: P={P noraml ,P analyse ,P checkhoney ,P checkREAL ,P lserveract ,P lserverpoc ,P OOC }; Transition Set: T={T scan ,T interacthoney ,T interactREAL ,T changetarget ,T attackhoney ,T honeywarnact ,T attackREAL ,T systemwarndes }; P normal The threat trapping environment is in the initial trapping state; analyse The attacker analyzes the scan results; checkhoney The attacker analyzes the intrusion method of the simulated PLC and identifies the response given by the simulated PLC; checkREAL The attacker analyzes the intrusion method of the real service and identifies the response given by the real service; lserveract The hybrid honeypot records and organizes the interaction process; lserverpoc The hybrid honeypot records and organizes the interaction process and attack payload; OOC The attacker successfully hacked into the real system; T scan The attacker scans the entire network environment and detects services; interacthoney The attacker interacts with the hybrid honeypot; T interactREAL The attacker interacts with the real service; T changetargethoney The attacker identifies the honeypot characteristics of the hybrid honeypot and changes the attack resources and targets; attackhoney The attacker uses the prepared weapon resources to attack the fake service of the hybrid honeypot; honeywarnact The hybrid honeypot organizes the interaction process and issues warning information; T honeywarnpoc The hybrid honeypot organizes the interaction process and attack payload to issue warning information; T attackREAL The attacker uses the prepared attack resources to attack the real service; systemwarndes The attacker achieves his / her attack objective, and the system is damaged as perceived by the maintenance personnel; The SPN model of the hybrid honeypot threat trapping process is constructed as follows: the hybrid honeypot is initially in the initial state of deception; when the attacker begins to invade the industrial control network, he first scans the entire network to obtain all host nodes and services; then the attacker begins to analyze the scan results to determine the host or service to attack; Assume that among the many network services obtained, the attacker first interacts with a honeypot service; Then, the authenticity of the service provided by the hybrid honeypot is analyzed and judged according to the response result given by the hybrid honeypot service; if the attacker determines that the service provided by the hybrid honeypot is a fake service, the attacker will change the IP proxy and other attack resources and give up attacking the current service; At this time, the honeypot enters the state to record the interaction process, and then the honeypot issues an alarm message based on the interaction process; if the attacker does not identify the fake service, he will attack the simulation device through the attack payload prepared in advance; the hybrid honeypot will record the attack payload and interaction process delivered by the attacker, and issue an alarm message to the administrator based on the recorded interaction process and attack payload; The Markov chain module is specifically used to: construct a reachable graph of the system model state, and based on the reachable graph, replace the transition set in the reachable graph with the average implementation rate of each transition to obtain a Markov chain isomorphic to the SPN model graph; All possible states in the threat trapping process are analyzed, and based on the place set, a reachable state set is obtained. Each row in the reachable state set represents a reachable state, and each column represents whether the reachable state contains this place. The reachable states are shown in the following table: Replacing the transition states in the reachable state set with the implementation rate to construct an isomorphic Markov chain; According to the isomorphic Markov chain, based on the definition of transfer matrix in the performance analysis of random Petri nets, a transfer matrix is obtained; The transfer matrix Q is: Among them, λ1-λ9 are the average implementation rates of transitions; According to the transfer matrix, determine the stable probability equation group; Among them, p0-p7 is used to characterize the stability probability; Solving the system of equations to obtain a stability probability; The evaluation of various indicators of the threat trapping process of the hybrid honeypot based on the isomorphic Markov chain specifically includes: calculating the stability probability of the reachable graph identification based on the isomorphic Markov chain, and solving the performance indicator based on the stability probability to obtain the evaluation result; Based on the obtained stability probabilities of each state, the performance evaluation index of the trapping process is calculated; the performance of the trapping process is evaluated by the probability of the honeypot system capturing attacks, the probability of successful defense, and the probability of system collapse; the probability of system collapse is the probability P of the state S6 that the attacker successfully invades and implements damage fall =P6, the probability of system safety is P succsess =1-P3-P6, the probability of the honeypot system capturing an attack is the sum of the probability of the attacker interacting with the hybrid honeypot P defense =P2+P4+P5.
4. The system according to claim 3, characterized in that The Markov chain module is specifically used to: start from the initial state, gradually generate new states according to the possible changes, until there are no feasible changes, and then analyze the next state, mark all the implemented changes and generated states, until the analysis of all states of the system model is completed and the construction of the reachable graph is completed.
5. The system according to claim 4, characterized in that The evaluation module is specifically used to: calculate the stability probability of the reachable graph mark based on the isomorphic Markov chain, and solve the performance index based on the stability probability to obtain the evaluation result.
