A feedback-based self-learning honeypot deployment method and system

Through the self-learning honeypot deployment method, the threat traffic characteristics are dynamically analyzed and the honeypot deployment strategy is adjusted, which solves the problem that the static deployment of existing honeypots cannot adapt to changing attacks, and improves the threat capture rate and resource utilization.

CN118555136BActive Publication Date: 2024-10-29SAINING WANGAN
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411017015.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-29
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing static deployment method of honeypots cannot adapt to changing network attacks, and the threat capture rate is not high, resulting in a waste of hardware resources and a fixed deployment strategy that cannot be dynamically adjusted.

Method used

Adopting a feedback-based self-learning honeypot deployment method, by extracting threat traffic characteristics, inputting the deployment decision model to recommend honeypots, and analyzing and adjusting the model according to the threat capture status table, the honeypot deployment strategy is dynamically adjusted to improve capture rate and flexibility. .

Benefits of technology

It improves the threat capture rate, reduces hardware resource consumption, enhances the flexibility and adaptability of honeypot deployment, and can dynamically adjust deployment strategies based on current attack characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555136B_ABST
    Figure CN118555136B_ABST
Patent Text Reader

Abstract

The present invention discloses a self-learning honeypot deployment method and system based on feedback. When receiving threat traffic, the present invention first extracts threat traffic characteristics, inputs a deployment decision model to obtain a recommended honeypot and deploys it; then the threat traffic is diverted to the deployed honeypot, and the threat capture situation of the honeypot is counted and recorded in a threat capture situation table; then according to the threat capture situation table, the capture status of the honeypot is periodically analyzed to obtain the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics; then based on the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics, the deployment decision model is retrained, and when new threat traffic is received, the honeypot is deployed based on the retrained model and the above process is repeated. The present invention can improve the threat capture rate of the system, as well as the flexibility and adaptability when facing threats, and avoid the waste of hardware resources caused by the comprehensive deployment of honeypots.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a feedback-based self-learning honeypot deployment method and system, belonging to the technical field of network security. Background Art

[0002] A honeypot is an information security mechanism designed to lure cyber attackers into attacking it, so as to monitor, capture and analyze the attacker's behavior and techniques. A honeypot usually disguises itself as a high-value target system such as a server, database or workstation, but does not actually contain any important data or functions.

[0003] Honeypot deployment Figure 1 As shown in the figure, it is usually deployed statically and placed behind a threat detection device together with the business system. After detecting threat traffic, the threat detection device will divert the threat traffic to a specific honeypot, so that subsequent threat analysis can be performed on the honeypot.

[0004] The existing static deployment of honeypots has the following problems: 1. Statically deployed honeypots cannot adapt to changing network attacks, and cannot generate honeypots that match the attackers more closely based on the current attack characteristics, resulting in a low threat capture rate for honeypots; 2. In order to improve the capture rate of the system, more different types of honeypots need to be deployed. However, the system is only subject to a limited number of attacks of a specific type at a fixed time, and the deployment of comprehensive and extensive honeypots results in a waste of hardware resources; 3. The strategy for honeypot deployment is fixed, and the subsequent deployment strategy for honeypots cannot be dynamically adjusted based on the effectiveness of the currently deployed honeypots. Summary of the invention

[0005] Purpose of the invention: In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a feedback-based self-learning honeypot deployment method and system to adapt to changing network attacks and improve the capture rate.

[0006] Technical solution: To achieve the above-mentioned invention object, the present invention adopts the following technical solution:

[0007] A feedback-based self-learning honeypot deployment method includes the following steps:

[0008] Step 1: Extract threat traffic features, input them into the deployment decision model to obtain the honeypot recommended by the model and deploy it;

[0009] Step 2: divert the threat traffic to the deployed honeypot, and count the threat capture situation of the honeypot within the set time period, determine whether the capture is successful or failed based on the statistical results, and record it in the threat capture situation table; the threat capture situation table records the threat traffic characteristics, honeypot type and capture result identification;

[0010] Step 3, according to the threat capture status table, periodically analyze the capture status of the honeypot, including: classifying according to the honeypot type, clustering the threat traffic characteristics for the specific honeypot type, and counting the threat capture success rate under each cluster; removing the clusters with fewer members than the first threshold, selecting the clusters with a capture success rate lower than the second threshold, and obtaining the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics;

[0011] Step 4: retrain the deployment decision model based on the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics. When new threat traffic is received, deploy the honeypot based on the retrained model and repeat steps 2 to 4.

[0012] Furthermore, in step 2, the threat traffic that fails to be captured is directed to a new random honeypot and re-counted.

[0013] Furthermore, if a threat traffic feature fails to capture the monitored threats after a preset number of model adjustments, the threat traffic feature will be added to the unadaptable queue. When no new honeypot types are added, the threat traffic features in the unadaptable queue will not participate in the deployment decision model adjustment.

[0014] Furthermore, when a new honeypot type is added, the adjustment process of the deployment decision model is actively triggered, and the threat traffic characteristics in the queue that cannot be adapted participate in the model adjustment, and the queue that cannot be adapted is cleared.

[0015] Preferably, the deployment decision model adopts a multi-classification machine learning model or a reinforcement learning model. In step 4, the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics are added to the training set as negative samples, or the reward value under the corresponding state and action in the reinforcement learning model is set to a negative value, and the deployment decision model is retrained.

[0016] A feedback-based self-learning honeypot deployment system, comprising:

[0017] Honeypot dynamic deployment module, used to extract threat traffic features, input deployment decision model to obtain model-recommended honeypots and deploy them;

[0018] A threat capture statistics module is used to divert threat traffic to the deployed honeypot, and to count the threat capture situation of the honeypot within a set time period, and to determine whether the capture is successful or failed based on the statistical results and record it in a threat capture situation table; the threat capture situation table records threat traffic characteristics, honeypot type and capture result identification;

[0019] The threat capture analysis module is used to periodically analyze the capture status of the honeypot according to the threat capture status table, including: classifying according to the honeypot type, clustering the threat traffic characteristics for the specific honeypot type, and counting the threat capture success rate under each cluster; removing the clusters with fewer members than the first threshold, selecting the clusters with a capture success rate lower than the second threshold, and obtaining the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics;

[0020] And, a model updating module is used to retrain the deployment decision model based on the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics; when the honeypot dynamic deployment module receives new threat traffic, it deploys the honeypot based on the retrained model.

[0021] Furthermore, the threat capture statistics module directs the threat traffic that fails to be captured to a new random honeypot and re-computes the statistics.

[0022] Furthermore, the system also includes an unadaptable feature processing module, which is used to add a threat traffic feature to an unadaptable queue when the monitored threat capture conditions all fail after a preset number of model adjustments. When no new honeypot types are added, the model update module does not participate in the deployment decision model adjustment for the threat traffic features of the unadaptable queue.

[0023] Furthermore, the model update module actively triggers the adjustment process of the deployment decision model when a new honeypot type is added, and the threat traffic characteristics in the queue that cannot be adapted participate in the model adjustment, and the queue that cannot be adapted is cleared.

[0024] A computer program product comprises a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the steps of the feedback-based self-learning honeypot deployment method are implemented.

[0025] Beneficial effects: Compared with the prior art, the present invention has the following advantages: 1. The present invention dynamically analyzes the characteristics of threat traffic in the system, selects the most suitable honeypot for deployment according to the threat traffic characteristics, and improves the threat capture rate of the system; 2. The honeypot in the present invention is generated by on-demand loading, and the honeypots that are strongly related to the target are deployed in a targeted manner according to the model recommendation results, reducing the hardware resources consumed by the full deployment of honeypots; 3. The present invention adopts a method based on honeypot capture feedback to detect the capture status of deployed honeypots, and dynamically adjusts the decision model for honeypot deployment according to the capture status, thereby improving the flexibility and adaptability of the system in the face of threats. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of the honeypot deployment.

[0027] Figure 2 The figure is a schematic diagram of the overall process of an embodiment of the present invention.

[0028] Figure 3 The figure is a schematic diagram of the threat traffic capture process according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.

[0030] like Figure 2 As shown, a feedback-based self-learning honeypot deployment method disclosed in an embodiment of the present invention first extracts threat traffic features, inputs a deployment decision model to obtain a honeypot recommended by the model and deploys it; then, the threat traffic is diverted to the deployed honeypot, and the threat capture situation of the honeypot within a set time period is counted, and based on the statistical results, whether the capture is successful or failed is judged and recorded in a threat capture situation table; then, according to the threat capture situation table, the capture status of the honeypot is periodically analyzed, classified according to the honeypot type, the threat traffic features are clustered for specific honeypot types, and the threat capture success rate under each cluster is counted; clusters with fewer members than a first threshold in the cluster are removed, and clusters with a capture success rate lower than a second threshold are selected to obtain the honeypot type that needs to be adjusted and its corresponding threat traffic features; then, based on the honeypot type that needs to be adjusted and its corresponding threat traffic features, the deployment decision model is retrained, and when new threat traffic is received, the honeypot is deployed based on the retrained model and the above process is repeated.

[0031] like Figure 3 As shown, when counting the threat capture situations of honeypots, for the threat traffic that fails to be captured, it is diverted to a new random honeypot and re-counted. If a threat traffic feature fails to capture the monitored threat after a preset number of model adjustments, the threat traffic feature is added to the queue that cannot be adapted. When no new honeypot types are added, the threat traffic features in the queue that cannot be adapted do not participate in the deployment decision model adjustment.

[0032] The following is an exemplary description of the embodiment of the present invention in conjunction with a specific implementation scenario. The specific steps are as follows:

[0033] Step 1: Analyze threat traffic in the network in real time and extract features corresponding to threat traffic. Typical threat traffic features include but are not limited to: threat_type: threat type (such as: "DDoS", "Malware", "Phishing"); source_ip: threat source IP address; destination_port: attack target port; threat_level: threat level (such as: "High", "Medium", "Low").

[0034] Step 2: Input the extracted threat traffic features into the existing model, select and deploy the honeypot with the highest matching degree with the current threat traffic features according to the recommendation of the model; in this embodiment, a multi-classification machine learning model or a reinforcement learning model can be used as the existing deployment decision model. For the multi-classification machine learning model, decision trees, deep neural networks and other models can be used to output the matching honeypot type according to the input threat traffic features; for the reinforcement learning model, the state space is defined as the threat traffic features, and the action space is defined as the honeypot type. If the honeypot type selected for the specific threat traffic features can meet the capture success rate requirements, the reward value is positive, and if it cannot meet the requirements, the reward value is negative.

[0035] Step 3: Direct the threat traffic corresponding to step 1 to the deployed honeypot, and count the threat capture of the honeypot within a certain period of time. Specifically, the threat capture situation can be determined by detecting whether there is traffic on the honeypot's network card, or by pre-setting probes in the honeypot for collection; if the honeypot fails to capture threats after a period of time (such as 10 minutes) and for a period of time (such as 5 minutes), it is considered that the honeypot has failed to capture threat traffic with corresponding characteristics.

[0036] Step 4. For threat traffic that fails to be captured, direct it to a new random honeypot and repeat step 3.

[0037] Step 5: T represents the threat traffic feature, H represents the honeypot type, 0 represents capture failure, and 1 represents capture success. The threat capture status table of the honeypot can be obtained in the following format: S={S1, S2,…,Sn}, n is the number of records, and the i-th record Si=[Ti, Hi, 0|1].

[0038] Step 6: According to the threat capture status table, periodically (e.g., every 10 minutes) analyze the capture status of the honeypot, including:

[0039] Step 6.1: Classify the threat capture table according to the honeypot type H, and the resulting set is recorded as Q={Q1,Q2,…Qx}. Where x represents the number of honeypot types, Qi represents the classification result of the i-th type of honeypot, Qi={[Tm, 0|1],[Tn, 0|1], …[Tt, 0|1]}, and Tm, Tn, and Tt represent different threat traffic characteristics.

[0040] Step 6.2: Cluster the threat traffic feature T of each Qi, and count the threat capture success rate under each cluster; assume that the honeypot corresponding to Q2 is H2, Q2={[T1,0], [T3,1], [T4,1], [T5, 0]}. T1, T3, and T4 are clustered into TA, and T5 is clustered into TB. Then the capture success rate of TA is 2 / 3, and the capture success rate of TB is 0.

[0041] Step 6.3: For all cluster data, remove the clusters whose original threat classification number is less than the first threshold X. The cluster threat flow characteristics are too few and have no statistical value. Assuming the threshold X=2, for the above example, the final cluster is TA, and cluster TB is discarded.

[0042] Step 6.4: traverse the cluster data obtained in step 6.3, and select the cluster whose capture success rate is lower than the specified second threshold Y. For example, when Y=80%, if the success rate 2 / 3 corresponding to TA is less than 80%, cluster TA is selected.

[0043] Step 6.5: Based on the clustering results of step 6.4, obtain the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics. In the above example, the corresponding adjustment range is [T1, Q2], [T3, Q2], [T4, Q2].

[0044] Step 7: Update the data that needs to be adjusted obtained in step 6.5 to the training set of the model, and retrain the model (the threat traffic features that cannot be adapted to queue Z are not included in the model adjustment). For example, when using a multi-classification machine learning model, the data in step 6.5 is regarded as a negative sample. When using a reinforcement learning model, the reward of the data in step 6.5 can be set to a negative value.

[0045] Step 8. When a new threat is received, deploy a honeypot based on the model retrained in step 7 and repeat steps 3 to 7.

[0046] Step 9: If a threat traffic feature T fails to capture the monitored threat after N model adjustments, the threat traffic feature T is added to the unadaptable queue Z. If no new honeypot is added to the system, the threat traffic feature in the unadaptable queue Z does not participate in the model adjustment.

[0047] Step 10: When the system adds a new honeypot type, it actively triggers the model adjustment process. At this time, the threat traffic characteristics in queue Z that cannot be adapted are also adjusted, and queue Z that cannot be adapted is cleared.

[0048] Based on the same inventive concept, a feedback-based self-learning honeypot deployment system disclosed in an embodiment of the present invention includes: a honeypot dynamic deployment module, which is used to extract threat traffic features, input a deployment decision model to obtain a honeypot recommended by the model and deploy it; a threat capture statistics module, which is used to divert threat traffic to the deployed honeypot, and count the threat capture status of the honeypot within a set time period, and judge whether the capture is successful or failed based on the statistical results and record it in a threat capture status table; the threat capture status table records threat traffic features, honeypot types and capture result identifiers; a threat capture analysis module, which is used to periodically analyze the capture status of the honeypot according to the threat capture status table, including: classifying according to honeypot types, clustering threat traffic features for specific honeypot types, and counting the threat capture success rate under each cluster; removing clusters with fewer members than a first threshold, selecting clusters with a capture success rate lower than a second threshold, and obtaining the honeypot type that needs to be adjusted and its corresponding threat traffic features;

[0049] And, a model updating module is used to retrain the deployment decision model based on the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics; when the honeypot dynamic deployment module receives new threat traffic, it deploys the honeypot based on the retrained model.

[0050] Furthermore, the system also includes an unfit feature processing module, which is used to add a threat traffic feature to an unfit queue when the monitored threat capture situation fails after a preset number of model adjustments. When no new honeypot type is added, the model update module does not participate in the deployment decision model adjustment for the threat traffic feature of the unfit queue. When a new honeypot type is added, the model update module actively triggers the adjustment process of the deployment decision model, and the threat traffic feature in the unfit queue participates in the model adjustment, and the unfit queue is cleared.

[0051] Based on the same inventive concept, an embodiment of the present invention discloses a computer program product, including a computer program / instruction, which implements the steps of the feedback-based self-learning honeypot deployment method when executed by a processor.

Claims

1. A feedback-based self-learning honeypot deployment method, characterized in that: The steps include: Step 1: Analyze the threat traffic in the network in real time, extract the threat traffic features, input the deployment decision model to obtain the honeypot recommended by the model that has the highest matching degree with the current threat traffic features, and deploy it; The threat traffic characteristics include threat type, threat source IP address, attack target port and threat level; Step 2, directing the threat traffic analyzed in step 1 to the deployed honeypot, and counting the threat capture situation of the honeypot within the set time period, judging whether the capture is successful or failed based on the statistical results and recording it in the threat capture situation table; the threat capture situation table records the threat traffic characteristics, honeypot type and capture result identification; Step 3, according to the threat capture status table, periodically analyze the capture status of the honeypot, including: classifying according to the honeypot type, clustering the threat traffic characteristics for the specific honeypot type, and counting the threat capture success rate under each cluster; removing the clusters with fewer members than the first threshold, selecting the clusters with a capture success rate lower than the second threshold, and obtaining the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics; Step 4: Update the honeypot type and its corresponding threat traffic characteristics obtained in step 3 to the training set of the model, retrain the deployment decision model, and when new threat traffic is received, deploy the honeypot based on the retrained model and repeat steps 2 to 4; If a threat traffic feature fails to capture the threat after the preset number of model adjustments, the threat traffic feature will be added to the unadaptable queue. If no new honeypot type is added, the threat traffic feature in the unadaptable queue will not participate in the deployment decision model adjustment; When a new honeypot type is added, the adjustment process of the deployment decision model is actively triggered. The threat traffic characteristics in the queue that cannot be adapted participate in the model adjustment, and the queue that cannot be adapted is cleared.

2. The feedback-based self-learning honeypot deployment method according to claim 1, characterized in that: In step 2, the threat traffic that failed to be captured is directed to a new random honeypot and re-counted.

3. The feedback-based self-learning honeypot deployment method according to claim 1, characterized in that: The deployment decision model adopts a multi-classification machine learning model or a reinforcement learning model. In step 4, the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics are added to the training set as negative samples, or the reward value under the corresponding state and action in the reinforcement learning model is set to a negative value, and the deployment decision model is retrained.

4. A feedback-based self-learning honeypot deployment system, characterized in that: include: The honeypot dynamic deployment module is used to analyze threat traffic in the network in real time, extract threat traffic characteristics, input the deployment decision model to obtain the model-recommended honeypot that has the highest matching degree with the current threat traffic characteristics, and deploy it; The threat traffic characteristics include threat type, threat source IP address, attack target port and threat level; A threat capture statistics module is used to divert the threat traffic analyzed in the honeypot dynamic deployment module to the deployed honeypot, and to count the threat capture situation of the honeypot within a set time period, and to determine whether the capture is successful or failed based on the statistical results and record it in a threat capture situation table; the threat capture situation table records the threat traffic characteristics, honeypot type and capture result identification; The threat capture analysis module is used to periodically analyze the capture status of the honeypot according to the threat capture status table, including: classifying according to the honeypot type, clustering the threat traffic characteristics for the specific honeypot type, and counting the threat capture success rate under each cluster; removing the clusters with fewer members than the first threshold, selecting the clusters with a capture success rate lower than the second threshold, and obtaining the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics; The model update module is used to update the honeypot type that needs to be adjusted and its corresponding threat traffic characteristics obtained by the threat capture analysis module to the training set of the model, and retrain the deployment decision model; the honeypot dynamic deployment module deploys the honeypot based on the retrained model when receiving new threat traffic; And, an unadaptable feature processing module is used to add a threat traffic feature to an unadaptable queue when the monitored threat capture situations all fail after a preset number of model adjustments. When no new honeypot type is added, the model update module does not participate in the deployment decision model adjustment for the threat traffic feature of the unadaptable queue; The model update module actively triggers the adjustment process of the deployment decision model when a new honeypot type is added, and the threat traffic characteristics in the queue that cannot be adapted participate in the model adjustment, and the queue that cannot be adapted is cleared.

5. The feedback-based self-learning honeypot deployment system according to claim 4, characterized in that: The threat capture statistics module directs the threat traffic that fails to be captured to a new random honeypot and performs re-statistics.

6. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the feedback-based self-learning honeypot deployment method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • SDN-based virtual honeynet dynamic deployment method and system

    CN110768987A

  • Dynamic honeypot generation method and system based on attacker portrait

    CN115987602A

  • Network defense method and device, electronic equipment and storage medium

    CN117395062A

  • Threat intelligence system and method

    US20170006061A1

  • Network security protection method and apparatus, storage medium and electronic device

    WO2021233373A1